Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Cheat Engine Forum Index
PostGo back to topic
Corroder
Grandmaster Cheater Supreme
Reputation: 75
Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sun Feb 24, 2019 8:15 pm    Post subject:

anyway 31 35 32 32 31 38 38 39 37 38 32 = 4.66450615834406E-33 in double value
and 15221889782 = F6 9A 4B 8B FF FF FF FF in bytes array

but as you wish :

Code:
function getByteString(address, bytecount)
  local bytes = readBytes(address, bytecount, true)
  if bytes then
    local result = ""
    for i = 1, #bytes do
      if #result > 0 then
        result = result .. " "
      end
      result = result .. string.format("%02X", bytes[i])
    end
    return result
  end
end

myaob = '73 65 6C 65 63 74 5F 49 74 65 6D 5F 31 30 32 3A 22 ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??'

aobresult=AOBScan(myaob)

j = 0
cnt = 1
if (aobresult~=nil) then
--  print("Results found: "..aobresult.Count)
  while j < aobresult.Count do
    a = getByteString(aobresult[j], 12)
--    print("Address "..cnt.." = "..aobresult[j].." --> AOB :  "..a)
    a = string.sub(a, -32)
    UDF1.CEEdit1.Text = a
--    print(a)
     j=j+1
     cnt = cnt+1
  end
  aobresult.destroy()
  aobresult=nil
else
  print("No results found")
end


_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Post reviews:   Approve 1
Author Review
AylinCE
Review: Approve
Post reference:
ReviewPosted: Wed Feb 27, 2019 5:16 am

Thanks Master.. Big Thanks.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites