Buck0 Posted January 23, 2014 Report Share Posted January 23, 2014 yep, killing people the second they jump on them after spawning them in heres my servercleanup.fsm http://pastebin.com/djRvSQV1 Link to comment Share on other sites More sharing options...
0 Buck0 Posted January 23, 2014 Author Report Share Posted January 23, 2014 have changed the kill hacker line in the fsm to; if(vehicle x != _x && !(vehicle _x in PVDZEserverObjectMonitor) && (isPlayer x) && (typeOf vehicle _x) != ""ParachuteWest"" && (vehicle _x getVariable [""Sarge"",0] != 1) && (vehicle _x getVariable [""DZAI"",0] != 1) && (vehicle _x getVariable [""Mission"",0] != 1) && !((typeOf vehicle _x) in DZEsafeVehicle)) then {" \n it solved the issue, but now my rpt is getting spammed with; if(vehicle x != _x && !(vehicle _x in PVDZEserverOb> 23:10:57 Error position: <x != _x && !(vehicle _x in PVDZEserverOb> 23:10:57 Error Undefined variable in expression: x 23:10:57 Error in expression < { if(vehicle x != _x && !(vehicle _x in PVDZEserverOb> 23:10:57 Error position: <x != _x && !(vehicle _x in PVDZEserverOb> 23:10:57 Error Undefined variable in expression: x 23:10:57 Error in expression < { if(vehicle x != _x && !(vehicle _x in PVDZEserverOb> 23:10:57 Error position: <x != _x && !(vehicle _x in PVDZEserverOb> 23:10:57 Error Undefined variable in expression: x 23:10:57 Error in expression < { Link to comment Share on other sites More sharing options...
0 Buck0 Posted January 23, 2014 Author Report Share Posted January 23, 2014 Anyone? Link to comment Share on other sites More sharing options...
0 Judge Bread Posted January 23, 2014 Report Share Posted January 23, 2014 Try this, But you need sarge AI installed and your code has both Sarge AI and DayZAI in it. Not sure if you just copy pasted someones code but i've only heard of people running one of the AI systems, not both. Link to comment Share on other sites More sharing options...
0 Buck0 Posted January 23, 2014 Author Report Share Posted January 23, 2014 Yeah I just tried a couple of fixes I saw round the forums, I currently run neither. Is it required that you run them to fix this? I would really prefer not to Link to comment Share on other sites More sharing options...
0 Judge Bread Posted January 24, 2014 Report Share Posted January 24, 2014 Well the Sarge AI sets the "Sarge" variable. Not really sure what that is and how you could implement it on your own. But there are quite a few topics about "Killing a hacker" so you will have to thoroughly search each one for something you could use that does not have the Sarge variable. Link to comment Share on other sites More sharing options...
0 Judge Bread Posted January 24, 2014 Report Share Posted January 24, 2014 Have a look at this maybe? Link to comment Share on other sites More sharing options...
0 Buck0 Posted January 24, 2014 Author Report Share Posted January 24, 2014 Hrms, im not sure if that would work ... then again I could be wrong Link to comment Share on other sites More sharing options...
0 Buck0 Posted January 24, 2014 Author Report Share Posted January 24, 2014 Tried that abd didnt work Not to sure how to fix thos as im really not that good with coding Link to comment Share on other sites More sharing options...
0 Judge Bread Posted January 24, 2014 Report Share Posted January 24, 2014 Well... most people seem to use the Sarge fix. So without going through his code to find what he does I can't say much. You could just download it and grep/find the variable he uses and see how he uses it. Sorry for not being much use here. Link to comment Share on other sites More sharing options...
0 Sukkaed Posted January 24, 2014 Report Share Posted January 24, 2014 What variable you use to spawn the bike? That is what you need to "whitelist" to server cleanup. Link to comment Share on other sites More sharing options...
0 Buck0 Posted January 26, 2014 Author Report Share Posted January 26, 2014 http://dayz.st/w/Deployable_Bike/Motorcycle/GyroCopter is what im using, how would i go about doing that Link to comment Share on other sites More sharing options...
0 Buck0 Posted January 26, 2014 Author Report Share Posted January 26, 2014 that just serves the same purpose as commenting out the lines tho Link to comment Share on other sites More sharing options...
0 axeman Posted January 26, 2014 Report Share Posted January 26, 2014 tbh editing the killing a hacker code is going to defeat the object, if a hacker can spawn a vehicle in i can't see it being that difficult for them to add a variable to it. how did you apply: PVDZE_serverObjectMonitor set [count PVDZE_serverObjectMonitor,_bikeObjInHere]; this bit of code was for am older version of Epoch, am yet to test it for the latest version. Will be soon as the bus code has had a big upgrade.. Link to comment Share on other sites More sharing options...
0 MassAsster Posted February 11, 2014 Report Share Posted February 11, 2014 This was mentioned some where, I think it may have been here on these forums, but if you pull the variables.sqf out of your code.pbo you can set the bike as a "safe vehicle" in the array - fixing the issue without using sarge or edits to the hacker check. Tested and functional as of today Link to comment Share on other sites More sharing options...
Question
Buck0
yep, killing people the second they jump on them after spawning them in
heres my servercleanup.fsm
http://pastebin.com/djRvSQV1
Link to comment
Share on other sites
14 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