best way to get data from a java web start game.

Ask questions about cheating in any games you would like. Does not need to pertain to MicroMacro.
Post Reply
Message
Author
Exempt
Posts: 197
Joined: Wed Jan 20, 2010 9:55 am

best way to get data from a java web start game.

#1 Post by Exempt » Mon Oct 14, 2013 11:31 am

What is the best way to get data from a java web start game? Im sure it can be done with packets but that is extremely tedious.

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: best way to get data from a java web start game.

#2 Post by Administrator » Mon Oct 14, 2013 2:24 pm

You, hopefully, can extract just the content you need (the .jar, for example) rather than needing to run it in a browser. Run that separately (as opposed to through a browser plugin) which will make it much easier to access the game's memory through read/write functions.

You probably don't want anything to do with sockets. You're right that it would be a ton of extra work, but I suppose you could make a clientless bot that way.

Exempt
Posts: 197
Joined: Wed Jan 20, 2010 9:55 am

Re: best way to get data from a java web start game.

#3 Post by Exempt » Mon Oct 14, 2013 3:41 pm

The game does consist of a bunch of jar files and such but ive never heard of a way to launch it other then using the website play.button or by using the java control panel. If i understamd what youre saying i should be able to lauch it more like a normal .exe game and use say cheat engine to get addresses?

Edit: Perhaps something like http://jsmooth.sourceforge.net/ is what you mean? I'm sure it can be done without apps like this but it's what I found while searching around.

User avatar
Administrator
Site Admin
Posts: 5306
Joined: Sat Jan 05, 2008 4:21 pm

Re: best way to get data from a java web start game.

#4 Post by Administrator » Mon Oct 14, 2013 9:19 pm

You should be able to launch the .jar files by opening it with the Java VM. Try just double-clicking the main .jar.

Exempt
Posts: 197
Joined: Wed Jan 20, 2010 9:55 am

Re: best way to get data from a java web start game.

#5 Post by Exempt » Tue Oct 15, 2013 10:03 am

Hm, i will check into it when i get home.

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: best way to get data from a java web start game.

#6 Post by BlubBlab » Tue Oct 15, 2013 11:55 am

*.jar is archive files format that exist since DOS time.
In the packet is a file which say where to start for the java-vm.

If I want cheat on such a game I would simple reverse engineering the code in Java and C#(and all dot net) it is very simple, their are tools for that and unlike in c the whole var and class names are their.

Next step would be then connect with your own version of the game.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

Exempt
Posts: 197
Joined: Wed Jan 20, 2010 9:55 am

Re: best way to get data from a java web start game.

#7 Post by Exempt » Tue Oct 15, 2013 4:16 pm

The game doesn't really allow you to edit it, when you do try to edit the files it just re-downloads them.

edit: I'm not finding any .jar file for it yet... I don't know much around how java stores stuff normally. I can use the jnpl to launch it but I haven't found a jar yet.

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: best way to get data from a java web start game.

#8 Post by BlubBlab » Thu Oct 17, 2013 11:32 am

Seek *.class I don't know where the browser save them put likely in a tmp directory.
The problem is if you want change the program while running it isn't like a c prog because the program running in the java vm and the java vm is a program on its own, so it is twice at complex then normal.

The java vm simulate basically a CPU with function stack and a heap,so you can change the PC and push/pop object on it.
If you find the right addresses, but this is only theoretically I don't know which counter maser they use to scramble memory.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests