[HELP]

05/10/2013 18:07 Mrƒury#1
Hi,ePvP'ers ^^.

I hope you can help me with my 1st trainer.

So i created my 1st trainer for S4 League and it seems like i got a error when i finished it.



Screen

[Only registered and activated users can see links. Click Here To Register...]




Source code :
05/10/2013 18:29 .xD1997™#2
Quote:
Originally Posted by Mrƒury View Post
Hi,ePvP'ers ^^.

I hope you can help me with my 1st trainer.

So i created my 1st trainer for S4 League and it seems like i got a error when i finished it.



Screen

[Only registered and activated users can see links. Click Here To Register...]




Source code :
PHP Code:
#include <ButtonConstants.au3>
#include <NomadMemory.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("First Trainer [Mrƒury]"338187192124)
GUISetBkColor(0x99B4D1)
$Checkbox1 GUICtrlCreateCheckbox("1 Hit Kill"16329717)
$Checkbox2 GUICtrlCreateCheckbox("Inf Sp"112329717)
$Button1 GUICtrlCreateButton("Start"8888933)
$Button2 GUICtrlCreateButton("Exit"104888933)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit
         Case 
$Button1
            _Start
()
         Case 
$Button2
            
Exit
    EndSwitch
WEnd

Func _Start
()
    
$PID ProcessExists("S4Client.exe")
    
$Open _MemoryOpen($PID)
    If 
GUICtrlRead($Checkbox1) = 1 Then
            _MEMORYWRITE
(0x00519439$OPEN"long""0")
    EndIf
    
_MemoryClose($Open)
    Exit 
// why do u want to exit the program here??
EndFunc
    
// i really dont know why you continue with the function below EndFunc...
    
If GUICtrlRead($Checkbox2) = 1 Then
            _MEMORYWRITE
(0x00481422$OPEN"long""0")
    EndIf
    
_MemoryClose($Open)
    Exit 
// same as above
EndFunc 
i would suggest you learn before you copy&paste something
05/10/2013 18:46 Mrƒury#3
I didn't copy and pasted? o,o

It's my own created source code.
05/10/2013 20:37 Logtetsch#4
This source is like

Code:
Func _doNothing($noParams = 0)
Sleep(1)
EndFunc
€: Look at this → [Only registered and activated users can see links. Click Here To Register...]
€²: No, don't look at this. It's all german.
05/13/2013 12:28 Lawliet#5
Quote:
Thread with titels like: "Help!!", "Problem", "Question?!", "Autoit Question" are forbidden.
.