Buck0 Posted January 17, 2014 Report Share Posted January 17, 2014 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 More sharing options...
0 Buck0 Posted January 17, 2014 Author Report Share Posted January 17, 2014 bump Link to comment Share on other sites More sharing options...
0 Axe Cop Posted January 18, 2014 Report Share Posted January 18, 2014 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. Buck0 1 Link to comment Share on other sites More sharing options...
0 Buck0 Posted January 18, 2014 Author Report Share Posted January 18, 2014 so i can use the sarge ai fix even if im not using sarge ai? Link to comment Share on other sites More sharing options...
0 Axe Cop Posted January 18, 2014 Report Share Posted January 18, 2014 yes the fix is essentially the same, it just prevents players getting killed when they try to get into vehicles the Sarge AI spawned so it doesn't matter if an AI spawns the vehicle or you do it yourself the fix is the same :) Buck0 1 Link to comment Share on other sites More sharing options...
0 Buck0 Posted January 18, 2014 Author Report Share Posted January 18, 2014 will add and try out, can you also tell me if you know, what might be causing players hourglass when empty not to let them back up? just sits with an empty hourglass Link to comment Share on other sites More sharing options...
0 Buck0 Posted January 18, 2014 Author Report Share Posted January 18, 2014 that sarge ai fix worked, tyvm axe! Link to comment Share on other sites More sharing options...
Question
Buck0
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
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now