Save the database every 10 secounds. [Anti-Rollback]

Results 1 to 10 of 10
  1. #1
    Member ll Chris ll is offline
    MemberRank
    Jan 2012 Join Date
    Saint MorningLocation
    53Posts

    Save the database every 10 secounds. [Anti-Rollback]

    Hello RaGeZone,

    When the world server crashes... You are getting roll back if you didn't re-log...
    I was thinking of making something about it so SQL would save every 10 seconds and rollbacks wont happen.

    Anny suggestions of how could i do that.


    I would be really thankful and likeful if someone helps me out.


  2. #2
    Flyff Developer Intelligence is offline
    MemberRank
    Oct 2011 Join Date
    United KingdomLocation
    1,401Posts

    Re: Save the database every 10 secounds. [Anti-Rollback]

    Quote Originally Posted by ll Chris ll View Post
    B]
    I was thinking of making something about it so SQL would save every 10 seconds and rollbacks wont happen.

    Good idea :D

    On: I can't help but i'm gonna try this one too if someone will answer on this idea.

  3. #3
    Account Upgraded | Title Enabled! Charles101 is offline
    MemberRank
    Feb 2012 Join Date
    Saint MorningLocation
    241Posts

    Re: Save the database every 10 secounds. [Anti-Rollback]

    http://forum.ragezone.com/f457/auto-...abases-745564/

    you should use the search button next time. :D

  4. #4
    Trust your senses Gravious is offline
    MemberRank
    Sep 2009 Join Date
    NetherlandsLocation
    713Posts

    Re: Save the database every 10 secounds. [Anti-Rollback]

    Quote Originally Posted by Charles101 View Post
    http://forum.ragezone.com/f457/auto-...abases-745564/

    you should use the search button next time. :D
    This is clearly not what he was looking for. Thank you.
    Having it save your character data so often would cause a lot of lag and therefore would be inefficient.

    Don't let your server crash so you don't have this issue. The server isn't meant to crash.

  5. #5
    Member ll Chris ll is offline
    MemberRank
    Jan 2012 Join Date
    Saint MorningLocation
    53Posts

    Re: Save the database every 10 secounds. [Anti-Rollback]

    ~~~~~~~~~~~~~~~~~ Solved by Xakzi<- Thank you :3 ~~~~~~~~~~~~~~~~~~~

  6. #6
    One word! Im Fawkin Pro! Xakzi is offline
    MemberRank
    Jul 2010 Join Date
    SwedenLocation
    1,356Posts

    Re: Save the database every 10 secounds. [Anti-Rollback]


  7. #7
    Account Upgraded | Title Enabled! Alphakilo23 is offline
    MemberRank
    Jun 2010 Join Date
    Ze German ländLocation
    428Posts

    Re: Save the database every 10 secounds. [Anti-Rollback]

    MSSQL? You can do this with native windows functions, what windows and MSSQL versions are you running?
    You'll also find out that backing every 10 seconds will slow down your server.

    What causes these rollbacks?

  8. #8
    Flyff Developer ShadowDragon is offline
    MemberRank
    Apr 2009 Join Date
    1,915Posts

    Re: Save the database every 10 secounds. [Anti-Rollback]

    You misunderstood the question. By default, the game server only saves your character information (level, stats, inventory, etc.) every 15 minutes. If the server (whether program or the server itself) crashes in some way, everything since your last character save will be lost (aka rollback). That's what he's talking about.

  9. #9
    [R8]ℓσℓ32 caja is offline
    MemberRank
    Oct 2008 Join Date
    Here!Location
    1,502Posts

    Re: Save the database every 10 secounds. [Anti-Rollback]

    Save database every 10seconds looool.... Abd if the problem is caused by world crashes, fix the crash.
    Posted via Mobile Device

  10. #10
    Now you can tag me! Detox is offline
    MemberRank
    May 2009 Join Date
    NorwayLocation
    1,821Posts

    Re: Save the database every 10 secounds. [Anti-Rollback]

    Using the tool Charles posted won't make any impact on the server and give any lag.

    So the tool he shared is pretty useful, instead of using the jobs in SQL server.



Advertisement