taultunleashed http://www.taultunleashed.com/phpbb3/ |
|
GW Hacks - Every Memory Offset For GW's http://www.taultunleashed.com/guild-wars-submissions/gw-hacks-every-memory-offset-for-gw-s-t69241.html |
Page 1 of 1 |
Author: | wasterful [ December 13th, 2008, 8:00 pm ] |
Post subject: | GW Hacks - Every Memory Offset For GW's |
Im waiting to get the most recent ones. Hopefully ill have them in the next few days C+P - Credit - wadimwadim EDIT 24.10.2008: Code: ; update.ini [Gw.exe] - wadimwadim ; 24.10.2008 - 21:16 (!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))): [SECTION 9-A] POSX = 0xa05468 POSY = 0xa0546c DEATH = 0xa054ec NO_NPC = 0xa0704c MOUSE_COORDX = 0xa05af8 MOUSE_COORDY = 0xa05afc TOWN_OUT_ID = 0xa062b0 COURSE = 0xa053da EX_AREA_ID = 0xa02d90 EXPANDER = 0xa0539b EXPANDERB = 0xa0539a LVL = 0xa02dd8 PVP_PVE = 0xa02de4 PING = 0xa001fc CHARNAME = 0xa0024c INTERFACE = 0xa0184f MOUSE_TEXT = 0xa05120 BAGID = 0xa01d98 LOG_IN_OUT = 0xa163d0 GUILD_OPEN = 0xa02288 HERO_OPEN = 0xa02224 INVENTAR_OPEN = 0xa022b0 EMAIL = 0xa01860 WINDOW = 0xa13148 MOVETO_TARGET = 0xa054c7 CAST = 0xa05adc CURSOR = 0xa0a240 CWNDX = 0xa13224 CWNDY = 0xa13220 INVENTARX = 0xa022b4 INVENTARY = 0xa022b8 HEROPOSX = 0xa02228 HEROPOSY = 0xa0222c HEROSIZEX = 0xa02234 HEROSIZEY = 0xa02230 MMAPPOSX = 0xa02308 MMAPPOSY = 0xa02304 MMAPSIZEX = 0xa02310 MMAPSIZEY = 0xa0230c MERCHANTPOSX = 0xa024f8 MERCHANTPOSY = 0xa024fc MERCHANTSIZEX = 0xa02500 MERCHANTSIZEY = 0xa02504 PARTYPOSX = 0xa0237c PARTYPOSY = 0xa02380 PARTYSIZEX = 0xa02384 PARTYSIZEY = 0xa02388 STORAGE = 0xa01dc4 SELLBAG_X = 0xa01d48 PMOVE = 0xa054f4 CHESTPOSX = 0xa022cc CHESTPOSY = 0xa022c8 OBSERVEMOD = 0xa05500 MAPTIME = 0xa053d0 MAPPLAYER = 0xa05ae4 CHARACC = 0xa0023c ALLBAGX = 0xa022dc ALLBAGY = 0xa022e0 GUILDPOSX = 0xa02294 GUILDPOSY = 0xa02298 GUILDSIZEX = 0xa0228c GUILDSIZEY = 0xa02290 SKILLSPOSX = 0xa02250 SKILLSPOSY = 0xa02254 SKILLSSIZEX = 0xa02258 SKILLSSIZEY = 0xa0225c TRADEPOSX = 0xa024d0 TRADEPOSY = 0xa024d4 MOUSEDOWN = 0xa125e8 CMOUSEX = 0xa125e0 CMOUSEY = 0xa125e4 LMOUSECLICKX = 0xa13300 LMOUSECLICKY = 0xa13304 [SECTION D] D_POSITION_X = 0xd28a04 D_POSITION_Y = 0xd28a08 CHECK_MAP = 0xd286a0 NPC_ID_NEAR = 0xd282b0 NPC_ID_SELECT = 0xd28290 NPC_ID_MOUSE_SELECT = 0xd2829c DMG = 0xd28738 NPC_ITEMSELECT = 0xd29d4c CLIENTPATH = 0xd29280 Here is the code for au3 (!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))): Code:
Func _Read_UpdateINI() $updateINI = 'update.ini' $Section9A = 'SECTION 9-A' $SectionD = 'SECTION D' #Region [SECTION 9-A] ;********************************************************************************************** ;***********************************update.ini [SECTION 9-A]*********************************** ;********************************************************************************************** Global $POSX = IniRead($updateINI, $Section9A, "POSX", 0) if $POSX = 0 Then Return (-1) Global $POSY = IniRead($updateINI, $Section9A, "POSX", 0) Global $DEATH = IniRead($updateINI, $Section9A, "DEATH", 0) Global $NO_NPC = IniRead($updateINI, $Section9A, "NO_NPC", 0) Global $MOUSE_COORDX = IniRead($updateINI, $Section9A, "MOUSE_COORDX", 0) Global $MOUSE_COORDY = IniRead($updateINI, $Section9A, "MOUSE_COORDY", 0) Global $TOWN_OUT_ID = IniRead($updateINI, $Section9A, "TOWN_OUT_ID", 0) Global $COURSE = IniRead($updateINI, $Section9A, "COURSE", 0) Global $EX_AREA_ID = IniRead($updateINI, $Section9A, "EX_AREA_ID", 0) Global $EXPANDER = IniRead($updateINI, $Section9A, "EXPANDER", 0) Global $EXPANDERB = IniRead($updateINI, $Section9A, "EXPANDERB", 0) Global $LVL = IniRead($updateINI, $Section9A, "LVL", 0) Global $PVP_PVE = IniRead($updateINI, $Section9A, "PVP_PVE", 0) Global $PING = IniRead($updateINI, $Section9A, "PING", 0) Global $CHARNAME = IniRead($updateINI, $Section9A, "CHARNAME", 0) Global $INTERFACE = IniRead($updateINI, $Section9A, "INTERFACE", 0) Global $MOUSE_TEXT = IniRead($updateINI, $Section9A, "MOUSE_TEXT", 0) Global $BAGID = IniRead($updateINI, $Section9A, "BAGID", 0) Global $LOG_IN_OUT = IniRead($updateINI, $Section9A, "LOG_IN_OUT", 0) Global $GUILD_OPEN = IniRead($updateINI, $Section9A, "GUILD_OPEN", 0) Global $HERO_OPEN = IniRead($updateINI, $Section9A, "HERO_OPEN", 0) Global $INVENTAR_OPEN = IniRead($updateINI, $Section9A, "$INVENTAR_OPEN", 0) Global $EMAIL = IniRead($updateINI, $Section9A, "EMAIL", 0) Global $WINDOW = IniRead($updateINI, $Section9A, "WINDOW", 0) Global $MOVETO_TARGET = IniRead($updateINI, $Section9A, "MOVETO_TARGET", 0) Global $CAST = IniRead($updateINI, $Section9A, "CAST", 0) Global $CURSOR = IniRead($updateINI, $Section9A, "CURSOR", 0) Global $CWNDX = IniRead($updateINI, $Section9A, "CWNDX", 0) Global $CWNDY = IniRead($updateINI, $Section9A, "CWNDY", 0) Global $INVENTARX = IniRead($updateINI, $Section9A, "INVENTARX", 0) Global $INVENTARY = IniRead($updateINI, $Section9A, "INVENTARY", 0) Global $HEROPOSX = IniRead($updateINI, $Section9A, "HEROPOSX", 0) Global $HEROPOSY = IniRead($updateINI, $Section9A, "HEROPOSY", 0) Global $HEROSIZEX = IniRead($updateINI, $Section9A, "HEROSIZEX", 0) Global $HEROSIZEY = IniRead($updateINI, $Section9A, "HEROSIZEY", 0) Global $MMAPPOSX = IniRead($updateINI, $Section9A, "MMAPPOSX", 0) Global $MMAPPOSY = IniRead($updateINI, $Section9A, "MMAPPOSY", 0) Global $MMAPSIZEX = IniRead($updateINI, $Section9A, "MMAPSIZEX", 0) Global $MMAPSIZEY = IniRead($updateINI, $Section9A, "MMAPSIZEY", 0) Global $MERCHANTPOSX = IniRead($updateINI, $Section9A, "MERCHANTPOSX", 0) Global $MERCHANTPOSY = IniRead($updateINI, $Section9A, "MERCHANTPOSY", 0) Global $MERCHANTSIZEX = IniRead($updateINI, $Section9A, "MERCHANTSIZEX", 0) Global $MERCHANTSIZEY = IniRead($updateINI, $Section9A, "MERCHANTSIZEY", 0) Global $PARTYPOSX = IniRead($updateINI, $Section9A, "PARTYPOSX", 0) Global $PARTYPOSY = IniRead($updateINI, $Section9A, "PARTYPOSY", 0) Global $PARTYSIZEX = IniRead($updateINI, $Section9A, "PARTYSIZEX", 0) Global $PARTYSIZEY = IniRead($updateINI, $Section9A, "PARTYSIZEY", 0) Global $STORAGE = IniRead($updateINI, $Section9A, "STORAGE", 0) Global $SELLBAG_X = IniRead($updateINI, $Section9A, "SELLBAG_X", 0) Global $PMOVE = IniRead($updateINI, $Section9A, "PMOVE", 0) Global $CHESTPOSX = IniRead($updateINI, $Section9A, "CHESTPOSX", 0) Global $CHESTPOSY = IniRead($updateINI, $Section9A, "CHESTPOSY", 0) Global $OBSERVEMOD = IniRead($updateINI, $Section9A, "OBSERVEMOD", 0) Global $MAPTIME = IniRead($updateINI, $Section9A, "MAPTIME", 0) Global $MAPPLAYER = IniRead($updateINI, $Section9A, "MAPPLAYER", 0) Global $CHARACC = IniRead($updateINI, $Section9A, "CHARACC", 0) Global $ALLBAGX = IniRead($updateINI, $Section9A, "ALLBAGX", 0) Global $ALLBAGY = IniRead($updateINI, $Section9A, "ALLBAGY", 0) Global $GUILDPOSX = IniRead($updateINI, $Section9A, "GUILDPOSX", 0) Global $GUILDPOSY = IniRead($updateINI, $Section9A, "GUILDPOSY", 0) Global $GUILDSIZEX = IniRead($updateINI, $Section9A, "GUILDSIZEX", 0) Global $GUILDSIZEY = IniRead($updateINI, $Section9A, "GUILDSIZEY", 0) Global $SKILLSPOSX = IniRead($updateINI, $Section9A, "SKILLSPOSX", 0) Global $SKILLSPOSY = IniRead($updateINI, $Section9A, "SKILLSPOSY", 0) Global $SKILLSSIZEX = IniRead($updateINI, $Section9A, "SKILLSSIZEX", 0) Global $SKILLSSIZEY = IniRead($updateINI, $Section9A, "SKILLSSIZEY", 0) Global $TRADEPOSX = IniRead($updateINI, $Section9A, "TRADEPOSX", 0) Global $TRADEPOSY = IniRead($updateINI, $Section9A, "TRADEPOSY", 0) Global $MOUSEDOWN = IniRead($updateINI, $Section9A, "MOUSEDOWN", 0) Global $CMOUSEX = IniRead($updateINI, $Section9A, "CMOUSEX", 0) Global $CMOUSEY = IniRead($updateINI, $Section9A, "CMOUSEY", 0) Global $LMOUSECLICKX = IniRead($updateINI, $Section9A, "LMOUSECLICKX", 0) Global $LMOUSECLICKY = IniRead($updateINI, $Section9A, "LMOUSECLICKY", 0) #EndRegion [SECTION 9-A] #Region [SECTION D] ;********************************************************************************************** ;************************************update.ini [SECTION D]************************************ ;********************************************************************************************** Global $D_POSITION_X = IniRead($updateINI, $SectionD, "D_POSITION_X", 0) Global $D_POSITION_Y = IniRead($updateINI, $SectionD, "D_POSITION_Y", 0) Global $CHECK_MAP = IniRead($updateINI, $SectionD, "CHECK_MAP", 0) Global $NPC_ID_NEAR = IniRead($updateINI, $SectionD, "NPC_ID_NEAR", 0) Global $NPC_ID_SELECT = IniRead($updateINI, $SectionD, "NPC_ID_SELECT", 0) Global $NPC_ID_MOUSE_SELECT = IniRead($updateINI, $SectionD, "NPC_ID_MOUSE_SELECT", 0) Global $DMG = IniRead($updateINI, $SectionD, "DMG", 0) Global $NPC_ITEMSELECT = IniRead($updateINI, $SectionD, "NPC_ITEMSELECT", 0) Global $CLIENTPATH = IniRead($updateINI, $SectionD, "CLIENTPATH", 0) #EndRegion [SECTION D] Return (1) EndFunc |
Author: | wasterful [ December 13th, 2008, 8:06 pm ] |
Post subject: | |
Here is more stuff. I believe this is the program used to find the offsets its in VB if im correct. (!empty($user->lang['CODE'])) ? $user->lang['CODE'] : ucwords(strtolower(str_replace('_', ' ', 'CODE'))): #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 |
Author: | wasterful [ December 13th, 2008, 8:08 pm ] |
Post subject: | |
another little app for finding the offsets feel free to scan it at www.viruschief.com |
Author: | traxvar [ April 21st, 2009, 11:29 pm ] |
Post subject: | |
In autoit. It uses nomad memory. Interesting offsets though, is it safe to assume ANET changes them every patch? |
Author: | Tault_admin [ April 23rd, 2009, 7:13 am ] |
Post subject: | |
Yes lots of them do change but not all of them do. |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |