| View previous topic :: View next topic |
| Author |
Message |
Cheaterino How do I cheat?
Reputation: 0
Joined: 22 Jun 2016 Posts: 5
|
Posted: Sun Nov 11, 2018 4:12 am Post subject: Pointer loop? |
|
|
Hey so I'm kind of new to this pointer thing but I watched a video on youtube and seem to have gotten the hang of it. In the tutorial I've managed to do it but when it comes to actually using it in a game I'm having a bit of trouble.
It seems that the pointer I find is pointing back to the previous adress or something like that leaving me unable to progress.
So here is my process
I find the adress holding the id, lets say it is: 129BC2E4
Ok so then I find out what acceses that and the value I get is edx+ebx*4+0C
where edx = 129BC2D8 and ebx = 00000000
So then I go ahead and scan with hex for 129BC2D8
I find the adress 129BC2D0 which I set as a pointer with the offset C as i assume the rest doesn't matter when the value is 0 anyway.
The pointer I set works as it gives me the same value as the original adress.
Now when I go ahead and find out what accesses that pointer I get the value eax+ebx where eax = 129BC2D8 and ebx = 00000018
So at this point I have no clue what to do as the adress I've received is the same as the previous one. Anyone know what to do here?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25858 Location: The netherlands
|
Posted: Sun Nov 11, 2018 4:27 am Post subject: |
|
|
What is the instruction that accesses it? Is it a read or write, and if a read, does it affect one of the used registers? ( The register states are shown AFTER execution)
Because 129BC2D8+18 results in 129BC2F0 . Which means you did a find what accesses on 129BC2F0, which is wrong, as you should have done find what accesses on 129BC2D0
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Cheaterino How do I cheat?
Reputation: 0
Joined: 22 Jun 2016 Posts: 5
|
Posted: Sun Nov 11, 2018 4:27 am Post subject: |
|
|
Did some research and it seems that other people are experiencing the same issue with Java games. This is also a java game so apparantly you can't find proper pointers in there.
Does anyone know if there is another method to use instead?
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25858 Location: The netherlands
|
Posted: Sun Nov 11, 2018 4:33 am Post subject: |
|
|
You can launch java with compressed pointers disabled
(-XX:-UseCompressedOops )
Alternatively, try finding the object in the java jvmti agent, then find the java class, decompile that class , edit it, and change it out (ce comes with some functions to edit java classes)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Cheaterino How do I cheat?
Reputation: 0
Joined: 22 Jun 2016 Posts: 5
|
Posted: Sun Nov 11, 2018 4:41 am Post subject: |
|
|
The game is launched from a .exe, how would I go on to apply -XX:+UseCompressedOops to the java program?
It's Old School Runescape if you're wondering
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25858 Location: The netherlands
|
Posted: Sun Nov 11, 2018 5:05 am Post subject: |
|
|
Try setting the global environment variable JAVA_TOOL_OPTIONS to -XX:-UseCompressedOops
Or open a command prompt and in there type
| Code: |
set JAVA_TOOL_OPTIONS=-XX:-UseCompressedOops
|
and then run the game from the command line
(note the -. Don't use + as that tells java to use compressed pointers, which is what it always uses)
Also, pointers are still going to suck in java, but this will make it at least slightly possible
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
Cheaterino How do I cheat?
Reputation: 0
Joined: 22 Jun 2016 Posts: 5
|
Posted: Sun Nov 11, 2018 10:19 am Post subject: |
|
|
| Dark Byte wrote: | Try setting the global environment variable JAVA_TOOL_OPTIONS to -XX:-UseCompressedOops
Or open a command prompt and in there type
| Code: |
set JAVA_TOOL_OPTIONS=-XX:-UseCompressedOops
|
and then run the game from the command line
(note the -. Don't use + as that tells java to use compressed pointers, which is what it always uses)
Also, pointers are still going to suck in java, but this will make it at least slightly possible |
Tried this but without any luck, the game is refusing to even launch after setting the environment variable or launching from cmd with those settings :/
|
|
| Back to top |
|
 |
|