Здравствуйте, гость ( Вход | Регистрация )

> help me understand Readmem
Ramsiriuz
сообщение 3.12.2023, 11:18
Сообщение #1


*

Registred
Сообщений: 2
Регистрация: 3.12.2023
Группа: Пользователи
Наличность: 0
Пользователь №: 20.670
Возраст: 25



Hello, I want to create a script that presses F1 when it detects mana below 50. However, the issue is that I don't know how to correctly start the readme sequence of readme. Could help me interpret the data correctly, please? Currently, if I use the final memory value, it finds the maximum mana value, which in this case would be 90. But when I want to use the memory path, it doesn't find it and returns a value of -1.


Код

--lua
local pointer = readmem (0x00000354, "D")
pointer = readmem (pointer + 0x1E8, "D")
pointer = readmem (pointer + 0x4C, "D")
pointer = readmem (pointer + 0x18, "D")
pointer = readmem (pointer + 0x38, "D")
pointer = readmem (pointer + 0x18, "D")
pointer = readmem (pointer + 0x8, "D")
pointer = readmem (pointer + 0x578, "D")
msg(pointer)



I leave a complete image of the context so you can help me.
https://ibb.co/c3LvMsn
Пользователь в офлайнеDelete PostОтправить личное сообщение
Вернуться в начало страницы
+Ответить с цитированием данного сообщения



Ответить в эту темуОткрыть новую тему
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 

- Текстовая версия | Версия для КПК Сейчас: 9.6.2024, 8:20
Designed by Nickostyle