DayZ Admin tools

Status
Not open for further replies.
ist private and where can i find what instance panthera is? ^~^

edit: k changed the instance maybe it works now ^~^
Where did you get your default files from? It looks like you used a standard/wiped version to start.
You instance # is in you database and control panel if your DayZ.ST. Otherwise I'm unsure where to locate.
I think you need to set hiveInUse to false also.
Mine looks like
Code:
//REALLY IMPORTANT VALUES
dayZ_instance = ****;    //The instance //Change the **** to your ID
dayzHiveRequest = [];
 
Well i found out ist intance 5 for me, i set it to false too, but it seems there still something wrong here my error logs:


2013-05-13 21:51:59 HiveExt: [Information] Method: 302 Params: 5:
2013-05-13 21:51:59 HiveExt: [Information] Result: ["ObjectStreamStart",0]
2013-05-13 21:51:59 HiveExt: [Information] Method: 307 Params:
2013-05-13 21:51:59 HiveExt: [Information] Result: ["PASS",[2013,5,13,20,51]]
2013-05-13 21:52:31 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 21:52:31 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 21:52:31 HiveExt: [Information] Result: ["ERROR"]
2013-05-13 21:52:31 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 21:52:31 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 21:52:31 HiveExt: [Information] Result: ["ERROR"]
2013-05-13 21:52:31 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 21:52:31 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 21:52:31 HiveExt: [Information] Result: ["ERROR"]
2013-05-13 21:52:31 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 21:52:31 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 21:52:31 HiveExt: [Information] Result: ["ERROR"]


-----
After deleting the char it spits this out now:
2013-05-13 22:12:06 Database: [Error] Error 1062 (Duplicate entry '9072772' for key 'uq_profile') in MySQLStmtExecute SQL: 'insert into profile (`unique_id`, `name`) values (?, ?) VALUES("9072772", "Kishin")'
2013-05-13 22:12:06 Database: [Error] Error 1062 (Duplicate entry '9072772' for key 'uq_profile') in MySQLStmtExecute SQL: 'insert into profile (`unique_id`, `name`) values (?, ?) VALUES("9072772", "Kishin")'
2013-05-13 22:12:06 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 22:12:06 HiveExt: [Information] Result: ["ERROR"]
2013-05-13 22:12:06 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 22:12:06 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 22:12:06 HiveExt: [Information] Result: ["ERROR"]
2013-05-13 22:12:06 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 22:12:06 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 22:12:06 HiveExt: [Information] Result: ["ERROR"]
 
Well i found out ist intance 5 for me, i set it to false too, but it seems there still something wrong here my error logs:


2013-05-13 21:51:59 HiveExt: [Information] Method: 302 Params: 5:
2013-05-13 21:51:59 HiveExt: [Information] Result: ["ObjectStreamStart",0]
2013-05-13 21:51:59 HiveExt: [Information] Method: 307 Params:
2013-05-13 21:51:59 HiveExt: [Information] Result: ["PASS",[2013,5,13,20,51]]
2013-05-13 21:52:31 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 21:52:31 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 21:52:31 HiveExt: [Information] Result: ["ERROR"]
2013-05-13 21:52:31 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 21:52:31 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 21:52:31 HiveExt: [Information] Result: ["ERROR"]
2013-05-13 21:52:31 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 21:52:31 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 21:52:31 HiveExt: [Information] Result: ["ERROR"]
2013-05-13 21:52:31 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 21:52:31 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 21:52:31 HiveExt: [Information] Result: ["ERROR"]


-----
After deleting the char it spits this out now:
2013-05-13 22:12:06 Database: [Error] Error 1062 (Duplicate entry '9072772' for key 'uq_profile') in MySQLStmtExecute SQL: 'insert into profile (`unique_id`, `name`) values (?, ?) VALUES("9072772", "Kishin")'
2013-05-13 22:12:06 Database: [Error] Error 1062 (Duplicate entry '9072772' for key 'uq_profile') in MySQLStmtExecute SQL: 'insert into profile (`unique_id`, `name`) values (?, ?) VALUES("9072772", "Kishin")'
2013-05-13 22:12:06 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 22:12:06 HiveExt: [Information] Result: ["ERROR"]
2013-05-13 22:12:06 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 22:12:06 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 22:12:06 HiveExt: [Information] Result: ["ERROR"]
2013-05-13 22:12:06 HiveExt: [Information] Method: 101 Params: 9072772:5:Kishin:
2013-05-13 22:12:06 HiveExt: [Error] Error fetching created character for playerId 9072772
2013-05-13 22:12:06 HiveExt: [Information] Result: ["ERROR"]
Are you DayZ.ST?
 
