Jump to content
  • 0

Deployable bike killing users


Buck0

Question

Hey, 

 

i have recently added the deployable bike>gyro on my server however when players go to use their new created vehicles they are instantly killed...

 

ive looked around and i believe its due to the server_cleanup.fsm

 

i think this is the code that is responsible however i am unsure of what i need to change to make this problem stop

     

 name = "group_cleanup";

      init = /*%FSM<STATEINIT""">*/"//Check for hackers" \n
       " {" \n
       " if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x)  && !((typeOf vehicle _x) in DZE_safeVehicle)) then {" \n
       " diag_log (""CLEANUP: KILLING A HACKER "" + (name _x) + "" "" + str(_x) + "" IN "" + (typeOf vehicle _x));" \n
       " (vehicle _x) setDamage 1;" \n
       " _x setDamage 1;" \n
       " };" \n
       " } forEach allUnits;"/*%FSM</STATEINIT""">*/;
      precondition = /*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
      class Links
      {
        /*%FSM<LINK "true">*/
        class true
        {
          priority = 0.000000;
          to="general_cleanup";
          precondition = /*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
          condition=/*%FSM<CONDITION""">*/"true"/*%FSM</CONDITION""">*/;
          action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
        };
 

 

 
if anyone could help me out that would be great
 
EDIT:: i forgot to mention im not running sarge or dazi
 
thanks
Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

I belive there are many topic about this "killing a hacker" feature.

You can simply follow the instructions from the sarge installations regarding that fix, if you have set the sarge variable on thge deployed bike or other vehicles that should work, if not you havr to add it to the vehicles with _veh setVariable ["Sarge",1,true]; or use another name for the variable it just has to be the same as in the cleanup file.

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
  • Advertisement
  • Discord

×
×
  • Create New...