Jump to content

computermancer

Recommended Posts

Works for me with this at the bottom of my mission init.sqf:

//////////////////////////////////////////////////////////////////////////
//cmEARPLUGS CODE START
call compile preProcessFileLineNumbers "cmEarplugs\config.sqf";
[] execVM "earplugsfix.sqf";
//cmEARPLUGS CODE END
//////////////////////////////////////////////////////////////////////////

If it matters I use InfiStar now so I don't know whether that would make a difference but auto inserting and removing are working on my server

Link to comment
Share on other sites

  On 4/11/2016 at 3:32 PM, ReDBaroN said:

Triffic, thanks guys. Moved it to the bottom of the init and now all is working. Well, all except the hotkey F4.... but, I'll take that! :)

 

Expand  

I wonder if the antihack is blocking the added keypress handler. See lines 59-61 in Configs\epoch_config\CfgEpochClient.hpp.

 

    displayAddEventHandler[] = {"keyDown","keyUp"};
    keyDown = "(_this call EPOCH_KeyDown)";
    keyUp   = "(_this call EPOCH_KeyUp)";

 

Link to comment
Share on other sites

But with Brian's new script you don't need to remember to have another edit (that may, I don't know for sure, effect other things) in sandbox_config.hpp each time. The new fix seems more elegant, just line added in init.sqf, a file that is rarely effected by new versions of Epoch...

Link to comment
Share on other sites

  • 4 weeks later...
  On 4/12/2016 at 9:11 PM, Tarabas said:

Thank you for that information with

respawnOnStart = 0; 

auto-earplugs work fine again for everyone without any script changes.

only button F4 again just works for admin, not for players

Expand  

I just run some more testing on this, situation is the same, as it was a year ago. Epoch AntiHack still blocks the KeyDown event for normal players. So annoying.

Link to comment
Share on other sites

  On 4/11/2016 at 9:29 PM, Ghostrider-DbD- said:

I wonder if the antihack is blocking the added keypress handler. See lines 59-61 in Configs\epoch_config\CfgEpochClient.hpp.

 

    displayAddEventHandler[] = {"keyDown","keyUp"};
    keyDown = "(_this call EPOCH_KeyDown)";
    keyUp   = "(_this call EPOCH_KeyUp)";

 

Expand  

yes it is EPAH that's blocking the hotkey for non-admins. as  discussed few pages back - I'm surprised almost a year later it's still an issue.

Link to comment
Share on other sites

I'm guessing that that's an InfiStar issue. Hasn't been available with standard Epoch AH for a while and when I migrated to InfiStar at 0.3.8 it didn't work either. You can still add/remove via the scroll wheel action menu though. I do when I'm out on a boat...

Link to comment
Share on other sites

  On 5/8/2016 at 8:34 PM, Grahame said:

I'm guessing that that's an InfiStar issue. Hasn't been available with standard Epoch AH for a while and when I migrated to InfiStar at 0.3.8 it didn't work either. You can still add/remove via the scroll wheel action menu though. I do when I'm out on a boat...

Expand  

Is earplug auto in/out function not working for you for some reason?

Link to comment
Share on other sites

  On 5/8/2016 at 8:38 PM, Grahame said:

No. Auto-in and out and action menu in and out work fine. Hot key doesn't work - just like in your taxi script :) (See I do read other people's posts... what is it, thirteen or fifteen months :ph34r:)

Expand  

Okay cool then. I just reinstalled this mod to my local play server, hotkey still working fine for admin and still not working fine in vanilla player mode.

hear us Skaronator, give us a fix...

Link to comment
Share on other sites

  On 5/8/2016 at 8:51 PM, mgm said:

keyDown affects so many things. minefields affect only one aspect of the game. 

 

keydown > minefield

Expand  

But I don't need any of those things dammit! Taxis, schmaxis... earplugs (action menu), smoke dispenser... who needs smoke? I'll just light up another Murshun and obscure my vehicle...

Minefields on the other hand.... sweet glorious minefields.... sweet glorious bouncing APERS mines...

Link to comment
Share on other sites

  On 5/8/2016 at 8:56 PM, Grahame said:

But I don't need any of those things dammit! Taxis, schmaxis... earplugs (action menu), smoke dispenser... who needs smoke? I'll just light up another Murshun and obscure my vehicle...

Minefields on the other hand.... sweet glorious minefields.... sweet glorious bouncing APERS mines...

Expand  

how do you not need taxis. do you never die in this game or when you die do you always have a friend to pick you up?

I just died 4 times in the last 4 hours due to silly army3 collision mechanics. "pushing" my boat and 2 centimeters too close and I die. yea sure could be more careful but still things happen and you occasionally die. I hate to run in DayZ SA, and in Epoch you can't even run more than n minutes due to realistic-ish stamina behavior. I rather just call a damn taxi. taxi gets expensive after a while though!

the final solution => public buses - free for all!!

Link to comment
Share on other sites

  On 5/8/2016 at 9:46 PM, Grahame said:

Yep, I was hoping CUP would get to this by now, but you know you really want to use this:

The ARMA3 Battle Bus :angry:

(I know it uses CUP, but so do I... and I guess this conversation probably belongs in your taxi script thread)

Expand  

can't. already asked the author of that project, he said no "due to licensing model of assets his work is built on". I will try and get a bus somewhere else.

 

/thread hijack

Link to comment
Share on other sites

  • 3 weeks later...

I can't seem to get this to work.

I think I've installed it correctly.

I have my cmEarplugs folder in my altis mission pbo.

Also the onPlayerKilled.sqf and onPlayerRespawn.sqf  are in my mission pbo.

This is my init:

  Reveal hidden contents

Config:

  Reveal hidden contents

Server rpt: http://pastebin.com/CcwWhhLK

I use Epoch Anti Hack but I have auto insert  enabled.

I have key press set to false:  cmEarplugsKeyPressEnabled = false;

I see no option in action menu when I'm in a vehicle.

Have I missed something?

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...