Need some help with a trainer

06/08/2010 17:00 WAZAAAAA...#1
I hope that this is the right section...

If anyone has the source of a trainer similar to this, post it if you wish.



I want to make a trainer for a game.
I have a CT (CE's Cheat Table) containing various addresses/pointers that I've found and I wanted to make a trainer from it.

The functions I need in order to make it are:
-Attaching to the right process... something like this maybe?u
ProcessWait ("mhfo.dll")"
and what if the process is hidden? For example when I try to attach CE to the game, first it says that the memory region is equal to 00000000... after some minutes it changes and I can attach it with CE via the Process List or Window List thing... will it work with AutoIt?
-Being able to change a value by pressing the Set button... the value should change accordingly to the editable number in the bar lol;
-Being able to freeze the values.

This is how the trainer should look like when completed:
[Only registered and activated users can see links. Click Here To Register...]
Note that I've made this with Koda FormDesigner, awesome tool


Code:
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=c:\blabla\koda\forms\test.kxf
$Form1_1 = GUICreate("MHFO Trainer                by WAZAAAAA", 340, 140, 193, 133)
GUICtrlCreateInput("100000", 80, 17, 97, 21)
$Button1 = GUICtrlCreateButton("Set", 192, 15, 41, 25, 0)
$Label1 = GUICtrlCreateLabel("Total Health", 8, 19, 62, 17)
$Button2 = GUICtrlCreateButton("Set", 192, 97, 41, 25, 0)
$Input1 = GUICtrlCreateInput("300", 80, 99, 97, 21)
$Label2 = GUICtrlCreateLabel("Resistance", 8, 102, 57, 17)
GUICtrlCreateInput("100", 116, 58, 97, 21)
$Button3 = GUICtrlCreateButton("Set", 225, 56, 41, 25, 0)
$Label3 = GUICtrlCreateLabel("Health Regeneration", 8, 61, 102, 17)
$Checkbox1 = GUICtrlCreateCheckbox("Freeze", 249, 15, 57, 25)
$Checkbox2 = GUICtrlCreateCheckbox("Freeze", 282, 56, 57, 25)
$Checkbox3 = GUICtrlCreateCheckbox("Freeze", 249, 96, 57, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit

EndSwitch
WEnd
Can somebody shed some light on this?



Thanks in advance.
06/08/2010 22:11 suiluJ.#2
Example:

My old Trainer
02/06/2011 14:39 niko784#3
i dont know how to hack but its so funny if u have goshtmode hack for the secret tunnel in neden-1 how i create my own trainer please reply