English Script Reset Rank

14 replies
Goto Page
To the start Previous 1 Next To the start
22.05.13 12:06:59 am
Up
pbeloto
User
Offline Off
hello guys, I wonder whether there could make a script
resetting rank but kind can not be so score but the whole rank.


thank you
22.05.13 01:44:28 pm
Up
Rainoth
Moderator
Offline Off
There's no script like that.
I'll post a link soon for program that does it.

Edit : It is HERE
22.05.13 01:48:15 pm
Up
Starkkz
Moderator
Offline Off
This is probably not what you wanted, but at least you can edit the ranks. (file cs2d User stats editor (24))
lol
22.05.13 03:45:28 pm
Up
KimKat
GAME BANNED
Offline Off
You can delete the two files in the stats directory in order to clear your stats totally. They are usually located in (<CS2D Dir>/sys/stats/).

The files go by the names:
• stats.dat
• userstats.dat

There's ways to manipulate scores dynamically aswell in-game via the CS2D commands cs2d cmd setscore and cs2d cmd setdeaths.
These commands will also affect your current stats after you've played.

Either way you could also edit the file at hand using user Lee's stats editor which was written in Python.

> thread cs2d Editing your Userstats (Rank/KPD/stuff)
22.05.13 05:57:24 pm
Up
pbeloto
User
Offline Off
I think you people are not understanding
I would like a script that does the following
when you write! reserank resetart will rank your whole like a Reset own score. are you understand me?
22.05.13 07:46:27 pm
Up
Starkkz
Moderator
Offline Off
@user pbeloto: Manipulating your rank through server sided Lua scripts is not possible as far as I know, you would have to edit the file and make the server load this file somehow.
edited 2×, last 22.05.13 08:19:09 pm
lol
22.05.13 08:03:11 pm
Up
limonata
User
Offline Off
If you want to reset scores and deaths its possible with lua.

If you want to reset player ranks. Its impossible with lua.
22.05.13 08:07:28 pm
Up
Infinite Rain
Reviewer
Offline Off
@user Starkkz: @user limonata:
It's possible.
Edit the rank file, and restart the server. That's all, really.
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV
22.05.13 08:48:08 pm
Up
pbeloto
User
Offline Off
@user Starkkz:

My I think it is possible but can not do so.
I was thinking not hesitate one script or @ @ give_admin remove_admin?? then it will be to do not give a script almost equal to that in the example.

File = os.remove ("sys / stats /" .. .. us. "txt", "a") but do like the player to enter! Resetrank will rank just reset it and not all.

I do not know if my order is right.

excuse my horrible english

Admin/mod comment:

Why don't you learn some english? I can't understand a single thing. /Starkkz
22.05.13 09:45:24 pm
Up
limonata
User
Offline Off
user Infinite Rain has written:
@user Starkkz: @user limonata:
It's possible.
Edit the rank file, and restart the server. That's all, really.


Is it possible? I mean with lua? For example i will write !reset then all players stats will be reset.
22.05.13 10:53:11 pm
Up
Infinite Rain
Reviewer
Offline Off
@user limonata:
Yep, you can read it using some pre-made libraries (reading bytes and other shit from the file), to edit it.
Or you can delete userstats.dat using os.execute() function.
I'd maked it for you if I had time :P.
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV
22.05.13 11:15:48 pm
Up
Avo
User
Offline Off
The easiest way here (possible with lua, nothing more) is to make own server-sided rank system. It doesn't seem to be that difficult, does it?
22.05.13 11:24:57 pm
Up
limonata
User
Offline Off
Thanks Crystal Rain. Also i searced it. I found some things. Yes its possible. And not so hard. Anyway if you will make one example for me i will be happy
22.05.13 11:41:19 pm
Up
pbeloto
User
Offline Off
Sorry sttarks but my natural language is Brazilian so do not know English, I use google translator to talk to you, try also to translate my Feedback



° Translator CLICK
22.05.13 11:52:50 pm
Up
useigor
User
Offline Off
user pbeloto has written:
Sorry sttarks but my natural language is Brazilian so do not know English, I use google translator to talk to you, try also to translate my Feedback



° Translator CLICK

Do you know that user Starkkz live in Chile? BTW, please translate rule #4.1, i want to see your reaction.

Starkkz, not Sttarks. Use this code:
Code:
1
user:X
Where X is user USGN.

For example:
Code:
1
user:10464
user Starkkz = usеr:10464
To the start Previous 1 Next To the start