05.12.2013, 02:32
(
Last edited by JoshuaFoster; 06/12/2013 at 05:05 AM.
)
Hi, I'm making an autoit script to translate the chat messages writen by the players in my Samp 'Client'(not server, so it's just for me).
I'm gonna read the new lines written, get their ****** translation, and write in the same memory address, so they appear automatically
I've found the address with CheatEngine looking for "chatlog.txt" and paging down so it works perfectly. I can see the translated messages. But I'd like to know the pointer (if it's static) of the chat messages, because I know that the memory address is dynamic. Also I'm kinda new to memory hacking stuff
There is this webpage : http://www.gtamodding.com/index.php?...dresses_(SAMP))
which says the pointer of the SAMP 0.3b R3 Client Chatbox. Since it's an old version, it changed and now it doesn't work
This is the part of my autoit script which I use the address:
I'm gonna read the new lines written, get their ****** translation, and write in the same memory address, so they appear automatically

I've found the address with CheatEngine looking for "chatlog.txt" and paging down so it works perfectly. I can see the translated messages. But I'd like to know the pointer (if it's static) of the chat messages, because I know that the memory address is dynamic. Also I'm kinda new to memory hacking stuff
There is this webpage : http://www.gtamodding.com/index.php?...dresses_(SAMP))
which says the pointer of the SAMP 0.3b R3 Client Chatbox. Since it's an old version, it changed and now it doesn't work
This is the part of my autoit script which I use the address:
Code:
_WinAPI_ReadProcessMemory($hwnd, $addr, DllStructGetPtr($s), DllStructGetSize($s), $iRead) ... _WinAPI_WriteProcessMemory($hwnd, $addr, DllStructGetPtr($s2), DllStructGetSize($s2), $iRead)