DayZ Admin tools

Status
Not open for further replies.
-snip-
EDIT:
BluePhoenix, if it is possible for you, could you make it for 3 different levels of admins? One which just has access to the skins menu (gonna use it for donators), one that doesnt have access to ESP, but everything else, and then the last one which has access to all of it?
Cheers.
Update: released vehicle spawning, TP to Admin, and flip vehicle update, please read the install instructions carefully when installing / updating. i might be able to relese another update either today or tomorrow that will include staff levels menu (mod, admin, super admin), and a different way to add / remove admin PID's
 
Hey, i have the same problem as last time.
This is exactly what happens: My other admin opens the tools menu, tests out various things, then he gets aborted automatically. Then when i come in, the tools menu doesnt work for either of us. Its pretty weird :S
 
Vehicles are not saving to the database for me unfortunately, I have the edits in my server.pbo in place. I'm running reality if that helps
 
I've recently edited the weapon kits and changed them into a spawn menu etc. I tried to run it on my server and for some reason i can't open Tools Menu.

Here is my script in the AdminToolsMain.spf.
Have i done something wrong?
pathtotools = "admintools\tools\";
pathtoskins = "admintools\skins\";
pathtospawnmenu = "admintools\spawnmenu\";
pathtoshields = "admintools\shields\";
pathdebug = "debug\";
EXECscript1 = 'player execVM "'+pathtotools+'%1"';
EXECscript2 = 'player execVM "'+pathtoskins+'%1"';
EXECscript3 = 'player execVM "'+pathtospawnmenu+'%1"';
EXECscript4 = 'player execVM "'+pathtoshields+'%1"';
execdebug = 'player execVM "'+pathdebug+'%1"';
if ((getPlayerUID player) in ["100206342","66956678","82586630"]) then {
adminmenu =
[
["",true],
["Toggle Debug", [2], "", -5, [["expression", format[execdebug,"playerstats.sqf"]]], "1", "1"],
["Tools Menu", [3], "#USER:ToolsMenu", -5, [["expression", ""]], "1", "1"],
["Skins Menu", [4], "#USER:SkinsMenu", -5, [["expression", ""]], "1", "1"],
["Spawn Menu", [5], "#USER:SpawnMenu", -5, [["expression", ""]], "1", "1"],
["Shields Menu", [6], "#USER:ShieldMenu", -5, [["expression", ""]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]

];} else {
adminmenu =
[
["",true],
["Toggle Debug", [2], "", -5, [["expression", format[execdebug,"playerstats.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
};

ToolsMenu =
[
["",true],
["GodView / Teleport", [2], "", -5, [["expression", format[EXECscript1,"dayzesp.sqf"]]], "1", "1"],
["God Mode", [3], "", -5, [["expression", format[EXECscript1,"Godmode.sqf"]]], "1", "1"],
["Car God", [4], "", -5, [["expression", format[EXECscript1,"cargod.sqf"]]], "1", "1"],
["Replenish Player(s)", [5], "", -5, [["expression", format[EXECscript1,"healp.sqf"]]], "1", "1"],
["Look-N-Repair", [6], "", -5, [["expression", format[EXECscript1,"looknrepair.sqf"]]], "1", "1"],
["Repair Buildings", [7], "", -5, [["expression", format[EXECscript1,"fixbuildings.sqf"]]], "1", "1"],
["Spectate Player", [8], "", -5, [["expression", format[EXECscript1,"spectate.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

SkinsMenu =
[
["",true],
["Hero", [2], "", -5, [["expression", format[EXECscript2,"Hero.sqf"]]], "1", "1"],
["Bandit", [3], "", -5, [["expression", format[EXECscript2,"Bandit.sqf"]]], "1", "1"],
["Camo", [4], "", -5, [["expression", format[EXECscript2,"Camo.sqf"]]], "1", "1"],
["Ghillie", [5], "", -5, [["expression", format[EXECscript2,"Ghille.sqf"]]], "1", "1"],
["Suvivor", [6], "", -5, [["expression", format[EXECscript2,"Male.sqf"]]], "1", "1"],
["Soldier", [7], "", -5, [["expression", format[EXECscript2,"Soldier.sqf"]]], "1", "1"],
["invisible", [8], "", -5, [["expression", format[EXECscript2,"invisible.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

SpawnMenu =
[
["",true],
["Primary Weapons", [2], "#USER:primaryWeapons", -5, [["expression", ""]], "1", "1"],
["Secondary Weapons", [3], "#USER:SecondaryWeapons", -5, [["expression", ""]], "1", "1"],
["Delete gear", [8], "", -5, [["expression", format[EXECscript3,"cleanme.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

PrimaryWeapons =
[
["",true],
["SVD Scope", [2], "", -5, [["expression", format[EXECscript3,"item42.sqf"]]], "1", "1"],
["M14 AimPoint", [3], "", -5, [["expression", format[EXECscript3,"item23.sqf"]]], "1", "1"],
["AS50", [4], "", -5, [["expression", format[EXECscript3,"item6.sqf"]]], "1", "1"],
["DMR", [5], "", -5, [["expression", format[EXECscript3,"item10.sqf"]]], "1", "1"],
["Crossbow", [6], "", -5, [["expression", format[EXECscript3,"item8.sqf"]]], "1", "1"],
["CZ 550 Scoped", [7], "", -5, [["expression", format[EXECscript3,"item9.sqf"]]], "1", "1"],
["M1014", [8], "", -5, [["expression", format[EXECscript3,"item21.sqf"]]], "1", "1"],
["M24", [9], "", -5, [["expression", format[EXECscript3,"item27.sqf"]]], "1", "1"],
["M4A1 IronSight", [10], "", -5, [["expression", format[EXECscript3,"item30.sqf"]]], "1", "1"],
["M4A1 / M203 Holo", [11], "", -5, [["expression", format[EXECscript3,"item31.sqf"]]], "1", "1"],
["M4A1 CCO", [12], "", -5, [["expression", format[EXECscript3,"item32.sqf"]]], "1", "1"],
["M4A1 CCO Camo SD", [13], "", -5, [["expression", format[EXECscript3,"item33.sqf"]]], "1", "1"],
["M4A3 CCO (Grip)", [14], "", -5, [["expression", format[EXECscript3,"item34.sqf"]]], "1", "1"],
["Sa58P EP1 IronSight", [15], "", -5, [["expression", format[EXECscript3,"item38.sqf"]]], "1", "1"],
["Sa58V CCO (Grip)", [16], "", -5, [["expression", format[EXECscript3,"item39.sqf"]]], "1", "1"],
["Sa58V EP1", [17], "", -5, [["expression", format[EXECscript3,"item40.sqf"]]], "1", "1"],
["Sa58V RCO (Grip)", [18], "", -5, [["expression", format[EXECscript3,"item41.sqf"]]], "1", "1"],
["MP5A5 IronSight", [19], "", -5, [["expression", format[EXECscript3,"item36.sqf"]]], "1", "1"],
["MP5 SD", [20], "", -5, [["expression", format[EXECscript3,"item37.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Next page", [46], "#USER:primaryWeapons2", -5, [["expression", ""]], "1", "1"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

PrimaryWeapons2 =
[
["",true],
["L85A2 AWS", [21], "", -5, [["expression", format[EXECscript3,"item18.sqf"]]], "1", "1"],
["L85A2 Holo", [22], "", -5, [["expression", format[EXECscript3,"item19.sqf"]]], "1", "1"],
["G36A (Camo)", [23], "", -5, [["expression", format[EXECscript3,"item14.sqf"]]], "1", "1"],
["G36C", [24], "", -5, [["expression", format[EXECscript3,"item15.sqf"]]], "1", "1"],
["G36C (camo)", [25], "", -5, [["expression", format[EXECscript3,"item16.sqf"]]], "1", "1"],
["G36K (camo)", [26], "", -5, [["expression", format[EXECscript3,"item17.sqf"]]], "1", "1"],
["AK-47", [27], "", -5, [["expression", format[EXECscript3,"item1.sqf"]]], "1", "1"],
["AKM", [28], "", -5, [["expression", format[EXECscript3,"item2.sqf"]]], "1", "1"],
["AKS", [29], "", -5, [["expression", format[EXECscript3,"item3.sqf"]]], "1", "1"],
["AKS-74 Kobra", [30], "", -5, [["expression", format[EXECscript3,"item4.sqf"]]], "1", "1"],
["AKS-74U", [31], "", -5, [["expression", format[EXECscript3,"item5.sqf"]]], "1", "1"],
["Lee Enfeild", [32], "", -5, [["expression", format[EXECscript3,"item20.sqf"]]], "1", "1"],
["FN FAL", [33], "", -5, [["expression", format[EXECscript3,"item12.sqf"]]], "1", "1"],
["FN FAL ANPVS4", [34], "", -5, [["expression", format[EXECscript3,"item13.sqf"]]], "1", "1"],
["M16A2", [35], "", -5, [["expression", format[EXECscript3,"item24.sqf"]]], "1", "1"],
["M16A2 / M203", [36], "", -5, [["expression", format[EXECscript3,"item25.sqf"]]], "1", "1"],
["M16A4 RCO", [37], "", -5, [["expression", format[EXECscript3,"item26.sqf"]]], "1", "1"],
["Bizon PP-19 SD", [38], "", -5, [["expression", format[EXECscript3,"item7.sqf"]]], "1", "1"],
["Mk 48 Mod 0", [39], "", -5, [["expression", format[EXECscript3,"item35.sqf"]]], "1", "1"],
["M240", [40], "", -5, [["expression", format[EXECscript3,"item28.sqf"]]], "1", "1"],
["M249", [41], "", -5, [["expression", format[EXECscript3,"item29.sqf"]]], "1", "1"],
["Double-barreled Shotgun", [42], "", -5, [["expression", format[EXECscript3,"item11.sqf"]]], "1", "1"],
["Winchester 1866", [43], "", -5, [["expression", format[EXECscript3,"item43.sqf"]]], "1", "1"],
["M1014", [44], "", -5, [["expression", format[EXECscript3,"item21.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];

SecondaryWeapons =
[
["",true],
["Aks Kobra", [2], "", -5, [["expression", format[EXECscript3,"item9.sqf"]]], "1", "1"],

["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
ShieldMenu =
[
["",true],
["Zombie Shield", [2], "", -5, [["expression", format[EXECscript4,"zombieshield.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
showCommandingMenu "#USER:adminmenu";
PS: I have created a folder named 'spawnmenu' and added item.sqf's, etc.

Here is some screenshots, of what i've also done.

b47rs0.jpg


4u9s2a.jpg


If i've made a mistake, please correct me by replying to this message.

Thanks
Liam.
 
I have a problem with teleportation. When I teleport far, press w + space I get back to the place i was. but when I teleport 1 square on the map from where I am it works. just the same happens when i teleport players to me(they just teleports back) been looking in the forum but can not find the answer. anyone know what it could be?
 
I have a problem with teleportation. When I teleport far, press w + space I get back to the place i was. but when I teleport 1 square on the map from where I am it works. just the same happens when i teleport players to me(they just teleports back) been looking in the forum but can not find the answer. anyone know what it could be?

Did you remember changing the player_monitor stuff in the init.sqf?
 
Did you remember changing the player_monitor stuff in the init.sqf?
if (!isDedicated) then {[] execVM "Scripts\kh_actions.sqf";
//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";


isn't this right?
 
The instructions say to modify the "\compile\server_updateObject.sqf find" but that is really supposed to be "server_objectUpdate.sqf", right?

Also, my file looks a little different from the one in the instructions. Here's what mine has:

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;
};
};

if (_isNotOk) exitWith { deleteVehicle _object; };

There's no // at the beginning of the line. My server_cleanup also looks different than the example.

Another thing. For the non-debug version, there's no instructions on where to put your id. It only says this: "if your player ID has been added to the correct portions of code a option will be added to the scroll menu" but it doesn't say where that ID should be entered...
 
The instructions say to modify the "\compile\server_updateObject.sqf find" but that is really supposed to be "server_objectUpdate.sqf", right?

Also, my file looks a little different from the one in the instructions. Here's what mine has:



There's no // at the beginning of the line. My server_cleanup also looks different than the example.

Another thing. For the non-debug version, there's no instructions on where to put your id. It only says this: "if your player ID has been added to the correct portions of code a option will be added to the scroll menu" but it doesn't say where that ID should be entered...

It tells you where to put the UIDs in the instructions https://github.com/BluePhoenix175/DayZ-Admin-Tools-
 
my only question is that I am not running Rmod so a lot of the vehicles do not spawn in is there anything I can do to get them all to spawn in when I use the tool?
 
It tells you where to put the UIDs in the instructions https://github.com/BluePhoenix175/DayZ-Admin-Tools-


I went back and re-read the directions and now I see it. The directions are written very poorly and not formatted well at all. It's quite confusing:

locate this code in debug\playerstats.sqf(no debug version: Activate.sqf), and admintools\admintoolsmain.sqf

Where is "Activate.sqf"?

Any ideas on the ""server_objectUpdate.sqf" and "server_cleanup.sqf"? The code in my looks different from the code in the directions.
 
ok look at your code
Code:
PrimaryWeapons2 =
[
["",true],
["L85A2 AWS", [21], "", -5, [["expression", format[EXECscript3,"item18.sqf"]]], "1", "1"],
["L85A2 Holo", [22], "", -5, [["expression", format[EXECscript3,"item19.sqf"]]], "1", "1"],
["G36A (Camo)", [23], "", -5, [["expression", format[EXECscript3,"item14.sqf"]]], "1", "1"],
["G36C", [24], "", -5, [["expression", format[EXECscript3,"item15.sqf"]]], "1", "1"],
["G36C (camo)", [25], "", -5, [["expression", format[EXECscript3,"item16.sqf"]]], "1", "1"],
["G36K (camo)", [26], "", -5, [["expression", format[EXECscript3,"item17.sqf"]]], "1", "1"],
["AK-47", [27], "", -5, [["expression", format[EXECscript3,"item1.sqf"]]], "1", "1"],
["AKM", [28], "", -5, [["expression", format[EXECscript3,"item2.sqf"]]], "1", "1"],
["AKS", [29], "", -5, [["expression", format[EXECscript3,"item3.sqf"]]], "1", "1"],
["AKS-74 Kobra", [30], "", -5, [["expression", format[EXECscript3,"item4.sqf"]]], "1", "1"],
["AKS-74U", [31], "", -5, [["expression", format[EXECscript3,"item5.sqf"]]], "1", "1"],
["Lee Enfeild", [32], "", -5, [["expression", format[EXECscript3,"item20.sqf"]]], "1", "1"],
["FN FAL", [33], "", -5, [["expression", format[EXECscript3,"item12.sqf"]]], "1", "1"],
["FN FAL ANPVS4", [34], "", -5, [["expression", format[EXECscript3,"item13.sqf"]]], "1", "1"],
["M16A2", [35], "", -5, [["expression", format[EXECscript3,"item24.sqf"]]], "1", "1"],
["M16A2 / M203", [36], "", -5, [["expression", format[EXECscript3,"item25.sqf"]]], "1", "1"],
["M16A4 RCO", [37], "", -5, [["expression", format[EXECscript3,"item26.sqf"]]], "1", "1"],
["Bizon PP-19 SD", [38], "", -5, [["expression", format[EXECscript3,"item7.sqf"]]], "1", "1"],
["Mk 48 Mod 0", [39], "", -5, [["expression", format[EXECscript3,"item35.sqf"]]], "1", "1"],
["M240", [40], "", -5, [["expression", format[EXECscript3,"item28.sqf"]]], "1", "1"],
["M249", [41], "", -5, [["expression", format[EXECscript3,"item29.sqf"]]], "1", "1"],
["Double-barreled Shotgun", [42], "", -5, [["expression", format[EXECscript3,"item11.sqf"]]], "1", "1"],
["Winchester 1866", [43], "", -5, [["expression", format[EXECscript3,"item43.sqf"]]], "1", "1"],
["M1014", [44], "", -5, [["expression", format[EXECscript3,"item21.sqf"]]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
and now look at mine
Code:
WeaponMenu =
[
    ["",true],
        ["No Weapons", [2],  "", -5, [["expression", format[EXECscript3,"items.sqf"]]], "1", "1"],
        ["M4 Holo", [3],  "", -5, [["expression", format[EXECscript3,"itemz.sqf"]]], "1", "1"],
        ["M4 CCO SD", [4],  "", -5, [["expression", format[EXECscript3,"itemz2.sqf"]]], "1", "1"],
        ["AS50", [5],  "", -5, [["expression", format[EXECscript3,"itemz3.sqf"]]], "1", "1"],
        ["FN FAL", [6],  "", -5, [["expression", format[EXECscript3,"itemz4.sqf"]]], "1", "1"],
        ["M16 ACOG", [7],  "", -5, [["expression", format[EXECscript3,"itemz5.sqf"]]], "1", "1"],
        ["Pecheneg 50 cal", [8],  "", -5, [["expression", format[EXECscript3,"itemz6.sqf"]]], "1", "1"],
        ["Mk 48", [9],  "", -5, [["expression", format[EXECscript3,"item7.sqf"]]], "1", "1"],
        ["Gold AK", [10],  "", -5, [["expression", format[EXECscript3,"item8.sqf"]]], "1", "1"],
        ["", [-1], "", -5, [["expression", ""]], "1", "0"],
            ["Next page", [12], "#USER:WeaponMenu2", -5, [["expression", ""]], "1", "1"],
            ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
];
2 things
1 look at the numbers that come after the name(notice where i have stopped on all of my sub-menus)
2 you created a new folder and your using a incorrect path to the script
EXECscript3,"item11.sqf"
the computer sees this code as player
execVM "admintools\weaponkits\item11.sqf"
 
I went back and re-read the directions and now I see it. The directions are written very poorly and not formatted well at all. It's quite confusing:
you seen to be the only one experiencing this difficulty
Where is "Activate.sqf"?
Any ideas on the ""server_objectUpdate.sqf" and "server_cleanup.sqf"? The code in my looks different from the code in the directions.
adminiools folder, you would have found this out if you had taken 10sec's and looked
minor variations on the name or contents of the files make no difference
 
Hey, i have the same problem as last time.
This is exactly what happens: My other admin opens the tools menu, tests out various things, then he gets aborted automatically. Then when i come in, the tools menu doesnt work for either of us. Its pretty weird :S
i will continue to investigate this
u never fail to amaze. wonderful set of tools. love the updates:)
thank you
Vehicles are not saving to the database for me unfortunately, I have the edits in my server.pbo in place. I'm running reality if that helps
they were never meant to, when i announced this update i said that they would be temporary disappearing on server restart
 
I have a problem with teleportation. When I teleport far, press w + space I get back to the place i was. but when I teleport 1 square on the map from where I am it works. just the same happens when i teleport players to me(they just teleports back) been looking in the forum but can not find the answer. anyone know what it could be?
are you using any 3rd party antihack(gotcha, TSW,...ect)
 
Status
Not open for further replies.
Back
Top