(--eRRoR--)
11-01-2009, 11:02 AM
Ok so here it is.
The xp saves on client disconnect or mapchange.
That is god.
But the problem is that if the srv crashes all the xp made on that map doesent save so how do we make the saveall and savexp commands work again?
Smokey
11-05-2009, 12:55 PM
I dont think I can do anything about a server crash.
(--eRRoR--)
11-05-2009, 08:58 PM
Y think that you didnt understood me.
Y want to make the commands /saveall and /savexp work again so people can save their xp manualy to so we will prevent xp loss from crashes.
Smokey
11-06-2009, 07:56 PM
ok, then hook them up. But be aware you are introducing severe lag into the game, and any functionality you add in for this will not be merged back into the branch.
(--eRRoR--)
11-07-2009, 04:10 PM
so you are sayng that this creates lag?
why?
Smokey
11-08-2009, 09:51 AM
because once one player does it they all do it and making connections to mysql while in game for that many players can cause lag. Thats why its only done when one player leaves or for everyone at once on map change.
(--eRRoR--)
11-08-2009, 11:00 AM
Then can we make it before an crash to save everyone`s xp?
Dantalion
11-08-2009, 11:06 AM
Kinda silly... Crashes are chaotic and unpredictable, aren't they?
(--eRRoR--)
11-08-2009, 05:07 PM
yep.
then wath can we do about this?
Smokey
11-09-2009, 05:00 PM
i dont think there is a way to make it save on a crash. when it crashes its gone, I think you just need to educate your users to let them know not to pick maps that are prone to crashing and if it does crash they lost one maps worth of xp.