Posts: 702
Threads: 94
Joined: Dec 2010
Reputation:
0
erm.. i too wanted this but after switching to mysql things became much easier trust me.
Posts: 746
Threads: 81
Joined: Aug 2010
Reputation:
0
ok I see Rjj, I will give it a try with the SetPlayerName.. Could you show me an example how to save the new name?
a cmd with zcmd and sscanf. /setname <playerid> <new name>
EDIT: Here with the password and the new name .. #define SERVER_USER_FILE "Reg/Users/%s.ini"
EDIT 2: Oh and about the setpassword, can you help me make it like this.. /setpassword <offline username> <the new password the admin types>
Posts: 746
Threads: 81
Joined: Aug 2010
Reputation:
0
Bump about the above.
Ok so I tested the setname cmd and it works.. but it makes a whole new file, it doesnt replace the old one, so the old account is still in use. How to fix that?