 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
hack-attack How do I cheat?
Reputation: 0
Joined: 22 Mar 2015 Posts: 3
|
Posted: Mon Mar 23, 2015 12:59 pm Post subject: how to get the AOB from an adress |
|
|
hello guys ,
i want to work on text , not pointers not any thing else ,
i want to search for a value which is something like this
02 00 00 00 00 00 00 ?? ?? ?? ?? ??
so with AOBScan , i get it , and its 1 value ,
02 00 00 00 00 00 00 99 99 99 99
i want to print this , or setProperty on txt box ,
but the result of the AOBscan "when i use stringlist_getString "is the adress
so if i have the adress , how can i set the AOB starting from that adress on text box ,.
| Code: |
cody=AOBScan("02 00 00 00 00 00 00 ?? ?? ?? ?? ??")
address=stringlist_getString(cody) --thisgives me the address
setProperty(Form_TxtBoxEdit1,"Text",""..address)
|
here th result in text box is
stringlist_getString -- gives me the adress of that AOB
stringlist_getCount -- gives me the count of result , or how many AOB found
is there any thing else that gives me what is the wildcards is ,
-
or in next step ,
i got the adress from the previous code ,
is there any function that gives me the AOB ,,
im thinking like this ,
| Code: |
-- this is just example i know its wrong .,
aob=AOBGet(adress,36) -- here i want to get AOB with 36 charchter length ///// here i want help , what is the right function to do that
setProperty(Form_TxtBoxEdit2,"Text",""..aob)
|
here , the result should be in text box
| Code: | | 02 00 00 00 00 00 00 99 99 99 99 |
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Mon Mar 23, 2015 7:51 pm Post subject: |
|
|
If there is an actual string in memory at that address you want to receive, use:
| Code: | readString(address, maxlength, widechar OPTIONAL) : Reads a string till it encounters a 0-terminator. Maxlength is just so you won't freeze for too long, set to
6000 if you don't care too much. Set WideChar to true if it is encoded using a widechar formatting |
If you actually want the string "02 00 00 00 00 00 00 99 99 99 99"
You can use the following and convert each value in the returned array to a hex string.
| Code: | readBytes(address,bytecount, ReturnAsTable ) : returns the bytes at the given address. If ReturnAsTable is true it will return a table instead of multiple bytes
Reads the bytes at the given address and returns a table containing the read out bytes |
|
|
| Back to top |
|
 |
hack-attack How do I cheat?
Reputation: 0
Joined: 22 Mar 2015 Posts: 3
|
Posted: Tue Mar 24, 2015 5:17 pm Post subject: |
|
|
| Quote: |
You can use the following and convert each value in the returned array to a hex string.
|
how can i do that , is ther any example outthere , i try to search a lot , i got nothing
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Tue Mar 24, 2015 6:12 pm Post subject: |
|
|
| Code: | cody=AOBScan("02 00 00 00 00 00 00")
address=stringlist_getString(cody)
data = readBytes(address, 12, true)
text = ""
for i, v in pairs(data) do
if i > 1 then
text = text .. " "
end
text = text .. string.format("%02X", v)
end
setProperty(Form_TxtBoxEdit1,"Text",text) |
or
| Code: | | text = string.format("%02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X", readBytes(address, 12)) |
|
|
| Back to top |
|
 |
hack-attack How do I cheat?
Reputation: 0
Joined: 22 Mar 2015 Posts: 3
|
Posted: Tue Mar 24, 2015 10:56 pm Post subject: |
|
|
Thx bro, i will test it
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|