DayZ Admin tools

Status
Not open for further replies.
anything new on the clothing bug? (changing clothes via the inventory causes the tools menu to not show up anymore)
 
naw, thats a pretty common problem Itsyuka. intermmitent problem tho. not reliably reproduced

I can reproduce it on 2 servers pretty much everytime..so. Sadly this thread keeps gettin flooded with stuff that has already been solved/answered and also with custom stuff like pages of pages about building menus etc. I asked about a couple of things earlier in the thread and it just got overlooked so I had to fix it myself, but not everyone is able to fix their own problems.

I guess we need a proper FAQ in the first post and a better How To/ReadMe. That should stop quite a few questions, that have already been answered. Also Before adding stuff on top, all the annoying bugs should be fixed first. At least that is how I learned to code :D

Oh and yes I use the newest version, I guess...hard to keep track really ...basically I'm using the version where I don't comment out the antihack portions of the code. But the clothing bug has been there since day 1.

Original Post
Post #2 clarification
 
it was a namalsk specific issue which no one seemed interested in, but I did share that I fixed it and if anyone needs it I'll post it.
 
What is the rest of the line for this?
Code:
if(vehicle _x != _x && (vehicle _x getVariable ["Sarge",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) !=
 
What is the rest of the line for this?
Code:
if(vehicle _x != _x && (vehicle _x getVariable ["Sarge",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) !=
Code:
"    if  (!(vehicle _x in _safety) && ((typeOf vehicle _x) != ""ParachuteWest"") && (vehicle _x getVariable [""Sarge"",0] != 1) ) then {" \n
 
I think that i am misunderstanding the Readme...
If i am using the debug version where do I enter all of the Admins UID's? Is this correct? Its not showing up in game.
AdminToolsMain.sqf
Code:
//customise these menus to fit your server
if ((getPlayerUID player) in ["37773318","83034502"]) then { //all admins
    if ((getPlayerUID player) in [""37773318"]) 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 ["37773318","83034502"]) 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 ["37773318"]) then { // super admins
        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"],
                ["Weapon Kits", [5], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
                ["Shields Menu", [6], "#USER:ShieldMenu", -5, [["expression", ""]], "1", "1"],
                ["Vehicle Menu", [7], "#USER:VehicleMenu", -5, [["expression", ""]], "1", "1"],
                ["", [-1], "", -5, [["expression", ""]], "1", "0"],
            ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
playerstats.sqf
Code:
*/
 
if ((getPlayerUID player) in ["37773318","83034502","6769152"]) then {     
    while {sleep 1;hotkey_hitme == 1} do {
Activate.sqf
Code:
waituntil {!alive player ; !isnull (finddisplay 46)};
if ((getPlayerUID player) in ["37773318","83034502","6769152"]) then {
    sleep 20;
    player addaction [("<t color=""#0074E8"">" + ("Tools Menu") +"</t>"),"admintools\Eexcute.sqf","",5,false,true,"",""];
};
 
I think that i am misunderstanding the Readme...
If i am using the debug version where do I enter all of the Admins UID's? Is this correct? Its not showing up in game.
AdminToolsMain.sqf
Code:
//customise these menus to fit your server
if ((getPlayerUID player) in ["37773318","83034502"]) then { //all admins
    if ((getPlayerUID player) in [""37773318"]) 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 ["37773318","83034502"]) 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 ["37773318"]) then { // super admins
        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"],
                ["Weapon Kits", [5], "#USER:WeaponMenu", -5, [["expression", ""]], "1", "1"],
                ["Shields Menu", [6], "#USER:ShieldMenu", -5, [["expression", ""]], "1", "1"],
                ["Vehicle Menu", [7], "#USER:VehicleMenu", -5, [["expression", ""]], "1", "1"],
                ["", [-1], "", -5, [["expression", ""]], "1", "0"],
            ["Exit", [13], "", -3, [["expression", ""]], "1", "1"]
You don't need to have your UID in all of them, just in all admins and super admins, or else it won't work
 
Thanks. I will try this soon. Does anyone know if the Wardrobe mod interferes with the admin tools?
freds wardrobe mod uses some code from my tools so they do conflict, however with some minor modifications you can add freds wardrobe to my tools. i believe someone posted a "how to" about 10 pages ago
 
BluePhoenix, Great admin tool!
would it be possible to place items like ammo boxes on the map with the tool and have it add it to the DB so it survives a server restart? this would be a great tool for adding spawn points to the map.
 
added fred's wardrobe into admintools menu and used his code for clothing.
added this at the end of clothing code and menu pops back up no problem.
Code:
player addaction [("<t color=""#0074E8"">" + ("Tools Menu") +"</t>"),"admintools\Eexcute.sqf","",5,false,true,"",""];

sad to say im a cut-n-paste code guy. just though i would point out this is working for me
Could I get a walk-thru on this? I would love to have Admin Tools work with Wardrobe.
 
Hi BluePheonix, thanks for making such a useful tool!

I run into some trouble while attempting to add this to my private hive server. I do all the steps you specify, but when I try to get into my server it gets stuck on Requesting Authentication for about 40 seconds and then it comes up with a message saying "Something wrong has occurred". I know that this could mean multiple things, but do you happen to know what could be wrong off the top of your hear? I tried running purely vanilla dayz without any scripts without the debug and it does the same thing.

Thanks.
 
Im by no means an expert but I have a mission.pbo and server.pbo that work so I will compare them if you want me to.

Not promising anythin' like :)

Ill pm you my email
 
Hi BluePheonix, thanks for making such a useful tool!

I run into some trouble while attempting to add this to my private hive server. I do all the steps you specify, but when I try to get into my server it gets stuck on Requesting Authentication for about 40 seconds and then it comes up with a message saying "Something wrong has occurred". I know that this could mean multiple things, but do you happen to know what could be wrong off the top of your hear? I tried running purely vanilla dayz without any scripts without the debug and it does the same thing.

Thanks.
How are you repacking your server.pbo?
 
Status
Not open for further replies.
Back
Top