Page 1 of 3 123 LastLast
Results 1 to 15 of 43
  1. #1
    lockdown6435's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    DayZ Forum Babysitter
    Posts
    1,369
    Reputation
    98
    Thanks
    5,699
    My Mood
    Tired

    How to execute scripts with the new CE Executer (Some scripts inside)

    Hopefully this is 100% easy for you all to understand.

    • Download Cheat Engine 6.2
    • Download the CE Script Executor here
    • Launch Arma 2 OA -- DO NOT JOIN A SERVER
    • Run the ArmA2OA_ExecVM.CETRAINER file from the CE Executor
    • Create a new file in your OA Directory (Call it <filename>.sqf
    • Insert your code in this script file
    • Type in the <filename>.sqf file into the Script Executor and his "Execute"
    • Leave the script executor open while you are executing scripts!


    So you ask, what code should I put in there? Well there is a variety of code, everything from unlimited ammo to teleporting to vehicle spawning. For this example I'm going to show you Analog's vehicle spawn script, and add in my own comments to break down the script.

    Code:
    'Goat' createunit [[(getpos player select 0), (getpos player select 1), 50], group player,'beeeh = this',  1.0, 'PRIVATE']; //creates a goat near you
     
    beeeh addMPEventHandler ['mpkilled', //triggers the code below once the goat (aka beeeh) is dead (EventHandler and mpkilled)
    {
        vehicleToSpawn = 'UH1H_DZ'; //the vehicle that will spawn once the goat is killed - here it is a helicopter
        if (isServer) then
        {
            (vehicleToSpawn createVehicle (position beeeh))setVariable ['ObjectID', 521, true]; //checks what vehicle is set to spawn and spawns it
            dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,getPos beeeh nearestObject vehicleToSpawn];
        };
    }]; //end of the scripts
    So, let's say you name the above helicopter.sqf in the Arma 2 directory, you would simply put helicopter.sqf into the CE Executor, hit execute, and a goat would spawn. Kill the goat and a UH1H (Helicopter) will spawn.

    Vehicles that can be spawned (ONLY USE THE CLASSNAME, NOT THE PART IN PARENTHESES):
    Code:
    Ikarus (Bus)
    ATV_CZ_EP1 (ATV)
    ATV_US_EP1 (ATV)
    Old_bike_TK_CIV_EP1 (Bike)
    S1203_TK_CIV_EP1 (S1203 Van)
    hilux1_civil_3_open (Hilux aka Pickup)
    Ural_TK_CIV_EP1 (Ural Truck)
    Volha_2_TK_CIV_EP1 (White GAZ)
    TT650_Ins (Motorcycle)
    tractor (Tractor)
    car_hatchback (Yellow hatchback)
    UH1H_DZ (Ingame UH1H)
    V3S_Civ (V3S Truck)
    UAZ_CDF (UAZ)


    An example of a teleport script:


    Teleport -- WARNING WILL TELEPORT YOU WHENEVER YOU LEFT CLICK THE MAP(Credits to aN00B1s):
    Code:
    player addweapon "ItemMap"; //gives a map
    openMap true; //opens the map
    
    player setVariable["lastPos",0, true];  //believe this targets your location on the map for the server
    onMapSingleClick "player setPos _pos; true;"  //sends you to the point where you SINGLE CLICK
    You can find the ammobox one back in the forum. I have given you a rough tutorial on scripting in ArmA2 and told you how to use the executor, so now stop complaining about there being a lack of scripts and create you own fucking scripts if you're unhappy.

    An example of how to bypass the ammobox and add to your inventory:

    Credits to iNTELFREAK:
    Code:
    player addBackPack "DZ_Backpack_EP1"; //adds coyote backpack
    player addweapon "G36_C_SD_camo"; //adds G36C SD Camo
    player addMagazine '30Rnd_556x45_StanagSD'; //adds SD Mag
    player addMagazine '30Rnd_556x45_StanagSD';
    player addMagazine '30Rnd_556x45_StanagSD';
    player addMagazine '30Rnd_556x45_StanagSD';
    player addMagazine '30Rnd_556x45_StanagSD';
    player addMagazine '30Rnd_556x45_StanagSD';
    player addMagazine '30Rnd_556x45_StanagSD';
    player addMagazine '30Rnd_556x45_StanagSD';
    player addMagazine '30Rnd_556x45_StanagSD';
    player addweapon "M9SD"; //adds M9SD Offhand
    player addMagazine "15Rnd_9x19_M9SD"; //adds M9SD Mags
    player addMagazine "15Rnd_9x19_M9SD";
    player addMagazine "15Rnd_9x19_M9SD";
    player addMagazine "15Rnd_9x19_M9SD";
    player addWeapon 'Binocular_Vector'; //rangefinder
    player addWeapon 'NVGoggles'; //nvgs
    player addWeapon 'ItemGPS'; //gps
    player addWeapon 'ItemCompass'; //compass
    player addWeapon 'ItemMap'; //map
    player addWeapon 'ItemWatch'; //watch
    player addWeapon 'ItemHatchet'; //hatchet
    player addWeapon 'ItemKnife'; //knife
    player addWeapon 'Itemmatchbox'; //box of matches
    player addWeapon 'Itemetool'; //entrenching tool for sandbags
    player addWeapon 'Itemtoolbox'; //toolbox
    player addWeapon 'ItemFlashlightRed'; //military flashlight
    player addMagazine 'ItemBandage'; //bandage
    player addMagazine 'ItemBandage';
    player addMagazine 'ItemBandage';
    player addMagazine 'ItemBandage';
    player addMagazine 'Skin_Sniper1_DZ'; //sets skin to ghillie
    
    bp = unitBackpack player; //ADDS ITEM TO BACKPACK (THUS BP)
    bp addMagazineCargoGlobal ["ItemBloodbag",2]; //adds 2 blood bags to your coyote
    bp addMagazineCargoGlobal ["ItemPainkiller",2];
    bp addMagazineCargoGlobal ["ItemAntibiotic",2];
    bp addMagazineCargoGlobal ["ItemMorphine",2];
    bp addMagazineCargoGlobal ["ItemEpinephrine",2];
    bp addMagazineCargoGlobal ["ItemWaterbottle",4];
    bp addMagazineCargoGlobal ["FoodSteakCooked",4];
    bp addMagazineCargoGlobal ["30Rnd_556x45_StanagSD",3];
    bp addMagazineCargoGlobal ["15Rnd_9x19_M9SD",3];

    If you need any help please just post in this thread. But please do not ask a question about how to execute scripts. I have explained it in the simplest format in both threads. I will not respond to questions about how to execute scripts.
    Last edited by lockdown6435; 08-03-2012 at 01:42 PM. Reason: added in one more script
    Quote Originally Posted by VindictusMods
    I'll just change my IP, and I have all your IP's guys. So watch it. I may hack or put a virus in ur computer.
    Quote Originally Posted by sd333221
    Injecting in the lobby gets you directly banned. Thats my secret deal with Battleye, I let them have the people who can't read the instructions and they don't ban the others in return.

  2. The Following 5 Users Say Thank You to lockdown6435 For This Useful Post:

    Funforums5 (08-03-2012),iLOVEthis21 (08-04-2012),kissemisse (08-03-2012),masterbal5 (08-03-2012),temmer200 (08-27-2012)

  3. #2
    masterbal5's Avatar
    Join Date
    Oct 2008
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0
    Thanks alot man, just 1 question, is there a way to get banned on non BE servers for doing this?
    I dont wanna waste my time finding items, but its not worth it if i get banned.

  4. #3
    Sindreh93's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Drunk
    Posts
    539
    Reputation
    28
    Thanks
    1,330
    My Mood
    Cynical
    Confirmed working.

    Question though: Anyone know the code to spawn a tank? (yes, it can be done)
    If you need to get in touch with me fast, add me on STEAM.

    Succesful Trades:7/7

    [IMG]https://post.barkbo*****m/wp-content/uploads/2013/02/tumblr_mhdh3aaPE51r2afs6o1_500.gif[/IMG]


    My current Releases/Guides:
    RapidFire script
    DayZ Custom Skins guide



  5. #4
    darkninja2100's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    1
    quick question any idea why arma 2 keeps crashing when i hit execute. do i need to be in a sever before i hit execute?

    ty

  6. #5
    SplinkFlex's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Whats the Code for an L85 AWS?... heat scope....

  7. #6
    iDEAD's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Don't look behind you...
    Posts
    330
    Reputation
    25
    Thanks
    23
    My Mood
    Dead
    Quote Originally Posted by SplinkFlex View Post
    Whats the Code for an L85 AWS?... heat scope....
    player addweapon "BAF_L85A2_RIS_CWS";
    Last edited by iDEAD; 08-03-2012 at 05:29 PM.

    There's a hack for that.

  8. #7
    qwerty6's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Angelic
    DMR and DMR mags?

    Pistols n mags?

  9. #8
    SplinkFlex's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by iDEAD View Post
    player addweapon "BAF_L85A2_RIS_CWS";
    Thanks man what about the stanag ammo?

  10. #9
    bigboy54's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    0
    was wondering if we can join any server or if there are any particular servers to join and do this?

  11. #10
    iDEAD's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Don't look behind you...
    Posts
    330
    Reputation
    25
    Thanks
    23
    My Mood
    Dead
    Quote Originally Posted by qwerty6 View Post
    DMR and DMR mags?

    Pistols n mags?
    DMR:
    Gun: player addweapon "DMR";
    Mags: player addMagazine "20Rnd_762x51_DMR";

    M9SD:
    Gun: player addweapon "M9SD";
    Mags: player addMagazine "15Rnd_9x19_M9SD";

    There's a hack for that.

  12. The Following User Says Thank You to iDEAD For This Useful Post:

    qwerty6 (08-03-2012)

  13. #11
    darkninja2100's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    1
    ok so done this all step by step , when i hit execute on my filename in the hack it makes my aram 2 OA windows crash anyone got any ideas?

    thanks

  14. #12
    qwerty6's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    0
    My Mood
    Angelic
    Maybe you have the M1911 pistol and mags. Thats the best one in my opinion.


    EDIT: iDead can you also explain me how to add DMR with Mags, M1911 with mags, and nightvision googles? Step by step? Many thanks.
    Last edited by qwerty6; 08-03-2012 at 05:47 PM.

  15. #13
    ThatJanitor's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    Seems like a lot of players crash whenever the goat-vehicle script is executed.

  16. #14
    darkfall211's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    The only part i found unclear is when do i join the server? for the vehicle spawn example will there be a goat where im standing ingame when i join AFTER i have done all the steps?

  17. #15
    darkninja2100's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Posts
    16
    Reputation
    10
    Thanks
    1
    mine crash's on all scripts dunno how to fix tried everything i can think of

Page 1 of 3 123 LastLast

Similar Threads

  1. how to use the scripts after the new powerbot update
    By [E]lmo in forum Runescape Hacks / Bots
    Replies: 10
    Last Post: 05-11-2011, 02:09 PM
  2. how edit CHARS_T_BODY now with the new patch
    By joelonlyne in forum Combat Arms Mod Help
    Replies: 2
    Last Post: 04-08-2011, 01:38 PM
  3. problem with the "New" Weapons
    By NetNavi in forum WarRock - International Hacks
    Replies: 27
    Last Post: 07-25-2007, 07:09 AM
  4. Any new warrock working public hacks with the new pb update ?
    By george567 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 05-25-2007, 10:37 AM
  5. Problem With The New Pb Hw Ban Spoofer!
    By naomelembro14 in forum WarRock - International Hacks
    Replies: 5
    Last Post: 03-16-2007, 07:29 AM