Jump to content

Learning java again, trying to make a simple bot


dankaru

Recommended Posts

I used to program java for school, however I stopped taking classes for it. I'm trying to make a bot, and I was wondering how hard it would be to make a bot that mimics my actual mouse movement and arrow key strokes? For example, if I'm chopping trees in one spot on my browser, and I have my bot stationed in the same spot with same camera rotation, I would want the bot's cursor to move and click exactly where I'm clicking on my browser so it would literally do exactly as I do with maybe some small randomness to each click or something. It would do the same with the arrows keys so the camera would rotate exactly as I rotate it. So basically it would just mirror everything I do and it would be like playing two accounts at once. Perhaps if I wanted to view all the bots at once I could somehow code it to find the client's position on the desktop and offset my actual mouse coordinates so it would click the right spots. Anyone have any ideas about how I could get this to work?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...