Author Topic: End Of Server Bug  (Read 4400 times)

End Of Server Bug
« on: October 19, 2019, 07:46:21 am »
I've been working with someone for a little while testing things on a server,and a severe bug happened that I see happen within 2 or so months on any actively developed fonline,Replication timers drug timers and any other timer will break causing it to last 24 hours when you log in,sometimes this can be even more severe going up to a 3 year replication timer,my question is if anyone has found a fix for this or what could be causing it.

Offline Wipe

  • Rotator
  • Random is god
Re: End Of Server Bug
« Reply #1 on: October 24, 2019, 10:50:31 pm »
Player characters are saved separetely from everything else, so if you use worldsave which has been created before character file has been updated. As both worldsave and char files keep some time-related data, any mismatch results in total screwup.

Why would anyone use older worldsave then?
Server crash.
Characters are updated frequently (and devs cannot change that), worldsave are created as in server config.

Rollback.
Sometimes shit hits the fan (someone abusing big exploit, or scripts goes crazy) and devs decide to pull the plug and use older worldsave. In this case there's usually someone around to fix timeouts - most server have admin commands helping with that, designed exactly for such scenario.

Dirty shutdown.
While server automagically saves on exit, devs might just kill the process that way or another.

So yeah, fix is as follows: don't crash server :P, don't rollback, always use "stop" to shutdown sever. There is few more scenarios when you'll see timeots go crazy, but it all goes to using wrong worldsave.
Games are meant to be created, not played...

Re: End Of Server Bug
« Reply #2 on: October 25, 2019, 08:06:00 pm »
Thank you for explaining :)