Forum

> > CS2D > Servers > Server rank issue(score is altered)
ForenübersichtCS2D-Übersicht Servers-ÜbersichtEinloggen, um zu antworten

Englisch Server rank issue(score is altered)

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Server rank issue(score is altered)

cpt_kenpachi
User Off Offline

Zitieren
I've got an issue with the ranks on my server.
IMG:https://i49.tinypic.com/vnpkko.png



As you can see the issue i have is that the score has been altered. I'm aware it can be altered via setscore by using the rcon. But I've only got rcon access. I checked the logs in case the possibility of it being used, but it hasn't.
This has happened within the last two months.

Is there a way to edit the rank files? so that i can fix the score. Players spent a lot of time on my servers to get those ranks and now it's ruined.
Any help is appreciated.

alt Re: Server rank issue(score is altered)

DC
Admin Off Offline

Zitieren
It only seems to affect the first two players and their score value. All other values seem to be legit (the third guy played over 30 days on your server. omg!). You may consider to edit sys/stats/userstats.dat with a hexeditor or with a tool for stats editing (I think there was one somewhere but I can't find it). Just set the wrong scores to the same values as the kill values. Those two values are quite equal in most cases because only special actions like defusing a bomb gives you additional score points besides killing.

!!!Make a backup before editing!!!

The userstats.dat format is very simple:
1
2
3
4
5
6
username (string, linebreak afterwards)
usgn id (32 bit signed integer)
score (32 bit signed integer)
frags (32 bit signed integer)
deaths (32 bit signed integer)
time on server in seconds (32 bit signed integer)
this data set for each saved user

So when using a hex editor you have to
• find the username which has a wrong score
• skip 4 bytes (characters) in the line right after that username
• and copy&paste the 4 bytes right after that back to the first 4 bytes in that line

you could also simply remove the "damaged" users from the file.

∗ Update April 2019: ∗
Note that the format changed as described in this post
http://www.unrealsoftware.de/forum_posts.php?post=424522&start=0#post424525
2× editiert, zuletzt 01.04.19 17:22:56
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Servers-ÜbersichtCS2D-ÜbersichtForenübersicht