Jump to content

Recommended Posts

Didn't realise the tools I installed through the host weren't the most up to date. Great work!!!

 

 

One query, how do I put down a safe zone? I can see the code for it in the scripting, but can't find any option for it :(

 

That is under construction still. I set it up a while back and it was having some issues. I haven't gotten back around to it yet.

Link to comment
Share on other sites

Anybody else have issues with teleporting not working? It doesn't happen very often but occasionally after a death when I respawn and try to teleport it reverts the tp and sends a log to the sever rpt. It used to happen a lot more often with 1.9.1, since upgrading to the 2.0 test it hasn't happened to me yet, only one of my mods. A relog typically fixes it. I have quite a few other mods installed, maybe a conflict with one of them?

Link to comment
Share on other sites

Hey NoxSicarius, nice tools!

 

Question... I got your admin tools as part of Sheep's Epoch Repack. In it, there is an option to choose an admin skin with custom graphics. Is that something you did or he did? The reason I ask is I would like to be able to call different admin skins for my admins, each with their own name. What I can't seem to find is which skin it is using and where it calls the JPG. Is this something you could advise me on or, if it's already been addressed, could you point me in the right direction? I know you're busy with the new tools so thanks in advance if you can help me out. :)

Link to comment
Share on other sites

Hey NoxSicarius, nice tools!

 

Question... I got your admin tools as part of Sheep's Epoch Repack. In it, there is an option to choose an admin skin with custom graphics. Is that something you did or he did? The reason I ask is I would like to be able to call different admin skins for my admins, each with their own name. What I can't seem to find is which skin it is using and where it calls the JPG. Is this something you could advise me on or, if it's already been addressed, could you point me in the right direction? I know you're busy with the new tools so thanks in advance if you can help me out. :)

 

That is not part of the admin tools. I might be able to find out if I had a link to the files.

Link to comment
Share on other sites

Here ya go:

 

http://opendayz.net/threads/support-sheeps-epoch-repack.14921/

 

 

Another question concerning AminList.sqf. Besides myself, I added one other admin to the SuperAdmins list but in the game he doesn't have all the same option I do. For instance, in the Graphical Vehicle Spawn list, he cannot see all of the vehicles that I can.

 

Here is the top of the code for that:

// Epoch Admin Lists

//Super Admins
SuperAdminList = [
"GUID", // JerryAtricks
"GUID" // Other Admin Here
];
//Admins
AdminList = [
"11111111111111111", // <Admin In-Game Name>
"SomeBody" // <Admin In-Game Name>
];
//Mods
ModList = [
"11111111111111111", // <Moderator In-Game Name>
"SomeBody" // <Moderator In-Game Name>
];

Of course the GUIDs are using our GUIDs and the 'Other Admin Here' is him. I'm pretty sure I have that correct but still he doesn't have the full menu options. 

 

What else would you need to see where the problem might be?

Link to comment
Share on other sites

Here ya go:

 

http://opendayz.net/threads/support-sheeps-epoch-repack.14921/

 

 

Another question concerning AminList.sqf. Besides myself, I added one other admin to the SuperAdmins list but in the game he doesn't have all the same option I do. For instance, in the Graphical Vehicle Spawn list, he cannot see all of the vehicles that I can.

 

Here is the top of the code for that:

// Epoch Admin Lists

//Super Admins
SuperAdminList = [
"GUID", // JerryAtricks
"GUID" // Other Admin Here
];
//Admins
AdminList = [
"11111111111111111", // <Admin In-Game Name>
"SomeBody" // <Admin In-Game Name>
];
//Mods
ModList = [
"11111111111111111", // <Moderator In-Game Name>
"SomeBody" // <Moderator In-Game Name>
];

Of course the GUIDs are using our GUIDs and the 'Other Admin Here' is him. I'm pretty sure I have that correct but still he doesn't have the full menu options. 

 

What else would you need to see where the problem might be?

 

If you have the option for the vehicles in the tools then you should have all the same vehicles as anyone else. I'm not sure what is going on there.

 

What menu do you change into the custom skin with? Like is it in the admin tools skins menu or elsewhere?

Link to comment
Share on other sites

