Here is more stuff. I believe this is the program used to find the offsets its in VB if im correct.
Code: Select all
#NoTrayIcon
#include <GUIConstantsEx>
#include <NomadMemory>
$Tool = GUICreate ( "GW Memory Update" , 241 , 152 , 193 , 125 )
$WriteTXT = GUICtrlCreateButton ( "Write File '.txt'" , 8 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$Exit = GUICtrlCreateButton ( "Exit" , 120 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$lst_Box = GUICtrlCreateList ( "" , 8 , 8 , 225 , 71 )
GUICtrlSetState (- 1 , $GUI_DISABLE )
GUICtrlSetData (- 1 , " ValvePro" )
GUICtrlSetFont (- 1 , 36 , 800 , 2 , "Times New Roman" )
$ProgressBar = GUICtrlCreateProgress ( 8 , 88 , 225 , 17 )
GUISetState (@ SW_SHOW )
WinSetOnTop ( $Tool , "" , 1 )
Global $StartMem_Position_D , $EndMem_Position_D , $ScanValue , $hprocess , $PID , $i , $e , $AddItem
Global $txtname = 'GuildWars Memory Update.txt'
While True
Switch GUIGetMsg ()
Case $GUI_EVENT_CLOSE , $Exit
Exit
Case $WriteTXT
guictrlsetstate ( $WriteTXT , $GUI_DISABLE )
guictrlsetstate ( $Exit , $GUI_DISABLE )
_GetNewAddress ()
_WriteFileTXT ()
guictrlsetstate ( $WriteTXT , $GUI_ENABLE )
guictrlsetstate ( $Exit , $GUI_ENABLE )
EndSwitch
WEnd
Func _Scan_Position_D ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_D = 0x00D00000
Do
$i = $i + 1
GUICtrlSetData ( $ProgressBar , $i / 20971 )
$ScanValue = _MemoryRead ( $StartMem_Position_D , $hprocess , 'float' )
$StartMem_Position_D += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_D - 1 )
EndFunc
Func _Scan_Position_A ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_A = 0x00A00000
Do
$e = $e + 1
GUICtrlSetData ( $ProgressBar , 50 +( $e / 20971 ))
$ScanValue = _MemoryRead ( $StartMem_Position_A , $hprocess , 'float' )
$StartMem_Position_A += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_A - 1 )
EndFunc
Func _GetNewAddress ()
Global $NewPosition = _Scan_Position_D ()
GUICtrlSetData ( $ProgressBar , 50 )
Global $NewPosition_2 = _Scan_Position_A ()
GUICtrlSetData ( $ProgressBar , 100 )
Global $NewCourse = $NewPosition_2 + 609
Global $NewDeath = $NewPosition_2 + 884
Global $NewMouseCoord_X = $NewPosition_2 + 2432
Global $NewMouseCoord_Y = $NewPosition_2 + 2436
Global $NewTown_OutpostID = $NewPosition_2 + 4408
Global $NewExAreaID = $NewPosition_2 - 9192
Global $NewZoomExpanderA = $NewPosition_2 + 547
Global $NewZoomExpanderB = $NewPosition_2 + 546
Global $NewNoNpc = $NewPosition_2 + 7844
Global $NewLVL = $NewPosition_2 - 9120
Global $NewPVP_PVE = $NewPosition_2 - 9108
Global $NewCharName = $NewPosition_2 - 20272
Global $NewMouse_Text = $NewPosition_2 - 88
Global $NewPing = $NewPosition_2 - 20348
Global $NewMouse_LocationA = $NewPosition_2 + 56011
Global $NewMouse_LocationB = $NewPosition_2 + 56010
Global $NewBagId = $NewPosition_2 - 13280
Global $NewInterfaceSize = $NewPosition_2 - 14633
Global $NewNpcIDnear = $NewPosition - 1168
Global $NewNpcIDselect = $NewPosition - 1200
Global $NewCheckMap = $NewPosition - 160
Global $NewNoMessage = $NewPosition + 1688
Global $NewMouse_SelectId = $NewPosition - 1220
Global $NewPlayerStatus = $NewPosition + 3731
EndFunc
Func _WriteFileTXT ()
FileWriteLine ( $txtname , '=======================' & 'Update: ' & @ MDAY & '.' & @ MON & '===================' )
FileWriteLine ( $txtname , '=======================' & 'Section A' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition_2 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition_2 + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Death --> [' & Hex ( $NewDeath ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Course --> [' & Hex ( $NewCourse ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord X --> [' & Hex ( $NewMouseCoord_X ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord Y --> [' & Hex ( $NewMouseCoord_Y ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Town_OutpostID --> [' & Hex ( $NewTown_OutpostID )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ExAreaID --> [' & Hex ( $NewExAreaID ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander A --> [' & Hex ( $NewZoomExpanderA ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander B --> [' & Hex ( $NewZoomExpanderB ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New NoNpc --> [' & Hex ( $NewNoNpc ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New LVL --> [' & Hex ( $NewLVL ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New PVP_PVE --> [' & Hex ( $NewPVP_PVE ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Ping --> [' & Hex ( $NewPing ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CharName --> [' & Hex ( $NewCharName ) & ']' & @ tab & 'unicode[i]' )
FileWriteLine ( $txtname , 'New InterfaceSize --> [' & Hex ( $NewInterfaceSize ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_Text --> [' & Hex ( $NewMouse_Text ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationA --> [' & Hex ( $NewMouse_LocationA )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationB --> [' & Hex ( $NewMouse_LocationB )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New BagId --> [' & Hex ( $NewBagId ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , '=======================' & 'Section D' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Npc_ID_near --> [' & Hex ( $NewNpcIDnear ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Npc_ID_select --> [' & Hex ( $NewNpcIDselect ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CheckMap --> [' & Hex ( $NewCheckMap ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_SelectId --> [' & Hex ( $NewMouse_SelectId ) & ']' & @ tab & 'int' )
EndFunc
& #NoTrayIcon
#include <GUIConstantsEx>
#include <NomadMemory>
$Tool = GUICreate ( "GW Memory Update" , 241 , 152 , 193 , 125 )
$WriteTXT = GUICtrlCreateButton ( "Write File '.txt'" , 8 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$Exit = GUICtrlCreateButton ( "Exit" , 120 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$lst_Box = GUICtrlCreateList ( "" , 8 , 8 , 225 , 71 )
GUICtrlSetState (- 1 , $GUI_DISABLE )
GUICtrlSetData (- 1 , " ValvePro" )
GUICtrlSetFont (- 1 , 36 , 800 , 2 , "Times New Roman" )
$ProgressBar = GUICtrlCreateProgress ( 8 , 88 , 225 , 17 )
GUISetState (@ SW_SHOW )
WinSetOnTop ( $Tool , "" , 1 )
Global $StartMem_Position_D , $EndMem_Position_D , $ScanValue , $hprocess , $PID , $i , $e , $AddItem
Global $txtname = 'GuildWars Memory Update.txt'
While True
Switch GUIGetMsg ()
Case $GUI_EVENT_CLOSE , $Exit
Exit
Case $WriteTXT
guictrlsetstate ( $WriteTXT , $GUI_DISABLE )
guictrlsetstate ( $Exit , $GUI_DISABLE )
_GetNewAddress ()
_WriteFileTXT ()
guictrlsetstate ( $WriteTXT , $GUI_ENABLE )
guictrlsetstate ( $Exit , $GUI_ENABLE )
EndSwitch
WEnd
Func _Scan_Position_D ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_D = 0x00D00000
Do
$i = $i + 1
GUICtrlSetData ( $ProgressBar , $i / 20971 )
$ScanValue = _MemoryRead ( $StartMem_Position_D , $hprocess , 'float' )
$StartMem_Position_D += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_D - 1 )
EndFunc
Func _Scan_Position_A ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_A = 0x00A00000
Do
$e = $e + 1
GUICtrlSetData ( $ProgressBar , 50 +( $e / 20971 ))
$ScanValue = _MemoryRead ( $StartMem_Position_A , $hprocess , 'float' )
$StartMem_Position_A += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_A - 1 )
EndFunc
Func _GetNewAddress ()
Global $NewPosition = _Scan_Position_D ()
GUICtrlSetData ( $ProgressBar , 50 )
Global $NewPosition_2 = _Scan_Position_A ()
GUICtrlSetData ( $ProgressBar , 100 )
Global $NewCourse = $NewPosition_2 + 609
Global $NewDeath = $NewPosition_2 + 884
Global $NewMouseCoord_X = $NewPosition_2 + 2432
Global $NewMouseCoord_Y = $NewPosition_2 + 2436
Global $NewTown_OutpostID = $NewPosition_2 + 4408
Global $NewExAreaID = $NewPosition_2 - 9192
Global $NewZoomExpanderA = $NewPosition_2 + 547
Global $NewZoomExpanderB = $NewPosition_2 + 546
Global $NewNoNpc = $NewPosition_2 + 7844
Global $NewLVL = $NewPosition_2 - 9120
Global $NewPVP_PVE = $NewPosition_2 - 9108
Global $NewCharName = $NewPosition_2 - 20272
Global $NewMouse_Text = $NewPosition_2 - 88
Global $NewPing = $NewPosition_2 - 20348
Global $NewMouse_LocationA = $NewPosition_2 + 56011
Global $NewMouse_LocationB = $NewPosition_2 + 56010
Global $NewBagId = $NewPosition_2 - 13280
Global $NewInterfaceSize = $NewPosition_2 - 14633
Global $NewNpcIDnear = $NewPosition - 1168
Global $NewNpcIDselect = $NewPosition - 1200
Global $NewCheckMap = $NewPosition - 160
Global $NewNoMessage = $NewPosition + 1688
Global $NewMouse_SelectId = $NewPosition - 1220
Global $NewPlayerStatus = $NewPosition + 3731
EndFunc
Func _WriteFileTXT ()
FileWriteLine ( $txtname , '=======================' & 'Update: ' & @ MDAY & '.' & @ MON & '===================' )
FileWriteLine ( $txtname , '=======================' & 'Section A' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition_2 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition_2 + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Death --> [' & Hex ( $NewDeath ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Course --> [' & Hex ( $NewCourse ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord X --> [' & Hex ( $NewMouseCoord_X ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord Y --> [' & Hex ( $NewMouseCoord_Y ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Town_OutpostID --> [' & Hex ( $NewTown_OutpostID )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ExAreaID --> [' & Hex ( $NewExAreaID ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander A --> [' & Hex ( $NewZoomExpanderA ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander B --> [' & Hex ( $NewZoomExpanderB ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New NoNpc --> [' & Hex ( $NewNoNpc ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New LVL --> [' & Hex ( $NewLVL ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New PVP_PVE --> [' & Hex ( $NewPVP_PVE ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Ping --> [' & Hex ( $NewPing ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CharName --> [' & Hex ( $NewCharName ) & ']' & @ tab & 'unicode[i]' )
FileWriteLine ( $txtname , 'New InterfaceSize --> [' & Hex ( $NewInterfaceSize ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_Text --> [' & Hex ( $NewMouse_Text ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationA --> [' & Hex ( $NewMouse_LocationA )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationB --> [' & Hex ( $NewMouse_LocationB )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New BagId --> [' & Hex ( $NewBagId ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , '=======================' & 'Section D' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Npc_ID_near --> [' & Hex ( $NewNpcIDnear ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Npc_ID_select --> [' & Hex ( $NewNpcIDselect ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CheckMap --> [' & Hex ( $NewCheckMap ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_SelectId --> [' & Hex ( $NewMouse_SelectId ) & ']' & @ tab & 'int' )
EndFunc
($ #NoTrayIcon
#include <GUIConstantsEx>
#include <NomadMemory>
$Tool = GUICreate ( "GW Memory Update" , 241 , 152 , 193 , 125 )
$WriteTXT = GUICtrlCreateButton ( "Write File '.txt'" , 8 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$Exit = GUICtrlCreateButton ( "Exit" , 120 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$lst_Box = GUICtrlCreateList ( "" , 8 , 8 , 225 , 71 )
GUICtrlSetState (- 1 , $GUI_DISABLE )
GUICtrlSetData (- 1 , " ValvePro" )
GUICtrlSetFont (- 1 , 36 , 800 , 2 , "Times New Roman" )
$ProgressBar = GUICtrlCreateProgress ( 8 , 88 , 225 , 17 )
GUISetState (@ SW_SHOW )
WinSetOnTop ( $Tool , "" , 1 )
Global $StartMem_Position_D , $EndMem_Position_D , $ScanValue , $hprocess , $PID , $i , $e , $AddItem
Global $txtname = 'GuildWars Memory Update.txt'
While True
Switch GUIGetMsg ()
Case $GUI_EVENT_CLOSE , $Exit
Exit
Case $WriteTXT
guictrlsetstate ( $WriteTXT , $GUI_DISABLE )
guictrlsetstate ( $Exit , $GUI_DISABLE )
_GetNewAddress ()
_WriteFileTXT ()
guictrlsetstate ( $WriteTXT , $GUI_ENABLE )
guictrlsetstate ( $Exit , $GUI_ENABLE )
EndSwitch
WEnd
Func _Scan_Position_D ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_D = 0x00D00000
Do
$i = $i + 1
GUICtrlSetData ( $ProgressBar , $i / 20971 )
$ScanValue = _MemoryRead ( $StartMem_Position_D , $hprocess , 'float' )
$StartMem_Position_D += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_D - 1 )
EndFunc
Func _Scan_Position_A ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_A = 0x00A00000
Do
$e = $e + 1
GUICtrlSetData ( $ProgressBar , 50 +( $e / 20971 ))
$ScanValue = _MemoryRead ( $StartMem_Position_A , $hprocess , 'float' )
$StartMem_Position_A += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_A - 1 )
EndFunc
Func _GetNewAddress ()
Global $NewPosition = _Scan_Position_D ()
GUICtrlSetData ( $ProgressBar , 50 )
Global $NewPosition_2 = _Scan_Position_A ()
GUICtrlSetData ( $ProgressBar , 100 )
Global $NewCourse = $NewPosition_2 + 609
Global $NewDeath = $NewPosition_2 + 884
Global $NewMouseCoord_X = $NewPosition_2 + 2432
Global $NewMouseCoord_Y = $NewPosition_2 + 2436
Global $NewTown_OutpostID = $NewPosition_2 + 4408
Global $NewExAreaID = $NewPosition_2 - 9192
Global $NewZoomExpanderA = $NewPosition_2 + 547
Global $NewZoomExpanderB = $NewPosition_2 + 546
Global $NewNoNpc = $NewPosition_2 + 7844
Global $NewLVL = $NewPosition_2 - 9120
Global $NewPVP_PVE = $NewPosition_2 - 9108
Global $NewCharName = $NewPosition_2 - 20272
Global $NewMouse_Text = $NewPosition_2 - 88
Global $NewPing = $NewPosition_2 - 20348
Global $NewMouse_LocationA = $NewPosition_2 + 56011
Global $NewMouse_LocationB = $NewPosition_2 + 56010
Global $NewBagId = $NewPosition_2 - 13280
Global $NewInterfaceSize = $NewPosition_2 - 14633
Global $NewNpcIDnear = $NewPosition - 1168
Global $NewNpcIDselect = $NewPosition - 1200
Global $NewCheckMap = $NewPosition - 160
Global $NewNoMessage = $NewPosition + 1688
Global $NewMouse_SelectId = $NewPosition - 1220
Global $NewPlayerStatus = $NewPosition + 3731
EndFunc
Func _WriteFileTXT ()
FileWriteLine ( $txtname , '=======================' & 'Update: ' & @ MDAY & '.' & @ MON & '===================' )
FileWriteLine ( $txtname , '=======================' & 'Section A' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition_2 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition_2 + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Death --> [' & Hex ( $NewDeath ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Course --> [' & Hex ( $NewCourse ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord X --> [' & Hex ( $NewMouseCoord_X ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord Y --> [' & Hex ( $NewMouseCoord_Y ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Town_OutpostID --> [' & Hex ( $NewTown_OutpostID )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ExAreaID --> [' & Hex ( $NewExAreaID ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander A --> [' & Hex ( $NewZoomExpanderA ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander B --> [' & Hex ( $NewZoomExpanderB ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New NoNpc --> [' & Hex ( $NewNoNpc ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New LVL --> [' & Hex ( $NewLVL ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New PVP_PVE --> [' & Hex ( $NewPVP_PVE ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Ping --> [' & Hex ( $NewPing ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CharName --> [' & Hex ( $NewCharName ) & ']' & @ tab & 'unicode[i]' )
FileWriteLine ( $txtname , 'New InterfaceSize --> [' & Hex ( $NewInterfaceSize ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_Text --> [' & Hex ( $NewMouse_Text ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationA --> [' & Hex ( $NewMouse_LocationA )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationB --> [' & Hex ( $NewMouse_LocationB )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New BagId --> [' & Hex ( $NewBagId ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , '=======================' & 'Section D' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Npc_ID_near --> [' & Hex ( $NewNpcIDnear ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Npc_ID_select --> [' & Hex ( $NewNpcIDselect ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CheckMap --> [' & Hex ( $NewCheckMap ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_SelectId --> [' & Hex ( $NewMouse_SelectId ) & ']' & @ tab & 'int' )
EndFunc
& #NoTrayIcon
#include <GUIConstantsEx>
#include <NomadMemory>
$Tool = GUICreate ( "GW Memory Update" , 241 , 152 , 193 , 125 )
$WriteTXT = GUICtrlCreateButton ( "Write File '.txt'" , 8 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$Exit = GUICtrlCreateButton ( "Exit" , 120 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$lst_Box = GUICtrlCreateList ( "" , 8 , 8 , 225 , 71 )
GUICtrlSetState (- 1 , $GUI_DISABLE )
GUICtrlSetData (- 1 , " ValvePro" )
GUICtrlSetFont (- 1 , 36 , 800 , 2 , "Times New Roman" )
$ProgressBar = GUICtrlCreateProgress ( 8 , 88 , 225 , 17 )
GUISetState (@ SW_SHOW )
WinSetOnTop ( $Tool , "" , 1 )
Global $StartMem_Position_D , $EndMem_Position_D , $ScanValue , $hprocess , $PID , $i , $e , $AddItem
Global $txtname = 'GuildWars Memory Update.txt'
While True
Switch GUIGetMsg ()
Case $GUI_EVENT_CLOSE , $Exit
Exit
Case $WriteTXT
guictrlsetstate ( $WriteTXT , $GUI_DISABLE )
guictrlsetstate ( $Exit , $GUI_DISABLE )
_GetNewAddress ()
_WriteFileTXT ()
guictrlsetstate ( $WriteTXT , $GUI_ENABLE )
guictrlsetstate ( $Exit , $GUI_ENABLE )
EndSwitch
WEnd
Func _Scan_Position_D ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_D = 0x00D00000
Do
$i = $i + 1
GUICtrlSetData ( $ProgressBar , $i / 20971 )
$ScanValue = _MemoryRead ( $StartMem_Position_D , $hprocess , 'float' )
$StartMem_Position_D += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_D - 1 )
EndFunc
Func _Scan_Position_A ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_A = 0x00A00000
Do
$e = $e + 1
GUICtrlSetData ( $ProgressBar , 50 +( $e / 20971 ))
$ScanValue = _MemoryRead ( $StartMem_Position_A , $hprocess , 'float' )
$StartMem_Position_A += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_A - 1 )
EndFunc
Func _GetNewAddress ()
Global $NewPosition = _Scan_Position_D ()
GUICtrlSetData ( $ProgressBar , 50 )
Global $NewPosition_2 = _Scan_Position_A ()
GUICtrlSetData ( $ProgressBar , 100 )
Global $NewCourse = $NewPosition_2 + 609
Global $NewDeath = $NewPosition_2 + 884
Global $NewMouseCoord_X = $NewPosition_2 + 2432
Global $NewMouseCoord_Y = $NewPosition_2 + 2436
Global $NewTown_OutpostID = $NewPosition_2 + 4408
Global $NewExAreaID = $NewPosition_2 - 9192
Global $NewZoomExpanderA = $NewPosition_2 + 547
Global $NewZoomExpanderB = $NewPosition_2 + 546
Global $NewNoNpc = $NewPosition_2 + 7844
Global $NewLVL = $NewPosition_2 - 9120
Global $NewPVP_PVE = $NewPosition_2 - 9108
Global $NewCharName = $NewPosition_2 - 20272
Global $NewMouse_Text = $NewPosition_2 - 88
Global $NewPing = $NewPosition_2 - 20348
Global $NewMouse_LocationA = $NewPosition_2 + 56011
Global $NewMouse_LocationB = $NewPosition_2 + 56010
Global $NewBagId = $NewPosition_2 - 13280
Global $NewInterfaceSize = $NewPosition_2 - 14633
Global $NewNpcIDnear = $NewPosition - 1168
Global $NewNpcIDselect = $NewPosition - 1200
Global $NewCheckMap = $NewPosition - 160
Global $NewNoMessage = $NewPosition + 1688
Global $NewMouse_SelectId = $NewPosition - 1220
Global $NewPlayerStatus = $NewPosition + 3731
EndFunc
Func _WriteFileTXT ()
FileWriteLine ( $txtname , '=======================' & 'Update: ' & @ MDAY & '.' & @ MON & '===================' )
FileWriteLine ( $txtname , '=======================' & 'Section A' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition_2 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition_2 + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Death --> [' & Hex ( $NewDeath ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Course --> [' & Hex ( $NewCourse ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord X --> [' & Hex ( $NewMouseCoord_X ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord Y --> [' & Hex ( $NewMouseCoord_Y ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Town_OutpostID --> [' & Hex ( $NewTown_OutpostID )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ExAreaID --> [' & Hex ( $NewExAreaID ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander A --> [' & Hex ( $NewZoomExpanderA ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander B --> [' & Hex ( $NewZoomExpanderB ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New NoNpc --> [' & Hex ( $NewNoNpc ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New LVL --> [' & Hex ( $NewLVL ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New PVP_PVE --> [' & Hex ( $NewPVP_PVE ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Ping --> [' & Hex ( $NewPing ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CharName --> [' & Hex ( $NewCharName ) & ']' & @ tab & 'unicode[i]' )
FileWriteLine ( $txtname , 'New InterfaceSize --> [' & Hex ( $NewInterfaceSize ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_Text --> [' & Hex ( $NewMouse_Text ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationA --> [' & Hex ( $NewMouse_LocationA )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationB --> [' & Hex ( $NewMouse_LocationB )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New BagId --> [' & Hex ( $NewBagId ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , '=======================' & 'Section D' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Npc_ID_near --> [' & Hex ( $NewNpcIDnear ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Npc_ID_select --> [' & Hex ( $NewNpcIDselect ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CheckMap --> [' & Hex ( $NewCheckMap ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_SelectId --> [' & Hex ( $NewMouse_SelectId ) & ']' & @ tab & 'int' )
EndFunc
& #NoTrayIcon
#include <GUIConstantsEx>
#include <NomadMemory>
$Tool = GUICreate ( "GW Memory Update" , 241 , 152 , 193 , 125 )
$WriteTXT = GUICtrlCreateButton ( "Write File '.txt'" , 8 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$Exit = GUICtrlCreateButton ( "Exit" , 120 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$lst_Box = GUICtrlCreateList ( "" , 8 , 8 , 225 , 71 )
GUICtrlSetState (- 1 , $GUI_DISABLE )
GUICtrlSetData (- 1 , " ValvePro" )
GUICtrlSetFont (- 1 , 36 , 800 , 2 , "Times New Roman" )
$ProgressBar = GUICtrlCreateProgress ( 8 , 88 , 225 , 17 )
GUISetState (@ SW_SHOW )
WinSetOnTop ( $Tool , "" , 1 )
Global $StartMem_Position_D , $EndMem_Position_D , $ScanValue , $hprocess , $PID , $i , $e , $AddItem
Global $txtname = 'GuildWars Memory Update.txt'
While True
Switch GUIGetMsg ()
Case $GUI_EVENT_CLOSE , $Exit
Exit
Case $WriteTXT
guictrlsetstate ( $WriteTXT , $GUI_DISABLE )
guictrlsetstate ( $Exit , $GUI_DISABLE )
_GetNewAddress ()
_WriteFileTXT ()
guictrlsetstate ( $WriteTXT , $GUI_ENABLE )
guictrlsetstate ( $Exit , $GUI_ENABLE )
EndSwitch
WEnd
Func _Scan_Position_D ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_D = 0x00D00000
Do
$i = $i + 1
GUICtrlSetData ( $ProgressBar , $i / 20971 )
$ScanValue = _MemoryRead ( $StartMem_Position_D , $hprocess , 'float' )
$StartMem_Position_D += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_D - 1 )
EndFunc
Func _Scan_Position_A ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_A = 0x00A00000
Do
$e = $e + 1
GUICtrlSetData ( $ProgressBar , 50 +( $e / 20971 ))
$ScanValue = _MemoryRead ( $StartMem_Position_A , $hprocess , 'float' )
$StartMem_Position_A += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_A - 1 )
EndFunc
Func _GetNewAddress ()
Global $NewPosition = _Scan_Position_D ()
GUICtrlSetData ( $ProgressBar , 50 )
Global $NewPosition_2 = _Scan_Position_A ()
GUICtrlSetData ( $ProgressBar , 100 )
Global $NewCourse = $NewPosition_2 + 609
Global $NewDeath = $NewPosition_2 + 884
Global $NewMouseCoord_X = $NewPosition_2 + 2432
Global $NewMouseCoord_Y = $NewPosition_2 + 2436
Global $NewTown_OutpostID = $NewPosition_2 + 4408
Global $NewExAreaID = $NewPosition_2 - 9192
Global $NewZoomExpanderA = $NewPosition_2 + 547
Global $NewZoomExpanderB = $NewPosition_2 + 546
Global $NewNoNpc = $NewPosition_2 + 7844
Global $NewLVL = $NewPosition_2 - 9120
Global $NewPVP_PVE = $NewPosition_2 - 9108
Global $NewCharName = $NewPosition_2 - 20272
Global $NewMouse_Text = $NewPosition_2 - 88
Global $NewPing = $NewPosition_2 - 20348
Global $NewMouse_LocationA = $NewPosition_2 + 56011
Global $NewMouse_LocationB = $NewPosition_2 + 56010
Global $NewBagId = $NewPosition_2 - 13280
Global $NewInterfaceSize = $NewPosition_2 - 14633
Global $NewNpcIDnear = $NewPosition - 1168
Global $NewNpcIDselect = $NewPosition - 1200
Global $NewCheckMap = $NewPosition - 160
Global $NewNoMessage = $NewPosition + 1688
Global $NewMouse_SelectId = $NewPosition - 1220
Global $NewPlayerStatus = $NewPosition + 3731
EndFunc
Func _WriteFileTXT ()
FileWriteLine ( $txtname , '=======================' & 'Update: ' & @ MDAY & '.' & @ MON & '===================' )
FileWriteLine ( $txtname , '=======================' & 'Section A' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition_2 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition_2 + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Death --> [' & Hex ( $NewDeath ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Course --> [' & Hex ( $NewCourse ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord X --> [' & Hex ( $NewMouseCoord_X ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord Y --> [' & Hex ( $NewMouseCoord_Y ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Town_OutpostID --> [' & Hex ( $NewTown_OutpostID )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ExAreaID --> [' & Hex ( $NewExAreaID ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander A --> [' & Hex ( $NewZoomExpanderA ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander B --> [' & Hex ( $NewZoomExpanderB ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New NoNpc --> [' & Hex ( $NewNoNpc ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New LVL --> [' & Hex ( $NewLVL ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New PVP_PVE --> [' & Hex ( $NewPVP_PVE ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Ping --> [' & Hex ( $NewPing ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CharName --> [' & Hex ( $NewCharName ) & ']' & @ tab & 'unicode[i]' )
FileWriteLine ( $txtname , 'New InterfaceSize --> [' & Hex ( $NewInterfaceSize ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_Text --> [' & Hex ( $NewMouse_Text ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationA --> [' & Hex ( $NewMouse_LocationA )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationB --> [' & Hex ( $NewMouse_LocationB )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New BagId --> [' & Hex ( $NewBagId ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , '=======================' & 'Section D' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Npc_ID_near --> [' & Hex ( $NewNpcIDnear ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Npc_ID_select --> [' & Hex ( $NewNpcIDselect ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CheckMap --> [' & Hex ( $NewCheckMap ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_SelectId --> [' & Hex ( $NewMouse_SelectId ) & ']' & @ tab & 'int' )
EndFunc
& #NoTrayIcon
#include <GUIConstantsEx>
#include <NomadMemory>
$Tool = GUICreate ( "GW Memory Update" , 241 , 152 , 193 , 125 )
$WriteTXT = GUICtrlCreateButton ( "Write File '.txt'" , 8 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$Exit = GUICtrlCreateButton ( "Exit" , 120 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$lst_Box = GUICtrlCreateList ( "" , 8 , 8 , 225 , 71 )
GUICtrlSetState (- 1 , $GUI_DISABLE )
GUICtrlSetData (- 1 , " ValvePro" )
GUICtrlSetFont (- 1 , 36 , 800 , 2 , "Times New Roman" )
$ProgressBar = GUICtrlCreateProgress ( 8 , 88 , 225 , 17 )
GUISetState (@ SW_SHOW )
WinSetOnTop ( $Tool , "" , 1 )
Global $StartMem_Position_D , $EndMem_Position_D , $ScanValue , $hprocess , $PID , $i , $e , $AddItem
Global $txtname = 'GuildWars Memory Update.txt'
While True
Switch GUIGetMsg ()
Case $GUI_EVENT_CLOSE , $Exit
Exit
Case $WriteTXT
guictrlsetstate ( $WriteTXT , $GUI_DISABLE )
guictrlsetstate ( $Exit , $GUI_DISABLE )
_GetNewAddress ()
_WriteFileTXT ()
guictrlsetstate ( $WriteTXT , $GUI_ENABLE )
guictrlsetstate ( $Exit , $GUI_ENABLE )
EndSwitch
WEnd
Func _Scan_Position_D ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_D = 0x00D00000
Do
$i = $i + 1
GUICtrlSetData ( $ProgressBar , $i / 20971 )
$ScanValue = _MemoryRead ( $StartMem_Position_D , $hprocess , 'float' )
$StartMem_Position_D += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_D - 1 )
EndFunc
Func _Scan_Position_A ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_A = 0x00A00000
Do
$e = $e + 1
GUICtrlSetData ( $ProgressBar , 50 +( $e / 20971 ))
$ScanValue = _MemoryRead ( $StartMem_Position_A , $hprocess , 'float' )
$StartMem_Position_A += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_A - 1 )
EndFunc
Func _GetNewAddress ()
Global $NewPosition = _Scan_Position_D ()
GUICtrlSetData ( $ProgressBar , 50 )
Global $NewPosition_2 = _Scan_Position_A ()
GUICtrlSetData ( $ProgressBar , 100 )
Global $NewCourse = $NewPosition_2 + 609
Global $NewDeath = $NewPosition_2 + 884
Global $NewMouseCoord_X = $NewPosition_2 + 2432
Global $NewMouseCoord_Y = $NewPosition_2 + 2436
Global $NewTown_OutpostID = $NewPosition_2 + 4408
Global $NewExAreaID = $NewPosition_2 - 9192
Global $NewZoomExpanderA = $NewPosition_2 + 547
Global $NewZoomExpanderB = $NewPosition_2 + 546
Global $NewNoNpc = $NewPosition_2 + 7844
Global $NewLVL = $NewPosition_2 - 9120
Global $NewPVP_PVE = $NewPosition_2 - 9108
Global $NewCharName = $NewPosition_2 - 20272
Global $NewMouse_Text = $NewPosition_2 - 88
Global $NewPing = $NewPosition_2 - 20348
Global $NewMouse_LocationA = $NewPosition_2 + 56011
Global $NewMouse_LocationB = $NewPosition_2 + 56010
Global $NewBagId = $NewPosition_2 - 13280
Global $NewInterfaceSize = $NewPosition_2 - 14633
Global $NewNpcIDnear = $NewPosition - 1168
Global $NewNpcIDselect = $NewPosition - 1200
Global $NewCheckMap = $NewPosition - 160
Global $NewNoMessage = $NewPosition + 1688
Global $NewMouse_SelectId = $NewPosition - 1220
Global $NewPlayerStatus = $NewPosition + 3731
EndFunc
Func _WriteFileTXT ()
FileWriteLine ( $txtname , '=======================' & 'Update: ' & @ MDAY & '.' & @ MON & '===================' )
FileWriteLine ( $txtname , '=======================' & 'Section A' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition_2 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition_2 + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Death --> [' & Hex ( $NewDeath ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Course --> [' & Hex ( $NewCourse ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord X --> [' & Hex ( $NewMouseCoord_X ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord Y --> [' & Hex ( $NewMouseCoord_Y ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Town_OutpostID --> [' & Hex ( $NewTown_OutpostID )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ExAreaID --> [' & Hex ( $NewExAreaID ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander A --> [' & Hex ( $NewZoomExpanderA ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander B --> [' & Hex ( $NewZoomExpanderB ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New NoNpc --> [' & Hex ( $NewNoNpc ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New LVL --> [' & Hex ( $NewLVL ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New PVP_PVE --> [' & Hex ( $NewPVP_PVE ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Ping --> [' & Hex ( $NewPing ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CharName --> [' & Hex ( $NewCharName ) & ']' & @ tab & 'unicode[i]' )
FileWriteLine ( $txtname , 'New InterfaceSize --> [' & Hex ( $NewInterfaceSize ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_Text --> [' & Hex ( $NewMouse_Text ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationA --> [' & Hex ( $NewMouse_LocationA )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationB --> [' & Hex ( $NewMouse_LocationB )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New BagId --> [' & Hex ( $NewBagId ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , '=======================' & 'Section D' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Npc_ID_near --> [' & Hex ( $NewNpcIDnear ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Npc_ID_select --> [' & Hex ( $NewNpcIDselect ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CheckMap --> [' & Hex ( $NewCheckMap ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_SelectId --> [' & Hex ( $NewMouse_SelectId ) & ']' & @ tab & 'int' )
EndFunc
& #NoTrayIcon
#include <GUIConstantsEx>
#include <NomadMemory>
$Tool = GUICreate ( "GW Memory Update" , 241 , 152 , 193 , 125 )
$WriteTXT = GUICtrlCreateButton ( "Write File '.txt'" , 8 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$Exit = GUICtrlCreateButton ( "Exit" , 120 , 112 , 113 , 33 , 0 )
GUICtrlSetFont (- 1 , 12 , 800 , 0 , "Times New Roman" )
$lst_Box = GUICtrlCreateList ( "" , 8 , 8 , 225 , 71 )
GUICtrlSetState (- 1 , $GUI_DISABLE )
GUICtrlSetData (- 1 , " ValvePro" )
GUICtrlSetFont (- 1 , 36 , 800 , 2 , "Times New Roman" )
$ProgressBar = GUICtrlCreateProgress ( 8 , 88 , 225 , 17 )
GUISetState (@ SW_SHOW )
WinSetOnTop ( $Tool , "" , 1 )
Global $StartMem_Position_D , $EndMem_Position_D , $ScanValue , $hprocess , $PID , $i , $e , $AddItem
Global $txtname = 'GuildWars Memory Update.txt'
While True
Switch GUIGetMsg ()
Case $GUI_EVENT_CLOSE , $Exit
Exit
Case $WriteTXT
guictrlsetstate ( $WriteTXT , $GUI_DISABLE )
guictrlsetstate ( $Exit , $GUI_DISABLE )
_GetNewAddress ()
_WriteFileTXT ()
guictrlsetstate ( $WriteTXT , $GUI_ENABLE )
guictrlsetstate ( $Exit , $GUI_ENABLE )
EndSwitch
WEnd
Func _Scan_Position_D ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_D = 0x00D00000
Do
$i = $i + 1
GUICtrlSetData ( $ProgressBar , $i / 20971 )
$ScanValue = _MemoryRead ( $StartMem_Position_D , $hprocess , 'float' )
$StartMem_Position_D += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_D - 1 )
EndFunc
Func _Scan_Position_A ()
$hprocess = _MemoryOpen ( ProcessExists ( "Gw.exe" ))
$StartMem_Position_A = 0x00A00000
Do
$e = $e + 1
GUICtrlSetData ( $ProgressBar , 50 +( $e / 20971 ))
$ScanValue = _MemoryRead ( $StartMem_Position_A , $hprocess , 'float' )
$StartMem_Position_A += 1
Until ( $ScanValue <5850> - 5899 )
Return ( $StartMem_Position_A - 1 )
EndFunc
Func _GetNewAddress ()
Global $NewPosition = _Scan_Position_D ()
GUICtrlSetData ( $ProgressBar , 50 )
Global $NewPosition_2 = _Scan_Position_A ()
GUICtrlSetData ( $ProgressBar , 100 )
Global $NewCourse = $NewPosition_2 + 609
Global $NewDeath = $NewPosition_2 + 884
Global $NewMouseCoord_X = $NewPosition_2 + 2432
Global $NewMouseCoord_Y = $NewPosition_2 + 2436
Global $NewTown_OutpostID = $NewPosition_2 + 4408
Global $NewExAreaID = $NewPosition_2 - 9192
Global $NewZoomExpanderA = $NewPosition_2 + 547
Global $NewZoomExpanderB = $NewPosition_2 + 546
Global $NewNoNpc = $NewPosition_2 + 7844
Global $NewLVL = $NewPosition_2 - 9120
Global $NewPVP_PVE = $NewPosition_2 - 9108
Global $NewCharName = $NewPosition_2 - 20272
Global $NewMouse_Text = $NewPosition_2 - 88
Global $NewPing = $NewPosition_2 - 20348
Global $NewMouse_LocationA = $NewPosition_2 + 56011
Global $NewMouse_LocationB = $NewPosition_2 + 56010
Global $NewBagId = $NewPosition_2 - 13280
Global $NewInterfaceSize = $NewPosition_2 - 14633
Global $NewNpcIDnear = $NewPosition - 1168
Global $NewNpcIDselect = $NewPosition - 1200
Global $NewCheckMap = $NewPosition - 160
Global $NewNoMessage = $NewPosition + 1688
Global $NewMouse_SelectId = $NewPosition - 1220
Global $NewPlayerStatus = $NewPosition + 3731
EndFunc
Func _WriteFileTXT ()
FileWriteLine ( $txtname , '=======================' & 'Update: ' & @ MDAY & '.' & @ MON & '===================' )
FileWriteLine ( $txtname , '=======================' & 'Section A' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition_2 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition_2 + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Death --> [' & Hex ( $NewDeath ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Course --> [' & Hex ( $NewCourse ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord X --> [' & Hex ( $NewMouseCoord_X ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New MouseCoord Y --> [' & Hex ( $NewMouseCoord_Y ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Town_OutpostID --> [' & Hex ( $NewTown_OutpostID )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ExAreaID --> [' & Hex ( $NewExAreaID ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander A --> [' & Hex ( $NewZoomExpanderA ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New ZoomExpander B --> [' & Hex ( $NewZoomExpanderB ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New NoNpc --> [' & Hex ( $NewNoNpc ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New LVL --> [' & Hex ( $NewLVL ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New PVP_PVE --> [' & Hex ( $NewPVP_PVE ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Ping --> [' & Hex ( $NewPing ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CharName --> [' & Hex ( $NewCharName ) & ']' & @ tab & 'unicode[i]' )
FileWriteLine ( $txtname , 'New InterfaceSize --> [' & Hex ( $NewInterfaceSize ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_Text --> [' & Hex ( $NewMouse_Text ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationA --> [' & Hex ( $NewMouse_LocationA )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_LocationB --> [' & Hex ( $NewMouse_LocationB )& ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New BagId --> [' & Hex ( $NewBagId ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , '=======================' & 'Section D' & '=======================' )
FileWriteLine ( $txtname , 'New Position X --> [' & Hex ( $NewPosition ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Position Y --> [' & Hex ( $NewPosition + 4 ) & ']' & @ tab & 'float' )
FileWriteLine ( $txtname , 'New Npc_ID_near --> [' & Hex ( $NewNpcIDnear ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Npc_ID_select --> [' & Hex ( $NewNpcIDselect ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New CheckMap --> [' & Hex ( $NewCheckMap ) & ']' & @ tab & 'int' )
FileWriteLine ( $txtname , 'New Mouse_SelectId --> [' & Hex ( $NewMouse_SelectId ) & ']' & @ tab & 'int' )
EndFunc