DayZ Hack

Posts 1–15 of 15 · Page 1 of 1
DayZ Hack
I am not sure if works on every server

Teleport

hint "Open the Map and Select Map Position";
onMapSingleClick "vehicle player setPos _pos; onMapSingleClick '';true;";


Vehicle Spawn


RandomEx = {
private["_min","_max","_result"];
_min = _this select 0;
_max = _this select 1;

_result = (round random (_max - _min))+_min;
_result
};

MakeRandomSpace = {
private["_min","_max","_length","_i","_result"];
_min = _this select 0;
_max = _this select 1;
_result = "";

_length = [_min,_max] call RandomEx;
for "_i" from 1 to _length do
{
_result = _result + " ";
};
_result
};


DAYZ_CREATEVEHICLE =
{

private["_veh_type", "_dir", "_pos","_objID","_rdspaces","_DayZCodeExec"];
_veh_type = _this select 0;
_dir = _this select 1;
_pos = _this select 2;
_car = _veh_type createVehicle _pos;

_car setDir _dir;

_objID = [100,500] call RandomEx;

_pubvarname = "myvehobj";
myvehobj = _car;
publicVariable "myvehobj";
sleep 0.2;

_rdspaces = [3, 10] call MakeRandomSpace;
_DayZCodeExec = format['%1 setVariable ["ObjectID",%2,true]; dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,%1] %3;',_pubvarname,_objID,_rdspaces];

if (_DayZCodeExec != '') then {
_x = random 9000;
_y = random 9000;
_z = 0;
_group = createGroup east;
"Cock" createUnit [[_x,_y,_z], _group, format["%1", _DayZCodeExec]];
sleep 0.3;
deleteGroup _group;
_objCock = nearestobject [[_x,_y,_z],"Cock"];
_objCock setDamage 1;
deleteVehicle _objCock;
};
};

_dir = getdir player;
_pos = getPos player;
_pos = [(_pos select 0)+20*sin(_dir),(_pos select 1)+20*cos(_dir),0];

["A10_US_EP1", _dir, _pos] call DAYZ_CREATEVEHICLE;

hint "done";
This script dayz mod or dayz SA ??
Quote Originally Posted by remember4102 View Post
This script dayz mod or dayz SA ??

from when you have A10_US_EP1 in dayz sa?
If you are going to share code in a thread use the Code tags, e.g.
Code:
Example of code tags
Detected since 2012 and probly also done by hangender xD

same code in more readable form..

Code:
RandomEx = {
    private["_min","_max","_result"];
    _min = _this select 0;
    _max = _this select 1;
    
    _result = (round random (_max - _min))+_min;
    _result
};

MakeRandomSpace = {
    private["_min","_max","_length","_i","_result"];
    _min = _this select 0;
    _max = _this select 1;
    _result = "";
    
    _length = [_min,_max] call RandomEx;
    for "_i" from 1 to _length do
    {
        _result = _result + " ";
    };
    _result
};


DAYZ_CREATEVEHICLE =
{
    
    private["_veh_type", "_dir", "_pos","_objID","_rdspaces","_DayZCodeExec"];
    _veh_type = _this select 0;
    _dir = _this select 1;
    _pos = _this select 2;
    _car = _veh_type createVehicle _pos;
    
    _car setDir _dir;
    
    _objID = [100,500] call RandomEx;
    
    _pubvarname = "myvehobj";
    myvehobj = _car;
    publicVariable "myvehobj";
    sleep 0.2;
    
    _rdspaces = [3, 10] call MakeRandomSpace;
    _DayZCodeExec = format['%1  setVariable  ["ObjectID",%2,true]; dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,%1] %3;',_pubvarname,_objID,_rdspaces];

    if (_DayZCodeExec != '') then {
        _x = random 9000;
        _y = random 9000;
        _z = 0;
        _group = createGroup east;
        "Cock" createUnit [[_x,_y,_z], _group, format["%1", _DayZCodeExec]];
        sleep 0.3;
        deleteGroup _group;
        _objCock = nearestobject [[_x,_y,_z],"Cock"];
        _objCock setDamage 1;
        deleteVehicle _objCock;
    };
};

_dir = getdir player;
_pos = getPos player;
_pos = [(_pos select 0)+20*sin(_dir),(_pos select 1)+20*cos(_dir),0];

["LandRover_CZ_EP1", _dir, _pos] call DAYZ_CREATEVEHICLE;

hint "done";
The tele will not work on any server that has antiTP enabled and the vehicle script will kick you for publicvariable restriction on any server running BattlEye.
Tp works for me on antitp servers yuat use it once
Quote Originally Posted by familyguy2 View Post
Tp works for me on antitp servers yuat use it once
All it is doing is setPos where you click on the map. That will get reverted every time. The servers you are testing on do not have antiTP on. Also onMapSingleClick is disabled by infistar antihack, so it won't work on the majority of servers.
Quote Originally Posted by furiouswai View Post
All it is doing is setPos where you click on the map. That will get reverted every time. The servers you are testing on do not have antiTP on. Also onMapSingleClick is disabled by infistar antihack, so it won't work on the majority of servers.
Ok good to know.
I can still smell the dust on the script, they patched this a while ago for the mod. :P
Well i didnt know ,never usedit this anywhay
You can get banned by the server with this hack or not? And if you get banned from a server on is banned by all server so jai not want to buy the game
Thanks Man D
Posts 1–15 of 15 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us