Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Need for Speed World
You last visited: Today at 22:15

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to make a basic Trainer on AutoIT

Discussion on How to make a basic Trainer on AutoIT within the Need for Speed World forum part of the Other Online Games category.

Reply
 
Old   #1
 
elite*gold: 15
Join Date: Aug 2012
Posts: 3,041
Received Thanks: 6,397
How to make a basic Trainer on AutoIT

This is not a "how to find address" tutorial! This tut explains how to use them in AutoIT!

I'm not actually good at giving tutorials. So i'll explain you "what does what" with an example Hope this helps

You need;
  • AutoIT
  • NFS: World
__________________________________________________ _______________________________________________
Code:
#Region Includes
#Include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Include <MemoryModuleGetBaseAddress.au3>
#Include <NomadMemory.au3>
#EndRegion Includes
; Required files for this tutorial. Without them this won't work!


#Region Global Variables
#RequireAdmin
Global $TRUE = False
#EndRegion Global Variables
; Required "terms" for this trainer to function.

#Region Hotkeys
HotKeySet("{F1}", "Function1")
#EndRegion Hotkeys
; Hotkey Setting for "anti-cheat function"

#Region Check NFSW
If ProcessExists("nfsw.exe") = 0 Then
   MsgBox(16,"ERROR", "Start NFS:World first!", 0)
   Exit
EndIF
#EndRegion Check NFSW
; Check For Process "nfsw.exe"
; If process "nfsw.exe" doesn't exist then show message box + exit

#Region GUI
GUICreate("Press ESC to exit", 100, 55, -1, -1, BitXOR($WS_CAPTION, $WS_MINIMIZEBOX )) ; GUI Creation - ("Window Name", Width, Height)
GUICtrlSetFont(-1, 15, 800, 0, "") ; Here i change the font of the GUI
$AntiCheat = GUICtrlCreateLabel("F1 - Anti-Cheat", 24, 20, 250, 20) ; Here i declare a variable to "AntiCheat"

GUISetState()

While 1
	Switch GUIGetMsg()
		Case $GUI_EVENT_CLOSE
			Exit
	EndSwitch
WEnd
; Required variables to make program exit when you click the "x" at the top-right
Func Function1()
     AntiCheat()
   Switch $True
	  Case 0
		 GUICtrlSetColor ($AntiCheat, 16711680)
		 $TRUE = True
	  Case 1
		 GUICtrlSetColor ($AntiCheat, Default)
		 $TRUE = False
   EndSwitch
EndFunc
#EndRegion GUI
; - " Func Function1() " Basically an "IF" value - If Function1 enabled;
; - " AntiCheat() " - When Function1 gets activated, active " Func  AntiCheat() " too
; - " Switch $True " Switch to True-False Recongnition
; - " Case 0 " If Function1 gets activated -  change color of the AntiCheat (on gui) to Red - " $TRUE = True " (IN 0-1 Type - 0 Disabled, 1 Enabled)
; - " Case 1 " If Function1 gets de-activated - change color of the AntiCheat (on gui) to Default (black) - " $TRUE = False " same as top
; - " EndSwitch " Finishes/Ends True-False Recongnition

#Region Anti-Cheat
Func AntiCheat()
	$IPID_AC = ProcessExists("nfsw.exe") ; Basically an equality - After you did this you can simply write " $IPID_AC " instead of " ProcessExists("nfsw.exe") "
	$MEMOPEN_AC = _MEMORYOPEN($IPID_AC)  ; Opens Memory for " $IPID_AC " - Allows read-write access
	$SMODULE_AC = "nfsw.exe"             ; Defines target exe
	$IOFFSET_AC = 0x28676E               ; Target Offset (not ADDRESS)
	$IOFFSET2_AC = 0x286770              ; Target Offest nr.2 (not ADDRESS)
	$BASEADDR_AC = _MEMORYMODULEGETBASEADDRESS($IPID_AC, $SMODULE_AC) + $IOFFSET_AC   ; Gets ADDRESS of the offset on target exe
	$BASEADDR2_AC = _MEMORYMODULEGETBASEADDRESS($IPID_AC, $SMODULE_AC) + $IOFFSET2_AC ; Gets ADDRESS of the offset nr.2 on target exe
	_MEMORYWRITE($BASEADDR_AC, $MEMOPEN_AC, "3947024947", "long")  ; Change the value of the Found ADDRESS ( $BASEADDR_AC ) to "3947024947" )
	_MEMORYWRITE($BASEADDR2_AC, $MEMOPEN_AC, "2421812034", "long") ; Change the value of the Found ADDRESS ( $BASEADDR2_AC ) to "2421812034" )
	_MEMORYCLOSE($MEMOPEN_AC) ; Closes Memory (Returns to Read-Only Access)
 EndFunc
#EndRegion Anti-Cheat
 
#Region Comment
;
; "Regions" are not necessary. I added them to easier this tutorial.
#EndRegion Comment
Simply open SciTE Script Editor, Paste this in there, Save it to somewhere, Run it!

Some Notes;
  • " ; " Is a comment variable on AutoIT - Like " // " on CE (lua)
  • "Regions" are there for you to see "what is what" - You can delete them if you want
  • Required files/Includes are at the RAR I uploaded - Get them!

If you have any questions feel free to ask !

© Copyrighted to "berkay2578"
Sharing this tutorial on other forums without my permission is not permitted.
Attached Files
File Type: rar Tutorial Trainer.rar (6.3 KB, 104 views)
berkay2578 is offline  
Thanks
11 Users
Old 11/26/2012, 22:10   #2
 
needforfish's Avatar
 
elite*gold: 0
Join Date: Jul 2012
Posts: 328
Received Thanks: 97
cool i can practice auto it.. winter is still long.. xd thx
needforfish is offline  
Old 11/29/2012, 12:09   #3
 
elite*gold: 0
Join Date: Oct 2012
Posts: 1
Received Thanks: 0
after every update the trainer stops working.. why is that?
amcro is offline  
Old 11/29/2012, 17:59   #4
 
elite*gold: 15
Join Date: Aug 2012
Posts: 3,041
Received Thanks: 6,397
Quote:
Originally Posted by amcro View Post
after every update the trainer stops working.. why is that?
Because EA Patches Hacks You didn't know that?
berkay2578 is offline  
Reply


Similar Threads Similar Threads
How To Make A AutoIt Trainer in 10 Min. !!!!
11/20/2010 - S4 League Hacks, Bots, Cheats & Exploits - 7 Replies
Hiiii Das ist mein Tutorial um einen S4 trainer Simpel und schnell zusammenzubasteln Ladet euch autoIt http://www.autoitscript.com/autoit3/downloads.shtm l runter und den Rest steht im Anhang. Have Fun. Will net dass ihr einfach downloadet ohne thx musste ya auch was machen ; ) also Viel spass bei Scripten



All times are GMT +1. The time now is 22:15.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.