I can't figure this out. I've tried everything. My script crashes on the single player maps after a round has finished. Events seem to be set properly. I tried adding wait times, etc, but it seems to crash regularly after a round is over, but not always... 95% of the time yes, but I've seen it make it to round 2 before the crash takes place. The single player maps do take a long time to load for players and spawn lag time is quite high. Also, I tried this on Reborn 2.5, Reborn 3.5.1 Initial Release, 3.5.1 v 1.115, and 3.5.1 v 1.116, and they all crash with the same output. It's running freeze-tag in combination with my 3rd person mod which is the same one I PM'd to Razo.
Here's a video to show you what happens (view it in full screen):
http://beta.xfire.com/videos/5b81f0
Log showing events registering fine:
Code:
IP: 187.114.163.151:12203
DonutsBR is preparing for deployment
Going from CS_FREE to CS_CONNECTED for DonutsBR
DonutsBR : dropped gamestate, resending
SV_SendClientGameState() for DonutsBR
Going from CS_CONNECTED to CS_PRIMED for DonutsBR
Going from CS_PRIMED to CS_ACTIVE for UnnamedSoldier
UnnamedSoldier has entered the battle
Taking item Walther P38 away from player
Taking item Colt 45 away from player
broadcast: print "console: Welcome to #Suf Sniper United Forces\n"
Going from CS_PRIMED to CS_ACTIVE for DonutsBR
DonutsBR has entered the battle
Taking item Colt 45 away from player
Taking item Thompson away from player
#Suf_*|MSG|^OwN-3m-All
^~^~^ Add the following line to the *_precache.scr map script:
cache models/items/dm_50_healthbox.tik
broadcast: print "console: 3rd person is brought to you by #Suf OwN-3m-All\n"
broadcast: print "DonutsBR \n"
Going to CS_ZOMBIE for DonutsBR
broadcast: print "console: Player 2 Got kicked off our Battlefield!!\n"
Going from CS_ZOMBIE to CS_FREE for
SV packet 200.120.112.131:-9876 : getstatus
------ Server Initialization ------
Server: m1l1
==== CleanupGame ====
Loading Reborn Loader...
ScriptMaster::ExecuteThread: Can't find 'reborn/reborn_loader.scr'
Adding script: 'm1l1_precache.scr'
PRECACHE
unknown command: s/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
s///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// (global/advanced_weather.scr, 1)
^
^~^~^ Script file compile error: Couldn't compile 'global/advanced_weather.scr'
ScriptMaster::GetScript: Script 'global//advanced_weather.scr' was not properly loaded
ScriptMaster::GetScript: Can't find 'global/anti_shark(notused).scr'
bad token:
TOKEN_POS:
+
USE_LADDER : ONGROUND +USE AT_LADDER CHECK_HEIGHT "stand" (global/nagle_aa_torso.scr, 67)
USE_LADDER : ONGROUND^
^~^~^ Script file compile error: Couldn't parse 'global/nagle_aa_torso.scr'
ScriptMaster::GetScript: Script 'global//nagle_aa_torso.scr' was not properly loaded
-------------------- Spawning Entities -----------------------
soundtrack switched to .
MOHAA Archive Version 14
397336 memory allocated for navigation.
-------------------- Actual Spawning Entities -----------------------
-------------------- Actual Spawning Entities Done ------------------ 28 ms
^~^~^ Game (Event: 'setthread', Object: 'Trigger') : ^~^~^ Could not find label 'intro_exploder' in 'maps/m1l1.scr'
^~^~^ Game (Event: 'setthread', Object: 'Trigger') : ^~^~^ Could not find label 'hint_use' in 'maps/m1l1.scr'
^~^~^ Game (Event: 'setthread', Object: 'TriggerUse') : ^~^~^ Could not find label 'ending_door' in 'maps/m1l1.scr'
^~^~^ Game (Event: 'setthread', Object: 'TriggerUse') : ^~^~^ Could not find label 'door_locked' in 'maps/m1l1.scr'
0 teams with 0 entities
Adding script: 'm1l1.scr'
^~^~^ Warning: maxdist too small, forcing to 256 for entity 178, targetname 'enemyspawner'
^~^~^ Game (Event: 'patrolpath', Object: 'Actor') : There are 0 entities with targetname 'airoute1'. You are using a command that requires exactly one.
disconnect event set to:
1
Intermission event set to:
1
connect event set to:
1
167 entities spawned
813 simple entities spawned
0 entities inhibited
-------------------- Spawning Entities Done ------------------ 141 ms
IP: 75.173.252.28:12203
Going from CS_PRIMED to CS_ACTIVE for #Suf_*|MSG|^OwN-3m-All
#Suf_*|MSG|^OwN-3m-All
Got signal 6 - Aborted
Crash Recover Attempt will take place!
Execution path:
--> b78d4430]
--> /lib/tls/i686/cmov/libc.so.6(abort+0x182) b7688a82]
--> /usr/lib/libstdc++.so.5(+0x91c37) b7891c37]
--> /usr/lib/libstdc++.so.5(+0x91c74) b7891c74]
--> /usr/lib/libstdc++.so.5(+0x91de6) b7891de6]
--> ./fgamededmohaa.so(_ZN12ScriptMaster18CreateScriptThreadEP10GameScriptP8Listener9const_str+0x1aa) b267e09a]
--> ./fgamededmohaa.so(_ZN8Listener20CreateScriptInternalERK14ScriptVariable+0x271) b2756451]
--> ./fgamededmohaa.so(_ZN8Listener21ExecuteScriptInternalEP13Event_GAMEDLLR14ScriptVariable+0x28) b274fbb8]
--> ./fgamededmohaa.so(_ZN8Listener13ExecuteScriptEP13Event_GAMEDLL+0x29) b274fa19]
--> ./fgameded.so(ExecuteScript+0x2e) b2a2947f]
--> ./fgameded.so(G_ClientBegin+0x23c) b2a30001]
--> ./mohaa_lnxded() 8087939]
--> ./mohaa_lnxded() 808b22f]
--> ./mohaa_lnxded() 8084f7a]
--> ./mohaa_lnxded() 806507d]
--> ./mohaa_lnxded() 80647e0]
--> ./mohaa_lnxded() 8067451]
--> ./mohaa_lnxded() 809726e]
--> /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) b7671bd6]
--> ./mohaa_lnxded(_Znwj+0x71) 8049c41]