Jump to content

computermancer

Recommended Posts

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

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

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

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

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

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

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

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

 

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...