Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / December 2003

Tip: Looking for answers? Try searching our database.

controlling a java app with a bot

Thread view: 
John Hunter - 08 Dec 2003 23:33 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.