Forum

> > CS2D > Servers > Stats are not saving!
ForenübersichtCS2D-Übersicht Servers-ÜbersichtEinloggen, um zu antworten

Englisch Stats are not saving!

14 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Stats are not saving!

-Francis
User Off Offline

Zitieren
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.

alt Re: Stats are not saving!

DC
Admin Off Offline

Zitieren
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)

alt Re: Stats are not saving!

-Francis
User Off Offline

Zitieren
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?

()

alt Re: Stats are not saving!

DC
Admin Off Offline

Zitieren
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.

alt Re: Stats are not saving!

DC
Admin Off Offline

Zitieren
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?

alt Re: Stats are not saving!

GeoB99
Moderator Off Offline

Zitieren
user -Francis hat geschrieben
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 >

alt Re: Stats are not saving!

-Francis
User Off Offline

Zitieren
user Hajt hat geschrieben


It was all the time on 1


user DC hat geschrieben
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)

alt Re: Stats are not saving!

DC
Admin Off Offline

Zitieren
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.

alt Re: Stats are not saving!

Ak1M
User Off Offline

Zitieren
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
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Servers-ÜbersichtCS2D-ÜbersichtForenübersicht