Quote:
Originally Posted by Gwfarming24
ive been testing other bots myself some will work with update headers and some wont
|
Thats not the solution. Cause memory offsets etc changed. You always need to update bots.
Code:
;~ Description: Injects GWA˛ into the game client.
Func Initialize($aGW, $bChangeTitle = True, $aUseStringLog = False, $aUseEventSystem = True)
Local $lWinList, $lWinList2, $mGWProcessId
$mUseStringLog = $aUseStringLog
$mUseEventSystem = $aUseEventSystem
If IsString($aGW) Then
Local $lProcessList = ProcessList("gw.exe")
For $i = 1 To $lProcessList[0][0]
$mGWProcessId = $lProcessList[$i][1]
$mGWWindowHandle = GetHwnd($mGWProcessId)
MemoryOpen($mGWProcessId)
If $mGWProcHandle Then
If StringRegExp(ScanForCharname(), $aGW) = 1 Then ExitLoop
EndIf
MemoryClose()
$mGWProcHandle = 0
Next
Else
$mGWProcessId = $aGW
$mGWWindowHandle = GetHwnd($mGWProcessId)
MemoryOpen($aGW)
ScanForCharname()
EndIf
If $mGWProcHandle = 0 Then Return 0
Scan()
....
Ye this changed dude but as i said the whole memory offsets changed. You need to figure every header, every address out again.
This function calls many many other functions.