I want to automate play game (java applet) running under linux (X11).
The game applet contains a text box that scrolls information (from a
network server) that I need my bot to be able to read. I would like
to simulate mouse actions to click on certain buttons in the applet
window in response to the text that scrolls by.
My first thought was to get the jar files and decompile them, but from
my sniffing of the http traffic when I download the applet, it appears
that the applet is resent each time the game is played with integrity
checking, so this approach may not be viable. I'm a newbie here so
I'm not sure.
My next thought was to see if I could intercept the communication from
the X server to the java applet to 'read the text', and then use
something like xnee to generate one of a variety of prerecorded
keyboard/mouse events.
I did sniff the http traffic over the port the applet is using to
communicate with the game server, and it is binary, but not apparently
encrypted ('strings' reveals some nonencrypted strings, unfortunately
not the ones I need to read).
I'm looking for advice on how to proceed, pointers to some readings or
utilities, thoughts on whether it is possible to read the text in the
java text scroll window at the X11 layer, etc...
Thanks!
John Hunter
Andrew Thompson - 09 Dec 2003 00:16 GMT
> I want to automate play game (java applet)...
What's the URL?
--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site
John Hunter - 09 Dec 2003 02:10 GMT
>>>>> "Andrew" == Andrew Thompson <andrew64@bigNOSPAMpond.com> writes:
Andrew> What's the URL?
Hi Andrew,
You'll need a login (free) to download the applet:
https://www.pokerroom.com/games/play/?game=holdem3normal
Thanks,
John Hunter