• 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!

Global Save The Forgotten Server

Include

New Member
Joined
Feb 22, 2008
Messages
12
Reaction score
0
hello, I set the global to save the forgotten server, however he did not shutdown correctly, it's the save, unplug all but closes the console,

he says this:

Preparing to shutdown the server-done.

what can be? I am using windows server 2003,

thanks.
 
hello, I set the global to save the forgotten server, however he did not shutdown correctly, it's the save, unplug all but closes the console,

he says this:

Preparing to shutdown the server-done.

what can be? I am using windows server 2003,

thanks.

Its an error i've got on 3 computers now, all using WinXP.
When i click "shutdown server".

The server log says:

Code:
Prepating to shutdown the server...
Done.

And the GUI stills up, and no shutdowns. So i have to say...

SAME ERROR HERE.
 
I think it's a Server Bug and this Problem was discussed in other Threads.
I just go to the Taskmanagerand stop the process manually.
I hope I helped you so far.
 
I think it's a Server Bug and this Problem was discussed in other Threads.
I just go to the Taskmanagerand stop the process manually.
I hope I helped you so far.

Yes i have to do it manually too, but the point is that it does not closes with a restarter :D it just keeps waiting until it closes to re-open the server. But has it nevers closes...

It's on a VPS server :peace:
 
I've found the fix again, here you go:


You will need to recompile your server again, but first find this file game.cpp and find this part:
Code:
void Game::shutdown()
	{
		std::cout << "Preparing";
		Scheduler::getInstance().shutdown();
		std::cout << " to";
		Dispatcher::getInstance().shutdown();
		std::cout << " shutdown";
		Spawns::getInstance()->clear();
		std::cout << " the";
		Raids::getInstance()->clear();
		std::cout << " server";
		cleanup();
		std::cout << "- done." << std::endl;
		if(services)
			services->stop();

	}
then after "services->stop();" add this:
Code:
exit(1);

and that would than look like:
Code:
void Game::shutdown()
	{
		std::cout << "Preparing";
		Scheduler::getInstance().shutdown();
		std::cout << " to";
		Dispatcher::getInstance().shutdown();
		std::cout << " shutdown";
		Spawns::getInstance()->clear();
		std::cout << " the";
		Raids::getInstance()->clear();
		std::cout << " server";
		cleanup();
		std::cout << "- done." << std::endl;
		if(services)
			services->stop();
		exit(1);

	}

Credits for it go to: jajajiji
 
Last edited:
Back
Top