|
You last visited: Today at 21:31
Advertisement
[Tutorial] How To Make Your (Ingame & AOB-Scan) trainer
Discussion on [Tutorial] How To Make Your (Ingame & AOB-Scan) trainer within the S4 League Hacks, Bots, Cheats & Exploits forum part of the S4 League category.
08/20/2015, 23:29
|
#166
|
elite*gold: 157
Join Date: Feb 2012
Posts: 1,590
Received Thanks: 603
|
Quote:
Originally Posted by HaMaDa..
It works but i think u should fix the normal / hacked values.
|
whichone should i change?
|
|
|
08/20/2015, 23:34
|
#167
|
elite*gold: 37
Join Date: May 2014
Posts: 1,835
Received Thanks: 9,833
|
Quote:
Originally Posted by AnimeLover-MY♥
whichone should i change?
|
Fixed all of them.
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NoMadMemory.au3>
$InfSp = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"D945F88BE55DC3CCCCCCCCCCCCCC558BEC51894D" )
$200hp = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"D945FC8BE55DC3CCCCCCCCCCCCCCCCCCCCCCCCCC5 58B EC51894DFC8D4508508B0D64")
$InfAmmo = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"7605E9870000008B55E8")
$GodMode = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"7205E9760B00008B4D90")
$NoLaser = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"6A218D4D9851E8")
$InstantRespawn = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"043B48087209C745B001000000EB07C745B000000000 0FB655B085D20F85D4")
$1Hit = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"D945FC8BE55DC3CCCCCCCCCCCC558BEC51")
$SpeedHackRun = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"006A038D95C8")
$SpeedHackWalk = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"6A038D853CFEFFFF50E8")
$Invisible = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"74108B55FC8B8AA0020000")
$Suicide = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"D945FC8BE55DC3CCCCCCCCCCCCCCCCCCCCCCCCCC558B EC51894DFC8D4508508B0D70")
$HitRange = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"D945C48B4DF464890D")
#Region ### START Koda GUI section ### Form=c:\users\ems\desktop\tick all.kxf
$Form1_1 = GUICreate("AnimeLover's Trainer", 565, 271, 192, 110)
$Group1 = GUICtrlCreateGroup("Group1", 8, 16, 545, 241)
$Checkbox1 = GUICtrlCreateCheckbox("Inf Sp", 24, 64, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox2 = GUICtrlCreateCheckbox("Godmode", 24, 104, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox3 = GUICtrlCreateCheckbox("1Hit", 24, 144, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox4 = GUICtrlCreateCheckbox("Invisible", 24, 184, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox5 = GUICtrlCreateCheckbox("200HP", 168, 64, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Checkbox6 = GUICtrlCreateCheckbox("No Laser", 168, 112, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox7 = GUICtrlCreateCheckbox("Speed Hack (run)", 168, 144, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox8 = GUICtrlCreateCheckbox("Suicide", 168, 184, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox9 = GUICtrlCreateCheckbox("Instant Respawn", 312, 104, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox10 = GUICtrlCreateCheckbox("Inf Ammo", 312, 64, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox11 = GUICtrlCreateCheckbox("Speed Hack (walk)", 312, 144, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox12 = GUICtrlCreateCheckbox("Hit Range", 312, 184, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Button1 = GUICtrlCreateButton("EXIT", 464, 104, 81, 73)
GUICtrlSetFont(-1, 16, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0x800080)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$Pid = ProcessExists("S4Client.exe")
$OPEN = _MemoryOpen ($Pid)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Exit
Case $Checkbox1
If GUICtrlRead($Checkbox1) = 1 Then
_memorywrite($InfSp,$open,"2348303835","long")
Else
_memorywrite($InfSp,$open,"2348303833","long")
EndIf
Case $Checkbox2
If GUICtrlRead($Checkbox2) = 1 Then
_memorywrite($200HP,$open,"2348565979","long")
Else
_memorywrite($200HP,$open,"2348565977","long")
EndIf
Case $Checkbox3
If GUICtrlRead($Checkbox3) = 1 Then
_memorywrite($InfAmmo,$open,"2280231056","long")
Else
_memorywrite($InfAmmo,$open,"2280195446","long")
EndIf
Case $Checkbox4
If GUICtrlRead($Checkbox4) = 1 Then
_memorywrite($Godmode,$open,"2348565979","long")
Else
_memorywrite($Godmode,$open,"2348565977","long")
EndIf
Case $Checkbox5
If GUICtrlRead($Checkbox5) = 1 Then
_memorywrite($NoLaser,$open,"1301115242","long")
Else
_memorywrite($NoLaser,$open,"1301094762","long")
EndIf
Case $Checkbox6
If GUICtrlRead($Checkbox6) = 1 Then
_memorywrite($InstantRespawn,$open,"138951424","lo ng")
Else
_memorywrite($InstantRespawn,$open,"138951428","lo ng")
EndIf
Case $Checkbox7
If GUICtrlRead($Checkbox7) = 1 Then
_memorywrite($1Hit,$open,"2348565979","long")
Else
_memorywrite($1Hit,$open,"2348565977","long")
EndIf
Case $Checkbox8
If GUICtrlRead($Checkbox8) = 1 Then
_memorywrite($SpeedHackRun,$open,"2366073344","lon g")
Else
_memorywrite($SpeedHackRun,$open,"2365811200","lon g")
EndIf
Case $Checkbox9
If GUICtrlRead($Checkbox9) = 1 Then
_memorywrite($SpeedHackWalk,$open,"2366073344","lo ng")
Else
_memorywrite($SpeedHackWalk,$open,"2365811200","lo ng")
EndIf
Case $Checkbox10
If GUICtrlRead($Checkbox10) = 1 Then
_memorywrite($Invisible,$open,"1435209872","long")
Else
_memorywrite($Invisible,$open,"1435177076","long")
EndIf
Case $Checkbox11
If GUICtrlRead($Checkbox11) = 1 Then
_memorywrite($Suicide,$open,"2348565979","long")
Else
_memorywrite($Suicide,$open,"2348565977","long")
EndIf
Case $Checkbox12
If GUICtrlRead($Checkbox12) = 1 Then
_memorywrite($HitRange,$open,"2344895963","long")
Else
_memorywrite($HitRange,$open,"2344895961","long")
EndIf
EndSwitch
WEnd
Func _MemoryScan($ah_Handle, $pattern, $after = False, $iv_addrStart = 0x00000000, $iv_addrEnd = 0X0FFFFFFF, $step = 51200)
If Not IsArray($ah_Handle) Then
SetError(1)
Return -1
EndIf
$pattern = StringRegExpReplace($pattern, "[^0123456789ABCDEFabcdef.]", "")
If StringLen($pattern) = 0 Then
SetError(2)
Return -2
EndIf
For $addr = $iv_addrStart To $iv_addrEnd Step $step - (StringLen($pattern) / 2)
StringRegExp(_MemoryRead($addr, $ah_Handle, "byte[" & $step & "]"), $pattern, 1, 2)
If Not @error Then
If $after Then
Return StringFormat("0x%.8X", $addr + ((@extended - 2) / 2))
Else
Return StringFormat("0x%.8X", $addr + ((@extended - StringLen($pattern) - 2) / 2))
EndIf
EndIf
Next
Return -3
EndFunc ;==>_MemoryScan
|
|
|
08/20/2015, 23:50
|
#168
|
elite*gold: 157
Join Date: Feb 2012
Posts: 1,590
Received Thanks: 603
|
Quote:
Originally Posted by HaMaDa..
Fixed all of them.
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <NoMadMemory.au3>
$InfSp = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"D945F88BE55DC3CCCCCCCCCCCCCC558BEC51894D" )
$200hp = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"D945FC8BE55DC3CCCCCCCCCCCCCCCCCCCCCCCCCC5 58B EC51894DFC8D4508508B0D64")
$InfAmmo = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"7605E9870000008B55E8")
$GodMode = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"7205E9760B00008B4D90")
$NoLaser = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"6A218D4D9851E8")
$InstantRespawn = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"043B48087209C745B001000000EB07C745B000000000 0FB655B085D20F85D4")
$1Hit = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"D945FC8BE55DC3CCCCCCCCCCCC558BEC51")
$SpeedHackRun = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"006A038D95C8")
$SpeedHackWalk = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"6A038D853CFEFFFF50E8")
$Invisible = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"74108B55FC8B8AA0020000")
$Suicide = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"D945FC8BE55DC3CCCCCCCCCCCCCCCCCCCCCCCCCC558B EC51894DFC8D4508508B0D70")
$HitRange = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.ex e")),"D945C48B4DF464890D")
#Region ### START Koda GUI section ### Form=c:\users\ems\desktop\tick all.kxf
$Form1_1 = GUICreate("AnimeLover's Trainer", 565, 271, 192, 110)
$Group1 = GUICtrlCreateGroup("Group1", 8, 16, 545, 241)
$Checkbox1 = GUICtrlCreateCheckbox("Inf Sp", 24, 64, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox2 = GUICtrlCreateCheckbox("Godmode", 24, 104, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox3 = GUICtrlCreateCheckbox("1Hit", 24, 144, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox4 = GUICtrlCreateCheckbox("Invisible", 24, 184, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox5 = GUICtrlCreateCheckbox("200HP", 168, 64, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Checkbox6 = GUICtrlCreateCheckbox("No Laser", 168, 112, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox7 = GUICtrlCreateCheckbox("Speed Hack (run)", 168, 144, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox8 = GUICtrlCreateCheckbox("Suicide", 168, 184, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox9 = GUICtrlCreateCheckbox("Instant Respawn", 312, 104, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox10 = GUICtrlCreateCheckbox("Inf Ammo", 312, 64, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox11 = GUICtrlCreateCheckbox("Speed Hack (walk)", 312, 144, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Checkbox12 = GUICtrlCreateCheckbox("Hit Range", 312, 184, 137, 41)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0xFF0000)
$Button1 = GUICtrlCreateButton("EXIT", 464, 104, 81, 73)
GUICtrlSetFont(-1, 16, 800, 0, "Palatino Linotype")
GUICtrlSetColor(-1, 0x800080)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$Pid = ProcessExists("S4Client.exe")
$OPEN = _MemoryOpen ($Pid)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
Exit
Case $Checkbox1
If GUICtrlRead($Checkbox1) = 1 Then
_memorywrite($InfSp,$open,"2348303835","long")
Else
_memorywrite($InfSp,$open,"2348303833","long")
EndIf
Case $Checkbox2
If GUICtrlRead($Checkbox2) = 1 Then
_memorywrite($200HP,$open,"2348565979","long")
Else
_memorywrite($200HP,$open,"2348565977","long")
EndIf
Case $Checkbox3
If GUICtrlRead($Checkbox3) = 1 Then
_memorywrite($InfAmmo,$open,"2280231056","long")
Else
_memorywrite($InfAmmo,$open,"2280195446","long")
EndIf
Case $Checkbox4
If GUICtrlRead($Checkbox4) = 1 Then
_memorywrite($Godmode,$open,"2348565979","long")
Else
_memorywrite($Godmode,$open,"2348565977","long")
EndIf
Case $Checkbox5
If GUICtrlRead($Checkbox5) = 1 Then
_memorywrite($NoLaser,$open,"1301115242","long")
Else
_memorywrite($NoLaser,$open,"1301094762","long")
EndIf
Case $Checkbox6
If GUICtrlRead($Checkbox6) = 1 Then
_memorywrite($InstantRespawn,$open,"138951424","lo ng")
Else
_memorywrite($InstantRespawn,$open,"138951428","lo ng")
EndIf
Case $Checkbox7
If GUICtrlRead($Checkbox7) = 1 Then
_memorywrite($1Hit,$open,"2348565979","long")
Else
_memorywrite($1Hit,$open,"2348565977","long")
EndIf
Case $Checkbox8
If GUICtrlRead($Checkbox8) = 1 Then
_memorywrite($SpeedHackRun,$open,"2366073344","lon g")
Else
_memorywrite($SpeedHackRun,$open,"2365811200","lon g")
EndIf
Case $Checkbox9
If GUICtrlRead($Checkbox9) = 1 Then
_memorywrite($SpeedHackWalk,$open,"2366073344","lo ng")
Else
_memorywrite($SpeedHackWalk,$open,"2365811200","lo ng")
EndIf
Case $Checkbox10
If GUICtrlRead($Checkbox10) = 1 Then
_memorywrite($Invisible,$open,"1435209872","long")
Else
_memorywrite($Invisible,$open,"1435177076","long")
EndIf
Case $Checkbox11
If GUICtrlRead($Checkbox11) = 1 Then
_memorywrite($Suicide,$open,"2348565979","long")
Else
_memorywrite($Suicide,$open,"2348565977","long")
EndIf
Case $Checkbox12
If GUICtrlRead($Checkbox12) = 1 Then
_memorywrite($HitRange,$open,"2344895963","long")
Else
_memorywrite($HitRange,$open,"2344895961","long")
EndIf
EndSwitch
WEnd
Func _MemoryScan($ah_Handle, $pattern, $after = False, $iv_addrStart = 0x00000000, $iv_addrEnd = 0X0FFFFFFF, $step = 51200)
If Not IsArray($ah_Handle) Then
SetError(1)
Return -1
EndIf
$pattern = StringRegExpReplace($pattern, "[^0123456789ABCDEFabcdef.]", "")
If StringLen($pattern) = 0 Then
SetError(2)
Return -2
EndIf
For $addr = $iv_addrStart To $iv_addrEnd Step $step - (StringLen($pattern) / 2)
StringRegExp(_MemoryRead($addr, $ah_Handle, "byte[" & $step & "]"), $pattern, 1, 2)
If Not @error Then
If $after Then
Return StringFormat("0x%.8X", $addr + ((@extended - 2) / 2))
Else
Return StringFormat("0x%.8X", $addr + ((@extended - StringLen($pattern) - 2) / 2))
EndIf
EndIf
Next
Return -3
EndFunc ;==>_MemoryScan
|
i dont know why it keep crashing for me xD
|
|
|
08/20/2015, 23:53
|
#169
|
elite*gold: 37
Join Date: May 2014
Posts: 1,835
Received Thanks: 9,833
|
Quote:
Originally Posted by AnimeLover-MY♥
i dont know why it keep crashing for me xD
|
Delete the space between lo ng and make it long.
|
|
|
08/21/2015, 00:12
|
#170
|
elite*gold: 157
Join Date: Feb 2012
Posts: 1,590
Received Thanks: 603
|
Quote:
Originally Posted by HaMaDa..
Delete the space between lo ng and make it long.
|
haha LOL the source code is not the same with what im write on "checkbox" xD ,
|
|
|
08/21/2015, 00:24
|
#171
|
elite*gold: 0
Join Date: Jun 2015
Posts: 79
Received Thanks: 30
|
HaMaDa i start to make project from first but you make different think i cant make it in tutorial you said to start autoit left click and new then autoit when i do left click and new autoit dosn't appear what i do
|
|
|
08/21/2015, 00:28
|
#172
|
elite*gold: 37
Join Date: May 2014
Posts: 1,835
Received Thanks: 9,833
|
Quote:
Originally Posted by lphawolf
HaMaDa i start to make project from first but you make different think i cant make it in tutorial you said to start autoit left click and new then autoit when i do left click and new autoit dosn't appear what i do
|
Go to C:/Programfiles 86/Autoit/Scite/Scite then left click and click edit or open and it should appear.
|
|
|
08/21/2015, 00:50
|
#173
|
elite*gold: 0
Join Date: Aug 2013
Posts: 1,996
Received Thanks: 1,842
|
Quote:
Originally Posted by HaMaDa..
Go to C:/Programfiles 86/Autoit/Scite/Scite then left click and click edit or open and it should appear.
|
Nop^^ He's having the same thing as me i guess.
Au3 files are having the Koda logo.
And they will be opened with koda.
|
|
|
08/21/2015, 00:57
|
#174
|
elite*gold: 37
Join Date: May 2014
Posts: 1,835
Received Thanks: 9,833
|
Quote:
Originally Posted by Djordyy
Nop^^ He's having the same thing as me i guess.
Au3 files are having the Koda logo.
And they will be opened with koda.
|
Maybe reinstall au3 or just click on " Open with " and open it in au3.
|
|
|
08/21/2015, 01:12
|
#175
|
elite*gold: 0
Join Date: Jun 2015
Posts: 79
Received Thanks: 30
|
ok after i finish the source code i press on tools then compile thats right or wrong
|
|
|
08/21/2015, 01:14
|
#176
|
elite*gold: 37
Join Date: May 2014
Posts: 1,835
Received Thanks: 9,833
|
Right.
|
|
|
08/21/2015, 01:16
|
#177
|
elite*gold: 0
Join Date: Jun 2015
Posts: 79
Received Thanks: 30
|
but my code dosn't work
when i press on infsp nothing happen
Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NoMadMemory.au3>
$InfSp = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.exe")),"D945F88BE55DC3CCCCCCCCCCCCCC558BEC51894D")
#Region ### START Koda GUI section ### Form=
$alphawolf = GUICreate("alphawolf", 615, 437, 192, 124)
$Exit = GUICtrlCreateButton("Exit", 240, 208, 75, 25)
$Checkbox1 = GUICtrlCreateCheckbox("InfSp", 248, 176, 97, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$Pid = ProcessExists("S4Client.exe")
$OPEN = _MemoryOpen ($Pid)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Exit
Exit
Case $Checkbox1
If GUICtrlRead($Checkbox1) = 1 Then
_memorywrite($InfSp,$open,"2348303835","Long")
Else
_memorywrite($InfSp,$open,"2348303833","Long")
EndIf
EndSwitch
WEnd
Func _MemoryScan($ah_Handle, $pattern, $after = False, $iv_addrStart = 0x00000000, $iv_addrEnd = 0X0FFFFFFF, $step = 51200)
If Not IsArray($ah_Handle) Then
SetError(1)
Return -1
EndIf
$pattern = StringRegExpReplace($pattern, "[^0123456789ABCDEFabcdef.]", "")
If StringLen($pattern) = 0 Then
SetError(2)
Return -2
EndIf
For $addr = $iv_addrStart To $iv_addrEnd Step $step - (StringLen($pattern) / 2)
StringRegExp(_MemoryRead($addr, $ah_Handle, "byte[" & $step & "]"), $pattern, 1, 2)
If Not @error Then
If $after Then
Return StringFormat("0x%.8X", $addr + ((@extended - 2) / 2))
Else
Return StringFormat("0x%.8X", $addr + ((@extended - StringLen($pattern) - 2) / 2))
EndIf
EndIf
Next
Return -3
EndFunc ;==>_MemoryScan
|
|
|
08/21/2015, 01:20
|
#178
|
elite*gold: 37
Join Date: May 2014
Posts: 1,835
Received Thanks: 9,833
|
Quote:
Originally Posted by lphawolf
but my code dosn't work
when i press on infsp nothing happen
Code:
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <NoMadMemory.au3>
$InfSp = _MemoryScan(_MemoryOpen(ProcessExists("S4Client.exe")),"D945F88BE55DC3CCCCCCCCCCCCCC558BEC51894D")
#Region ### START Koda GUI section ### Form=
$alphawolf = GUICreate("alphawolf", 615, 437, 192, 124)
$Exit = GUICtrlCreateButton("Exit", 240, 208, 75, 25)
$Checkbox1 = GUICtrlCreateCheckbox("InfSp", 248, 176, 97, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$Pid = ProcessExists("S4Client.exe")
$OPEN = _MemoryOpen ($Pid)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Exit
Exit
Case $Checkbox1
If GUICtrlRead($Checkbox1) = 1 Then
_memorywrite($InfSp,$open,"2348303835","Long")
Else
_memorywrite($InfSp,$open,"2348303833","Long")
EndIf
EndSwitch
WEnd
Func _MemoryScan($ah_Handle, $pattern, $after = False, $iv_addrStart = 0x00000000, $iv_addrEnd = 0X0FFFFFFF, $step = 51200)
If Not IsArray($ah_Handle) Then
SetError(1)
Return -1
EndIf
$pattern = StringRegExpReplace($pattern, "[^0123456789ABCDEFabcdef.]", "")
If StringLen($pattern) = 0 Then
SetError(2)
Return -2
EndIf
For $addr = $iv_addrStart To $iv_addrEnd Step $step - (StringLen($pattern) / 2)
StringRegExp(_MemoryRead($addr, $ah_Handle, "byte[" & $step & "]"), $pattern, 1, 2)
If Not @error Then
If $after Then
Return StringFormat("0x%.8X", $addr + ((@extended - 2) / 2))
Else
Return StringFormat("0x%.8X", $addr + ((@extended - StringLen($pattern) - 2) / 2))
EndIf
EndIf
Next
Return -3
EndFunc ;==>_MemoryScan
|
Nah, it should work.
|
|
|
08/21/2015, 02:20
|
#179
|
elite*gold: 0
Join Date: Jun 2015
Posts: 79
Received Thanks: 30
|
HaMaDa i do every thing see in this video and the trainer when i press in infsp
nothing happens
in this video
|
|
|
08/21/2015, 03:00
|
#180
|
elite*gold: 0
Join Date: Aug 2013
Posts: 1,996
Received Thanks: 1,842
|
Quote:
Originally Posted by lphawolf
HaMaDa i do every thing see in this video and the trainer when i press in infsp
nothing happens
in this video

|
Video is private so no one can watch it. xd
|
|
|
 |
|
Similar Threads
|
[Tutorial] Making an Ingame Trainer Using Visual Basic
09/26/2015 - S4 League Hacks, Bots, Cheats & Exploits - 43 Replies
Tutorial ]
https://www.youtube.com/watch?v=dTFO22tyFAA
First :
Designing Section :
First you should open "Visual Studio" then New Project Then new windows Form.
|
S4League Ingame-Trainer 2015 [by HaMaDa..] {Tutorial}
04/05/2015 - S4 League Hacks, Bots, Cheats & Exploits - 16 Replies
#Closed
Deleted complete Tutorial.
Grüße ._.
|
[Tutorial] How To Make Ingame Hack In VB.Net
12/11/2014 - S4 League Hacks, Bots, Cheats & Exploits - 26 Replies
http://i.epvpimg.com/ePJve.jpg
ADVERTISE!!!! ALL SPAMMERS OR WHINERS EVERYONE IS ENTITLED LEARN!!!!
Me Finish programming, so I have a free gift for all epvpers as programming so here is a tutorial to make a simple Hack ingame
1º First Need Next Programs :
Visual Studio 2013 Update 2 Download Here : Visual Studio 2013 Update 2
|
[Tutorial]How to make a Trainer
08/23/2014 - S4 League Hacks, Bots, Cheats & Exploits - 79 Replies
#Close!
Hello guys,
I've made a tutorial before about how to create a trainer for s4 league, but it wasn't good explained, this tutorial is better I think, I've added more stuff, and explained more, I hope you like this one, and if there is mistakes just type in and do not flame since it is to big and I may have mistakes,
Chapters Info]
Creating a simple Design.
Improving our design and adding Functions of the trainer.
Adding a Picture and Audio.
|
All times are GMT +1. The time now is 21:31.
|
|