English Stats are not saving!

14 replies
Goto Page
To the start Previous 1 Next To the start
08.07.17 03:36:23 pm
Up
-Francis
User
Offline Off
Hey everyone, i have a problem, the server stats are not saving after map change and i checked everything (serversettings, stats folder ...) i hope, i get a solution about my problem. thanks.
08.07.17 03:46:44 pm
Up
DC
Admin
Offline Off
This is most likely a file writing permission problem because it works fine for others.

• Do you see any suspicious messages in the console?
• How are you running the game? Win/Linux? CS2D client or dedicated server?
• Does the application have permission to write to the specified sys/stats folder (in case of Linux: the folder/files also need the right owner/rights)
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
08.07.17 06:28:59 pm
Up
-Francis
User
Offline Off
I don't see any suspicious messages in the console.

I'm running the game with Windows, i tested it with client and dedicated server.

I checked the permission and everything is okay.

Before i got this problem, i used one time Starkkz stats editor. Maybe this is the reason?

()
08.07.17 06:35:16 pm
Up
DC
Admin
Offline Off
Shouldn't be but I'm not entirely sure.
What you could try is:
• stop all CS2D programs
• Remove the 2 dat files in your sys folder (copy them to another place so you still have them!)
• Run CS2D again and see if it saves stuff

If it works it probably was caused by the edited stats somehow. Otherwise there has to be another issue.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
08.07.17 07:46:44 pm
Up
-Francis
User
Offline Off
And my Cs2d doesn't create stats.dat and userstats.dat automatically.
08.07.17 08:12:40 pm
Up
Hajt
User
Offline Off
cs2d cmd stats 1
Yooo. We are playing mix matches 5on5 in evening hours on the server CS2D.TK | Mix/Match, you can join us, server password is match. Statistics, leaderboard can be found under the following link.
08.07.17 08:31:33 pm
Up
BcY
Reviewer
Offline Off
try to start cs2d_dediated as root?
Kgb2d Community - Since 2012
08.07.17 08:37:30 pm
Up
Hajt
User
Offline Off
@user BcY:
user -Francis has written:
I'm running the game with Windows

Besides it's a bad idea to run CS2D with root privileges.
Yooo. We are playing mix matches 5on5 in evening hours on the server CS2D.TK | Mix/Match, you can join us, server password is match. Statistics, leaderboard can be found under the following link.
08.07.17 09:03:06 pm
Up
DC
Admin
Offline Off
If the dat files are not created then either stats are disabled (that's what user Hajt is talking about) or the path is bad or CS2D does not have the required permissions to write to the stats folder.

I hope you don't run CS2D in the "C:\program files" folder? And you didn't add a write lock to the stats folder for random reasons?
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
08.07.17 09:23:56 pm
Up
Fraizeraust
Moderator
Offline Off
user -Francis has written:
Before i got this problem, i used one time Starkkz stats editor. Maybe this is the reason?

Just to clarify, I took a look at user Starkkz's stats editor source code and couldn't find anything suspicious that alters Windows permissions or the stats system. If you're unsure, I can show it and let user DC to review the whole code-base since he has lots of BlitzMax knowledge in that matter (I hope user Starkkz won't mind it).
The Code >
08.07.17 10:52:27 pm
Up
-Francis
User
Offline Off
user Hajt has written:


It was all the time on 1


user DC has written:
If the dat files are not created then either stats are disabled (that's what user Hajt is talking about) or the path is bad or CS2D does not have the required permissions to write to the stats folder.

I hope you don't run CS2D in the "C:\program files" folder? And you didn't add a write lock to the stats folder for random reasons?


My CS2D is in "C:\Counter-Strike 2D"

Here are two images about the stats folder permission, is everything right? (HomeGroup; Everyone)
08.07.17 10:54:05 pm
Up
BcY
Reviewer
Offline Off
@user Hajt: i tried many times without root privileges, there is no logs & serverstats.html output. any ideas?
Kgb2d Community - Since 2012
09.07.17 12:55:25 am
Up
-Francis
User
Offline Off
I downloaded the whole cs2d game again and i still have the same problem. maybe it's something about my PC?
09.07.17 09:37:33 am
Up
DC
Admin
Offline Off
I just tried myself: With the default settings stats are only saved every 5 minutes. Did you run CS2D for at least 5 minutes? If not you should try it.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
09.07.17 06:07:38 pm
Up
Ak1M
User
Offline Off
Lots of programs/games installed on C:/ have problems with saving or changing files. To solve this kind of problems I usually RUN a program AS AN ADMIN
Cmon...
To the start Previous 1 Next To the start