View previous topic :: View next topic |
Author |
Message |
alex2102 How do I cheat? Reputation: 0
Joined: 03 Dec 2024 Posts: 7
|
Posted: Sun Dec 08, 2024 8:26 am Post subject: Can't find attack range address in Minecraft |
|
|
I'm trying to find the attack range address for Minecraft single player 12.2.2 with mods (base attack range seems to be default one=3), but unsuccessfully.
I've noticed that when I'm in creative mod (gamemode 1) the range is increased and when in survival (gamemode 0) decreased. I've tried to find increased/decreased value, but unsuccessfully. I've also tried static one 3.0 float, but it also didn't work. Tried dissect data structure to find some values in it, also didn't work for me.
How can I find it. Is there any other ways to do so? Maybe some defined values which I need to search for?
PS: If necessary I can share the link to this Minecraft package or make a call in discord with screen sharing (I'm not a kid 😁).
I would be very happy to any help, cause I've been trying it for more than a week and can't stop thinking how to do so. I've managed to enable different hacks (speedhack, airjum..) but this one is insanely difficult.
|
|
Back to top |
|
|
Gear2ndGandalf Cheater Reputation: 0
Joined: 22 Jan 2018 Posts: 36 Location: USA
|
Posted: Sun Dec 08, 2024 10:33 am Post subject: g |
|
|
You have a leg-up due to the fact that you know the value = 3, but how do you know? Anyhow, when you change game modes to do another scan, you may have already lost the address due to pointers changing when loading modes.
You’ll probably want to find the hit box of your weapon by freezing the game with a hotkey as you hit and doing a scan. Narrow this down until you find a byte that changes from 0 to 1 or 0 to 128 or 255 to 1 maybe. Start by finding the flag that triggers when you hit an enemy or object. When you’re able to find collision detection then you’re one step closer to finding the collision radius. Also, if the game has weapons that can hit further than other weapons try scanning for changes between weapon stats. It may not work but it’s worth a shot.
Again, changing game modes may cause you to lose the address because the pointers to address may shift during loading the map/mode.
|
|
Back to top |
|
|
alex2102 How do I cheat? Reputation: 0
Joined: 03 Dec 2024 Posts: 7
|
Posted: Thu Dec 12, 2024 11:06 am Post subject: |
|
|
Thank you for advice, but I've tried these steps, and gamemode is the only one thing that is changing the attack range.
By changing the mod I've found the address that is responsible for holding the current value of the mod, I've tried to find what access this address since the range is changed when mod is changed, but I couldn't find it in the code.
|
|
Back to top |
|
|
|