potentialunexplored How do I cheat? Reputation: 0
Joined: 06 Mar 2023 Posts: 8
|
Posted: Thu Oct 03, 2024 11:53 am Post subject: Writing a string at an address |
|
|
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
|
|