You last visited: Today at 15:17
Advertisement
In Source Pointer einsetzen
Discussion on In Source Pointer einsetzen within the AutoIt forum part of the Coders Den category.
05/28/2010, 19:06
#1
elite*gold: 0
Join Date: Dec 2009
Posts: 705
Received Thanks: 312
In Source Pointer einsetzen
Hey Community
Ich wollte in meine Source Pointer einsetzen oO
habs zwar versucht aber die Versuche sind missglückt ....
jetzt frag ich euch^^
Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
If Not ProcessExists("TClient.exe") Then
MsgBox(0, "CheckInfo", "Please open 4storyEG")
Exit
EndIf
#Region ### START Koda GUI section ### Form=c:\dokumente und einstellungen\kevin\desktop\beta hack\h4ck.kxf
$Form1_1 = GUICreate("", 467, 292, 479, 125)
GUICtrlCreateTab(0, 0, 465, 289)
GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)
$GE_Bot = GUICtrlCreateTabItem("GE_Bot")
$Button1 = GUICtrlCreateButton("An", 80, 112, 121, 41, 0)
$Button2 = GUICtrlCreateButton("Aus", 240, 112, 121, 41, 0)
$Label1 = GUICtrlCreateLabel("Sendet F12 an das 4Story Fenster so das Aoe mit Skillhack dauerhaft ausgeführt wird.", 32, 176, 409, 17)
$Standard = GUICtrlCreateTabItem("§tandard Hacks")
$Damage = GUICtrlCreateLabel("Damage", 16, 56, 44, 17)
$Label2 = GUICtrlCreateLabel("No Miss", 16, 104, 42, 17)
$Speed = GUICtrlCreateLabel("Speed", 16, 160, 35, 17)
$Invisible = GUICtrlCreateLabel("Invisible", 16, 208, 42, 17)
$Button3 = GUICtrlCreateButton("On", 80, 56, 49, 17, 0)
$Button4 = GUICtrlCreateButton("Off", 136, 56, 49, 17, 0)
$Button5 = GUICtrlCreateButton("On", 80, 104, 49, 17, 0)
$Button6 = GUICtrlCreateButton("Off", 136, 104, 49, 17, 0)
$Button7 = GUICtrlCreateButton("On", 80, 160, 49, 17, 0)
$Button8 = GUICtrlCreateButton("Off", 136, 160, 49, 17, 0)
$Button9 = GUICtrlCreateButton("On", 80, 208, 51, 17, 0)
$Button10 = GUICtrlCreateButton("Off", 136, 208, 49, 17, 0)
$Label3 =GUICtrlCreateLabel("", 196, 208, 44, 20)
GUICtrlSetBkColor(-1, 0xFF0000)
$Label4 =GUICtrlCreateLabel("", 196, 160, 44, 20)
GUICtrlSetBkColor(-1, 0xFF0000)
GUICtrlCreateInput("", 264, 56, 97, 21)
GUICtrlCreateInput("", 264, 104, 97, 21)
$Input3 = GUICtrlCreateInput("", 264, 160, 97, 21)
$Label5 =GUICtrlCreateLabel("", 197, 102, 44, 20)
GUICtrlSetBkColor(-1, 0xFF0000)
$Label6 =GUICtrlCreateLabel("", 196, 56, 44, 20)
GUICtrlSetBkColor(-1, 0xFF0000)
$Spezial = GUICtrlCreateTabItem("§pezial Hacks")
$Label7 = GUICtrlCreateLabel("Kingdomhack", 24, 176, 69, 17)
$On = GUICtrlCreateButton("On", 112, 80, 49, 17, 0)
$Derion = GUICtrlCreateButton("Derion", 112, 176, 49, 17, 0)
$Off = GUICtrlCreateButton("Off", 176, 80, 49, 17, 0)
$Valorian = GUICtrlCreateButton("Valorian", 176, 176, 49, 17, 0)
$Label8 = GUICtrlCreateLabel("Bankhack", 24, 80, 53, 17)
$Label9 = GUICtrlCreateLabel("FlyHack", 24, 128, 43, 17)
$Button11 = GUICtrlCreateButton("On", 112, 128, 49, 17, 0)
$Button12 = GUICtrlCreateButton("Off", 176, 128, 49, 17, 0)
$Label10 =GUICtrlCreateLabel("", 240, 176, 44, 20)
GUICtrlSetBkColor(-1, 0xFF0000)
$Label11=GUICtrlCreateLabel("", 240, 80, 44, 20)
GUICtrlSetBkColor(-1, 0xFF0000)
$Label12=GUICtrlCreateLabel("", 240, 128, 44, 20)
GUICtrlSetBkColor(-1, 0xFF0000)
$Radio1 = GUICtrlCreateRadio("PC - Ausschalten", 296, 80, 121, 17)
$Radio2 = GUICtrlCreateRadio("PC - Neu starten", 296, 128, 97, 17)
$Porthack = GUICtrlCreateTabItem("Porthack")
$Button13 = GUICtrlCreateButton("Teleport", 32, 160, 177, 33, 0)
$Button14 = GUICtrlCreateButton("Teleport zur Leiche", 48, 200, 145, 17, 0)
GUICtrlCreateInput("", 24, 80, 97, 21)
GUICtrlCreateInput("", 144, 80, 97, 21)
$Label13 = GUICtrlCreateLabel("X", 64, 104, 11, 17)
$Label14 = GUICtrlCreateLabel("Y", 184, 104, 11, 17)
$Label15 = GUICtrlCreateLabel("0", 64, 48, 10, 17)
$Label16 = GUICtrlCreateLabel("0", 184, 48, 10, 17)
$Button15 = GUICtrlCreateButton("Teleport", 304, 160, 97, 33, 0)
GUICtrlCreateInput("", 296, 80, 105, 21)
$Label17 = GUICtrlCreateLabel("Z", 344, 104, 11, 17)
$Label18 = GUICtrlCreateLabel("0", 344, 48, 10, 17)
$Label19 = GUICtrlCreateLabel("X,Y = die Koordinaten wo man hin porten will", 16, 240, 214, 17)
$Label20 = GUICtrlCreateLabel("Z = in die Höhe in die man porten möchte (zu hoch stirbt man)", 16, 256, 303, 17)
$Skillhack = GUICtrlCreateTabItem("Skillhack")
GUICtrlSetState(-1,$GUI_SHOW)
$Button16 = GUICtrlCreateButton("Tinktur", 24, 48, 73, 25, 0)
$Button17 = GUICtrlCreateButton("Glückstrank", 104, 48, 73, 25, 0)
$Button18 = GUICtrlCreateButton("Homeport", 24, 144, 73, 25, 0)
$Button19 = GUICtrlCreateButton("Port Kuznez", 24, 80, 73, 25, 0)
$Button20 = GUICtrlCreateButton("Port Lonbaley", 104, 80, 73, 25, 0)
$Button21 = GUICtrlCreateButton("Port Keter", 104, 112, 73, 25, 0)
$Button22 = GUICtrlCreateButton("Port Markut", 24, 112, 73, 25, 0)
$Button23 = GUICtrlCreateButton("5 min Schild", 104, 144, 73, 25, 0)
$Button24 = GUICtrlCreateButton("Blackface weg", 24, 176, 153, 25, 0)
GUICtrlCreateInput("", 24, 208, 113, 21)
$Ausfuehren = GUICtrlCreateButton("Ausführen", 24, 240, 129, 25, 0)
$SkillhackOff = GUICtrlCreateButton("Skillhack Off", 168, 240, 113, 25, 0)
$Label21=GUICtrlCreateLabel("", 296, 240, 44, 20)
GUICtrlSetBkColor(-1, 0xFF0000)
$Chat = GUICtrlCreateTabItem("Chat Hack")
GUICtrlSetState(-1,$GUI_SHOW)
$Label22 = GUICtrlCreateLabel("Mit dem Chathack könnt ihr in den Notizchat sprich Uppchat schreiben", 56, 40, 338, 17)
GUICtrlSetColor(-1, 0xff0000)
$Label23 = GUICtrlCreateLabel("Chat im Spiel mit Enter öffnen ein Text ein geben und mit Enter bestätigen", 48, 72, 350, 17)
GUICtrlSetColor(-1, 0xff0000)
$Button27 = GUICtrlCreateButton("Uppchat schreiben aktivieren", 152, 120, 161, 41, 0)
$Label24 = GUICtrlCreateLabel("Uppchat schreiben aktiviern klicken", 136, 56, 174, 17)
GUICtrlSetColor(-1, 0xff0000)
$Button28 = GUICtrlCreateButton("deaktivieren", 152, 216, 161, 41, 0)
$Label26=GUICtrlCreateLabel("Jetzt müsste im Uppchat bzw Notizchat eure Nachricht erscheinen", 64, 88, 317, 17)
GUICtrlSetColor(-1, 0xff0000)
$Label27=GUICtrlCreateLabel("", 164, 176, 140, 28)
GUICtrlSetBkColor(-1, 0xFF0000)
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Global $Bedingung
Global $Timer = TimerInit()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $button1
$Bedingung = 1
Case $button2
$Bedingung = 0
Case $button3
GUICtrlSetBkColor($Label6, 0x9CC83D) ;DMG v
Case $button4
GUICtrlSetBkColor($Label6, 0xFE161C) ;DMG v
Case $button5
GUICtrlSetBkColor($Label5, 0x9CC83D) ;NoMiss v
Case $button6
GUICtrlSetBkColor($Label5, 0xFE161C) ;NoMiss v
Case $button7
GUICtrlSetBkColor($Label4, 0x9CC83D) ;Speedhack v
Case $button8
GUICtrlSetBkColor($Label4, 0xFE161C) ;Speedhack v
Case $button9
GUICtrlSetBkColor($Label3, 0x9CC83D) ;Invisible v
Case $button10
GUICtrlSetBkColor($Label3, 0xFE161C) ;Invisible v
;______________________________________________________________________________________ ;Spezialhacks
Case $On
GUICtrlSetBkColor($Label11, 0x9CC83D) ;Bankhack v
MsgBox(274432, "Wichtig", "Bankfach beim NPC öffnen und wieder schließen dann werden die Slots beim Bankhack angezeigt")
Case $Off
GUICtrlSetBkColor($Label11, 0xFE161C) ;Bankhack v
Case $button11
GUICtrlSetBkColor($Label12, 0x9CC83D) ;Flyhack v
MsgBox(274480, "Warnung", "Durch das aktivieren des Flyhack kann es zu grafischen Fehlern im Spiel kommen")
Case $Button12
GUICtrlSetBkColor($Label12, 0xFE161C) ;Flyhack v
Case $Derion ;Kingdomhack v
GUICtrlSetBkColor($Label10, 0x9CC83D)
Case $Valorian ;Kingdomhack v
GUICtrlSetBkColor($Label10, 0x9CC83D)
;______________________________________________________________________________________ ;Skillhack
Case $Ausfuehren
GUICtrlSetBkColor($Label21, 0x9CC83D) ;Skillhack v
Case $Skillhackoff ;Skillhack v
GUICtrlSetBkColor($Label21, 0xFE161C)
;______________________________________________________________________________________ ;Chathack
Case $button27
GUICtrlSetBkColor($Label27, 0x9CC83D)
Case $button28
GUICtrlSetBkColor($Label27, 0xFE161C)
;______________________________________________________________________________________ ;PC - Funktionen
Case $Radio1
Shutdown(1)
Case $Radio2
Shutdown(2)
EndSwitch
Senden()
WEnd
Func Senden()
If $Bedingung = 1 And TimerDiff($Timer) >= 70 Then
ControlSend("4Story_US", "", "", "{F12}")
$Timer = TimerInit()
EndIf
EndFunc
mfg volle
05/28/2010, 19:46
#2
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
PHP Code:
$ah_Handle = ProcessExists ( "TClient.exe" )
Func _MemoryOpen ( $iv_Pid , $iv_DesiredAccess = 0x1F0FFF , $if_InheritHandle = 1 )
If Not ProcessExists ( $iv_Pid ) Then
SetError ( 1 )
Return 0
EndIf
Local $ah_Handle [ 2 ] = [ DllOpen ( 'kernel32.dll' )]
If @ Error Then
SetError ( 2 )
Return 0
EndIf
Local $av_OpenProcess = DllCall ( $ah_Handle [ 0 ], 'int' , 'OpenProcess' , 'int' , $iv_DesiredAccess , 'int' , $if_InheritHandle , 'int' , $iv_Pid )
If @ Error Then
DllClose ( $ah_Handle [ 0 ])
SetError ( 3 )
Return 0
EndIf
$ah_Handle [ 1 ] = $av_OpenProcess [ 0 ]
Return $ah_Handle
EndFunc
PHP Code:
Func _MemoryPointerRead ( $iv_Address , $ah_Handle , $av_Offset , $sv_Type = 'dword' )
If IsArray ( $av_Offset ) Then
If IsArray ( $ah_Handle ) Then
Local $iv_PointerCount = UBound ( $av_Offset ) - 1
Else
SetError ( 2 )
Return 0
EndIf
Else
SetError ( 1 )
Return 0
EndIf
Local $iv_Data [ 2 ], $i
Local $v_Buffer = DllStructCreate ( 'dword' )
For $i = 0 to $iv_PointerCount
If $i = $iv_PointerCount Then
$v_Buffer = DllStructCreate ( $sv_Type )
If @ Error Then
SetError (@ Error + 2 )
Return 0
EndIf
$iv_Address = '0x' & hex ( $iv_Data [ 1 ] + $av_Offset [ $i ])
DllCall ( $ah_Handle [ 0 ], 'int' , 'ReadProcessMemory' , 'int' , $ah_Handle [ 1 ], 'int' , $iv_Address , 'ptr' , DllStructGetPtr ( $v_Buffer ), 'int' , DllStructGetSize ( $v_Buffer ), 'int' , '' )
If @ Error Then
SetError ( 7 )
Return 0
EndIf
$iv_Data [ 1 ] = DllStructGetData ( $v_Buffer , 1 )
ElseIf $i = 0 Then
DllCall ( $ah_Handle [ 0 ], 'int' , 'ReadProcessMemory' , 'int' , $ah_Handle [ 1 ], 'int' , $iv_Address , 'ptr' , DllStructGetPtr ( $v_Buffer ), 'int' , DllStructGetSize ( $v_Buffer ), 'int' , '' )
If @ Error Then
SetError ( 7 )
Return 0
EndIf
$iv_Data [ 1 ] = DllStructGetData ( $v_Buffer , 1 )
Else
$iv_Address = '0x' & hex ( $iv_Data [ 1 ] + $av_Offset [ $i ])
DllCall ( $ah_Handle [ 0 ], 'int' , 'ReadProcessMemory' , 'int' , $ah_Handle [ 1 ], 'int' , $iv_Address , 'ptr' , DllStructGetPtr ( $v_Buffer ), 'int' , DllStructGetSize ( $v_Buffer ), 'int' , '' )
If @ Error Then
SetError ( 7 )
Return 0
EndIf
$iv_Data [ 1 ] = DllStructGetData ( $v_Buffer , 1 )
EndIf
Next
$iv_Data [ 0 ] = $iv_Address
Return $iv_Data
EndFunc
PHP Code:
Func _MemoryPointerWrite ( $iv_Address , $ah_Handle , $av_Offset , $v_Data , $sv_Type = 'dword' )
If IsArray ( $av_Offset ) Then
If IsArray ( $ah_Handle ) Then
Local $iv_PointerCount = UBound ( $av_Offset ) - 1
Else
SetError ( 2 )
Return 0
EndIf
Else
SetError ( 1 )
Return 0
EndIf
Local $iv_StructData , $i
Local $v_Buffer = DllStructCreate ( 'dword' )
For $i = 0 to $iv_PointerCount
If $i = $iv_PointerCount Then
$v_Buffer = DllStructCreate ( $sv_Type )
If @ Error Then
SetError (@ Error + 3 )
Return 0
EndIf
DllStructSetData ( $v_Buffer , 1 , $v_Data )
If @ Error Then
SetError ( 8 )
Return 0
EndIf
$iv_Address = '0x' & hex ( $iv_StructData + $av_Offset [ $i ])
DllCall ( $ah_Handle [ 0 ], 'int' , 'WriteProcessMemory' , 'int' , $ah_Handle [ 1 ], 'int' , $iv_Address , 'ptr' , DllStructGetPtr ( $v_Buffer ), 'int' , DllStructGetSize ( $v_Buffer ), 'int' , '' )
If @ Error Then
SetError ( 9 )
Return 0
Else
Return $iv_Address
EndIf
ElseIf $i = 0 Then
DllCall ( $ah_Handle [ 0 ], 'int' , 'ReadProcessMemory' , 'int' , $ah_Handle [ 1 ], 'int' , $iv_Address , 'ptr' , DllStructGetPtr ( $v_Buffer ), 'int' , DllStructGetSize ( $v_Buffer ), 'int' , '' )
If @ Error Then
SetError ( 3 )
Return 0
EndIf
$iv_StructData = DllStructGetData ( $v_Buffer , 1 )
Else
$iv_Address = '0x' & hex ( $iv_StructData + $av_Offset [ $i ])
DllCall ( $ah_Handle [ 0 ], 'int' , 'ReadProcessMemory' , 'int' , $ah_Handle [ 1 ], 'int' , $iv_Address , 'ptr' , DllStructGetPtr ( $v_Buffer ), 'int' , DllStructGetSize ( $v_Buffer ), 'int' , '' )
If @ Error Then
SetError ( 3 )
Return 0
EndIf
$iv_StructData = DllStructGetData ( $v_Buffer , 1 )
EndIf
Next
EndFunc
PHP Code:
Func _MemoryClose ( $ah_Handle )
If Not IsArray ( $ah_Handle ) Then
SetError ( 1 )
Return 0
EndIf
DllCall ( $ah_Handle [ 0 ], 'int' , 'CloseHandle' , 'int' , $ah_Handle [ 1 ])
If Not @ Error Then
DllClose ( $ah_Handle [ 0 ])
Return 1
Else
DllClose ( $ah_Handle [ 0 ])
SetError ( 2 )
Return 0
EndIf
EndFunc
05/28/2010, 20:13
#3
elite*gold: 0
Join Date: Dec 2009
Posts: 705
Received Thanks: 312
@FooFightah , sind das alles Beispiele?
seh da grad nich so wirklich durch oO
mfg
05/28/2010, 20:59
#4
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Das sind die Funktionen, die du brauchts, um:
- Dir den ProcessHandle zu holen (_MemoryOpen)
- Pointer auszulesen (_MemoryPointerRead)
- Auf Pointer zu schreiben (_MemoryPointerWrite)
- Und um den Handle wieder zu schließen (_MemoryClose)
Ich hoffe du weißt, was Funktionen sind und wie man sie verwendet.
Ansonsten les dir ein Tutorial durch oder lern am besten erstmal die Grundlagen
05/29/2010, 02:28
#5
elite*gold: 0
Join Date: Dec 2009
Posts: 705
Received Thanks: 312
ich beherrsche die grundlagen ^^
und ich weiß auch welche funktionen ich brauche und was sie bedeuten aber nich wie ich sie einsetze
mfg ^^
05/29/2010, 12:59
#6
elite*gold: 20
Join Date: Dec 2009
Posts: 1,850
Received Thanks: 484
Wenn du das nicht weißt, dann beherrschst du nicht die Grundlagen
Naja ich sag nur Google ftw.
05/29/2010, 13:44
#7
elite*gold: 0
Join Date: Dec 2009
Posts: 705
Received Thanks: 312
wenn du es meinst -.-
ich beschäftige mich erstes mal mit gamehacking und für normale und einfache script brauch man kein Memory pointer read oO
mfg
05/29/2010, 19:09
#8
elite*gold: 95
Join Date: Jul 2009
Posts: 3,543
Received Thanks: 5,065
stimmt, fürs einfach gamehacking brauchste nur _MemoryRead / _MemoryWrite
Naja stimme FooFightah zu, du beherschst die Grundlagen nicht. Goolge FTW...oder schon nur die Boardsuche :P
05/29/2010, 19:42
#9
elite*gold: 0
Join Date: May 2010
Posts: 149
Received Thanks: 45
... und nen richtiger Game Hacker hat auch die :
#include <Pointer.au3>
mit drin ^^
05/29/2010, 20:05
#10
elite*gold: 0
Join Date: Dec 2009
Posts: 705
Received Thanks: 312
ich hab nur nach hilfe gefragt o.O
und nicht nach flame -.-
mfg
05/29/2010, 20:11
#11
elite*gold: 0
Join Date: May 2010
Posts: 149
Received Thanks: 45
.... und ich nur Tip als Ironie gegeben !
Woher holen manche immer solche Paranoia
Ach egal, nächstes mal besser gar nix sagen und auflaufen lassen -.- to
Similar Threads
[RELEASE] [OPEN SOURCE] CE 5.5 Pointer to AutoIt Source-Code
02/13/2011 - AutoIt - 6 Replies
Habe heute erst gemerkt, dass es hier eine AutoIt Sektion gibt xD also poste ich mal mein Programm mit rein.
Funktionsweise:
1. in CE Rechtsklick auf den Pointer und auf "Copy" klicken
2. in meinem Programm auf "Code generieren" klicken
3. In euer Scite gehen und einfügen
Hier ist der Source Code vom Programm:
[Hilfe] Pointer in Source
05/30/2010 - AutoIt - 15 Replies
Hey Community :D
ich wollte mal fragen ob jemand von euch bereit wäre mir zu helfen :rolleyes:
die Pointer in meine Source zu setzen ? :D
Ich bin noch AutoIt Anfänger^^
beherrsche Grundkentnisse soweit
aber hab mich soweit nicht mit gamehacking beschäftigt :P
wer bereit ist soll mir entweder ne pn schicken oder mich in skype adden^^
Frage: Wie findet man zB UG Pointer?Speed pointer?
03/30/2010 - Kal Online - 2 Replies
kann mir einer sagen wie man UG/Speed pointer finden kann usw^^´ß#
CheatEngine 5.5 Pointer to AutoIt3 Source-Code
02/22/2010 - 4Story Hacks, Bots, Cheats & Exploits - 9 Replies
Mir war gerade mal so danach und da habe ich einen Konverter geschrieben, weil manche sich damit schwer haben die Informationen aus CE in Autoit eintragen. Werden zwar eh die wenigsten brauchen, aber egal xD
Funktionsweise:
1. in CE Rechtsklick auf den Pointer und auf "Copy" klicken
2. in meinem Programm auf "Code generieren" klicken
3. In euer Scite gehen und einfügen
Hier ist der Source Code vom Programm:
All times are GMT +2. The time now is 15:18 .