• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

shutdown serwer problem save

Dorianek

Member
Joined
Nov 29, 2018
Messages
247
Reaction score
10
Location
Poland
The server after forced shutdown does not save despite the function:
tfs 1.2 8.6

Lua:
void Game::shutdown()
{
   std::cout << ">> Shutting down...\n> " << std::flush;

   saveGameState();
   g_scheduler.shutdown();
   g_databaseTasks.shutdown();
   g_dispatcher.shutdown();
   map.spawns.clear();
   raids.clear();

   cleanup();

   if (serviceManager) {
     serviceManager->stop();
   }

   ConnectionManager::getInstance().closeAll();

   std::cout << "> Done!" << std::endl;
}
 
The server after forced shutdown does not save despite the function:
tfs 1.2 8.6

Lua:
void Game::shutdown()
{
   std::cout << ">> Shutting down...\n> " << std::flush;

   saveGameState();
   g_scheduler.shutdown();
   g_databaseTasks.shutdown();
   g_dispatcher.shutdown();
   map.spawns.clear();
   raids.clear();

   cleanup();

   if (serviceManager) {
     serviceManager->stop();
   }

   ConnectionManager::getInstance().closeAll();

   std::cout << "> Done!" << std::endl;
}
Stop spamming the same problem in the forum, you only need to create one topic and wait until someone help you or not
 
Back
Top