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

0.3.6pl1

Status
Not open for further replies.

Lion94

Banned User
Joined
Dec 21, 2009
Messages
744
Reaction score
6
Location
Poland
Witam was ponownie. A więc mam taki problem że tfs 0.3.6pl1 nie chcę mi się wyłączyć do końca, zostaje na miejscu w htopie i nie da się go killnąć.

Wiem że zmieniało się to w game.cpp ale nie wiem która linijka za to odpowiada, niech mnie ktoś oświeci:

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();
#if defined(WINDOWS) && !defined(__CONSOLE__)

	exit(1);
#endif

Za pomoc REP++ :)
 
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);
 
Dzięki wielki Kula_, rep++ i proszę moderatora o zamknięcie topicu.
 
Status
Not open for further replies.
Back
Top