Emerghency Posted February 9, 2016 Report Share Posted February 9, 2016 ) has been kicked by BattlEye: SetDamage Restriction #1 is kicking people when they try to farm hemp on my server. any fixes for this error? Link to comment Share on other sites More sharing options...
0 Emerghency Posted February 9, 2016 Author Report Share Posted February 9, 2016 I was able to fix the kicking. however im looking to make it so that the hemp plants respawn after being farmed, say after like 30 minutes. is this possible? Link to comment Share on other sites More sharing options...
0 JohnnyLube Posted February 24, 2017 Report Share Posted February 24, 2017 How did you fix this? I am having the same issue? Come on dude share the knowledge, knowledge is power , feel the power .............. and all that other hippy shit that goes on :-) Link to comment Share on other sites More sharing options...
0 juandayz Posted February 24, 2017 Report Share Posted February 24, 2017 3 hours ago, JohnnyLube said: How did you fix this? I am having the same issue? Come on dude share the knowledge, knowledge is power , feel the power .............. and all that other hippy shit that goes on :-) its for 1.0.5.1 ? try to not use setdamage on the script Spoiler /* put together for DayZ Epoch Credits to Shogun338 from Insurrection gaming modified for separate "gather weed" script */ private ["_gearmenu","_playerPos","_nearWeed","_weed","_objectID","_objectUID"]; _playerPos = getPosATL player; _hempqty = {_x == "ItemKiloHemp"} count magazines player; _nearWeed = count nearestObjects [_playerPos, ["fiberplant"], 4] > 0; _weed = nearestObject [player, "fiberplant"]; if !(_nearWeed) exitWith { cutText [format["Needs be near of a FiberPlant."], "PLAIN DOWN"]; }; if (_hempqty > 2) exitWith { cutText [format["WARNING: %1, YOure Full of Drugs survivor", name player], "PLAIN DOWN"]; }; if (dayz_combat == 1) exitWith { cutText [format["IN COMBAT."], "PLAIN DOWN"]; } else { disableSerialization; _gearmenu = FindDisplay 106; _gearmenu CloseDisplay 106; player playActionNow "Medic"; r_interrupt = false; sleep 6; _objectID = _weed getVariable["ObjectID","0"]; _objectUID = _weed getVariable["ObjectUID","0"]; deleteVehicle _weed; [_objectID,_objectUID] call server_deleteObj; deleteVehicle _weed; player addMagazine "ItemKiloHemp"; sleep 2; cutText [format["NICE LETS SMOKE AND SELL"], "PLAIN DOWN"]; }; Link to comment Share on other sites More sharing options...
0 JohnnyLube Posted February 24, 2017 Report Share Posted February 24, 2017 Great stuff thank you that fixed it. But why would you have something in there that would cause issues :-) Link to comment Share on other sites More sharing options...
0 salival Posted February 24, 2017 Report Share Posted February 24, 2017 8 hours ago, juandayz said: its for 1.0.5.1 ? try to not use setdamage on the script Hide contents /* put together for DayZ Epoch Credits to Shogun338 from Insurrection gaming modified for separate "gather weed" script */ private ["_gearmenu","_playerPos","_nearWeed","_weed","_objectID","_objectUID"]; _playerPos = getPosATL player; _hempqty = {_x == "ItemKiloHemp"} count magazines player; _nearWeed = count nearestObjects [_playerPos, ["fiberplant"], 4] > 0; _weed = nearestObject [player, "fiberplant"]; if !(_nearWeed) exitWith { cutText [format["Needs be near of a FiberPlant."], "PLAIN DOWN"]; }; if (_hempqty > 2) exitWith { cutText [format["WARNING: %1, YOure Full of Drugs survivor", name player], "PLAIN DOWN"]; }; if (dayz_combat == 1) exitWith { cutText [format["IN COMBAT."], "PLAIN DOWN"]; } else { disableSerialization; _gearmenu = FindDisplay 106; _gearmenu CloseDisplay 106; player playActionNow "Medic"; r_interrupt = false; sleep 6; _objectID = _weed getVariable["ObjectID","0"]; _objectUID = _weed getVariable["ObjectUID","0"]; deleteVehicle _weed; [_objectID,_objectUID] call server_deleteObj; deleteVehicle _weed; player addMagazine "ItemKiloHemp"; sleep 2; cutText [format["NICE LETS SMOKE AND SELL"], "PLAIN DOWN"]; }; You can't use server_deleteObj client side Link to comment Share on other sites More sharing options...
0 juandayz Posted February 25, 2017 Report Share Posted February 25, 2017 15 hours ago, JohnnyLube said: Great stuff thank you that fixed it. But why would you have something in there that would cause issues :-) mmm remove [_objectID,_objectUID] call server_deleteObj; deleteVehicle _weed; as @salival said Link to comment Share on other sites More sharing options...
Question
Emerghency
) has been kicked by BattlEye: SetDamage Restriction #1
is kicking people when they try to farm hemp on my server. any fixes for this error?
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