 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
frenchiveruti Cheater
Reputation: 0
Joined: 07 Jun 2009 Posts: 35
|
Posted: Thu Jul 20, 2023 8:07 am Post subject: Mount & Blade Bannerlord values keep changing address |
|
|
Hello, I've been a user of cheat engine for ages.
In general, games would've had a constant behavior. Search a value, narrow down the list, use it for the whole session of the game and if you felt venturous or with time, do a pointer search to save yourself time in the future.
That seems to not be the case with M&B Bannerlord.
Why's bannerlord different?
Here's the behavior I've noticed.
We search for a value, say for example the money my character has in possession. Narrow it down, and even find a value that does indeed work for our intents and purposes.
But, after some time, even a few minutes of travelling around the map, these values would just fly out of the window and never be usable again.
Furthermore, sometimes the values I can find with cheat engine for Bannerlord no longer find the correct address where the cash is stored, it's like the value is either a different type (which I tried to find, with no luck) or the game has an anti-cheating measure in-place.
Any insight on how does the game achieve dynamic addresses for the values, is appreciated, and if there's an specific setting one must use when it comes to this, such as the ones used for emulators for example where one has to scan a section of the memory that the default settings don't utilize.
Anyways, I hope to get some knowledge from this.
Thanks,
_________________
Acknowledgeable enough. |
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4707
|
Posted: Thu Jul 20, 2023 10:27 am Post subject: |
|
|
Objects can be copied around in memory. It's usually not "optimal" to do this, but it is something that happens.
Find the value again and generate a pointermap. Make sure you actually found the value- i.e. changing it allows you to buy stuff you normally wouldn't in game. Restart the game (quit to desktop, not just the main menu), find the value again, and do a pointerscan for that value. Also use the previous pointermap in your scan- this will save you millions to billions of useless results.
See this video of step 8 of the CE tutorial for an example:
https://www.youtube.com/watch?v=3dyIrcx8Z8g
After the pointerscan finishes, continue to play the game and periodically narrow down the pointer list by value.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
frenchiveruti Cheater
Reputation: 0
Joined: 07 Jun 2009 Posts: 35
|
Posted: Sat Jul 22, 2023 9:40 pm Post subject: Issue |
|
|
The main issue I'm having is that sadly I'm unable to know which one exactly is the one that actually modifies the number, because after a certain point it stopped showing up. I don't know if it's notation or type but the value is gone.
If I do a 'new game' I may be able to find it, if I find the pointer in that new-game, would I be able to use it on the save I'm currently using?
Thanks,
_________________
Acknowledgeable enough. |
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4707
|
Posted: Sat Jul 22, 2023 11:18 pm Post subject: |
|
|
| frenchiveruti wrote: | | If I do a 'new game' I may be able to find it, if I find the pointer in that new-game, would I be able to use it on the save I'm currently using? | Probably. Account for that when generating pointermaps.
e.g. new game, find value, generate a pointermap, close and reopen game, new game, find value, pointerscan for that value, also use that other pointermap
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
JenniferRogers How do I cheat?
Reputation: 0
Joined: 24 Jul 2023 Posts: 2
|
Posted: Mon Jul 24, 2023 5:21 am Post subject: |
|
|
| Thank you for the video link, I will check it.
|
|
| Back to top |
|
 |
frenchiveruti Cheater
Reputation: 0
Joined: 07 Jun 2009 Posts: 35
|
Posted: Sat Jul 29, 2023 2:48 pm Post subject: |
|
|
| ParkourPenguin wrote: | | frenchiveruti wrote: | | If I do a 'new game' I may be able to find it, if I find the pointer in that new-game, would I be able to use it on the save I'm currently using? | Probably. Account for that when generating pointermaps.
e.g. new game, find value, generate a pointermap, close and reopen game, new game, find value, pointerscan for that value, also use that other pointermap |
Ok, thank you, I think this game is either poorly written in structures or it's doing it on purpose to avoid these kind of "shortcuts" which I find it funny as it's singleplayer.
I'll check if I have any luck with pointermaps.
Side-question, you responded to me with a beginner level approach? Or it's something that you would use as well in case a game or software presented this behavior? I'm curious if there are more advanced techniques out there that need more brain or knowledge to be used, or this is the 'best for all' there is.
_________________
Acknowledgeable enough. |
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4707
|
Posted: Sat Jul 29, 2023 7:02 pm Post subject: |
|
|
I'd reach for assembly as fast as possible, but that's because I'm familiar with it.
Find the value, verify it works (changing it affects the in-game currency), look at what instructions access the value, do something related to money to get some instructions to come up (open inventory / shop window, buy / sell something, etc.), verify the value still works (if not, some or all of those instructions might not be valid), then do whatever I need to do using those instructions.
If you want infinite money, it's usually sufficient to make everything free or never allow your money to decrease. If you must be able to modify the value at will, copy the address in a code injection (search "injection copy").
Instructions that access multiple values can be really annoying to deal with.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
frenchiveruti Cheater
Reputation: 0
Joined: 07 Jun 2009 Posts: 35
|
Posted: Thu Aug 03, 2023 8:22 am Post subject: |
|
|
| ParkourPenguin wrote: | I'd reach for assembly as fast as possible, but that's because I'm familiar with it.
Find the value, verify it works (changing it affects the in-game currency), look at what instructions access the value, do something related to money to get some instructions to come up (open inventory / shop window, buy / sell something, etc.), verify the value still works (if not, some or all of those instructions might not be valid), then do whatever I need to do using those instructions.
If you want infinite money, it's usually sufficient to make everything free or never allow your money to decrease. If you must be able to modify the value at will, copy the address in a code injection (search "injection copy").
Instructions that access multiple values can be really annoying to deal with. |
I see, thank you very much, this particular game has been giving me issues with the memory view, where I would scroll and the instructions would dissapear, I'll try to get a video as it may be a bug with CE.
Bests,
_________________
Acknowledgeable enough. |
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4707
|
Posted: Thu Aug 03, 2023 11:46 am Post subject: |
|
|
Instructions aren't a constant size. When you scroll up, CE has to guess where the previous instruction begins. Sometimes this guess is wrong. Use the left and right arrow keys to manually align the start address of the disassembler one byte at a time.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
|
|
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
|
|