DayZ Admin tools

Status
Not open for further replies.
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.
 
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.
Yea it seems like its something with the cleanup.

To everyone: I uploaded dayz_server.pbo, which has Sarge's AI, Animated Heli's, Full moon (not fully working), as well as an anti-hack script. I need a volunteer who can test this to see if vehicles spawn.

Only use it for Chernarus.
dayz_server.pbo
 
to everyone that is experinceing the despawn bug: please make shure that you have made the correct modification to server_cleanup.fsm this means that you copy pasted the correct line for your server. also please rember to use the format in the OP when reporting bugs
 
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
 
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

You don't need to be in //mods and //admins just //super admins.
 
You don't need to be in //mods and //admins just //super admins.
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"],
 
My 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.
 
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.

My 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.
Can you give me the whole thing from "//Check for hackers" \n to " } forEach allUnits;" \n
 
My 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 anyway
 
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.

any time I change my upload my server.pbo to the dayz.st site, it breaks my server, so I just use default.
 
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"],


Now 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.
 
Well I missed that from a long shot.


Can you give me the whole thing from "//Check for hackers" \n to " } forEach allUnits;" \n

Absolutely.

Code:
    "//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
 
Now 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.
all admin ID's must go into
Code:
if ((getPlayerUID player) in [""]) then { //all admins
then out out of those ID's you pick your sub groups
 
Try
Code:
"  if(vehicle _x != _x && (vehicle _x getVariable [""Sarge"",0] != 1) && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"") then {" \n

instead of
Code:
"  if(vehicle _x != _x && !(vehicle _x in _safety) && (typeOf vehicle _x) != ""ParachuteWest"" && (vehicle _x getVariable [""Sarge"",0] != 1)) then {" \n
 
ok there seems to a lot of confusion about the admin subgroups so here is a quick tutorial
Code:
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"]     
        ];};
};
all admins ID's go into the first one then out of those ID's i set up my subgroups
 
Did I do something wrong? I am using chernarus debug version (working with 25APR morning update). Arma2 version 103419 and dayz version 1.7.6.1

1.) some reason the only way to get the tools 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?

2.) the only way my players are able to see there debug monitor menu options is for me to add there UID in Activate.sqf

all in all wicked tools :)
 
using 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 :)
remove the UID check from Activate.sqf
 
Status
Not open for further replies.
Back
Top