View previous topic :: View next topic |
Author |
Message |
fearZ How do I cheat? Reputation: 0
Joined: 17 Jan 2015 Posts: 3
|
Posted: Sat Jan 17, 2015 5:28 am Post subject: small script |
|
|
Hey guys, I need a script to display the value in the edit box.
Description: |
|
Filesize: |
12.19 KB |
Viewed: |
4398 Time(s) |
|
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Sat Jan 17, 2015 5:05 pm Post subject: |
|
|
Not sure how to read 2 bytes.. but heres a method no function for that yet.
Code: | local t = readBytes(0x1FB1022,true)
local v = tonumber('0x'..string.format("%x",t[2])..string.format("%x",t[1]))
CETRAINER.CEEdit1.Text = v; |
Another method would is finding that memory record and getting its value
_________________
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Jan 17, 2015 8:34 pm Post subject: |
|
|
@DaSpamer
Code: | local v = bAnd( readInteger(0x1FB1022) , 0xFFFF ) |
Or you can define this function:
Code: | function readWord(a)
return bAnd(readInteger(a),0xFFFF)
end |
Then
Code: | local v = readWord(0x1FB1022) |
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sat Jan 17, 2015 8:42 pm Post subject: |
|
|
byteTableToWord is an possibility as well
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
|