Sign in to follow this  
Followers 0
lokuxd

[question]String with memory

4 posts in this topic

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)

Share this post


Link to post
Share on other sites



I do not want to make a bot to the game only needs a function to the string

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0