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 


Dissect Data Structures Problem -- String Comparisons?

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

Joined: 10 May 2016
Posts: 4
Location: TX, USA

PostPosted: Tue Jan 09, 2018 10:10 pm    Post subject: Dissect Data Structures Problem -- String Comparisons? Reply with quote

This is a problem I haven't been able to figure out.

In the "Dissect Data Structures" tool, only one line shows as usable.
This is a "weapon targeted at" record / offset.
Multiple weapons at multiple locations ( variable ), for every in-game object.
One "target ID / shoot at" line per weapon.
I am guessing that means the offset will NOT remain constant.
( If I had somewhere on the net to store an image I would post a screenshot. Sorry. )

Sample Line :
Code:
-0208 String 59E43FE0 : UUU@ 59E3D9E0 : -Blank-

UUU@ is an AI targeting the Player
-Blank- is Player targeting an AI

The damage code is shared ( both Player and AI ) :
Code:
Part 1
sub [ebx+000000D4],eax
Part 2
sub [esi+000000D4],eax


Can a string comparison be done?
Is it possible to set up a "variable / on-the-fly" offset?
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Tue Jan 09, 2018 10:19 pm    Post subject: Reply with quote

3bitbrain wrote:
Can a string comparison be done?

convert to hex, and compare as hex.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
3bitbrain
How do I cheat?
Reputation: 0

Joined: 10 May 2016
Posts: 4
Location: TX, USA

PostPosted: Wed Jan 10, 2018 12:12 pm    Post subject: Thanks for the hint Reply with quote

Will try that conversion.

Will I have to make a list of "offsets" to perform compares on?
In other words, cover all possible "offsets"?
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