Jump to content

Going to build my first bot. Anyone have any advise?


Orange_poof

Recommended Posts

My first iteration is going to be a mining bot. I am going to build this bot in the Runelite client. I don't think I will actually use the Runelite api for the first iteration. Instead, I think I am going to find the borders of the rocks, pick a random place within that border, and then make a random (not absurd) path to get to that position. Then click, and then do the same on the other rock. This is incredibly primitive and I will likely get banned very quickly. I just want to test it out and see how it works.

 

If anyone wouldn't mind answering a few questions, I would be very grateful. I have been reading quite a bit on various forums about what will decrease the likelihood of ban and there seem to be many contradictory opinions out there.

1. Does random camera movement contribute to anti ban?

2. Do people usually do "color" bots, or something like using the Runelite api to extract information about the game? Why one over the other, or some other option?

3. Does anyone use machine learning to approximate human movements, or are there relatively few people doing that as of right now?

4. What are general things you have learned that have contributed to not getting banned?

 

Thanks.

 

EDIT: I should clarify, I want to do this to learn. This has nothing to do with me wanting to bot to any particular level or gold farm. Therefore, I will be using Java or Python3 to create this bot for the experience of doing automation in those languages.

Edited by Orange_poof
Link to comment
Share on other sites

  • 2 weeks later...

Any sort of "anti-ban" is just a placebo effect.  There is a post on here by @Alek  (I think) that I cannot find right now explaining it all.  No spinning camera, checking exp, right clicking random things.

If you want to learn Java for fun then read up on the OSBot API and yes the link above to @Explv guide - it is how I started.

Link to comment
Share on other sites

Check into anti-pattern and humanization techniques. Simple random checks and camera turns aren't enough to create the small randomization in human movements. That being said, fagex uses a combination of human checking combined with machine learning to determine human v bot behavior. I highly suspect that a machine learning algorithm is behind this, flagging accounts to be reviewed and banned. Potentially, it even bans accounts that it flags with a certain level of certainty (tin foil hats boys n girls). That being said, its better to find ways to make the mouse motion itself seem as human as possible, such as implementing planned randomization into specific actions and motions which would normally be much more exact in a script and less human.. You could also create a small scale neural network, from here you could train said network with a mixture of inputs both human and bot. By teaching it to differentiate between the two, you could then teach it to behave like a human and not a bot. However, this would take considerable resources, both time and asset wise.

 

Also, if you have a poor or rudimentary understanding of programming, ProjectPact actually has an excellent tool which he suggested above. I can attest that it does in fact have the majority if not all of the API capabilities. However, it will always fall short in its ability to be robust beyond the API being implemented directly into a script via an IDE. Through the this, you could gain quite a bit of use out of not only the OSBot API, but potentially others as well.

Edited by brookpc
  • Like 1
Link to comment
Share on other sites

On 4/5/2020 at 10:19 PM, brookpc said:

Check into anti-pattern and humanization techniques. Simple random checks and camera turns aren't enough to create the small randomization in human movements. That being said, fagex uses a combination of human checking combined with machine learning to determine human v bot behavior. I highly suspect that a machine learning algorithm is behind this, flagging accounts to be reviewed and banned. Potentially, it even bans accounts that it flags with a certain level of certainty (tin foil hats boys n girls). That being said, its better to find ways to make the mouse motion itself seem as human as possible, such as implementing planned randomization into specific actions and motions which would normally be much more exact in a script and less human.. You could also create a small scale neural network, from here you could train said network with a mixture of inputs both human and bot. By teaching it to differentiate between the two, you could then teach it to behave like a human and not a bot. However, this would take considerable resources, both time and asset wise.

 

Also, if you have a poor or rudimentary understanding of programming, ProjectPact actually has an excellent tool which he suggested above. I can attest that it does in fact have the majority if not all of the API capabilities. However, it will always fall short in its ability to be robust beyond the API being implemented directly into a script via an IDE. Through the this, you could gain quite a bit of use out of not only the OSBot API, but potentially others as well.

Well put. I've been thinking about this. It's obvious they are using user/player behavioral analysis (they have tons of data around it), and then utilize that to analyze your play/hours/clicks/everything and this system flags your account for review by a mod. Why not do the same thing in reverse? In theory: client allows you to play legitimately, and during that time it collects data on how you play/behave (hours played, click/action methods, click/action speed, breaks, camera rotations, everything), and then any script ran going forward utilizes those player behavior attributes to make it appear no differently than if you were playing legitimately. Just a thought I had recently, and might require entirely too much back end development, especially for those that run multi-account suicide farms... but for people that like the challenge of botting mains to max and don't run massive farms, it would be nice to "outsmart" Jagex's User Behavioral Analysis/ML system.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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