Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Can't find attack range address in Minecraft

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
alex2102
How do I cheat?
Reputation: 0

Joined: 03 Dec 2024
Posts: 7

PostPosted: Sun Dec 08, 2024 8:26 am    Post subject: Can't find attack range address in Minecraft Reply with quote

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
View user's profile Send private message
Gear2ndGandalf
Cheater
Reputation: 0

Joined: 22 Jan 2018
Posts: 36
Location: USA

PostPosted: Sun Dec 08, 2024 10:33 am    Post subject: g Reply with quote

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
View user's profile Send private message
alex2102
How do I cheat?
Reputation: 0

Joined: 03 Dec 2024
Posts: 7

PostPosted: Thu Dec 12, 2024 11:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites