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 


Reading values from Java-based Browser Games

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
AticAtac
Newbie cheater
Reputation: 0

Joined: 24 Mar 2008
Posts: 17
Location: 127.0.0.1

PostPosted: Tue Mar 25, 2008 5:54 am    Post subject: Reading values from Java-based Browser Games Reply with quote

Hi,
this is not really hacking what i am looking for but reading some values from a browser based java game.
Is there something special i have to consider ?
I am looking for pool ball positions in a pool game.
I only want to read them, don't want to change their positions.
Actually, i am not interested in the screen position but in their "real" float/double position.
I already tried the "Unknown value" method and "changed/unchanged" method by changing ball position but somehow it didn't work.
Anyone here has experience with such a task ?
Back to top
View user's profile Send private message
Demian
Advanced Cheater
Reputation: 0

Joined: 28 Sep 2007
Posts: 56
Location: Finland

PostPosted: Tue Mar 25, 2008 6:07 am    Post subject: Reply with quote

All I know about hacking Java games is that for example 100 is 1, 200 is 2 and so on. Dunno about positions.
Back to top
View user's profile Send private message
AticAtac
Newbie cheater
Reputation: 0

Joined: 24 Mar 2008
Posts: 17
Location: 127.0.0.1

PostPosted: Tue Mar 25, 2008 7:19 am    Post subject: Reply with quote

Hmm, thats not always the case.
I was already able to read scores and other "simple" values, they were stored as normal integers.
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Tue Mar 25, 2008 9:38 am    Post subject: Reply with quote

It depends on how it was programmed,what you will find.

For this game, can you find a pointer to anything at all.
Close the app, start it again and still have a good pointer?
I dont think you will, so reading from and address will be a different one each time possibly. Not really worth the bother to scan each time you want to read from it.

Now if it is a good address, each time then you can find something worth using to read from.
Back to top
View user's profile Send private message
AticAtac
Newbie cheater
Reputation: 0

Joined: 24 Mar 2008
Posts: 17
Location: 127.0.0.1

PostPosted: Tue Mar 25, 2008 4:33 pm    Post subject: Reply with quote

Do you think there is a way to decompile the java code ?
It could at least help to understand how the values are stored.
Also, as for changing pointer, i am sure there is way to trace them back to a code where it stays constant. So in worst case kind of runtime-code-check could help to find new adresses.
But as a first step i would be happy to find those values in a session, even if it will be different in another session.
My approach with changed/unchanged values + unknown values wasn't very successfull, still too many adress are left. I need to find a new way to approach this.
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Tue Mar 25, 2008 6:10 pm    Post subject: Reply with quote

You got to mix up your methods.
Like make a change then scan and dont make a change and scan.
I really have never tried to scan a java game. But i think it should be the same as anything else.
Back to top
View user's profile Send private message
AticAtac
Newbie cheater
Reputation: 0

Joined: 24 Mar 2008
Posts: 17
Location: 127.0.0.1

PostPosted: Thu Mar 27, 2008 5:33 am    Post subject: Reply with quote

Are there methods/tools to retrieve (decompile) java code from applets ?
I know there are decompiler which can take class files and produce source code". But where do i find those class files which my browser executes ?
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Thu Mar 27, 2008 9:45 am    Post subject: Reply with quote

If you can get the .jar file, you can open it up. But some of the files inside can be encrypted.

1. game.jar
2. rename it to game.jar.zip
3. Use winzip or winrar to extract the contents.
Back to top
View user's profile Send private message
Chaosis13
Master Cheater
Reputation: 0

Joined: 14 Aug 2007
Posts: 372

PostPosted: Mon Apr 07, 2008 7:55 pm    Post subject: Reply with quote

Thanks that helps me with something else... lol.

Also are you talking about Runescape? Give it up, it can't be hacked, well not without a team of losers with alot of time and no jobs or girlfriends.
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