lokuxd Posted March 13, 2011 Posted March 13, 2011 Hi. I have a question anyone know how to pull the string from the address memory game? need this to read my name in the game. in Delphi anyone used this: ;~ ShowMessage (MemReadString (BattleList_Start + i* 160 + Distance_name *));. Is such an option in AutoIt?? #include <nomadmemory.au3> Global $proces, $i, $ID_z_LISTY, $ID_GRACZA $PID = ProcessExists("Tibia.exe") $proces = _MemoryOpen($PID) Global $ID_GRACZA = _MemoryRead(0x63FD50 + 16, $proces) Global $BLSTART = 0x63FDE8 Global $BLSTEP = 0xAC Global $BLMAX = 1300 jest() Func jest() For $i = 1 To 1300 $ID_z_LISTY = _MemoryRead($BLSTART + ($i * $BLSTEP), $proces) If $ID_z_LISTY = $ID_GRACZA Then Return $i EndIf Next EndFunc ;==>jest ;showmessage(MemReadString(BattleList_Start + pozycja * 160 + Distance_name)); ;$nik = _MemReadString($BLSTART + jest() * $BLSTEP + 4, $proces);^ i need this option:D MsgBox(0, "", "ID z listy: " & $ID_z_LISTY & @CRLF & "ID gracza: " & $ID_GRACZA & @CRLF & "Pozycja: " & jest()); & $nik)
Developers Jos Posted March 13, 2011 Developers Posted March 13, 2011 Please read the announcement at the top of the forum. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
lokuxd Posted March 13, 2011 Author Posted March 13, 2011 I do not want to make a bot to the game only needs a function to the string
Developers Jos Posted March 13, 2011 Developers Posted March 13, 2011 I do not want to make a bot to the game only needs a function to the stringSure.... *click* SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Recommended Posts