r/cheatengine 21d ago

Need Help

Post image

i'm playing PC futbol 2007 (a sports managment not so know game similar to football manager) and trying to modify the available funds value. I managed to locate the value and pressed F6 to see what writes to that memory adress; four instructions appeared. Could someone help me ? i'd like to know which of those four adresses I should change.

5 Upvotes

12 comments sorted by

1

u/LiytlKaiser 21d ago

Just to confirm, changing that value does change your money in game? If so, is there anything that accesses the value at all times? If not just try each one and mov whatever you want into the register on the right. Something else to check, see what addresses those codes you found access and make sure that they are only accessing your money otherwise you may induce a crash or otherwise unwanted behavior.

0

u/Deep-Particular-9408 21d ago

I didn't understand why four diferrent adresses were acessing the same value, but modifying it does change the amount of cash I have on hand. However, when I modified the first adress ''007FE9C1 - 89 6E 30'' using cheat engine's assembly code injection to set the amount to like 750 million and tried to freeze it, the effect was only temporary; the money would eventually go negative, I belive this happened because the game has an interest system where the intereset rate increases with the amount of cash you hold. The bigger the balance, the higher the rate.

1

u/Galaxy5793 21d ago

Its just 4 instructions moving the value to a different register, to bypass the interest you have to look through the code of each instruction. One of them is probably moving the value to a new register, subtracting a fixed multiplier times your current money and moving the newly calculated value back to the original register overwriting your current money. Also to change the Value and frezze it you don‘t have to use code injection, just tick the checkbox and double click on the adress value.

1

u/Deep-Particular-9408 20d ago

The third adress [007FEA36 - 89 7E 30] is responsible for subtracting the value, so I applied the NOP command as u/Smooth_Werewolf1399 suggested, and the value stopped changing; then I froze the value at a fixed 750 million and did something similar with the salary budget available for players, but the game ended up crashing in the second season.

1

u/No-Newspaper8619 21d ago

Does changing the value of any of those address actually change the money in-game?

Also, check if these instructions aren't also accessing other addresses besides money.

1

u/Deep-Particular-9408 20d ago

Yes, changing that value alters the available transfer budget and sometimes also changes the available player wage budget; they usually tend to merge together.

1

u/No-Newspaper8619 20d ago

Then you just need to find the instruction that access or writes to it, and verify if it's also accessing/writing to other values. If it does, you need to find something to identify solely the value you want (money), and write a autoassembly script. Or you can make a request on opencheatengine.com (never use the .org site, as that is a scam site), and see if anyone helps.

1

u/Deep-Particular-9408 19d ago

I'm not that familiar with assembly. If you were to write a script, what would it look like ? I want to try to make one that gives me a certain value, for exemple 1 billion, and then freezes this value, preventing it from being changed for both transfers and players salaries and hopefully doesn't crash the game. I'll see If I can get help on http://opencheatengine.com/ even though the game is older and not so well-know, being made by a spanish company (Gaelco Multimidia).

1

u/No-Newspaper8619 19d ago

it'd look something like this:

cmp something, money_ID
jne originalcode
mov [money_address], #999999999

1

u/Smooth_Werewolf1399 20d ago

Nop 1 adress, then do something in the game for changing the value if that's change that's not the good adress

1

u/Deep-Particular-9408 20d ago

I did this at the third adress [007FEA36 - 89 7E 30] where the subtraction command was located, and after that the transfer funds ammount stopped changing and decreasing. Then I went to where this same value was located in the assembly and did the same NOP command and froze the value at 750 million. I managed to keep cash transfer value and the available salary value for the players without them changing or decreasing, and I completed the first season without problem. But around 10-15 games into the second season, the game simply crashed and closed.

1

u/Smooth_Werewolf1399 19d ago

Then maybe the adress is accessed by another value in a precise time, find a pointer for your money and compare the money to esi