mimic Posted April 26, 2015 Report Share Posted April 26, 2015 Getting this error in client RPT files. Script seems to work still, just thought I'd mention it to you. 23:52:06 Error in expression < ((_hasEPEH == "NEVER")) then {[] spawn cm_EPEH_Loop;[] spawn cm_EP_LOOP;}; if> 23:52:06 Error position: <cm_EPEH_Loop;[] spawn cm_EP_LOOP;}; if> 23:52:06 Error Undefined variable in expression: cm_epeh_loop 23:52:06 File mpmissions\__CUR_MP.Bornholm\onPlayerRespawn.sqf, line 39 Link to comment Share on other sites More sharing options...
computermancer Posted April 26, 2015 Author Report Share Posted April 26, 2015 Oh, you know what, I see a problem :o , I will fix it today and post a correct version of onplayerrespawn.sqf Link to comment Share on other sites More sharing options...
computermancer Posted April 26, 2015 Author Report Share Posted April 26, 2015 Okay, try the newest version. Just remove " [] spawn cm_EPEH_Loop; " if ((_hasEPEH == "NEVER")) then {[] spawn cm_EP_LOOP;}; Link to comment Share on other sites More sharing options...
DirtySanchez Posted April 29, 2015 Report Share Posted April 29, 2015 Thanks CM Link to comment Share on other sites More sharing options...
D1rtyD3vil Posted May 7, 2015 Report Share Posted May 7, 2015 do i get it right that they keypress function is now working even for normal players on EPAH ? admins dont have problems pressing F4 but its not working for normal players . Link to comment Share on other sites More sharing options...
computermancer Posted May 8, 2015 Author Report Share Posted May 8, 2015 I think EPAH prevents it from working for normal players, you may be able to get it working for normal players if you mess with the new EPAH filters, I have not had a chance to test anything yet with the latest version. I had my appendix removed this weekend, I am currently recovering and this human healing thing has slowed me down a bit in life :P Link to comment Share on other sites More sharing options...
OzzY_MG Posted May 11, 2015 Report Share Posted May 11, 2015 No sweat man I'm logging into my admin panel and I'll heal you with a simple double click. computermancer 1 Link to comment Share on other sites More sharing options...
Scaris Posted May 13, 2015 Report Share Posted May 13, 2015 I love this script. Problem I am having however is I allow ammo trucks on my server and when a vehicle that has a "reload" option in the scroll whell is within range of an ammo truck (to reload) it supresses the reload option and shows 2 earplug entries in the scroll menu. Any way to fix this? Link to comment Share on other sites More sharing options...
computermancer Posted May 15, 2015 Author Report Share Posted May 15, 2015 I love this script. Problem I am having however is I allow ammo trucks on my server and when a vehicle that has a "reload" option in the scroll whell is within range of an ammo truck (to reload) it supresses the reload option and shows 2 earplug entries in the scroll menu. Any way to fix this? that is a weird bug... hmm... this i using the latest version? Link to comment Share on other sites More sharing options...
Scaris Posted May 15, 2015 Report Share Posted May 15, 2015 Where do you maintain your version number in your code so I can check? Link to comment Share on other sites More sharing options...
computermancer Posted May 15, 2015 Author Report Share Posted May 15, 2015 Where do you maintain your version number in your code so I can check? That sounds like a "gotcha" question! lol Currently, only way to know if you have latest version is if you downloaded it after April 26 , thats the last day I made any changes. Link to comment Share on other sites More sharing options...
Scaris Posted May 16, 2015 Report Share Posted May 16, 2015 ha! Well actually I asked because I couldn't find where you kept it.. And to answer you then, yes I am definetly running the latest. If you want to reproduce it just add an a-164 wipeout onto your map and pull it up to an ammo truck. It consistently gets the double entry. Others are hit and miss it seems. Link to comment Share on other sites More sharing options...
computermancer Posted May 16, 2015 Author Report Share Posted May 16, 2015 Ammo trucks are default or do I add it? What's a164 wipeout ? Link to comment Share on other sites More sharing options...
Scaris Posted May 16, 2015 Report Share Posted May 16, 2015 Not sure what you have on your server, a HEMMT or Tempest Ammo is fine. HEMMT Ammo:B_Truck_01_ammo_F Tempest Ammo: O_Truck_03_ammo_F A-164 wipeout: http://armedassault.wikia.com/wiki/A-164_Wipeout class: B_Plane_CAS_01_F Link to comment Share on other sites More sharing options...
Floyd Posted May 16, 2015 Report Share Posted May 16, 2015 I've had the same issue with the box truck trying to load an ATV.And proably some others, but until I read Scaris's description of the double earplug option, I thought is was an error I'd made with IgiLoad.TBH, I don't think I'm using the most uptodate version of earplugs. Link to comment Share on other sites More sharing options...
Scaris Posted May 17, 2015 Report Share Posted May 17, 2015 I've had the same issue with the box truck trying to load an ATV. And proably some others, but until I read Scaris's description of the double earplug option, I thought is was an error I'd made with IgiLoad. TBH, I don't think I'm using the most uptodate version of earplugs. So you are getting 2 earplug entries on the box truck? Link to comment Share on other sites More sharing options...
AekaGSR Posted May 17, 2015 Report Share Posted May 17, 2015 I've been trying for hours to get this to work. I'm using infstar but I've made the relative changes shown above. I think it just isn't loading. Possibly due to my horrible syntax in my init file as there are errors for another addon thats not working. init //simple epoch missions diag_log "#SEM: Initialize Simple Epoch Missions"; if(hasInterface)then{execVM "semClient.sqf" }; //Status Bar if(hasInterface) then{[] execVM "addons\Status_Bar\init_statusBar.sqf" }; // Welcome Credits by Gr8 [] execVM "custom\welcome.sqf"; // Spawn Image [] execVM "custom\debugpic.sqf"; ; //cmEARPLUGS diag_log "#Initialize cmEearplugs"; call compile preProcessFileLineNumbers "cmEarplugs\config.sqf" //attach explosives diag_log "Initialize attach expl"; if (hasInterface) then { while {true} do { waitUntil {alive vehicle player}; Sleep 30; [] execVM "addons\etv\EtV.sqf"; waitUntil {!isNil "EtVInitialized"}; [player] call EtV_Actions; waitUntil {!alive player}; Sleep 30; [] execVM "addons\etv\EtV.sqf"; waitUntil {!isNil "EtVInitialized"}; [player] call EtV_Actions; }; }; and my rpt with the relavent areas 10:12:08 Error in expression <ileLineNumbers "cmEarplugs\config.sqf" diag_log "Initialize attach expl"; if (h> 10:12:08 Error position: <diag_log "Initialize attach expl"; if (h> 10:12:08 Error Missing ; 10:12:08 File mpmissions\epoch.Altis\init.sqf, line 27 10:12:08 "#SEM: Initialize Simple Epoch Missions" 10:12:08 Error in expression <ileLineNumbers "cmEarplugs\config.sqf" diag_log "Initialize attach expl"; if (h> 10:12:08 Error position: <diag_log "Initialize attach expl"; if (h> 10:12:08 Error Missing ; 10:12:08 File mpmissions\epoch.Altis\init.sqf, line 27 Link to comment Share on other sites More sharing options...
Scaris Posted May 17, 2015 Report Share Posted May 17, 2015 I've been trying for hours to get this to work. I'm using infstar but I've made the relative changes shown above. I think it just isn't loading. Possibly due to my horrible syntax in my init file as there are errors for another addon thats not working. init //simple epoch missions diag_log "#SEM: Initialize Simple Epoch Missions"; if(hasInterface)then{execVM "semClient.sqf" }; //Status Bar if(hasInterface) then{[] execVM "addons\Status_Bar\init_statusBar.sqf" }; // Welcome Credits by Gr8 [] execVM "custom\welcome.sqf"; // Spawn Image [] execVM "custom\debugpic.sqf"; ; //cmEARPLUGS diag_log "#Initialize cmEearplugs"; call compile preProcessFileLineNumbers "cmEarplugs\config.sqf" //attach explosives diag_log "Initialize attach expl"; if (hasInterface) then { while {true} do { waitUntil {alive vehicle player}; Sleep 30; [] execVM "addons\etv\EtV.sqf"; waitUntil {!isNil "EtVInitialized"}; [player] call EtV_Actions; waitUntil {!alive player}; Sleep 30; [] execVM "addons\etv\EtV.sqf"; waitUntil {!isNil "EtVInitialized"}; [player] call EtV_Actions; }; }; and my rpt with the relavent areas 10:12:08 Error in expression <ileLineNumbers "cmEarplugs\config.sqf" diag_log "Initialize attach expl"; if (h> 10:12:08 Error position: <diag_log "Initialize attach expl"; if (h> 10:12:08 Error Missing ; 10:12:08 File mpmissions\epoch.Altis\init.sqf, line 27 10:12:08 "#SEM: Initialize Simple Epoch Missions" 10:12:08 Error in expression <ileLineNumbers "cmEarplugs\config.sqf" diag_log "Initialize attach expl"; if (h> 10:12:08 Error position: <diag_log "Initialize attach expl"; if (h> 10:12:08 Error Missing ; 10:12:08 File mpmissions\epoch.Altis\init.sqf, line 27 First thing I would do is make one if(hasInterface) then{}; Statement and put all relevant items into it and not have several floating around your init. Link to comment Share on other sites More sharing options...
AekaGSR Posted May 17, 2015 Report Share Posted May 17, 2015 The problem is I don't know the nuance of the syntax. I've put all of it inside and then nothing inside works. I don't know which lines get a ";" or properly placing "{}" but I thank you here is my attempt: // Welcome Credits by Gr8 [] execVM "custom\welcome.sqf"; // Spawn Image [] execVM "custom\debugpic.sqf"; //simple epoch missions diag_log "#SEM: Initialize Simple Epoch Missions"; if(hasInterface)then{ execVM "semClient.sqf"}; //status bar [] execVM "addons\Status_Bar\init_statusBar.sqf"}; //attach explosives while {true} do { waitUntil {alive vehicle player}; Sleep 30; [] execVM "addons\etv\EtV.sqf"; waitUntil {!isNil "EtVInitialized"}; [player] call EtV_Actions; waitUntil {!alive player}; Sleep 30; [] execVM "addons\etv\EtV.sqf"; waitUntil {!isNil "EtVInitialized"}; [player] call EtV_Actions; }; }; //cmEARPLUGS diag_log "#Initialize cmEearplugs"; call compile preProcessFileLineNumbers "cmEarplugs\config.sqf"; } earplugs still dont work. Link to comment Share on other sites More sharing options...
Scaris Posted May 17, 2015 Report Share Posted May 17, 2015 I am kind of eyeball deep working on my server atm, however if will try to take a look at your init today and clean it up if you can be patient. Link to comment Share on other sites More sharing options...
computermancer Posted May 17, 2015 Author Report Share Posted May 17, 2015 upload your mission folder and i will look at it Eisich and Scaris 2 Link to comment Share on other sites More sharing options...
AekaGSR Posted May 20, 2015 Report Share Posted May 20, 2015 upload your mission folder and i will look at it Cool! I sent you a PM with a link. Thanks for being awesome. Link to comment Share on other sites More sharing options...
AekaGSR Posted May 20, 2015 Report Share Posted May 20, 2015 I am kind of eyeball deep working on my server atm, however if will try to take a look at your init today and clean it up if you can be patient. I had a friend who does sqf coding look at the init file, I think we have that part sorted, but it still isnt working. Hopefully computermancer find the problem. But here is the revised init file anyway: // Welcome Credits by Gr8 [] execVM "custom\welcome.sqf"; // Spawn Image [] execVM "custom\debugpic.sqf"; //simple epoch missions diag_log "#SEM: Initialize Simple Epoch Missions"; if(hasInterface)then{ execVM "semClient.sqf"}; //status bar [] execVM "addons\Status_Bar\init_statusBar.sqf"}; //attach explosives if(!isDedicated and hasInterface) then { while {true} do { waitUntil {alive vehicle player}; Sleep 30; [] execVM "addons\etv\EtV.sqf"; waitUntil {!isNil "EtVInitialized"}; [player] call EtV_Actions; waitUntil {!alive player}; Sleep 30; [] execVM "addons\etv\EtV.sqf"; waitUntil {!isNil "EtVInitialized"}; [player] call EtV_Actions; }; }; //cmEARPLUGS diag_log "#Initialize cmEearplugs"; call compile preProcessFileLineNumbers "cmEarplugs\config.sqf"; Link to comment Share on other sites More sharing options...
Sneakydude Posted May 20, 2015 Report Share Posted May 20, 2015 Works awesome, just noticed one small thing, when exiting the vehicle the odd time it says no earplugs.paa found entry. Otherwise f4 key works great, and reentering the vehicle. Thanks Comp. Link to comment Share on other sites More sharing options...
Scaris Posted May 22, 2015 Report Share Posted May 22, 2015 Any update on the double entry bug? I just had a player call me over because he couldn't load his hunter GMG off a Tempest because he has 2 ear plug entries in the context menu. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now