DayZ Admin tools

Status
Not open for further replies.
I put this in my weapon kits section, but I get kicked for script #115 when spawning it?
in your scripts go to line 117 (which is the restriction for #115) and use this

Code:
5 addWeaponCargoGlobal !"\"addWeaponCargoGlobal\"," !"USBasicWeaponsBox.sqf"," !"_holder addweaponcargoGlobal [_x,(_objWpnQty select _countr)];" !"dayz_myBackpack addWeaponCargoGlobal [_x,(_backpackWpnQtys select _countr)];" !"if (_bcpkWpn != \"\") then {\ndayz_myBackpack addWeaponCargoGlobal [_bcpkWpn,1];\n};\n};" !"if (_iItem != \"\") then {\n_item addWeaponCargoGlobal [_iItem,1];\n};"
 
My fix for DayZ CC 5.9.2.0 : saving loot / gear to tents correctly and no Vehiclerespawn after restart with the new tool version !

it worx on both of my servers !

server_objectUpdate.sqf

//if (!_parachuteWest) then {
//if (_objectID == "0" && _uid == "0") then //{
//_object_position = getPosATL _object;
//diag_log format ["DEBUG: Deleting object %1 with invalid ID at [%2,%3,%4]", //typeOf _object, _object_position select 0, //_object_position select 1, //_object_position select 2];
//_isNotOk = true;
//};
//};


server_cleanup.fsm

/*%FSM</STATE>*/
/*%FSM<STATE "check_for_hacker">*/
class check_for_hacker
{
name="check_for_hacker";
init=/*%FSM<STATEINIT""">*/"//Check for hackers" \n
"// {" \n
"//if (vehicle _x != _x) then {" \n
"//if (!(vehicle _x in _safety) && ((typeOf vehicle _x) != ""ParachuteWest"")) then {" \n
"//diag_log (""CLEANUP: KILLING A HACKER "" + (name _x) + "" "" + str(_x) + "" IN "" + (typeOf vehicle _x));" \n
"//(vehicle _x) setDamage 1;" \n
"//_x setDamage 1;" \n
"//};" \n
"//};" \n
"// } forEach allUnits;" \n
""/*%FSM</STATEINIT""">*/;
precondition=/*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
class Links
{
/*%FSM<LINK "true">*/
class true
{
priority=0.000000;
to="waiting";
precondition=/*%FSM<CONDPRECONDITION""">*/""/*%FSM</CONDPRECONDITION""">*/;
condition=/*%FSM<CONDITION""">*/"true"/*%FSM</CONDITION""">*/;
action=/*%FSM<ACTION""">*/""/*%FSM</ACTION""">*/;
};
/*%FSM</LINK>*/
};
};
/*%FSM</STATE>*/
};



Hi all.
After a full week of testing this and also re edited chernarus and panthera ( video later )i had remanaged it running without outcommenting .so im gonna give u CC users the new workaround for this !!!
Btw CC is getting new devs and gets supported by them .so im happy with that good news.
http://dayzcc.tk/index.php?page=Thread&postID=25360#post25360


send from my Galaxy S2 using tapatalk
 
Hi all.
After a full week of testing this and also re edited chernarus and panthera ( video later )i had remanaged it running without outcommenting .so im gonna give u CC users the new workaround for this !!!
Btw CC is getting new devs and gets supported by them .so im happy with that good news.

send from my Galaxy S2 using tapatalk
Weird, I didn't have to do that stuff. Mine works just fine anyways.
 
I put this in my weapon kits section, but I get kicked for script #115 when spawning it?
I had a problem like this in the beginning.
in my case, I added a Sniper inside the backpack attached to code kits weapons, to run it, was kicked pro script # 115, to circumvent the problem, I edited my Scripts BattlEye line n ° 117 where it gets: 5 addWeaponCargoGlobal, needed to put the end of the code, the description of each file I edited.
Example: "admintools \ weaponkits \ itemz6.sqf", "!" Admintools \ weaponkits \ item7.sqf ", etc..
 
The tool works fine apart from teleporting through map and vehicles explode when spawned in



When i try to teleport using the map nothing happens

when i spawn vehicles in they explode when getting into them
 
The tool works fine apart from teleporting through map and vehicles explode when spawned in



When i try to teleport using the map nothing happens

when i spawn vehicles in they explode when getting into them
Did you follow the instructions for installing the tools?
 
Fix for DayZ CC 5.9.2.0

server update object.sqf
if (!_parachuteWest) then {
if (_objectID == "0" && _uid == "0" && (vehicle _object getVariable ["Sarge",0] != 1)) then {
_object_position = getPosATL _object;
diag_log format ["DEBUG: Deleting object %1 with invalid ID at [%2,%3,%4]", typeOf _object, _object_position select 0, _object_position select 1, _object_position select 2];
_isNotOk = true;
};
};


server cleanup.fsm


name="check_for_hacker";
init=/*%FSM<STATEINIT""">*/"//Check for hackers" \n
" {" \n
" if(vehicle _x != _x) then {" \n
" if (!(vehicle _x in _safety) && ((typeOf vehicle _x) != ""ParachuteWest"") && (vehicle _x getVariable [""Sarge"",0] != 1) ) then {" \n
" diag_log (""CLEANUP: KILLING A HACKER "" + (name _x) + "" "" + str(_x) + "" IN "" + (typeOf vehicle _x));" \n
" (vehicle _x) setDamage 1;" \n
" _x setDamage 1;" \n
" };" \n
" };" \n
" } forEach allUnits;" \n
""/*%FSM</STATEINIT""">*/;
precondition=/*%FSM<STATEPRECONDITION""">*/""/*%FSM</STATEPRECONDITION""">*/;
class Links
{
 
Status
Not open for further replies.
Back
Top