Well I'm using MuEmu S8 Source, and I've written a "buy leatherset" command, which buys for you a leather set for 60 resets.
so for taking the resets I use :
while ingame, if a character has 70 resets, he would be able to use the command once, and if he tries again it will say that he doesn't have enough resets.lpObj->Reset -= 60;
If he reconnects, however, he can buy the set again.
This is happening because this line (lpObj->Reset -= 20;) doesn't update the sql value of his resets.
I need some kind of a function like the zen's GCMoneySend.
If someone knows this function in MuEmu source, please tell, and if not, guide me on how to write one myself.
Thanks in advance.
btw, I've triedbut to no avail.GCNewCharacterInfoSend(lpObj);
- - - Updated - - -
Fixed, close the thread.




