SpaceDingus9000 How do I cheat?
Reputation: 0
Joined: 10 Mar 2017 Posts: 1
|
Posted: Fri Mar 10, 2017 4:57 pm Post subject: Can't change value beyond defined min / max |
|
|
I'm playing a top down game that has a rather limiting camera zoom, and I decided to try and see if I can get around it.
I've been able to correctly identify the memory address that adjusts camera zoom, because when I change it I see the game update accordingly. There is also a memory address with the same value, but changing it has no effect, it just constantly mirrors the real value.
Now that I've found the right address though, it seems I cannot change it to be outside a standard bounds (ex: 45 and 134). If I change it to 180, the game goes to maximum zoom and sets the variable to 134, while if I change it to 30, the game goes to minimum zoom and sets it back to 45.
I'm guessing the programmers added some sort of check in the code that says
| Code: |
if (camZoom > 134)
{
camZoom = 134;
}
if (camZoom < 45)
{
camZoom = 45;
}
// do stuff
|
Any ideas on how I might get around this?
Thanks for reading
|
|