Battleye filter mpeventhandler

Sandbird

Valued Member!
I moved some objects that i was creating on the client to the server, and used addMPEventHandler on them....but now i get kicked from the game.

I add the handler like this in the game:

Code:
o12 addMPEventHandler ["MPHit", {[o12,5] execVM "custom\obj_hit.sqf"}];

The error is like this:
Code:
01.03.2014 19:37:35: Sandbird (xx.xx.xx.xx:xxxx) xxxxxxxxx - #28 "Hit" 2:373 Land_barrel_burning - "[o12,5] execVM "custom\obj_hit.sqf""

o12 is the object that i want to control. It comes from an array of objects so its pretty much random (could be o11 for ex).

My mpeventhandler.txt (i doubt its line 29....i got nothing in my code with 'action'....i do have exec though (execVM...so i guess its that one)

Code:
line 26: 5 "move" !="this enableSimulation false;this allowDammage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';"
line 27: 5 "chat"
line 28: 5 "fade"
line 29: 5 "action"
line 30: 5 "exec"
line 31: 5 "mission"
line 32: 5 "kb"
line 33: 5 "side"

So my question is....what type of exception should i put ?

I tried : 5 "exec" !="custom\obj_hit.sqf" but its not working.

Can this been done with regular expression ? The objects are dynamic :/

Edit: it is the exec filter....setting it to 1 allows the execution but then gives:
Code:
RemoteExec Restriction #0 "Hit" 2:373 Land_barrel_burning - "[o12,5] execVM "custom\obj_hit.sqf""
 
Last edited:
Back
Top