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 


loot range / aoe looting of items

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3339

PostPosted: Mon Nov 02, 2020 12:11 pm    Post subject: Reply with quote

This depends a lot on the game.

I did this once in Atom RPG.
I looked for a byte value that is 1 when the object is "lit" (can be activated), and 0 otherwise.
Then, I looked at the code that sets the flag to 1 and found it was a simple range check.
It might also be a collision check (of two spheres/ellipses).
Really depends.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Nov 02, 2020 12:18 pm    Post subject: Reply with quote

Another means of finding this is using your XYZ position data. Find those first, then find what accesses them, then attempt to loot something. You should get a result that is accessing your location data to do distance checks if you are close enough to loot something.

If things are automatically picked up then this is a check that is probably constantly running vs. only when you press a key or click on something to try to loot it. So it will be a result that happens immediately when finding what accesses your location data.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Nov 03, 2020 2:16 pm    Post subject: Reply with quote

If the test is to check if something should be looted, you can try and change the "test al, al" to "mov al, 1" if the game is expecting the call to return 1. (Or 0 depending on how the check is coded.)
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
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