Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 14:25

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

Advertisement



[Hack]Cheat Engine mit AutoIT ,DONT WORK :)

Discussion on [Hack]Cheat Engine mit AutoIT ,DONT WORK :) within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
Samulau's Avatar
 
elite*gold: 80
Join Date: Mar 2012
Posts: 404
Received Thanks: 94
[Hack]Cheat Engine mit AutoIT ,DONT WORK :)

Hallo leute arbeite gerade an nem kleinen Projekt ...
ALso hier mein Code :

Code:
HotKeySet("{F1}","Change_")
HotKeySet("{F11}","Close_")

If ProcessExists("***.exe") = false Then
   msgbox(0,"Error","Error : *** isn´t running. Please start it !")
   Exit
EndIf


#RequireAdmin
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>

Global $open, $base ,$final, $value
Global $Offset[5]
Global $PID = ProcessExists("***.exe")
Global $wert = 0

$Offset[0] = 0
$Offset[1] = Dec("6C4")
$Offset[2] = Dec("4F0")
$Offset[3] = Dec("54")
$Offset[4] = Dec("110")
$Static = Dec("01BCA600")
$open = _MemoryOpen($PID)
$base = _MemoryGetBaseAddress($open, 1)
$final = "0x" & Hex($base + $Static)
$value = _MemoryPointerRead($final, $open, $Offset)

#Region ### START Koda GUI section ### Form=
$Gunadder = GUICreate("Test", 208, 31, 1687, 6, $WS_POPUP)
GUISetBkColor(0x000000)
$Label1 = GUICtrlCreateLabel("Number", 8, 8, 101, 17)
GUICtrlSetColor(-1, 0x00FF00)
$Gun = GUICtrlCreateInput("", 112, 5, 41, 21)
$Label2 = GUICtrlCreateLabel("***", 160, 8, 44, 17)
GUICtrlSetFont(-1, 8, 400, 4, "MS Sans Serif")
GUICtrlSetColor(-1, 0x3399FF)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While sleep(1)
_MemoryPointerWrite($final, $open, $Offset, $wert, "dword")
WEnd

Func Change_()
$Wert = GuiCtrlRead($Gun)
EndFunc

Func Close_()
   _MemoryClose($open)
   Exit
EndFunc
Was ist daran falsch ?
Also was seht ihr daran ?
Samulau is offline  
Old 07/30/2012, 16:35   #2
 
Logtetsch's Avatar
 
elite*gold: 192
Join Date: May 2009
Posts: 2,227
Received Thanks: 3,262
Hab paar Sachen verändert.
Dieses ständige "Dec" ist sehr unnötig.

Hier mal ein paar kleine Veränderungen.
PHP Code:
HotKeySet("{F1}","Change_")
HotKeySet("{F11}","Close_")


If 
ProcessExists("xxx.exe") = false Then
   msgbox
(0,"Error","Error : xxx isn´t running. Please start it !")
   Exit
EndIf


#RequireAdmin
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NomadMemory.au3>

Global $open$base $value
Const $Offset[5] = [00x6C40x4F00x540x110]
Global 
$Static 0x10BCA600
Global $PID ProcessExists("xxx.exe")
Global 
$wert 0

$open 
_MemoryOpen($PID)
While 
Sleep(10)
    if 
IsArray ($openThen
        $base 
_MemoryModuleGetBaseAddress($PID"xxx.exe") + $Static
        $value 
_MemoryPointerRead($base$open$Offset) ;Es ist immer vorteilhaft einen Datentypen mitzugebenFehler werden so vermieden.
        
ExitLoop
    
Else
        if 
MsgBox (52,"Error","Cannot open memory! Try again?") = 6 then Exit
    EndIf
WEnd


#Region ### START Koda GUI section ### Form=
$Gunadder GUICreate("Test"2083116876$WS_POPUP)
GUISetBkColor(0x000000)
$Label1 GUICtrlCreateLabel("Number"8810117)
GUICtrlSetColor(-10x00FF00)
$Gun GUICtrlCreateInput(""11254121)
$Label2 GUICtrlCreateLabel("xxx"16084417)
GUICtrlSetFont(-184004"MS Sans Serif")
GUICtrlSetColor(-10x3399FF)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While sleep(10)
    
_MemoryPointerWrite($base$open$Offset$wert"dword")
WEnd

Func Change_
()
$Wert GuiCtrlRead($Gun)
EndFunc

Func Close_
()
   
_MemoryClose($open)
   Exit
EndFunc 
Fallst du die _MemoryModuleGetBaseAddress Funktion nicht in deiner NomadMemory.au3 drinne haben solltest, dann packe diese ans ende deiner .au3

PHP Code:
Func _MemoryModuleGetBaseAddress($iPID$sModule)
    If 
Not ProcessExists($iPIDThen Return SetError(100)

    If 
Not IsString($sModuleThen Return SetError(200)

    
Local   $PSAPI DllOpen("psapi.dll")

    ;
Get Process Handle
    Local   $hProcess
    Local   $PERMISSION 
BitOR(0x00020x04000x00080x00100x0020) ; CREATE_THREADQUERY_INFORMATIONVM_OPERATIONVM_READVM_WRITE

    
If $iPID 0 Then
        Local $hProcess 
DllCall("kernel32.dll""ptr""OpenProcess""dword"$PERMISSION"int"0"dword"$iPID)
        If 
$hProcess[0Then
            $hProcess 
$hProcess[0]
        EndIf
    EndIf

    ;
EnumProcessModules
    Local   $Modules 
DllStructCreate("ptr[1024]")
    
Local   $aCall DllCall($PSAPI"int""EnumProcessModules""ptr"$hProcess"ptr"DllStructGetPtr($Modules), "dword"DllStructGetSize($Modules), "dword*"0)
    If 
$aCall[4] > 0 Then
        Local   $iModnum 
$aCall[4] / 4
        Local   $aTemp
        
For $i 1 To $iModnum
            $aTemp 
=  DllCall($PSAPI"dword""GetModuleBaseNameW""ptr"$hProcess"ptr"Ptr(DllStructGetData($Modules1$i)), "wstr""""dword"260)
            If 
$aTemp[3] = $sModule Then
                DllClose
($PSAPI)
                Return 
Ptr(DllStructGetData($Modules1$i))
            EndIf
        
Next
    
EndIf

    
DllClose($PSAPI)
    Return 
SetError(-100)

EndFunc 
Logtetsch is offline  
Old 07/30/2012, 18:49   #3
 
Samulau's Avatar
 
elite*gold: 80
Join Date: Mar 2012
Posts: 404
Received Thanks: 94
Danke habs mal ausprobiert klappt leider immer noch nicht :O
Woran kann das liegen ?
Am Hackshield vom Game ? Aber Cheat Engine ist ja auch nicht detected :O
Samulau is offline  
Old 07/30/2012, 18:51   #4


 
K1ramoX's Avatar
 
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
Hast du es mit Debug Privilegien probiert?
K1ramoX is offline  
Old 07/30/2012, 18:58   #5
 
Samulau's Avatar
 
elite*gold: 80
Join Date: Mar 2012
Posts: 404
Received Thanks: 94
Sagt mir gerade nicht viel .... Sorry :P
Samulau is offline  
Old 07/30/2012, 19:07   #6
 
Logtetsch's Avatar
 
elite*gold: 192
Join Date: May 2009
Posts: 2,227
Received Thanks: 3,262
Dann hast du hier nichts verloren.

PHP Code:
SetPrivilege("SetDebugPrivilege",1
Google ist dein bester Freund.
Logtetsch is offline  
Old 07/30/2012, 19:09   #7
 
Samulau's Avatar
 
elite*gold: 80
Join Date: Mar 2012
Posts: 404
Received Thanks: 94
Ja bin gerade eingestiegen mit Cheat Engine und AutoIT also beides zusammen machen ..
Edit: Damit klappts auch nicht .
Es klappt nicht
Quote:
SetPrivilege("SetDebugPrivilege",1)
Und auch nicht wie es manche meinen
Quote:
SetPrivilege("SeDebugPrivilege",1)
Samulau is offline  
Old 07/30/2012, 19:24   #8


 
K1ramoX's Avatar
 
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
Das von Nomad hat bei mir nie richtig funktioniert. finde ich am besten ^^
K1ramoX is offline  
Old 07/30/2012, 19:41   #9
 
Samulau's Avatar
 
elite*gold: 80
Join Date: Mar 2012
Posts: 404
Received Thanks: 94
Also die Func hinzufügen und wie die andere aufrufen ? hm
Also habe die Function nun aufgerufen hat nichts genützt o.o
Samulau is offline  
Old 07/30/2012, 19:57   #10


 
K1ramoX's Avatar
 
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
Probiere es mal damit

Code:
#include "Pointer2.au3"

Local $prozessname = "***.exe"
$PID = ProcessExists($prozessname)
If $PID > 0 Then
	$Handle = _MemoryOpen($PID)
	$Address = _MemoryModuleGetBaseAddress("" & $PID & "", "" & $prozessname & "")
	$Address = "0x" & Hex($Address + Dec("10BCA600"))
	Dim $Offset1[5] = [0, 0x6C4, 0x4F0, 0x54, 0x110]
EndIf
_MemoryPointerWrite($Address, $Handle, $Offset1, $wert, "dword")
_MemoryClose($Handle)
Ich hab mal noch einen Anhang zusätzlich gemacht wo das alte AutoIt Setup drin ist (mit der neuen Version von AutoIt funktionieren _MemoryPointerWrite() bei mir nicht) und auch die Pointer2.au3 ;D

Für den VT Bericht hatte ich jetzt keine Lust nochmal 8 MB zu uploaden. Wer ein VT will soll sich einen selber machen oder es nicht downloaden ;O
Attached Files
File Type: rar Zusatz.rar (8.02 MB, 27 views)
K1ramoX is offline  
Old 07/30/2012, 20:37   #11
 
Samulau's Avatar
 
elite*gold: 80
Join Date: Mar 2012
Posts: 404
Received Thanks: 94
Klappt auch nicht ...
Was mach ich falsch ?
Samulau is offline  
Old 07/30/2012, 20:41   #12


 
K1ramoX's Avatar
 
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
Vielleicht liegt es an deinem Pointer?
K1ramoX is offline  
Old 07/30/2012, 21:12   #13
 
Samulau's Avatar
 
elite*gold: 80
Join Date: Mar 2012
Posts: 404
Received Thanks: 94
Ne der stimmt soweit :O
Mit Cheat Engine kann ich ja im Shop "hacken" also waffen adden ^^
Der Pointer klappt in Cheat Engine aber so in AutoIT iwie nich ^^
Samulau is offline  
Old 07/30/2012, 21:21   #14


 
K1ramoX's Avatar
 
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
Lass doch mal die Adresse und den Wert ausgeben und vergleich das O:
K1ramoX is offline  
Old 07/30/2012, 21:34   #15
 
Logtetsch's Avatar
 
elite*gold: 192
Join Date: May 2009
Posts: 2,227
Received Thanks: 3,262
Kannst du uns mal ein Bild von deinem Pointer in CheatEngine zeigen?
Vermutlich hast du die Pointer falschrum aufgelistet.
Ein Bild sagt mehr als 1000 Worte.
Logtetsch is offline  
Reply


Similar Threads Similar Threads
new cheat emblem v2 with cheat engine 100% work
03/01/2011 - Facebook - 8 Replies
cheat emblem v.2 using cheat engine features: 1. You can buy emblem talent even your a free user but provide 400 token to buy 2. You can reset as many as you can. . 3. You can equip a weapon in version 1 you cant equip. .but this you can now equip. 4. You can recruit same people. . But the most wonderful trick of this is unlimited reset point. . Ive try this so many times. Even im
[How To][Work 20/1/11]Speed Hack with Cheat engine
01/28/2011 - Aion Hacks, Bots, Cheats & Exploits - 20 Replies
Hi elite people. Today i try to change this value and i can. This is the video tutorial: http://www.youtube.com/watch?v=YpAiP7vNYHk This was tested today (20/1/11) and in the gamez aion server
Cod 4 Hack mit Cheat Engine und Autoit
08/05/2010 - General Coding - 26 Replies
Hallo Ich versuche mit Autoit und Cheat Engine ein Box ESP für Cod4 zu machen. Leider finde ich die Werte nicht und versteh auch nihct ganz wie ich die exakte Position im Bild herrausfinden soll. Wenn mir wer helfen könnte wäre es super.:)
Why Cheat Engine Dont work Atlantica thai
02/15/2010 - Atlantica Online - 3 Replies
why use CheatEngine56 Atlantica auto close ?
Dont use Cheat Engine!!!
10/07/2006 - World of Warcraft - 19 Replies
Since a few days youll get a auto-bann if u use Cheat Engine. Its not only detected like other hacks.... if u got a window beside WoW called "Cheat Engine" u get banned 1 sec later ;) . This hit me 10 secs ago, so i write this here. DONT USE CHEAT ENGINE. ------------------------- Now i have to look whether i am perma banned or just 3 days.



All times are GMT +1. The time now is 14:29.


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.