binger

06/10/2010 15:56 .Summer#1
okay in the 5165 source.
There is rollback, i dont get them alot, but some peoples are talking alot, cuz they get them.
Anybody got a solution or i have to search around forum or self find the fix?
Also if anybody know what causes the rollback, would be a help :)
(tanels)
06/10/2010 22:05 Kiyono#2
I'm pretty sure that it has to do with not saving stuff to the database on time.
06/10/2010 22:40 .Summer#3
My database save every 2mins :)
But when i use Database.Savechar(charname , acc);
I cant use it, cuz is non static and places for save are static except dc :S
06/11/2010 02:07 pro4never#4
Quote:
Originally Posted by .Summer View Post
My database save every 2mins :)
But when i use Database.Savechar(charname , acc);
I cant use it, cuz is non static and places for save are static except dc :S
Always save the instant somethinghas been changed.

Don't do the entire character. Rather do a save inventory function, save stats function, save money/cp one and call them EVERY TIME you change a value.

It's easier done in sql but still... if you leave ANY time between changes/saves your server is exploitable and will have rollbacks.