Is There a Fix for RollBack

09/26/2010 19:41 sohaib#1
Hi, i'm asking if there is a fix for RollBack problem on version 5165 server exept using Sql source? cause i tryied Sql Source and i got other bugs blablabla

if there is another fix for the source (in the same source, we don't want to change our sources) that will help many ppl

and please explain well (go to ***.cs file search for *** and put under it ***)

we are noobs and we don't know coding well ,


thnk you for reading
09/26/2010 20:19 Arcо#2
Quote:
Originally Posted by sohaib View Post

and please explain well (go to ***.cs file search for *** and put under it ***)
If you aren't gonna spend the timeto figure out what the problem is, and how to fix it, don't expect people give you the answer without hesitation. Don't ask for ready made codes. Learn to code.
09/27/2010 02:49 pro4never#3
Save things as they are modified

*mindsplosion*

If you aren't saving things AS they are modified, you will always have rollbacks (of varying severity)

Personally right in my accessors for character variables I.

Update database
Update char stats
Update client


That way there can never be ANY rollbacks no matter how minor assuming everything else is coded properly.


Problem with using an ini/flatfile source is that modifying specific 'columns' becomes a bit more tricky. Saving an entire character every single time you modify ANYTHING becomes processor intensive and in the long run destroys any small speed benefit that flatfile gets over sql (which is why I <3 sql. Simple, efficient and I can make minor changes or major ones, they all work the same)