Quote:
Originally Posted by pro4never
Not used the source but I'd double check a few things for the rollbacks
A: when trading or doing any common action that could change players cp/gold you need to make sure it's saved to the database. That's the most common rollback. If you don't update the database then it will still have the old values.
B: make sure the database voids used to save/update the character is working properly. Could be some little error in there not saving things properly resulting in rollbacks.
As for not being able to pk in twin city, go to the section of code controlling guard/summons attacking and put a statement basically stating that if client (and or guard) are on map# then break;. That will cause it to check whenever the guard tries to attack/lock on to a player and if the guard or player is on the tc map then it will break and not attack. (make sure you are only applying it to the guard>player code or else guards wont function vs monsters on that map either.
|
yes you right about saving and update stuff but the players is know how to make that's happen
ex: if i open account and playing .if i open another client and open same account the first one is closed and now it's buged he can now to trade CPs and close it again and ....Etc ...he can make this steps few times and he is have 30000000000 CPs and double items .
so if some can put the code that's save automaticaly every few min or sec .. i thank him so much ..