slaw
Software Developer
I have added 1 line to:
Becouse i want to know when all was saved.
This line i added:
And after using normal command !save "xx it shows ok, but when i'm closing server this message is showed 2x times:
So server is saved 2 times before shutdown, for what is it? Meybe thats why some players lost items after shutdown or what
Btw. Server save is working ok on my local computer, but on dedicated dont. I have sheduler task that at 6:05 is starting server again, so at 6:06 i have 2x server up, becouse TFS dont want go down.
Code:
void Game::saveData(bool savePlayers)
This line i added:
Code:
std::cout << "> > > > > > >Players saved. < < < < < < <" << std::endl;
And after using normal command !save "xx it shows ok, but when i'm closing server this message is showed 2x times:
So server is saved 2 times before shutdown, for what is it? Meybe thats why some players lost items after shutdown or what
Btw. Server save is working ok on my local computer, but on dedicated dont. I have sheduler task that at 6:05 is starting server again, so at 6:06 i have 2x server up, becouse TFS dont want go down.