Page 1 of 1

Platform: Servercrash when the last player leaves EndRound

Posted: 25 Sep 2012, 11:53
by kapsubm
Hi i got this error on platform title dedicated server:
everything runs fine , untill the last player on server leaves at the moment when Endround is running.

Code: Select all

[2012/09/25 09:19:01] Disconnection of infinitezoomer(67.160.223.226:2350)
[2012/09/25 09:19:01] ...Finish
[2012/09/25 09:19:01] ...Exit
[2012/09/25 09:19:01] Loading map 24625_Plateforme Level 1-2.Map.Gbx (0Sk8vgyIpZsW7g6RhB1DpTIfHX2)...
[2012/09/25 09:19:01] ...Load succeeds
[2012/09/25 09:19:01] Script 'Mode:PlatformMulti' halted: [Libs/Nadeo/Mode.Script.txt : 27, 17][Called from : 82, 10] The procedure RequestLoadMap failed to complete : 
	MainLoop request already in progress

[2012/09/25 09:19:03] Starting Match...
[2012/09/25 09:19:03] ...Synchronization
[2012/09/25 09:19:08] ...Exit
[2012/09/25 09:19:08] Disconnection of cs.esports(88.80.214.223:2350)
[2012/09/25 09:19:08] ...Server stopped
and i got exact the same problem on stunts script: (maybe some more debug to see the problem:

Code: Select all

[2012/09/25 12:13:04] Disconnection of adrien24du68(88.177.177.43:2350)
[2012/09/25 12:13:04] ...Finish
[2012/09/25 12:13:04] Script 'Mode:Stunts': Unloading Map Line 608 End of Round

[2012/09/25 12:13:04] ...Exit
[2012/09/25 12:13:04] Loading map Stunt_11_505cf91477ea0.Map.Gbx (BPGMZoyGvpINEP3r1zRTGu6wVeh)...
[2012/09/25 12:13:04] ...Load succeeds
[2012/09/25 12:13:04] Script 'Mode:Stunts': restart... 

[2012/09/25 12:13:04] Script 'Mode:Stunts' halted: [Libs/Nadeo/Mode.Script.txt : 27, 17][Called from : 612, 34] The procedure RequestLoadMap failed to complete : 
	MainLoop request already in progress

[2012/09/25 12:13:06] Starting Match...
[2012/09/25 12:13:06] ...Synchronization
[2012/09/25 12:13:10] ...Exit
[2012/09/25 12:13:10] Disconnection of cs.esports2(88.80.214.223:2357)
[2012/09/25 12:13:10] ...Server stopped

Re: Platform: Servercrash when the last player leaves EndRou

Posted: 25 Sep 2012, 12:43
by spaii
Same here with the Stunters Title Pack ;)

Thx Ubm, i wrote a message in Ttitle Pack Forum too ;)

http://forum.maniaplanet.com/viewtopic. ... ck#p124394

Re: Platform: Servercrash when the last player leaves EndRou

Posted: 27 Sep 2012, 09:22
by kapsubm
*PUSH*

Problem still exists, and its not a minor one.

Re: Platform: Servercrash when the last player leaves EndRou

Posted: 27 Sep 2012, 13:12
by spaii
Same here, Nadeo, please help !!! :)

Re: Platform: Servercrash when the last player leaves EndRou

Posted: 16 Oct 2012, 10:00
by kapsubm
PUSH #3

Re: Platform:!SERVERCRASH!WHEN LAST PLAYER LEAVE SERVER ENDR

Posted: 16 Oct 2012, 10:28
by w1lla
why using multiple times UnloadMap(); in your script.

Code: Select all

// ============ End of Match Sequence:
         EndOfMatchSequence();
		if (MapLoaded){
		log("Unloading Map Line604 EndofMatch");
	    UnloadMap(); }
   }
		if (MapLoaded){
		log("Unloading Map Line608 ServerShutdown");
		UnloadMap(); }
   // ====== Cleanup
   log("Cleanup!");
This means actually if mapisloaded it should unload the map again ;)

Re: Platform:!SERVERCRASH!WHEN LAST PLAYER LEAVE SERVER ENDR

Posted: 16 Oct 2012, 10:37
by kapsubm
if u open the script in a editor and watch it with c / c++ langauage filter , u ll see that it is not in the same loop.
the reason i am unloading a evetually still loaded map after endmatchsequence is, to not run into an error when trying to load the new map l8er.

and the special cas e would be log("Unloading Map Line608 ServerShutdown"); servershutdown.
anyway the Error happens in XBX´s original PLatform script. Not only in my script.
w1lla wrote:why using multiple times UnloadMap(); in your script.

Code: Select all

// ============ End of Match Sequence:
         EndOfMatchSequence();
		if (MapLoaded){
		log("Unloading Map Line604 EndofMatch");
	    UnloadMap(); }
   }
		if (MapLoaded){
		log("Unloading Map Line608 ServerShutdown");
		UnloadMap(); }
   // ====== Cleanup
   log("Cleanup!");
This means actually if mapisloaded it should unload the map again ;)