Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
ringoray

Fire Bug on Server

Recommended Posts

Hey guys, I am running the fire bug fix from Dwarden on my server but it does not seem to run. Can anyone tell me if something is wrong with my init.sqf? You will see in the MasterUID part of the script I have used x to blank out my friends steam IDS at their request, just for the purpose of this post. I have the relevant folder in my mission directory as instructed yet still the fire bug appears. Thanks in advance for any help or suggestions.

if !isDedicated then { startLoadingScreen ["Loading...","RscLoadScreenCustom"]; }; 
enableSaving [false, false];  
waitUntil { isServer || !isNull player };  
waitUntil { !isNil "BIS_MPF_InitDone" };  
waitUntil { BIS_MPF_InitDone }; 

// Global Variable Init 
curTime                = time;    //mission start time 
serverLoadHint      = false;   //server load hint message 

/// place player UIDs here to enable extra toys for specific players. Toys are Apache, UH1Y, MH60M, and MV22 
/// updated June 6, 2013.  
masterUIDArray = [ 
"xxxxxxxxxxxxxxxxx", 
"xxxxxxxxxxxxxxxxx", 
"xxxxxxxxxxxxxxxxx", 
"xxxxxxxxxxxxxxxxx", 
"xxxxxxxxxxxxxxxxx", 
"xxxxxxxxxxxxxxxxx" 
]; 
masterClassArray = ["AH64D_EP1","UH60M_MEV_EP1"]; 


if (local player) then { call compile preprocessFileLineNumbers "initclient.sqf"; };  
if (isServer) then { call compile preprocessFileLineNumbers "initserver.sqf"; };  

/////////////////Dwarden fixing fire in the sky bug 

BIS_Effects_EH_Killed=compile preprocessFileLineNumbers "new_effects\killed.sqf"; 
BIS_Effects_AirDestruction=compile preprocessFileLineNumbers "new_effects\AirDestruction.sqf"; 
BIS_Effects_AirDestructionStage2=compile preprocessFileLineNumbers "new_effects\AirDestructionStage2.sqf"; 

BIS_Effects_globalEvent =  
{ 
   BIS_effects_gepv = _this; 
   publicVariable "BIS_effects_gepv"; 
    _this call BIS_Effects_startEvent; 
}; 

BIS_Effects_startEvent =  
{ 
   switch (_this select 0) do  
   { 
            case "AirDestruction":  
       { 
              [_this select 1] spawn BIS_Effects_AirDestruction; 
       }; 
          case "AirDestructionStage2":  
       { 
              [_this select 1, _this select 2, _this select 3] spawn BIS_Effects_AirDestructionStage2; 
       }; 
          case "Burn":  
       { 
              [_this select 1, _this select 2, _this select 3, false, true] spawn BIS_Effects_Burn; 
       }; 
   }; 
}; 
"BIS_effects_gepv" addPublicVariableEventHandler {(_this select 1) call BIS_Effects_startEvent;};  

Share this post


Link to post
Share on other sites
Sign in to follow this  

×