Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Autoit Kills Trainer
#1
Hey guys watsup this is a tutorial on how to make a simple trainer for mw2 with AutoIt.

Firstly -- We need all the correct files to begin scripting in AutoIt v3.
The VERY First thing we need to download and install is AutoIt 3 itself... here's the link http://www.autoitscript.com/cgi-bin/getf...-setup.exe
The Second thing we need to download and install is the current beta version.. here's the link http://www.autoitscript.com/autoit3/file...-setup.exe
The Third thing we need to download and install is the Script Editor for AutoIt which is SciTE.. here's the link http://www.autoitscript.com/cgi-bin/getf...utoIt3.exe
The Fourth thing we need is NomadMemory.au3 to edit the memory on mw2:
http://www.autoitscript.com/forum/index....h_id=23428
We need to open up SciTE Script Editor and SAVE a BLANK file. We do this because the actual Tools menu is only available on a previously saved project.. If you click on the Tools menu before saving you'll see it has about 5 things, when if you click on it AFTER you save, it'll have a nice list going all the way down your screen.
Ok, now we right click anywere e.g. desktop and go to new -> AutoIt v3 Script. Name it Mw2 Trainer now thats done right click on the Autoit script and click edit.

Now we can create the hack. We first have to include NomadMemory.au3 to edit mw2s memory and require admin rights .

Code:
#Include <NomadMemory.au3>
#RequireAdmin

Now we want to tell AutoIt to only run this script if mw2 is open. Make sure you have mw2 open before you run this script or you will be spammed by autoit scripts lol. Also a message box is included to tell you what you are doing.


Code:
While ProcessExists ("iw4mp.exe") = False ; This code is telling autoit to only open this script if mw2 is open
    MsgBox (0, "Modern Warfare 2 Kills hack", "Kills hack")
Wend
Now we want to set some variables so that we can write to memory. A Input box will determine the amount of kills you want .

Code:
$points = InputBox ("Moderrn Warfare 2 Kills hack" , "Enter amount of Kills you want. Have mw2 open")

$open = _MemoryOpen(ProcessExists("iw4mp.exe"))
Ok, now we must enter the address for kills.

Code:
$adresse1 = 0x01B2C8B0
Lastly we will tell AutoIt to write to memory whatever you have entered in the Inputbox.

Code:
Code:
_MemoryWrite($adresse1,$open,$points,"dword")
MsgBox(0, "Success", "Please Wait 5 Seconds")

This is what the script should look like at when your done

Code:
#Include <NomadMemory.au3>
#RequireAdmin

While ProcessExists ("iw4mp.exe") = False ; This code is telling autoit to only open this script if mw2 is open
    MsgBox (0, "Modern Warfare 2 Kills hack", "Kills hack")
WEnd

$points = InputBox ("Moderrn Warfare 2 Kills hack" , "Enter amount of XP you want. Have mw2 open")

$open = _MemoryOpen(ProcessExists("iw4mp.exe"))

$adresse1 = 0x01B2C8B0

_MemoryWrite($adresse1,$open,$points,"dword")
MsgBox(0, "Success", "Please Wait 5 Seconds")
To run it press f5.

There you have a simple mw2 trainer lol. If you want to learn more about AutoIt read the Helpfile as it is very usefull or search for some tutorials on the Internet.
Imo AutoIt is a easier language to learn then VB but it depends what you want to do.

HAVE FUN!!
Reply

#2
No question nothing at all? Has anybody even tried this....
Reply

#3
(11-21-2010, 03:16)aosma8 Wrote: No question nothing at all? Has anybody even tried this....

I tryed it and its working, Thanks for the code and thanks for introducing me to Autoit.

Thanks Barata...
Reply

#4
Yeh works perfectly just 1 question
anyway to freeze or unfreeze the address value?

also u should tell people in main post about "dword" changing to according to their type of value like float wud be "float" dunno the rest guessing text would be "string"

anways thanks for this
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Black Ops Single Player/Zombie Trainer V3.6 Craig87 52 87,732 07-01-2013, 15:12
Last Post: explosivebanana55
  [Release] Mw3 Simple External Console barata 25 22,256 06-30-2013, 16:30
Last Post: nexzhd
  Simple flyable helicopter script port, could use help! akillj 0 2,525 06-15-2013, 09:20
Last Post: akillj
  [Release] LF's BO2 Trainer (Latest Version) LegitFlash 3 4,933 06-11-2013, 18:14
Last Post: surtek
  Black Ops 2 DLC camo trainer surtek 10 10,702 04-19-2013, 23:16
Last Post: Gladio
  Black Ops 2 camo trainer surtek 33 28,266 04-16-2013, 11:07
Last Post: surtek
  Help Print kills in the console Bandarigoda123 8 5,169 04-08-2013, 16:05
Last Post: archit
  Saint Row: The Third - +7 Trainer - Steam v1.0.0.1 - DX10/11 d0h! 5 30,317 03-02-2013, 15:31
Last Post: BunnySkills
  [Release] [DETECTED] Black ops 2 Zombie Trainer dylankrajewski 8 16,006 02-09-2013, 10:07
Last Post: Erik The Born
  Preview BarataConsole Trainer/Mod/Plugin API JariZ 1 3,022 02-05-2013, 23:59
Last Post: barata

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.