Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Yea it seems like its something with the cleanup.Not sure if it helps, but I haven't restarted my server with the new .pbo you sent me yet itsyuka. But with my old one I'm also getting this vehicle spawn/despawn after a few seconds thing.
Hello,
ive changed the codes like in the readme but it dosent work for me. If i use the mousewheel the "Tool Menu" is shown up in blue but if i click it disappears and nothing.
Code in adminToolsMain is like that:
_____________________________________________________________________
if ((getPlayerUID player) in ["4367854]) then { //all admins
if ((getPlayerUID player) in ["4367854"]) then { //mods
adminmenu =
[
["",true],
["Tools Menu", [2], "#USER:ModToolsMenu", -5, [["expression", ""]], "1", "1"],
["Skins Menu", [2], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
["Weapon Kits", [3], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];};
if ((getPlayerUID player) in ["4367854"]) then { //admins
adminmenu =
[
["",true],
["Tools Menu", [2], "#USER:AdminToolsMenu", -5, [["expression", ""]], "1", "1"],
["Skins Menu", [3], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
["Weapon Kits", [4], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];};
if ((getPlayerUID player) in ["4367854"]) then { // super admins...
_____________________________________________________________________
in Active.sqf like that:
aituntil {!isnull (finddisplay 46)};
if ((getPlayerUID player) in ["4367854"]) then {
sleep 30;...
_____________________________________________________________________
and the init file is like that:
...if (!isDedicated) then {
//Conduct map operations
0 fadeSound 0;
waitUntil {!isNil "dayz_loadScreenMsg"};
dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execFSM "admintools\player_monitor.fsm";
};
[] execVM "admintools\Activate.sqf";
_____________________________________________________________________
I cant find the problem...maybe someone can help me. TY
and you need fix the order of these you have them both set to 2You don't need to be in //mods and //admins just //super admins.
["Tools Menu", [2], "#USER:ModToolsMenu", -5, [["expression", ""]], "1", "1"],
["Skins Menu", [2], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
" if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"" && (vehicle _x getVariable [""Sarge"",0] != 1)) then {" \n
Well I missed that from a long shot.and you need fix the order of these you have them both set to 2
Code:["Tools Menu", [2], "#USER:ModToolsMenu", -5, [["expression", ""]], "1", "1"], ["Skins Menu", [2], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
Can you give me the whole thing from "//Check for hackers" \n to " } forEach allUnits;" \nMy cleanup line at the moment is
Code:" if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"" && (vehicle _x getVariable [""Sarge"",0] != 1)) then {" \n
Would this explain the problem? I had Sarges AI installed already so I skipped this part in the readme.
it should work but just to be on the safe side copy paste it anywayMy cleanup line at the moment is
Code:" if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"" && (vehicle _x getVariable [""Sarge"",0] != 1)) then {" \n
Would this explain the problem? I had Sarges AI installed already so I skipped this part in the readme.
i have personally made that mistake several times so it tends to be the first thing i look for well that and missing quotation marksWell I missed that from a long shot.
Hold on till I see if I can reproduce the problem.
Edit: Well I can't get the same problem as you guys. But if anyone is willing, PM me your dayz_server.pbo and I will see if I can fix it.
and you need fix the order of these you have them both set to 2
Code:["Tools Menu", [2], "#USER:ModToolsMenu", -5, [["expression", ""]], "1", "1"], ["Skins Menu", [2], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
Well I missed that from a long shot.
Can you give me the whole thing from "//Check for hackers" \n to " } forEach allUnits;" \n
"//Check for hackers" \n
" {" \n
" if(vehicle _x != _x && !(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
" } forEach allUnits;" \n
all admin ID's must go intoNow it looks like:
if ((getPlayerUID player) in [""]) then { //all admins
if ((getPlayerUID player) in [""]) then { //mods
adminmenu =
[
["",true],
["Tools Menu", [2], "#USER:ModToolsMenu", -5, [["expression", ""]], "1", "1"],
["Skins Menu", [3], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
["Weapon Kits", [4], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];};
if ((getPlayerUID player) in [""]) then { //admins
adminmenu =
[
["",true],
["Tools Menu", [2], "#USER:AdminToolsMenu", -5, [["expression", ""]], "1", "1"],
["Skins Menu", [3], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
["Weapon Kits", [4], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];};
if ((getPlayerUID player) in ["4367854"]) then { // super admins
adminmenu =...
but i got the same problem.
if ((getPlayerUID player) in [""]) then { //all admins
" if(vehicle _x != _x && (vehicle _x getVariable [""Sarge"",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n
" if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"" && (vehicle _x getVariable [""Sarge"",0] != 1)) then {" \n
if ((getPlayerUID player) in ["1111","2222","3333","4444"]) then { //all admins
if ((getPlayerUID player) in ["1111"]) then { //mods
adminmenu =
[
["",true],
["Tools Menu", [2], "#USER:ModToolsMenu", -5, [["expression", ""]], "1", "1"],
["Skins Menu", [2], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
["Weapon Kits", [3], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];};
if ((getPlayerUID player) in ["2222","4444"]) then { //admins
adminmenu =
[
["",true],
["Tools Menu", [2], "#USER:AdminToolsMenu", -5, [["expression", ""]], "1", "1"],
["Skins Menu", [3], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
["Weapon Kits", [4], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];};
if ((getPlayerUID player) in ["3333"]) then { // super admins
adminmenu =
[
["",true],
["Tools Menu", [2], "#USER:ToolsMenu", -5, [["expression", ""]], "1", "1"],
["Skins Menu", [3], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
["Weapon Kits", [4], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
["Shields Menu", [5], "#USER:ShieldMenu", -5, [["expression", ""]], "1", "1"],
["Vehicle Menu", [6], "#USER:VehicleMenu", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];};
};
Tell me if this works for your serverany time I change my upload my server.pbo to the dayz.st site, it breaks my server, so I just use default.
remove the UID check from Activate.sqfusing chernarus debug version (working with todays update)
some reason the only way to get this to show in my menu is to include my UID in: AdminToolsMain.sqf, Activate.sqf, playerstats.sqf. Thought I was to leave Active.sqf alone if using the debug version?
secondly the only way i can get this to work for my players is to add there UID in Activate.sqf
all in all wicked tools![]()