Register for your free account! | Forgot your password?

You last visited: Today at 04:33

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

Advertisement



[HELP]

Discussion on [HELP] within the AutoIt forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
Mrƒury's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 3
Received Thanks: 0
[HELP]

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






Source code :
Mrƒury is offline  
Old 05/10/2013, 18:29   #2
 
.xD1997™'s Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,489
Received Thanks: 1,221
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






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
.xD1997™ is offline  
Old 05/10/2013, 18:46   #3
 
Mrƒury's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 3
Received Thanks: 0
I didn't copy and pasted? o,o

It's my own created source code.
Mrƒury is offline  
Old 05/10/2013, 20:37   #4
 
Logtetsch's Avatar
 
elite*gold: 192
Join Date: May 2009
Posts: 2,227
Received Thanks: 3,262
This source is like

Code:
Func _doNothing($noParams = 0)
Sleep(1)
EndFunc
€: Look at this →
€²: No, don't look at this. It's all german.
Logtetsch is offline  
Thanks
1 User
Old 05/13/2013, 12:28   #5


 
Lawliet's Avatar
 
elite*gold: 2
Join Date: Jul 2009
Posts: 14,456
Received Thanks: 4,685
Quote:
Thread with titels like: "Help!!", "Problem", "Question?!", "Autoit Question" are forbidden.
.
Lawliet is offline  
Closed Thread




All times are GMT +1. The time now is 04:34.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.