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 


[CE] Finding (multi-level) pointers in java games

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Deine Mutter
Expert Cheater
Reputation: 1

Joined: 05 Apr 2006
Posts: 181

PostPosted: Thu Jul 30, 2009 1:13 pm    Post subject: [CE] Finding (multi-level) pointers in java games Reply with quote

Hello,
It seems impossible for me to find a pointer in a java game. I have been trying it for many games and everytime I failed. Is this related to the language "java" itself and its memory management or is it related to the fact that I am a fucking noob who is not even able to find a pointer in a tiny game? Everytime I try to find it I get more than 100 possible paths I would need to go through and I don't think that there is any kind of deliberate obfuscation by the programer.

_________________
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25806
Location: The netherlands

PostPosted: Thu Jul 30, 2009 1:53 pm    Post subject: Reply with quote

Well, it is an emulator, so all addresses are relative based.
_________________
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
View user's profile Send private message MSN Messenger
Deine Mutter
Expert Cheater
Reputation: 1

Joined: 05 Apr 2006
Posts: 181

PostPosted: Wed Aug 12, 2009 6:45 am    Post subject: Reply with quote

And what does this basically mean?

Well, I try to explain a little further. This is an example scenario: I search the address of the x-coordinate of an object. The address is 23D884B6. When I try to find out what writes to this address, I get this code:
Code:
movlpd [edx+esi*8+10], xmm0
It says "probable value: 23D884A0". I search for this value and get one result: 23D64C50. So, this is the first level of the pointer:
Code:
[23D64C50]+0x16
Because of the fact that 23D64C50 is a black address (non-static) I repeat this whole procedure for the current level 1 pointer. Find out what writes to this pointer returns this code:
Code:
mov edx, [ecx+00000178]
and says "probable value: 23D64AD8". I search for this value and get 155 results and all of them are black (non-static). This is the point where I don't know how to continue. Of course I could try every single path, but this would be real pain in the ass. If i just choose one address randomly I will get a never-ending pointer with more than 40 levels and I don't think that this is the right way. The pointer I get with this random method works If I start a new match but a restart of the game causes a bad pointer which points to nothing.

The main thing which really confuses me is the fact that those games are not very popular games . So, I don't think that it is deliberatly done by the programer to make it that hard to find a pointer. That is the reason why I thought it might has to do with the language "java" and its memory managment. I would use the CE pointerscanner If i knew how to use it probably. I get more than 1000 pointers with default settings.

_________________
Back to top
View user's profile Send private message
private00x
Newbie cheater
Reputation: 0

Joined: 21 Apr 2009
Posts: 19

PostPosted: Thu Oct 15, 2009 5:28 am    Post subject: Reply with quote

can someone help here? this is a good question
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25806
Location: The netherlands

PostPosted: Thu Oct 15, 2009 5:37 am    Post subject: Reply with quote

use java bytecode to hack java, not intel assembler
_________________
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
View user's profile Send private message MSN Messenger
private00x
Newbie cheater
Reputation: 0

Joined: 21 Apr 2009
Posts: 19

PostPosted: Thu Oct 15, 2009 3:17 pm    Post subject: Reply with quote

how exactly would I do that?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25806
Location: The netherlands

PostPosted: Thu Oct 15, 2009 3:55 pm    Post subject: Reply with quote

find the java code in memory, stream it out and pass it on to a java bytecode interpreter and edit it there.

But how exactly, not sure, but I am sure that using the debugger options won't help you

_________________
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
View user's profile Send private message MSN Messenger
private00x
Newbie cheater
Reputation: 0

Joined: 21 Apr 2009
Posts: 19

PostPosted: Fri Oct 16, 2009 10:57 am    Post subject: Reply with quote

Dark Byte wrote:
find the java code in memory, stream it out and pass it on to a java bytecode interpreter and edit it there.


hmm, I have no idea how to do that.. looks like these developers are doing a very good job at anti-cheating
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25806
Location: The netherlands

PostPosted: Fri Oct 16, 2009 3:17 pm    Post subject: Reply with quote

it's not anti cheating, it's just like using ce on a n64 emulator
_________________
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
View user's profile Send private message MSN Messenger
private00x
Newbie cheater
Reputation: 0

Joined: 21 Apr 2009
Posts: 19

PostPosted: Sat Oct 17, 2009 3:37 am    Post subject: Reply with quote

Well, could be that they chose this language at first just because they knew it'd be hard to find static addresses for it etc.

On a side note, some hacks already exists so yeah it is possible but who knows how.
Back to top
View user's profile Send private message
RamStick
Cheater
Reputation: 0

Joined: 06 May 2009
Posts: 34

PostPosted: Sat Oct 17, 2009 5:09 am    Post subject: Reply with quote

I think this is the same problem I had with the "Paradise Paintball" or w/e I was fiddling with earlier. Its written in something I had to download just to run it, wasn't Java or Flash or ShockWave so I dunno what it was... The addresses are in 4bytes and I can find the value find a pointer and when I change map, it resets. Same problem T.T I'd like to know more about what to do at this point but the people that DO know things (not pointing fingers at anyone, just a generality) usually take ME (or anyone) for a jackass looking for a handout and just tell me to piss off and give no insight what-so-ever... Its like an exclusive club thats not looking for new members T.T
Back to top
View user's profile Send private message
private00x
Newbie cheater
Reputation: 0

Joined: 21 Apr 2009
Posts: 19

PostPosted: Sat Oct 17, 2009 12:13 pm    Post subject: Reply with quote

RamStick wrote:
I think this is the same problem I had with the "Paradise Paintball" or w/e I was fiddling with earlier. Its written in something I had to download just to run it, wasn't Java or Flash or ShockWave so I dunno what it was... The addresses are in 4bytes and I can find the value find a pointer and when I change map, it resets. Same problem T.T I'd like to know more about what to do at this point but the people that DO know things (not pointing fingers at anyone, just a generality) usually take ME (or anyone) for a jackass looking for a handout and just tell me to piss off and give no insight what-so-ever... Its like an exclusive club thats not looking for new members T.T


I know what you mean. I kind of feel the same way. Stupid thing is that there's quite a lot of hacks around programmed by those that do know how to do just this, but noone is sharing. It's ironic in a world where most of those who are not sharing knowledge at this moment are also cracking software just to make sure that those things are being shared.

Let's not go offtopic though, maybe someone knows how to do this and can help us out here (this = finding addresses in java applications/games everytime after restarting the application).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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