Ok, this is the ABSOLUTE NOOBIE tutorial on how to use scripts with Cheat Engine. Make sure to +1 me
.
Also, here is a good website for adding code to ammo boxes
http://browser.six-projects.net/cfg_weaponsStep 1. Download Cheat Engine
http://www.cheatengine.org/downloads.phpStep 2. Download your script/make your script.
Step 3. Place it in a custom folder within your Arma 2 OA directory. (C:\Steam Games\arma 2 operation arrowhead)
Step 4. Open Arma 2 OA.
Step 5. Open Cheat Engine.
Step 6. Attach Arma 2 to Cheat Engine
Step 7. Search Cheat Engine, (using the text value type), for a string to attach your script to. The most common strings are things like vote_kick, vote_admin, vote_missions. In this tutorial, we will be using vote_kick.
Step 8. You should get a small list of whatever you searched for. You will have to right-click them and click Browse this Memory Region. You will see a bunch of hex characters, and then to the right of those plain text.
Step 9. The one you are looking for should look something like this: private ["_dummy"]; _dummy = [_this,"vote_kick"] execVM "\ca\ui\scripts\dedicatedServerInterface.sqf";
Step 10. Change the "\ca\ui\scripts\dedicatedServerInterface.sqf"; part to "\YOURSCRIPTSFOLDERINTHEOADIRECTORY\YOURSCRIPT.sqf";
Step 11. If there are any leftover letters from the old path, you will need to change the hex characters, (that are to the left of the text), to 00, which looks like a period.
Step 12. Do this until your periods meet up with the periods that are already there.
Step 13. Make sure to CLOSE CHEAT ENGINE after you are done.
Step 14. Enter a server.
Step 15. Press "M" to open up your map, go to server interface, (or something like that), then press whatever button you set your script to, in our case "Vote Kick".
Step 16. Exit out of server interface and your map, and your script should have worked.