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 


Writing a string at an address

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

Joined: 06 Mar 2023
Posts: 8

PostPosted: Thu Oct 03, 2024 11:53 am    Post subject: Writing a string at an address Reply with quote

Hi there folks, I'm back at it with CE!
In a game there's a function that loads in all of the abilities (skills) upon start.
Each skill is represented by an address, that contains a pointer to a string which is the skill's path in the game database. There's also a value that represents a length of the path.

In the picture you can see a pointer to the string (0004) and the length value (0014).
i.imgur. com/KJn28Te.png

Here's the pointer opened and the string that I'm trying to change.
i.imgur. com/iHexNyw.png

The issue is I can't change the path & the lengh manually after starting, because the way it works, game doesn't register this change after the fact, it seems it needs to happen as the game loads.
So I'm looking for a way to overwrite this path & length as it happens.

Let's say I want it to be "records\xpack2\skills\monster skills\attack_melee\fireimp_shackle.dbr" instead, how would you go about it? Would Lua be a better option in this case?

Here's the injection point if it's any help
i.imgur. com/oZG0TjW.png
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