Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Java
You last visited: Today at 17:22

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Making a bot with Java 'awt' library

Discussion on Making a bot with Java 'awt' library within the Java forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2012
Posts: 64
Received Thanks: 8
Making a bot with Java 'awt' library

Hi everyone,

I'm new in java and I'm trying to make a farming pixel bot for a browser game, the game uses adobe flash player and shockwave player plugin.

I found a library called "java.awt.event.*" and it seems good to do the job.

I was a game developer and I have some knowledge on how to make the bot smart enough and acts like a real user, but the question is, is there a technical way to detect this bot ? something like distinguishing between the real mouse events and the events generated with the bot ? and does the browser allow flash player to know some informations from the computer such as what programs are running, taking screenshots ...etc ?

I wish you help me guys
MIRACLE-OF-ALGERIA is offline  
Old 02/22/2017, 09:09   #2
 
XxharCs's Avatar
 
elite*gold: 34
Join Date: Apr 2011
Posts: 1,475
Received Thanks: 1,227
Well the browser or the flash game won't detect if you are botting or not.
I would switch here to awt.Robot

Or I will completly switch to tools like Selenium or CubicTest. Though Selenium is much better cause you can also capture mouse movements and don't need to hardcode them.
XxharCs is offline  
Old 02/23/2017, 23:15   #3
 
elite*gold: 0
Join Date: Jul 2012
Posts: 64
Received Thanks: 8
Quote:
Originally Posted by XxharCs View Post
Well the browser or the flash game won't detect if you are botting or not.
I would switch here to awt.Robot

Or I will completly switch to tools like Selenium or CubicTest. Though Selenium is much better cause you can also capture mouse movements and don't need to hardcode them.
Exactly, I was going to use the awt.Robot methods.
Thanks for your answer bro, it is really good to know that the game won't detect the Robot actions
MIRACLE-OF-ALGERIA is offline  
Old 09/04/2017, 19:21   #4
 
elite*gold: 0
Join Date: Mar 2010
Posts: 3
Received Thanks: 0
hey a question, about this bot u want to create, if i want to create one too but for this games .. how u recommend me to do this? first time trying to do one, of course i know java not too advanced but still good
yalian is offline  
Old 09/04/2017, 19:41   #5



 
Serraniel's Avatar
 
elite*gold: 2222
The Black Market: 204/1/0
Join Date: May 2010
Posts: 6,851
Received Thanks: 5,106
Hi @,

please create your own topic as there is no real relation to this topic except you want to use java.
Serraniel is offline  
Old 09/04/2017, 20:37   #6
 
elite*gold: 0
Join Date: May 2015
Posts: 700
Received Thanks: 445
Is this a browser game? If it is, it probably uses a human readable protocol and it should be easy to implement your own client that communicates with the server directly rather than simulating clicks.
Otherwise, ignore my answer.
algernong is offline  
Reply

Tags
bot, java


Similar Threads Similar Threads
Java interface als library
05/11/2011 - General Coding - 4 Replies
Huhu, ich programmiere gerade ein Tic Tac Toe Spiel. Da ich bestimmte Sachen, wie Spielername, current player etc. speichern möchte, wollte ich ein interface als library benutzen. Leider bekomme ich einen recht seltsamen Fehler und zwar bei: Library: package main; import java.awt.Color; public interface Library { //::::::::::::::::::::::::



All times are GMT +2. The time now is 17:22.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.