Posts: 65
Threads: 3
Joined: Jun 2011
Reputation:
0
Well I assume you save the INI account files in an "Accounts" folder of some kind. If you've configured everything properly it should create an .ini file for every user. In that file you can edit the saved variables (i.e. Money).
Posts: 65
Threads: 3
Joined: Jun 2011
Reputation:
0
From what I understood from your post, that's what you meant.
I have little experience with .ini, but it should be possible to use the string you use to save the initial ini file (which you use to register etc.) and call that back via a command or dialog. For example if you'd enter: "Player101" into a dialog, it would find "/Accounts/Player101.ini". Then another dialog to input the variable name (i.e. skin) and another dialog to input the value (i.e. 104). It would when create Skin=104. Of course this could all be done in a single command seperated by spaces.
I hope this (partially) helps you.
Posts: 689
Threads: 81
Joined: Jun 2012
Reputation:
0
I cant do that, because my server is running already, so old players cant be counted. So arent other solutions?
Thanks, finally i think i understood.
Posts: 65
Threads: 3
Joined: Jun 2011
Reputation:
0
Oh I thought you were talking about adding something for an individual, but from what I understand now you want it for all the players? I'm sorry, I wouldn't be able to help you with that since I have little knowledge of ini, but I recommend you make the move to MySQL.
Posts: 65
Threads: 3
Joined: Jun 2011
Reputation:
0
No problem! Sorry I couldn't help you much further with the .ini stuff.