Code:
/*   
    INITILIZATION
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
 
//REALLY IMPORTANT VALUES
dayZ_instance = ****;                    //The instance//Change **** to Your ID
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
 
//disable greeting menu
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
//enableRadio false;
 
//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";                //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";                //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";    //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";                //Compile regular functions
progressLoadingScreen 1.0;
 
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
 
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
waitUntil {time > 3};
};
 
if ((!isServer) && (player != player)) then
{
  waitUntil {player == player};
  waitUntil {time > 3};
};
 
if (isServer) then {
    _serverMonitor =    [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
};
 
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 =    [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";   
};
here is my default Init.sqf
 
Code:
/* 
    INITILIZATION
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
 
//REALLY IMPORTANT VALUES
dayZ_instance = ****;                    //The instance//Change **** to Your ID
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
 
//disable greeting menu
player setVariable ["BIS_noCoreConversations", true];
//disable radio messages to be heard and shown in the left lower corner of the screen
//enableRadio false;
 
//Load in compiled functions
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";                //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";                //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf";    //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";                //Compile regular functions
progressLoadingScreen 1.0;
 
"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
 
if ((!isServer) && (isNull player) ) then
{
waitUntil {!isNull player};
waitUntil {time > 3};
};
 
if ((!isServer) && (player != player)) then
{
  waitUntil {player == player};
  waitUntil {time > 3};
};
 
if (isServer) then {
    _serverMonitor =    [] execVM "\z\addons\dayz_code\system\server_monitor.sqf";
};
 
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 =    [] execVM "\z\addons\dayz_code\system\player_monitor.sqf"; 
};
here is my default Init.sqf
thanks but still the same ^~^ well no admin tool for me then ... meah xD
 
I like how they have super admins, admins, and mods but i would like to know if it is possible to edit the tools that the mod preset already has? I'm wondering if it's possible; and how to remove tools such as "look and repair", "Teleport to me" etc..
 
Hey blue, I found out that if you modify the tptome code, and copy it to a new file called kill, then add a new expression in the AdminToolsMain file, you can create a code for admins to basically kill anyone. At the bottom of the TPToMe code, where it says
Code:
if (pselect5 != "exit") then
{
_name = pselect5;
{
if(name _x == _name) then
{
hint format ["Teleporting %1", _name];
_x attachTo [vehicle player, [2, 2, 0]];
sleep 0.25;
detach _x;
};
} forEach entities "CAManBase";
};

Change the
Code:
if(name _x == _name) then
 
{
 
hint format ["Teleporting %1", _name];
 
_x attachTo [vehicle player, [2, 2, 0]];
 
sleep 0.25;
 
detach _x;
 
};

To
Code:
if(name _x == _name) then
 
{
 
hint format ["Killing %1", _name];
 
_x setDamage 1;
 
sleep 0.25;
 
};

Then when you run the Kill tool, it will give you the names of all the players, and when you select the name of the player you need to kill, it will kill them. I found this useful for getting rid of the hackers that can bypass the player menu (The players that don't show up on dart, or the in game list, but show on the dayz commander player list, and on the admin maps from your tools or the admin maps from panels like DayZ.ST). Those hackers usually run around with god mode, but with this method, you can actually kill them. When hackers god mode themselves, they are preventing their client from sending data to the server saying they are injured, but when the server sends data to them saying they are injured (Like when you kill them with this tool), they die because the server registers that they are dead.
 
ok so i 2 the steps with the server cleanup ? than i can drive arround with the vehicles? where can i find the server cleanup?

edit: found it i will try ty m8
 
Admin tool works rly rly great
but one question..
i addet in the menu "Building" 2 spawn a land_barack etc...
but BEC kicked me out with vehicle restriction

does anyone know the code for battleye 2 allow that can i build "
Land_A_Castle_Wall1_20 maybe " without get kicked by battleye ?
 
Status
Not open for further replies.
Back
Top