Hi
This is been frustrating me for awhile now , and i keep going back to it every few days as to try and find an answer to the problem
Ok Problem is
I have this mod ( location helper mod ) for freezetag , which works as it should when im testing on a windows server but whenever i upload it to my Linux server ( public )
it crashes the server.
I highlighted when i turned the mod on ( which is in the spawn event ) so it registers the spawn event but wont do anything if cvar not set , spawn event works fine if cvar not set.
Error code from console log
Code:
SV packet 60.229.145.24:12203 : getchallenge
SV packet 60.229.145.24:12203 : connect
SVC_DirectConnect ()
>>>\challenge\-1804391370\qport\52293\protocol\8\cl_namepass\Eggplant\dm_playergermanmodel\german_panzer_tankcommander\dm_playermodel\allied_capt_recon\rate\25000\name\PurpleElephant ( . Y . )\snaps\20<<<
version 8 connecting to 8
Client 0 connecting with 0 challenge ping
IP: 60.229.145.24:12203
PurpleElephant ( . Y . ) is preparing for deployment
Going from CS_FREE to CS_CONNECTED for PurpleElephant ( . Y . )
PurpleElephant ( . Y . ) : dropped gamestate, resending
SV_SendClientGameState() for PurpleElephant ( . Y . )
Going from CS_CONNECTED to CS_PRIMED for PurpleElephant ( . Y . )
Going from CS_PRIMED to CS_ACTIVE for PurpleElephant ( . Y . )
Warning: cvar "g_maxplayerhealth" given initial values: "750" and "250"
^~^~^ Add the following line to the *_precache.scr map script:
cache models/player/allied_capt_recon.tik
PurpleElephant ( . Y . ) has entered the battle
clientCommand: PurpleElephant ( . Y . ) : 1 : join_team axis
Cvar_Set2: cheats 0
clientCommand: PurpleElephant ( . Y . ) : 2 : primarydmweapon heavy
Cvar_Set2: cheats 0
Taking item Panzerschreck away from player
player::Sentient::DeactivateWeapon : Tried to deactivate a non-active weapon in hand 0
SV packet 60.229.145.24:12203 : rcon
Rcon from 60.229.145.24:12203:
location_help
clientCommand: PurpleElephant ( . Y . ) : 3 : join_team allies
Cvar_Set2: cheats 0
Got signal 11 - Segmentation fault, faulty address is (nil)
Crash Recover Attempt will take place!
Execution path:
--> ./fgameded.so(STR_GetText+0x6) [0xf6491a0f]
--> ./fgameded.so(ST_iHudDrawShader+0x112) [0xf6491efa]
--> ./fgamededmohaa.so(_ZN8ScriptVM7ExecuteEP14ScriptVariablei9const_str+0x7cd) [0xf610523d]
--> ./fgamededmohaa.so(_ZN12ScriptThread13ScriptExecuteEP14ScriptVariableiRS0_+0xec) [0xf60f80bc]
--> ./fgamededmohaa.so(_ZN8Listener21ExecuteThreadInternalEP13Event_GAMEDLLR14ScriptVariable+0x4a) [0xf61bb81a]
--> ./fgamededmohaa.so(_ZN8Listener12CreateThreadEP13Event_GAMEDLL+0x29) [0xf61bb659]
--> ./fgamededmohaa.so(_ZN8ScriptVM7ExecuteEP14ScriptVariablei9const_str+0x7cd) [0xf610523d]
--> ./fgamededmohaa.so(_ZN12ScriptThread13ScriptExecuteEP14ScriptVariableiRS0_+0xec) [0xf60f80bc]
--> ./fgamededmohaa.so(_ZN8Listener21ExecuteThreadInternalEP13Event_GAMEDLLR14ScriptVariable+0x4a) [0xf61bb81a]
--> ./fgamededmohaa.so(_ZN8Listener12CreateThreadEP13Event_GAMEDLL+0x29) [0xf61bb659]
--> ./fgamededmohaa.so(_ZN8ScriptVM7ExecuteEP14ScriptVariablei9const_str+0x7cd) [0xf610523d]
--> ./fgamededmohaa.so(_ZN12ScriptThread13ScriptExecuteEP14ScriptVariableiRS0_+0xec) [0xf60f80bc]
--> ./fgamededmohaa.so(_ZN8Listener21ExecuteScriptInternalEP13Event_GAMEDLLR14ScriptVariable+0x4a) [0xf61bbbda]
--> ./fgamededmohaa.so(_ZN8Listener13ExecuteScriptEP13Event_GAMEDLL+0x29) [0xf61bba19]
--> ./fgameded.so(ExecuteScript+0x2e) [0xf6491a03]
--> ./fgameded.so(Player_Respawn_hook+0x83) [0xf6499cc9]
--> ./fgamededmohaa.so(_ZN8Listener12ProcessEventEP13Event_GAMEDLL+0x4f) [0xf61c390f]
--> ./fgamededmohaa.so(L_ProcessPendingEvents+0x4e) [0xf61c43ae]
--> ./fgamededmohaa.so(G_RunFrame+0x1cf) [0xf619cfef]
--> ./fgameded.so(G_RunFrame+0x7d1) [0xf6498b8a]
--> ./mohaa_lnxded [0x808d7ab]
--> ./mohaa_lnxded [0x8067486]
--> ./mohaa_lnxded [0x809726e]
--> /lib/libc.so.6(__libc_start_main+0xdc) [0xb06ebc]
--> ./mohaa_lnxded(_Znwj+0x71) [0x8049c41]
[OVERLORD] ERROR Server has died, return code 0
[OVERLORD] INFO Starting server
--- Common Initialization ---
Medal of Honor Allied Assault 1.11 linux-i386 Jul 22 2004
Cvar_Set2: fs_outputpath /usr/local/games/moh/996519/173.199.80.177:12203
----- FS_Startup -----
The servers ( local and public ) have the same pk3 in them , both exec the location mod from spawn event but it only works on Windows version
I cant tell what the error is saying , i thought it had something to do with the ihuddraws , so i tried changing index numbers a few times but same problem
Ive run out of ideas , fresh eyes anyone
Ill attach the location_help.scr