Jump to content

[question]String with memory


Recommended Posts

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)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...