Hack Forums
[Java] Coding a Java Bot to Respond/Interact with a Flash Player Game - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Java] Coding a Java Bot to Respond/Interact with a Flash Player Game (/showthread.php?tid=5594870)



Coding a Java Bot to Respond/Interact with a Flash Player Game - adrielgolabek - Apr 7, 2017

Anyone know where I could learn about coding a java bot to interact with flash player?

Thanks.


* - Sogomn - Apr 8, 2017

You could write your own Flash interpreter in Java and add callbacks.
I don't think that there is an existing interface and Flash is pretty dead anyway.


* - clrlslwi - Apr 8, 2017

I wouldn't bother. If it's a multiplayer game, go headless.


* - Nmanpure Pkr - Apr 30, 2017

You can use the java Robot class. Parse screen shots of the game and and create keyboard and mouse events.


* - SIM-429621 - May 1, 2017

You don't try to learn Java to make a simple bot for a game or something like that, you either learn Java by reading books, watching videos and practicing. If you only want to make a small bot project for a flash game or something you learn some simple scripting language like AutoIT. Why ? Because you wont have to bother for lot of time to finish your project, it is much easier to make stuff and understand stuff and you can basically dive into the project the same day you download AutoIT, because it's really that simple of a language.


* - mrpizzahut - Jun 28, 2017

HTML5 and WebGL seem to be taking over the game. However, don't feel discouraged. You can always learn from the usage of Flash and easily migrate over to similar projects.


* - Mewッ - Jun 28, 2017

This is what I found. You should also take a look through git hub it's an amazing learning tool.