Teleporting w/ Admin tools epoch 1.0.3.1

Psygomin

New Member
ive smashed my face into the internet trying to figure out why i cannot teleport with admin tools by BluePhoenix. its the same issue many have had with previous versions of epoch where i teleport some where and im bounced between both places untill i press space of which im then put back where i was(i had this working in epoch 1.0.2.5). all the other features of admin tools works minus the weapons cuz i didnt go thru battleeye to fix that part. i can find sufficent weapons with out that part. my update to 1.0.3.1 from 1.0.2.5 has been smooth otherwise. ive tried most everything ive found on the subject, n the ones i havent where due to the solution not being posted. any help would be cool. if i have to for go tp for now i will, planning on getting a real server and not running it on my pc for my friends and i
 
quote from Axe Cop:
"Epoch uses a custom anti hack since 1.0.3, in the init.sqf:
Code:
[] execVM "\z\addons\dayz_code\system\antihack.sqf";
on my server i just disable it for admins, so if you are admin it doesn't execute the script at all!
tongue.png

something like this
Code:
if (not admin) then {
    [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};
that simple
biggrin.png
"

Solved it! thank you Axe Cop
 
The newest version of infistar in the install specifically requests you comment out that line, so yes its the same fix for infistar.
 
Hi! How can i do this for PlayerUID?
i tray to do something like this

Code:
if (not getPlayerUID "*****","*****","****") then {
    [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

But it did not help.
 
Hi! How can i do this for PlayerUID?
i tray to do something like this

Code:
if (not getPlayerUID "*****","*****","****") then {
    [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

But it did not help.

Code:
AdminsExList = ["343243","343434","etc"];
if ( !(getPlayerUID in AdminsExList) ) then {
    [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

There is not an If False, an ! before a command reverses what it returns. So you are comparing the players ID to the adminlist and when it comes back a true because the admins ID is in the array, it makes it false so the antihack only runs for non-admins.

However this would not allow you to teleport other players, and would only allow the admin to teleport around.
 
Code:
AdminsExList = ["343243","343434","etc"];
if ( !(getPlayerUID in AdminsExList) ) then {
    [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

There is not an If False, an ! before a command reverses what it returns. So you are comparing the players ID to the adminlist and when it comes back a true because the admins ID is in the array, it makes it false so the antihack only runs for non-admins.

However this would not allow you to teleport other players, and would only allow the admin to teleport around.

Thank you VERY MACH!!!
1.Soo, now i need to create AdminsExList.txt and put there PlayerUID
2. Can i put PlayerUID in this file like ("343243" // admin Billy)
 
You can use what I put right in the init.sqf.

AdminsExList is and array of the numbers following it.
Its checking if the playersID is in the list. If its not in the list, its making them run the antihack.sqf.

If you want to do comments, you can do it like this.
Code:
AdminsExList = [
"32423423", //Admin Taco
"45345345", //GeneralMod Bell
"65334234" //Mod Party
];
 
You can use what I put right in the init.sqf.

AdminsExList is and array of the numbers following it.
Its checking if the playersID is in the list. If its not in the list, its making them run the antihack.sqf.

If you want to do comments, you can do it like this.
Code:
AdminsExList = [
"32423423", //Admin Taco
"45345345", //GeneralMod Bell
"65334234" //Mod Party
];

THANK YOU VERY MUCH AGAIN!!
 
Code:
AdminsExList = ["343243","343434","etc"];
if ( !(getPlayerUID in AdminsExList) ) then {
    [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

There is not an If False, an ! before a command reverses what it returns. So you are comparing the players ID to the adminlist and when it comes back a true because the admins ID is in the array, it makes it false so the antihack only runs for non-admins.

However this would not allow you to teleport other players, and would only allow the admin to teleport around.


Hi! If i put this code. I get black screen. Delete this all is good
 
Boris please upload your init.sqf and I will check :)
Ok
Code:
/*   
    For DayZ Epoch
    Addons Credits: Jetski Yanahui by Kol9yN, Zakat, Gerasimow9, YuraPetrov, zGuba, A.Karagod, IceBreakr, Sahbazz
*/
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];

//REALLY IMPORTANT VALUES
dayZ_instance =    11;                    //The instance
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;
// May prevent "how are you civillian?" messages from NPC
enableSentences false;

// DayZ Epoch config
spawnShoremode = 1; // Default = 1 (on shore)
spawnArea= 1500; // Default = 1500
MaxHeliCrashes= 5; // Default = 5
MaxVehicleLimit = 300; // Default = 50
MaxDynamicDebris = 500; // Default = 100
dayz_MapArea = 14000; // Default = 10000
dayz_maxLocalZombies = 30; // Default = 30

dayz_paraSpawn = false;

dayz_minpos = -1;
dayz_maxpos = 16000;

dayz_sellDistance_vehicle = 10;
dayz_sellDistance_boat = 30;
dayz_sellDistance_air = 40;

dayz_maxAnimals = 8; // Default: 8
dayz_tameDogs = true;
DynamicVehicleDamageLow = 0; // Default: 0
DynamicVehicleDamageHigh = 100; // Default: 100

EpochEvents = [["any","any","any","any",10,"Military"],["any","any","any","any",25,"Treasure"],["any","any","any","any",40,"Supplyitems"],["any","any","any","any",55,"Construction"],["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"],["any","any","any","any",45,"_FILENAMEHERE_"]];
dayz_fullMoonNights = true;

//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 "custom\compiles.sqf";                //Compile regular functions
progressLoadingScreen 0.5;
call compile preprocessFileLineNumbers "server_traders.sqf";                //Compile trader configs
progressLoadingScreen 1.0;

"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";

if (isServer) then {
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
    //Compile vehicle configs
   
    // Add trader citys
    _nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
    _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");
    _nil = [] execVM "custom\remote_messages.sqf";
   
   
    //Run the player monitor
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
    _playerMonitor = [] execFSM "admintools\player_monitor.fsm";   
   
    //anti Hack
    if (not admin) then {
    [] execVM "\z\addons\dayz_code\system\antihack.sqf";
};
   
    //Lights
    [0,0,true,true,true,58,280,600,[0.698, 0.556, 0.419],"Generator_DZ",0.1] execVM "\z\addons\dayz_code\compile\local_lights_init.sqf";
   
};

#include "\z\addons\dayz_code\system\REsec.sqf"

//Start Dynamic Weather
execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";

// CUSTOM
if(TowerLightsScript)then{
    if (!isDedicated) then {
    [] execVM "custom\lights\tower_lights.sqf";
    };
};

if(HouseLightsScript)then{
    if (!isDedicated) then {
    [] execVM "custom\lights\house_lights.sqf";
    };
};

//BTC Fast Rope Script
sleep 1; _fast_rope = [] execVM "custom\=BTC=_fast_roping\BTC_fast_roping_init.sqf";

//R3F Towing and Heli Lift
execVM "R3F_ARTY_AND_LOG\init.sqf"

//Train
execVM "custom\train.sqf";

DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemPainkiller","FoodCanSardines","ItemSodaCoke"];
DefaultWeapons = ["ItemMatchbox","ItemHatchet","ItemFlashlight","ItemKnife"];
DefaultBackpack = "DZ_Patrol_Pack_EP1";
DefaultBackpackWeapon = "";

#include "\z\addons\dayz_code\system\BIS_Effects\init.sqf"
[] execVM "faction.sqf";
[] execVM "custom\custom_monitor.sqf";
[] execVM "zashita.sqf";
[] execVM "admintools\Activate.sqf";
 
Change
//anti Hack
if (not admin) then {
[] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

to

AdminsExList = [
"343243", //PUT A ADMIN UID HERE.
"343434", //PUT A ADMIN UID HERE.
"etc" //PUT A ADMIN UID HERE.
];
if ( !(getPlayerUID in AdminsExList) ) then {
[] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

Look for your UID and change a "343243" to your UID.

All the UIDs that will be in that list, will by-pass the antihack.
xBowBii
 
Change
//anti Hack
if (not admin) then {
[] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

to

AdminsExList = [
"343243", //PUT A ADMIN UID HERE.
"343434", //PUT A ADMIN UID HERE.
"etc" //PUT A ADMIN UID HERE.
];
if ( !(getPlayerUID in AdminsExList) ) then {
[] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

Look for your UID and change a "343243" to your UID.

All the UIDs that will be in that list, will by-pass the antihack.
xBowBii

Thanks! unfortunately it did not help. Black screen.
 
if ((getPlayerUID player) in ["addUIDsHERE"]) then {
{
//[] execVM "\z\addons\dayz_code\system\antihack.sqf";
} else {
[] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

Add your UID, it will 99% sure work
 
if ((getPlayerUID player) in ["addUIDsHERE"]) then {
{
//[] execVM "\z\addons\dayz_code\system\antihack.sqf";
} else {
[] execVM "\z\addons\dayz_code\system\antihack.sqf";
};

Add your UID, it will 99% sure work

Thanks! unfortunately it did not help. Black screen.
 
Back
Top