| View previous topic :: View next topic |
| Author |
Message |
SwaggaJackin' Master Cheater
Reputation: 2
Joined: 06 Nov 2009 Posts: 312
|
Posted: Mon Jul 25, 2011 5:29 pm Post subject: Minecraft crashing when injecting code |
|
|
I got a retail copy of Minecraft 1.7.3 beta and everytime I try to inject code into assembler I got from 'find out what writes to this address' minecraft crashes if I attempt to modify the write code in anyway. Is this a problem with Java or some sort of CRC check with Minecraft.
I have a work around, if I find out what reads the address and inject the code there it doesn't crash. My question is, why does this happen and is this Minecraft specific or with all JRE applications/games?
Thanks.
|
|
| Back to top |
|
 |
efficacy28 Cheater
Reputation: 0
Joined: 07 Jun 2010 Posts: 35
|
Posted: Tue Jul 26, 2011 9:39 pm Post subject: |
|
|
I had the same problem too. Use 'find out what access to this address' instead of 'find out what writes to this address'
I don't know why, but it works.
_________________
I like pie so much, that no group could ever sum up to the value of how much of I like pie. |
|
| Back to top |
|
 |
SwaggaJackin' Master Cheater
Reputation: 2
Joined: 06 Nov 2009 Posts: 312
|
Posted: Tue Jul 26, 2011 10:21 pm Post subject: |
|
|
| Ya, I'm wondering if this is a Java Runtime issue or the game itself. I don't play many Java games.
|
|
| Back to top |
|
 |
efficacy28 Cheater
Reputation: 0
Joined: 07 Jun 2010 Posts: 35
|
Posted: Wed Jul 27, 2011 8:55 pm Post subject: |
|
|
Well, I don't know. What I do know, is when you use 'what writes this address' to one address, the same code appears when you find 'what writes this address.'
_________________
I like pie so much, that no group could ever sum up to the value of how much of I like pie. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 26002 Location: The netherlands
|
Posted: Wed Jul 27, 2011 9:49 pm Post subject: |
|
|
emulators use the same code for all data access
Try finding a way to find the address another way.
Probably still a hook there, but evaluate the registers, follow back to the base, find the classname and variablename of the var in the class, and then compare if it is what you need
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
SwaggaJackin' Master Cheater
Reputation: 2
Joined: 06 Nov 2009 Posts: 312
|
Posted: Thu Jul 28, 2011 9:55 pm Post subject: |
|
|
| Dark Byte wrote: | emulators use the same code for all data access
Try finding a way to find the address another way.
Probably still a hook there, but evaluate the registers, follow back to the base, find the classname and variablename of the var in the class, and then compare if it is what you need |
I see, so this is a JRE issue then. I'm assuming it's interfering with the interpreted code.
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Thu Jul 28, 2011 11:04 pm Post subject: |
|
|
If you inject an unchagned template and it is crashing, the problem is the code injection itself. If not, then the problem was the code itself that you have replaced/changed.
I don't play java games at all but if it is using static addresses compared to the base address, probably one of the registers will hold the base address and you can calculate all addresses compared to that. At least this is working in most emulators. But no idea about java.
_________________
|
|
| Back to top |
|
 |
SwaggaJackin' Master Cheater
Reputation: 2
Joined: 06 Nov 2009 Posts: 312
|
Posted: Fri Jul 29, 2011 12:27 am Post subject: |
|
|
| Ya, it's definitely not the injection itself, because creating a jump and executing the original code causes no crash, only when the instructions are actually changed does a crash occur.
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 112
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Fri Jul 29, 2011 3:50 am Post subject: |
|
|
Then it is not a protection. Probably just a shared code that is messing with the wrong values too and crash the game.
_________________
|
|
| Back to top |
|
 |
|