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 There's no script like that.
I'll post a link soon for program that does it.
Edit : It is HERE 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 setscore and setdeaths.
These commands will also affect your current stats after you've played.
Either way you could also edit the file at hand using Lee's stats editor which was written in Python.
Editing your Userstats (Rank/KPD/stuff) 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? @ 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
If you want to reset scores and deaths its possible with lua.
If you want to reset player ranks. Its impossible with lua. @ Starkkz: @ limonata:
It's possible.
Edit the rank file, and restart the server. That's all, really. @ 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
Is it possible? I mean with lua? For example i will write !reset then all players stats will be reset. @ 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. Avo User Offline
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? 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 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