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 doesn't work in double dragon 4

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

Joined: 17 Dec 2023
Posts: 2

PostPosted: Sun Dec 17, 2023 2:56 am    Post subject: Cheat engine doesn't work in double dragon 4 Reply with quote

First of all, Double Dragon 4 is a pixel art 2D side scrolling offline beat em up game for those who don't know
Second, I have a few basic knowledge about how to use cheat engine and I tryed to use it for searching for lifes in double dragon 4, and i managed to find the adress for life, but there is a problem: everytime i restart the game the cheat table doesn't work and where the value of lifes should normally be there are just 2 question marks, and if i try to use the cheat table i created after restarting the game it just doesn't work, i wanna know what causes the issue, and i repeat it's an offline game
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25831
Location: The netherlands

PostPosted: Sun Dec 17, 2023 3:56 am    Post subject: Reply with quote

it's called dynamic memory allocation. When a game allocates memory windows will return it a random address and give it the location of it. So if the lives is in allocated memory, it'll change each time the game is ran

You can solve this by using pointers or code injection. (Check out ce's tutorial for an example)
Pointerscan might be the easiest if you have absolutely no grasp of assembler code

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
DanielKun616
How do I cheat?
Reputation: 0

Joined: 17 Dec 2023
Posts: 2

PostPosted: Sun Dec 17, 2023 4:03 am    Post subject: Reply with quote

Do not worry, I read the rules and I know it's against the rules to ask for hacking in online games, i only am interested into hacking offline single player games and i will check some tutorials about what you said

Edit:
Hello um, look, i tryed the injection code thing but it gave me an error that's like this: your code injection must have an enable and disable section

I don't know why the error occurs, and I am not an expert in cheat engine, i know to search for health and lives, and now i tryed to follow some tutorials, i really tryed but i failed, i am just tooo dumb to understand how the code injection of cheat engine works😢😢😢😢😢😢😭😭😭😭😭😭😭😭😭
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25831
Location: The netherlands

PostPosted: Sun Dec 17, 2023 9:05 am    Post subject: Reply with quote

try the pointerscanner. ( https://www.youtube.com/watch?v=3dyIrcx8Z8g until 3:30 don't watch after that)

but regarding code injection:
Code:

[enable]
yourscript

[disable]



you can leave disable empty if you don't wish to disable

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4717

PostPosted: Sun Dec 17, 2023 11:33 am    Post subject: Reply with quote

Try going through the CE tutorial. There are plenty of videos that will walk you through it.
_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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