Does the latest version of this not have admin fast build or am i blind ?

 

Btw would it be possible to integrate this:  admin build

 

admin fast build was removed when the admin build system was added. I have put admin fast build back in because I forgot about the use of snap building. You can upgrade to the test branch if you like. This branch is stable and pretty much ready for release, it is only being held up on a single problem that I can't seem to fix. This won't cause any issues for normal use.

 

The snap building can be integrated, but not right now. Adding it as it is would require snap building be installed. The next epoch update is supposed to have snap build in it so I have planned to convert the current system to snap build at that point. The issue is we haven't seen much of any information on that release. It was supposed to come out with 1.0.5.2, which mysteriously disappeared months ago.

Link to comment
Share on other sites

admin fast build was removed when the admin build system was added. I have put admin fast build back in because I forgot about the use of snap building. You can upgrade to the test branch if you like. This branch is stable and pretty much ready for release, it is only being held up on a single problem that I can't seem to fix. This won't cause any issues for normal use.

The snap building can be integrated, but not right now. Adding it as it is would require snap building be installed. The next epoch update is supposed to have snap build in it so I have planned to convert the current system to snap build at that point. The issue is we haven't seen much of any information on that release. It was supposed to come out with 1.0.5.2, which mysteriously disappeared months ago.

Ok thanks for the answer, im gonna update to test branch so i can get faster build time and still have snap build.

Keep up the good work !

Link to comment
Share on other sites

post up a pastebin of what you did for the crate and I will correct it. As for the god mode issue I will do some testing tomorrow.

 

Here's an example, I just modified the building crate you created but it's not showing up in the admin tool menu:

 

private ["_LocalOrGlobal","_spawnCrate","_crateName","_pos","_classname","_dir","_selectDelay"];

_LocalOrGlobal = _this select 0;
 
// Name of this crate
_crateName = "Building Crate - Donator 1";
 
// Crate type
_classname = "USOrdnanceBox";
 
// Tool use logger
if(logMajorTool) then {
usageLogger = format["%1 %2 -- has spawned a %3 %4",name player,getPlayerUID player,_LocalOrGlobal,_crateName];
[] spawn {publicVariable "usageLogger";};
};
// Tool use broadcaster
if(!((getPlayerUID player) in SuperAdminList) && broadcastToolUse) then {
useBroadcaster = format["%1 -- has spawned a %2 %3",name player,_LocalOrGlobal,_crateName];
[] spawn {publicVariableServer "useBroadcaster";};
};
 
// Location of player and crate
_dir = getdir player;
_pos = getposATL player;
_pos = [(_pos select 0)+1*sin(_dir),(_pos select 1)+1*cos(_dir), (_pos select 2)];
 
if(_LocalOrGlobal == "local") then {
_spawnCrate = _classname createVehicleLocal _pos;
} else {
_spawnCrate = createVehicle [_classname, _pos, [], 0, "CAN_COLLIDE"];
};
 
_spawnCrate setDir _dir;
_spawnCrate setposATL _pos;
 
// Remove default items/weapons from current crate before adding custom gear
clearWeaponCargoGlobal _spawnCrate;
clearMagazineCargoGlobal _spawnCrate;
clearBackpackCargoGlobal _spawnCrate;
 
_spawnCrate addWeaponCargoGlobal ["ItemCrowbar", 5];
_spawnCrate addWeaponCargoGlobal ["ItemEtool", 5];
_spawnCrate addWeaponCargoGlobal ["ItemHatchet_DZE", 5];
_spawnCrate addWeaponCargoGlobal ["ItemMatchbox_DZE", 5];
_spawnCrate addWeaponCargoGlobal ["ItemSledge", 5];
_spawnCrate addWeaponCargoGlobal ["ItemToolbox", 5];
 
_spawnCrate addMagazineCargoGlobal ["CinderBlocks", 120];
_spawnCrate addMagazineCargoGlobal ["cinder_door_kit", 5];
_spawnCrate addMagazineCargoGlobal ["cinder_garage_kit", 5];
_spawnCrate addMagazineCargoGlobal ["cinder_wall_kit", 30];
_spawnCrate addMagazineCargoGlobal ["deer_stand_kit", 5];
_spawnCrate addMagazineCargoGlobal ["desert_large_net_kit", 5];
_spawnCrate addMagazineCargoGlobal ["desert_net_kit", 5];
_spawnCrate addMagazineCargoGlobal ["forest_large_net_kit", 5];
_spawnCrate addMagazineCargoGlobal ["forest_net_kit", 5];
_spawnCrate addMagazineCargoGlobal ["fuel_pump_kit", 1];
_spawnCrate addMagazineCargoGlobal ["ItemComboLock", 10];
_spawnCrate addMagazineCargoGlobal ["ItemCorrugated", 10];
_spawnCrate addMagazineCargoGlobal ["ItemFireBarrel_Kit", 2];
_spawnCrate addMagazineCargoGlobal ["ItemGenerator", 1];
_spawnCrate addMagazineCargoGlobal ["ItemLockbox", 2];
_spawnCrate addMagazineCargoGlobal ["ItemPole", 30];
_spawnCrate addMagazineCargoGlobal ["ItemSandbag", 30];
_spawnCrate addMagazineCargoGlobal ["ItemTankTrap", 30];
_spawnCrate addMagazineCargoGlobal ["ItemTent", 1];
_spawnCrate addMagazineCargoGlobal ["ItemTentDomed",  1];
_spawnCrate addMagazineCargoGlobal ["ItemTentDomed2", 1];
_spawnCrate addMagazineCargoGlobal ["ItemTentOld",  1];
_spawnCrate addMagazineCargoGlobal ["ItemVault", 5];
_spawnCrate addMagazineCargoGlobal ["ItemWire", 30];
_spawnCrate addMagazineCargoGlobal ["ItemWoodLadder", 5];
_spawnCrate addMagazineCargoGlobal ["ItemWoodStairsSupport", 5];
_spawnCrate addMagazineCargoGlobal ["light_pole_kit", 5];
_spawnCrate addMagazineCargoGlobal ["m240_nest_kit", 2];
_spawnCrate addMagazineCargoGlobal ["metal_floor_kit", 10];
_spawnCrate addMagazineCargoGlobal ["metal_panel_kit", 16];
_spawnCrate addMagazineCargoGlobal ["MortarBucket", 30];
_spawnCrate addMagazineCargoGlobal ["outhouse_kit", 1];
_spawnCrate addMagazineCargoGlobal ["park_bench_kit", 3];
_spawnCrate addMagazineCargoGlobal ["PartGeneric", 30];
_spawnCrate addMagazineCargoGlobal ["rusty_gate_kit", 2];
_spawnCrate addMagazineCargoGlobal ["sandbag_nest_kit", 2];
_spawnCrate addMagazineCargoGlobal ["storage_shed_kit", 2];
_spawnCrate addMagazineCargoGlobal ["wood_ramp_kit", 2];
_spawnCrate addMagazineCargoGlobal ["workbench_kit", 2];
 
// Send text to spawner only
titleText [format[_crateName + " spawned!"],"PLAIN DOWN"]; titleFadeOut 4;
 
