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 


How to create autosearch?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
mabell1
How do I cheat?
Reputation: 0

Joined: 29 Nov 2020
Posts: 2

PostPosted: Sun Nov 29, 2020 4:46 am    Post subject: How to create autosearch? Reply with quote

Hello, i can get the all mob list by searching last digits B and a dynamic hex value game creates in startup like 03B4BCEB and adding +4 to adress i can get id of the mob. The thing is i need to create a autosearch because there is nearly 6k mobs in game so doing these by hand gets really long.
Back to top
View user's profile Send private message
mabell1
How do I cheat?
Reputation: 0

Joined: 29 Nov 2020
Posts: 2

PostPosted: Mon Nov 30, 2020 1:08 pm    Post subject: Reply with quote

Searching the forum and copy pasting things (mostly dark byte) did the trick:
Code:
ms=createMemScan()
memscan_firstScan(ms,1,vtDword,2,"HERE",nil,0,0x7fffffffffff,"+W*X",fsmLastDigits,"B",true,false,false,false)
memscan_waitTillDone(ms)

--get the result of the scans
fl=createFoundList(ms)
foundlist_initialize(fl)
local count=foundlist_getCount(fl)

if (count>0) then

for count = 0, count - 1 do
local saddress=foundlist_getAddress(fl, count) --get the first address

 -- print("Adding "..saddress.." to the list")

  --add to the addresslist
  local al=getAddressList()
  local mr=addresslist_createMemoryRecord(al)

  memoryrecord_setDescription(mr,"Result of automated scan")
  memoryrecord_setAddress(mr,saddress.."+4")
  memoryrecord_setType(mr, vtDword)
end

else
  print("No addresses found")
end

--cleanup
object_destroy(fl)
object_destroy(ms)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites