theo@theodormay.com 49 Posted February 4, 2013 (edited) Post here if you find any filters that need updating. Currently there are two that I know of in scripts.txt. You need to change the setHit and setFuel filters to these:5 setFuel !"\"setFuel\"," !"z\addons\dayz_code\compile\local_setFuel.sqf" !"dayzSetFuel" !"dayzSetFuel_code"5 setHit !"\"setHit\"," !"object_setHitServer = compile preprocessFileLineNumbers \"\z" !"player setHit[\"legs\",1];" !"_unit setHit[\"legs\",0];" !"_unit setHit[\"hands\",0];" !"_unit setHit[_selection,_damage];" !"_total = [_unit,_hit,_damage] call object_setHitServer;" !"_ent setVariable [\"hit_legs\",2,true];" !"z\addons\dayz_code\compile\object_setHit.sqf" !"[player,\"legs\", (_fractures select 0)] call object_setHit;" !"[player,\"hands\", (_fractures select 1)] call object_setHit;" !"#line 1 \"z\addons\dayz_code\compile\object_setHitServer.sqf"" Edited February 4, 2013 by TheLaughingMan 5 Share this post Link to post Share on other sites
Issadora 0 Posted February 4, 2013 Where can we find the scripts.txt file plz ? Share this post Link to post Share on other sites
Forceh 20 Posted February 4, 2013 Where can we find the scripts.txt file plz ?Should be in your dayzcfg folder and then Battleye. Share this post Link to post Share on other sites
Forceh 20 Posted February 4, 2013 I just tried this and ran load scripts into the server but it seems to have done nothing. Will check again after the next server restart. Share this post Link to post Share on other sites
eibot 0 Posted February 4, 2013 (edited) MPEventHandler Restriction #8Post here if you find any filters that need updating. Currently there are two that I know of in scripts.txt. You need to change the setHit and setFuel filters to these:5 setFuel !"\"setFuel\"," !"z\addons\dayz_code\compile\local_setFuel.sqf" !"\"dayzSetFuel\"" !"dayzSetFuel_code"5 setHit !"\"setHit\"," !"object_setHitServer = compile preprocessFileLineNumbers \"\z" !"player setHit[\"legs\",1];" !"_unit setHit[\"legs\",0];" !"_unit setHit[\"hands\",0];" !"_unit setHit[_selection,_damage];" !"_total = [_unit,_hit,_damage] call object_setHitServer;" !"_ent setVariable [\"hit_legs\",2,true];" !"z\addons\dayz_code\compile\object_setHit.sqf" !"[player,\"legs\", (_fractures select 0)] call object_setHit;" !"[player,\"hands\", (_fractures select 1)] call object_setHit;" !"#line 1 \"z\addons\dayz_code\compile\object_setHitServer.sqf""i tried this and people are still getting kicked when refueling.... dayzSetFuel = _val;"People also getting kicked when killed, MPEventhandler #8 (#8 "Hit" 61:190 Survivor2_DZ - "_this spawn server_playerHit;") Edited February 4, 2013 by e1b0t Share this post Link to post Share on other sites
marrr 6 Posted February 4, 2013 (edited) Post here if you find any filters that need updating. Currently there are two that I know of in scripts.txt. You need to change the setHit and setFuel filters to these:5 setFuel !"\"setFuel\"," !"z\addons\dayz_code\compile\local_setFuel.sqf" !"\"dayzSetFuel\"" !"dayzSetFuel_code"5 setHit !"\"setHit\"," !"object_setHitServer = compile preprocessFileLineNumbers \"\z" !"player setHit[\"legs\",1];" !"_unit setHit[\"legs\",0];" !"_unit setHit[\"hands\",0];" !"_unit setHit[_selection,_damage];" !"_total = [_unit,_hit,_damage] call object_setHitServer;" !"_ent setVariable [\"hit_legs\",2,true];" !"z\addons\dayz_code\compile\object_setHit.sqf" !"[player,\"legs\", (_fractures select 0)] call object_setHit;" !"[player,\"hands\", (_fractures select 1)] call object_setHit;" !"#line 1 \"z\addons\dayz_code\compile\object_setHitServer.sqf""People are still getting kicked here.. I wonder if you should have entered the code in a code tag because maybe something got shifted. Edited February 4, 2013 by marrr Share this post Link to post Share on other sites
Kerbo 198 Posted February 4, 2013 (edited) This is what I have for those 2 lines and I think it's working.5 setFuel !"\"setFuel\"," !"z\addons\dayz_code\compile\local_setFuel.sqf" !"dayzSetFuel" !"dayzSetFuel_code"5 setHit !"\"setHit\"," !"object_setHitServer = compile preprocessFileLineNumbers \"\z" !"player setHit[\"legs\",1];" !"_unit setHit[\"legs\",0];" !"_unit setHit[\"hands\",0];" !"_unit setHit[_selection,_damage];" !"_total = [_unit,_hit,_damage] call object_setHitServer;" !"_ent setVariable [\"hit_legs\",2,true];" !"z\addons\dayz_code\compile\object_setHit.sqf" !"[player,\"legs\", (_fractures select 0)] call object_setHit;" !"[player,\"hands\", (_fractures select 1)] call object_setHit;" !"#line 1 \"z\addons\dayz_code\compile\object_setHitServer.sqf\""Edit: I had to add a backslash to setHit (missing in LaughingMan's post above) Edited February 4, 2013 by Kerbo Share this post Link to post Share on other sites
eibot 0 Posted February 4, 2013 Think it should be!="dayzSetFuel_code = _code;" Share this post Link to post Share on other sites
theo@theodormay.com 49 Posted February 4, 2013 made a change to the setfuel, try it again. Share this post Link to post Share on other sites
eibot 0 Posted February 4, 2013 (edited) Not FIXED!!!!This is the value it reports- #44 "dayzSetFuel = _val;" Edited February 4, 2013 by e1b0t Share this post Link to post Share on other sites
Forceh 20 Posted February 4, 2013 Not FIXED!!!!This is the value it reports- #44 "dayzSetFuel = _val;"I can confirm, still getting kicked for refueling, thank fuck I don't have to restart the server every time I update the filters though. Share this post Link to post Share on other sites
theo@theodormay.com 49 Posted February 4, 2013 Well I am watching my 5 servers, about 250 people total and I havent seen people get kicked. 1 Share this post Link to post Share on other sites
Forceh 20 Posted February 4, 2013 Well I am watching my 5 servers, about 250 people total and I havent seen people get kicked.Hmm strange, still getting them here. Had to set the setFuel to 1 instead of 5 now. Share this post Link to post Share on other sites
Skydive (DayZ) 71 Posted February 5, 2013 I made these changes on my server and have not had anymore kicks.Be sure you reload your scripts files or restart the server for the changes to take effect! Share this post Link to post Share on other sites
.=QUACK=.Major.Pain 2 Posted February 6, 2013 We used !"dayzSetFuel = _val;" on the end of setfuel and it appears to have worked. Share this post Link to post Share on other sites
Guest Dwarden Posted February 7, 2013 BE scripts violation #44 are related to setFuel line 46 ... please update to latest scripts.txthttp://dayzmod.com/forum/index.php?/topic/119953-battleye-server-side-filters-update/ Share this post Link to post Share on other sites
Newt (DayZ) 2 Posted February 7, 2013 I'm getting kicks on my server for Script restriction #118 when a player attempts to add ammo the M240 on the huey. Share this post Link to post Share on other sites
Guest Dwarden Posted February 7, 2013 ok another update to scripts.txt :) update it on server and try again :) Share this post Link to post Share on other sites
cyber9612 0 Posted February 9, 2013 (edited) nvm fixed Edited February 9, 2013 by cyber9612 Share this post Link to post Share on other sites