selectDelay=0;
// Run delaymenu
delaymenu = 
[
["",true],
["Select delay", [-1], "", -5, [["expression", ""]], "1", "0"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["30 seconds", [], "", -5, [["expression", "selectDelay=30;"]], "1", "1"],
["1 min", [], "", -5, [["expression", "selectDelay=60;"]], "1", "1"],
["3 min", [], "", -5, [["expression", "selectDelay=180;"]], "1", "1"],
["5 min", [], "", -5, [["expression", "selectDelay=300;"]], "1", "1"],
["10 min", [], "", -5, [["expression", "selectDelay=600;"]], "1", "1"],
["30 min", [], "", -5, [["expression", "selectDelay=1800;"]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["No timer", [], "", -5, [["expression", "selectDelay=0;"]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"]
];
showCommandingMenu "#USER:delaymenu";
 
WaitUntil{commandingMenu == ""};
_selectDelay = selectDelay;
 
if(selectDelay != 0) then {
titleText [format[_crateName + " will disappear in %1 seconds.",selectDelay],"PLAIN DOWN"]; titleFadeOut 4;
sleep _selectDelay;
// Delete crate after selectDelay seconds
deletevehicle _spawnCrate;
titleText [format[_crateName + " disappeared."],"PLAIN DOWN"]; titleFadeOut 4;
} else {
titleText [format[_crateName + " has no timer. Shoot it to destroy."],"PLAIN DOWN"]; titleFadeOut 4;
};

Link to comment
Share on other sites

 

Here's an example, I just modified the building crate you created but it's not showing up in the admin tool menu:

 

private ["_LocalOrGlobal","_spawnCrate","_crateName","_pos","_classname","_dir","_selectDelay"];

_LocalOrGlobal = _this select 0;
 
// Name of this crate
_crateName = "Building Crate - Donator 1";
 
// Crate type
_classname = "USOrdnanceBox";
 
// Tool use logger
if(logMajorTool) then {
usageLogger = format["%1 %2 -- has spawned a %3 %4",name player,getPlayerUID player,_LocalOrGlobal,_crateName];
[] spawn {publicVariable "usageLogger";};
};
// Tool use broadcaster
if(!((getPlayerUID player) in SuperAdminList) && broadcastToolUse) then {
useBroadcaster = format["%1 -- has spawned a %2 %3",name player,_LocalOrGlobal,_crateName];
[] spawn {publicVariableServer "useBroadcaster";};
};
 
// Location of player and crate
_dir = getdir player;
_pos = getposATL player;
_pos = [(_pos select 0)+1*sin(_dir),(_pos select 1)+1*cos(_dir), (_pos select 2)];
 
if(_LocalOrGlobal == "local") then {
_spawnCrate = _classname createVehicleLocal _pos;
} else {
_spawnCrate = createVehicle [_classname, _pos, [], 0, "CAN_COLLIDE"];
};
 
_spawnCrate setDir _dir;
_spawnCrate setposATL _pos;
 
// Remove default items/weapons from current crate before adding custom gear
clearWeaponCargoGlobal _spawnCrate;
clearMagazineCargoGlobal _spawnCrate;
clearBackpackCargoGlobal _spawnCrate;
 
_spawnCrate addWeaponCargoGlobal ["ItemCrowbar", 5];
_spawnCrate addWeaponCargoGlobal ["ItemEtool", 5];
_spawnCrate addWeaponCargoGlobal ["ItemHatchet_DZE", 5];
_spawnCrate addWeaponCargoGlobal ["ItemMatchbox_DZE", 5];
_spawnCrate addWeaponCargoGlobal ["ItemSledge", 5];
_spawnCrate addWeaponCargoGlobal ["ItemToolbox", 5];
 
_spawnCrate addMagazineCargoGlobal ["CinderBlocks", 120];
_spawnCrate addMagazineCargoGlobal ["cinder_door_kit", 5];
_spawnCrate addMagazineCargoGlobal ["cinder_garage_kit", 5];
_spawnCrate addMagazineCargoGlobal ["cinder_wall_kit", 30];
_spawnCrate addMagazineCargoGlobal ["deer_stand_kit", 5];
_spawnCrate addMagazineCargoGlobal ["desert_large_net_kit", 5];
_spawnCrate addMagazineCargoGlobal ["desert_net_kit", 5];
_spawnCrate addMagazineCargoGlobal ["forest_large_net_kit", 5];
_spawnCrate addMagazineCargoGlobal ["forest_net_kit", 5];
_spawnCrate addMagazineCargoGlobal ["fuel_pump_kit", 1];
_spawnCrate addMagazineCargoGlobal ["ItemComboLock", 10];
_spawnCrate addMagazineCargoGlobal ["ItemCorrugated", 10];
_spawnCrate addMagazineCargoGlobal ["ItemFireBarrel_Kit", 2];
_spawnCrate addMagazineCargoGlobal ["ItemGenerator", 1];
_spawnCrate addMagazineCargoGlobal ["ItemLockbox", 2];
_spawnCrate addMagazineCargoGlobal ["ItemPole", 30];
_spawnCrate addMagazineCargoGlobal ["ItemSandbag", 30];
_spawnCrate addMagazineCargoGlobal ["ItemTankTrap", 30];
_spawnCrate addMagazineCargoGlobal ["ItemTent", 1];
_spawnCrate addMagazineCargoGlobal ["ItemTentDomed",  1];
_spawnCrate addMagazineCargoGlobal ["ItemTentDomed2", 1];
_spawnCrate addMagazineCargoGlobal ["ItemTentOld",  1];
_spawnCrate addMagazineCargoGlobal ["ItemVault", 5];
_spawnCrate addMagazineCargoGlobal ["ItemWire", 30];
_spawnCrate addMagazineCargoGlobal ["ItemWoodLadder", 5];
_spawnCrate addMagazineCargoGlobal ["ItemWoodStairsSupport", 5];
_spawnCrate addMagazineCargoGlobal ["light_pole_kit", 5];
_spawnCrate addMagazineCargoGlobal ["m240_nest_kit", 2];
_spawnCrate addMagazineCargoGlobal ["metal_floor_kit", 10];
_spawnCrate addMagazineCargoGlobal ["metal_panel_kit", 16];
_spawnCrate addMagazineCargoGlobal ["MortarBucket", 30];
_spawnCrate addMagazineCargoGlobal ["outhouse_kit", 1];
_spawnCrate addMagazineCargoGlobal ["park_bench_kit", 3];
_spawnCrate addMagazineCargoGlobal ["PartGeneric", 30];
_spawnCrate addMagazineCargoGlobal ["rusty_gate_kit", 2];
_spawnCrate addMagazineCargoGlobal ["sandbag_nest_kit", 2];
_spawnCrate addMagazineCargoGlobal ["storage_shed_kit", 2];
_spawnCrate addMagazineCargoGlobal ["wood_ramp_kit", 2];
_spawnCrate addMagazineCargoGlobal ["workbench_kit", 2];
 
// Send text to spawner only
titleText [format[_crateName + " spawned!"],"PLAIN DOWN"]; titleFadeOut 4;
 
selectDelay=0;
// Run delaymenu
delaymenu = 
[
["",true],
["Select delay", [-1], "", -5, [["expression", ""]], "1", "0"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["30 seconds", [], "", -5, [["expression", "selectDelay=30;"]], "1", "1"],
["1 min", [], "", -5, [["expression", "selectDelay=60;"]], "1", "1"],
["3 min", [], "", -5, [["expression", "selectDelay=180;"]], "1", "1"],
["5 min", [], "", -5, [["expression", "selectDelay=300;"]], "1", "1"],
["10 min", [], "", -5, [["expression", "selectDelay=600;"]], "1", "1"],
["30 min", [], "", -5, [["expression", "selectDelay=1800;"]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"],
["No timer", [], "", -5, [["expression", "selectDelay=0;"]], "1", "1"],
["", [-1], "", -5, [["expression", ""]], "1", "0"]
];
showCommandingMenu "#USER:delaymenu";
 
WaitUntil{commandingMenu == ""};
_selectDelay = selectDelay;
 
if(selectDelay != 0) then {
titleText [format[_crateName + " will disappear in %1 seconds.",selectDelay],"PLAIN DOWN"]; titleFadeOut 4;
sleep _selectDelay;
// Delete crate after selectDelay seconds
deletevehicle _spawnCrate;
titleText [format[_crateName + " disappeared."],"PLAIN DOWN"]; titleFadeOut 4;
} else {
titleText [format[_crateName + " has no timer. Shoot it to destroy."],"PLAIN DOWN"]; titleFadeOut 4;
};

 

 

What did you do to add it to the scroll menu?

Link to comment
Share on other sites

How many people know that you can restore a destroyed vehicle with the admin tools? There is a way to do it, but it seems like very few people know so I may need to add an option to the vehicle menu for it.

I would assume Just use the point to repair perm option then wait for a restart?

Link to comment
Share on other sites

I would assume Just use the point to repair perm option then wait for a restart?

 

No, you can repair right on the spot and drive away in the car. No restarts needed. I think I will just add an option for it. Really easy to add, I just didn't want to have it if it wasn't really needed. 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...