Jump to content
theo@theodormay.com

Filter Updates for 1.7.5.1

Recommended Posts

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 by TheLaughingMan
  • Like 5

Share this post


Link to post
Share on other sites

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

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

MPEventHandler Restriction #8

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""

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 by e1b0t

Share this post


Link to post
Share on other sites

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 by marrr

Share this post


Link to post
Share on other sites

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 by Kerbo

Share this post


Link to post
Share on other sites

Not FIXED!!!!

This is the value it reports

- #44 "dayzSetFuel = _val;"

Edited by e1b0t

Share this post


Link to post
Share on other sites

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

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

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

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

ok another update to scripts.txt :) update it on server and try again :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×