English Server rank issue(score is altered)

4 replies
Goto Page
To the start Previous 1 Next To the start
Up
cpt_kenpachi
User
Offline Off
I've got an issue with the ranks on my server.
IMG:http://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.
28.10.12 02:31:15 am
Up
Chingy
User
Offline Off
Another solution would be if you reset the scores. But I guess you don't want to because people would be dissapointed.
2 Stroke Lifestyle
28.10.12 02:41:56 am
Up
DC
Admin
Offline Off
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:
Code:
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.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
28.10.12 10:58:57 am
Up
krabob
User
Offline Off
Sometimes when a player is on a server, his scores just randomly get huge.

Not sure why that happens, but I guess the same thing happened on your server.
People help the people
28.10.12 01:30:49 pm
Up
DC
Admin
Offline Off
Unfortunately I don't know why this seems to happen either
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
To the start Previous 1 Next To the start