-
Account Upgraded | Title Enabled!
GM Issue
Is there a way I can update player data faster?
I got GMtools, but when I add premium, it won't work unless the player is offline while I do it. If they online; it won't work.
-
-
Go go go!
Re: GM Issue
create a script or trigger in db.
-
Re: GM Issue
The simple answer is don't edit chars that are online, the tools have a little read/green shading over the player number for this exact reson. Without going too technical what you are seeing happen is you change something, then the server finished an SQL transaction or two and overwrites what you changed. If have run into the exact same problem in different areas quite a few times and there isn't much we can do about it. The next version of the tools is going to have better checking for this and will stop you doing anything to online players.
A perfect example is editing Alz. Back when i first wrote the cash shop it operated using warehouse alz and everything looked fine. Then we worked out that if you go into warehouse in the game, then use the cash shop the old alz amount got written to the db when warehouse saved and you could duplicate Alz.
Look in my sig for how to auto give premium so you don't need to keep editing manually.