Kimzer Posted December 17, 2017 Report Share Posted December 17, 2017 20:58:18 Error Undefined variable in expression: progress_monitor 20:58:18 File mpmissions\__cur_mp.Chernarus\init.sqf, line 136 20:58:18 Error in expression <adermarkers.sqf"; waitUntil {scriptDone progress_monitor}; cutText ["","BLACK IN> 20:58:18 Error position: <progress_monitor}; cutText ["","BLACK IN> 20:58:18 Error Undefined variable in expression: progress_monitor 20:58:18 File mpmissions\__cur_mp.Chernarus\init.sqf, line 136 20:58:18 Error in expression <= _colourDefault; switch true do { case(_hunger >= 100) : {_colourHunger = _colo> 20:58:18 Error position: <_hunger >= 100) : {_colourHunger = _colo> 20:58:18 Error Undefined variable in expression: _hunger 20:58:18 File mpmissions\__cur_mp.Chernarus\Shared\Scripts\Currency\playerHud.sqf, line 83 20:58:18 Error in expression <_colourDefault; switch true do{ case(_thirst >= 100) : {_colourThirst = _colo> 20:58:18 Error position: <_thirst >= 100) : {_colourThirst = _colo> 20:58:18 Error Undefined variable in expression: _thirst 20:58:18 File mpmissions\__cur_mp.Chernarus\Shared\Scripts\Currency\playerHud.sqf, line 101 20:58:18 Error in expression <odTotal) * 100); _hunger = round(100 - (dayz_hunger / SleepFood) * 100); _thirst> 20:58:18 Error position: <dayz_hunger / SleepFood) * 100); _thirst> 20:58:18 Error Undefined variable in expression: dayz_hunger 20:58:18 File mpmissions\__cur_mp.Chernarus\Shared\Scripts\Currency\playerHud.sqf, line 38 20:58:18 Error in expression <players, RPT Started suddenly spamming. Need some serious help here. Tried commenting out the scripts its whining about, but that just makes it complain about another script further up. Relevant part of my init.sqf below. if (!isDedicated) then { if (toLower(worldName) == "chernarus") then { diag_log "WARNING: Clearing annoying benches from Chernarus"; ([4654,9595,0] nearestObject 145259) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1; diag_log "WARNING: Clearing closed churches from Chernarus"; ([6038,7768,0] nearestObject 204126) hideObject true; //Church Stary Sobor ([6192,10406,0] nearestObject 152495) hideObject true; //Church Grishino ([2712,10047,0] nearestObject 123798) hideObject true; //Church Lopatino ([2733,5451,0] nearestObject 186325) hideObject true; //Church Zelenogorsk ([1727,3828,0] nearestObject 310481) hideObject true; //Church Pavlovo ([7415,5168,0] nearestObject 225183) hideObject true; //Church Mogilevka ([12870,10137,0] nearestObject 257901) hideObject true; //Church Sawmill }; if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";}; call compile preprocessFileLineNumbers "Shared\Scripts\ESS\init.sqf"; execFSM "Shared\Compiles\player_monitor.fsm"; if (DZE_R3F_WEIGHT) then {execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf";}; execVM "Shared\Scripts\Currency\playerHud.sqf"; execVM "Shared\Scripts\Options\SimInit.sqf"; execVM "Shared\Scripts\SafeZone\SafeZone.sqf"; execVM "Shared\Scripts\SafeZone\Markers.sqf"; execVM "Shared\Scripts\MapMarkers\map_markers.sqf"; execVM "Shared\Scripts\ServicePoints\service_Point.sqf"; execVM "Shared\Compiles\Functions\player_tradermarkers.sqf"; waitUntil {scriptDone progress_monitor}; cutText ["","BLACK IN", 3]; 3 fadeSound 1; 3 fadeMusic 1; endLoadingScreen; }; Link to comment Share on other sites More sharing options...
0 salival Posted December 17, 2017 Report Share Posted December 17, 2017 7 hours ago, Kimzer said: 20:58:18 Error Undefined variable in expression: progress_monitor 20:58:18 File mpmissions\__cur_mp.Chernarus\init.sqf, line 136 20:58:18 Error in expression <adermarkers.sqf"; waitUntil {scriptDone progress_monitor}; cutText ["","BLACK IN> 20:58:18 Error position: <progress_monitor}; cutText ["","BLACK IN> 20:58:18 Error Undefined variable in expression: progress_monitor 20:58:18 File mpmissions\__cur_mp.Chernarus\init.sqf, line 136 20:58:18 Error in expression <= _colourDefault; switch true do { case(_hunger >= 100) : {_colourHunger = _colo> 20:58:18 Error position: <_hunger >= 100) : {_colourHunger = _colo> 20:58:18 Error Undefined variable in expression: _hunger 20:58:18 File mpmissions\__cur_mp.Chernarus\Shared\Scripts\Currency\playerHud.sqf, line 83 20:58:18 Error in expression <_colourDefault; switch true do{ case(_thirst >= 100) : {_colourThirst = _colo> 20:58:18 Error position: <_thirst >= 100) : {_colourThirst = _colo> 20:58:18 Error Undefined variable in expression: _thirst 20:58:18 File mpmissions\__cur_mp.Chernarus\Shared\Scripts\Currency\playerHud.sqf, line 101 20:58:18 Error in expression <odTotal) * 100); _hunger = round(100 - (dayz_hunger / SleepFood) * 100); _thirst> 20:58:18 Error position: <dayz_hunger / SleepFood) * 100); _thirst> 20:58:18 Error Undefined variable in expression: dayz_hunger 20:58:18 File mpmissions\__cur_mp.Chernarus\Shared\Scripts\Currency\playerHud.sqf, line 38 20:58:18 Error in expression <players, RPT Started suddenly spamming. Need some serious help here. Tried commenting out the scripts its whining about, but that just makes it complain about another script further up. Relevant part of my init.sqf below. if (!isDedicated) then { if (toLower(worldName) == "chernarus") then { diag_log "WARNING: Clearing annoying benches from Chernarus"; ([4654,9595,0] nearestObject 145259) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1; diag_log "WARNING: Clearing closed churches from Chernarus"; ([6038,7768,0] nearestObject 204126) hideObject true; //Church Stary Sobor ([6192,10406,0] nearestObject 152495) hideObject true; //Church Grishino ([2712,10047,0] nearestObject 123798) hideObject true; //Church Lopatino ([2733,5451,0] nearestObject 186325) hideObject true; //Church Zelenogorsk ([1727,3828,0] nearestObject 310481) hideObject true; //Church Pavlovo ([7415,5168,0] nearestObject 225183) hideObject true; //Church Mogilevka ([12870,10137,0] nearestObject 257901) hideObject true; //Church Sawmill }; if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";}; call compile preprocessFileLineNumbers "Shared\Scripts\ESS\init.sqf"; execFSM "Shared\Compiles\player_monitor.fsm"; if (DZE_R3F_WEIGHT) then {execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf";}; execVM "Shared\Scripts\Currency\playerHud.sqf"; execVM "Shared\Scripts\Options\SimInit.sqf"; execVM "Shared\Scripts\SafeZone\SafeZone.sqf"; execVM "Shared\Scripts\SafeZone\Markers.sqf"; execVM "Shared\Scripts\MapMarkers\map_markers.sqf"; execVM "Shared\Scripts\ServicePoints\service_Point.sqf"; execVM "Shared\Compiles\Functions\player_tradermarkers.sqf"; waitUntil {scriptDone progress_monitor}; cutText ["","BLACK IN", 3]; 3 fadeSound 1; 3 fadeMusic 1; endLoadingScreen; }; This error should never happen, progress_monitor is set there when the progress_monitor.sqf is set: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf#L85 I would think that progress_monitor.sqf has errored out which makes that variable not set. Try sharing your client RPT: To find this logfile: C:\users\<YOUR WINDOWS USERNAME>\AppData\Local\Arma 2 OA\ArmA2OA.RPT Link to comment Share on other sites More sharing options...
0 Kimzer Posted December 17, 2017 Author Report Share Posted December 17, 2017 Figured it out. But thank you :) Link to comment Share on other sites More sharing options...
Question
Kimzer
RPT Started suddenly spamming. Need some serious help here.
Tried commenting out the scripts its whining about, but that just makes it complain about another script further up.
Relevant part of my init.sqf below.
if (!isDedicated) then { if (toLower(worldName) == "chernarus") then { diag_log "WARNING: Clearing annoying benches from Chernarus"; ([4654,9595,0] nearestObject 145259) setDamage 1; ([4654,9595,0] nearestObject 145260) setDamage 1; diag_log "WARNING: Clearing closed churches from Chernarus"; ([6038,7768,0] nearestObject 204126) hideObject true; //Church Stary Sobor ([6192,10406,0] nearestObject 152495) hideObject true; //Church Grishino ([2712,10047,0] nearestObject 123798) hideObject true; //Church Lopatino ([2733,5451,0] nearestObject 186325) hideObject true; //Church Zelenogorsk ([1727,3828,0] nearestObject 310481) hideObject true; //Church Pavlovo ([7415,5168,0] nearestObject 225183) hideObject true; //Church Mogilevka ([12870,10137,0] nearestObject 257901) hideObject true; //Church Sawmill }; if (dayz_townGenerator) then { execVM "\z\addons\dayz_code\compile\client_plantSpawner.sqf";}; call compile preprocessFileLineNumbers "Shared\Scripts\ESS\init.sqf"; execFSM "Shared\Compiles\player_monitor.fsm"; if (DZE_R3F_WEIGHT) then {execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf";}; execVM "Shared\Scripts\Currency\playerHud.sqf"; execVM "Shared\Scripts\Options\SimInit.sqf"; execVM "Shared\Scripts\SafeZone\SafeZone.sqf"; execVM "Shared\Scripts\SafeZone\Markers.sqf"; execVM "Shared\Scripts\MapMarkers\map_markers.sqf"; execVM "Shared\Scripts\ServicePoints\service_Point.sqf"; execVM "Shared\Compiles\Functions\player_tradermarkers.sqf"; waitUntil {scriptDone progress_monitor}; cutText ["","BLACK IN", 3]; 3 fadeSound 1; 3 fadeMusic 1; endLoadingScreen; };
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now