Fix for script 45# kick??

SKI32

Member
people on my server are getting kicked when they change their skin or become a bandit or a hero.

what do i change in battle eye?
 
http://killzonekid.com/how-to-fix-battleye-kicked-with-restriction-47-after-1-7-4-4-update-on-dayz/

A quick one.
Open file scripts.txt in your relevant BattlEye directory and find this line

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];”

Will probably be line #47… then change it like this:

Code:
5 setHit !”\”setHit\”,” !”object_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];”

Enjoy!
P.S. Oh and if you’re using BERcon.exe just type in loadScripts and you don’t have to restart the server for changes to work.

I just quoted from Killzone Kid's site.

Also mentioned here in the Github Issue #491
 
Back
Top