SunBeamXD Posted April 16, 2017 Share Posted April 16, 2017 I'm using _MemoryRead to gather information from a game, in this case it's my characters name. This particular game stores the name in memory over several different addresses like so... 00A6DDE0 00A6DDE1 00A6DDE2 00A6DDE3 00A6DDE4 Link to comment Share on other sites More sharing options...
SunBeamXD Posted April 16, 2017 Author Share Posted April 16, 2017 I'm using _MemoryRead to gather information from a game, in this case it's my characters name. This particular game stores the name in memory over several different addresses like so... 00A89920 - S 00A89921 - U 00A89922 - N 00A89923 - B 00A89924 - E 00A89925 - A 00A89926 - M I'm trying to read each individual address and then put them all together into a single value.. Example: $Char0 = _MemoryRead("0x00A89920",$ReadMem, "char") $Char1 = _MemoryRead("0x00A89921",$ReadMem, "char") $Char2 = _MemoryRead("0x00A89922",$ReadMem, "char") $Char3 = _MemoryRead("0x00A89923",$ReadMem, "char") $Char4 = _MemoryRead("0x00A89924",$ReadMem, "char") $Char5 = _MemoryRead("0x00A89925",$ReadMem, "char") $Char6 = _MemoryRead("0x00A89926",$ReadMem, "char") $Char7 = _MemoryRead("0x00A89927",$ReadMem, "char") $Char8 = _MemoryRead("0x00A89928",$ReadMem, "char") $Char9 = _MemoryRead("0x00A89929",$ReadMem, "char") $GetID = $Char0 & $Char1 & $Char2 & $Char3 & $Char4 & $Char5 & $Char6 & $Char7 & $Char8 & $Char9 And this works FINE up until this point.. However since there's a 10 character limit for your character name if you're reading "SunBeam" which is only 7 Characters, the last 3 are just blank... This is keeping the rest of my code from executing because I am displaying the information in a ToolTip function.. I get the character name but none of the other information... ToolTip(""& _ "Name: " & String($GetID) & @CRLF & _ "Level: " & $Level & @CRLF & _ "Class: " & $Class & @CRLF & _ "Location: " & $MapID & @CRLF & _ "Server: " & $iServ & @CRLF & @CRLF & _ "Current HP: " & $CurHP & "/" & $MaxHP & @CRLF & _ "Current MP: " & $CurMP & "/" & $MaxMP & @CRLF & _ "Current SP: " & $CurSP & "/" & $MaxSP & @CRLF & @CRLF & _ "Monster Kills: " & $mKill & @CRLF & _ "Total Attacks: " & $cAttk & @CRLF & _ "Earned XP: " & $sesXP & @CRLF & _ "Earned GP: " & $EarnedGP & @CRLF & _ "Next Lvl XP: " & $curNL & @CRLF & @CRLF & _ "Threat Level: " & $DangerLv & @CRLF & _ "Curren Action: " & $CurAction & @CRLF,0,0,"PT-DataMine") Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted April 16, 2017 Moderators Share Posted April 16, 2017 SunBeamXD, Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game interaction - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts