Jump to content

A Beginners Guide to Writing OSBot Scripts (where to get started!) by Apaec


Apaec

Recommended Posts

  On 8/2/2016 at 8:17 PM, hariake said:

Question, what ever way i do mining. The bot keeps clicking on different ores. How to stop the clicking after bot has started mining and until he has mined the ore?

 

After interacting with a rock, try adding a sleep. for example, 'sleep(1000)'. You will also have to add to the condition checks in the getState() to factor in a check for animations to see if the player is stick mining. for example:

 

'if (myPlayer().isAnimating()) {

//do stuff

}'

Link to comment
Share on other sites

  • 5 weeks later...
  • 4 weeks later...
  • 2 weeks later...
  On 10/12/2016 at 9:13 PM, Sahand said:

really good guide but my problem is the coding, the language is too complex for me and i find it hard to do. Is there a way round this? I find it really interesting to see how osrs bots work as i have used them in the past.

 

Follow some Java tutorials until you have a good understanding of the language, then start writing scripts

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
  On 10/21/2016 at 3:09 PM, Explv said:

Follow some Java tutorials until you have a good understanding of the language, then start writing scripts

 

Thanks, helped me set up eclipse for osbot quickly. Do you really have to update the jar every time there is a osbot update? Or is it only when there is an update to the api, or is it every Thursday when osbot gets a update?

Link to comment
Share on other sites

  On 11/7/2016 at 11:40 PM, Hzkane said:

Thanks, helped me set up eclipse for osbot quickly. Do you really have to update the jar every time there is a osbot update? Or is it only when there is an update to the api, or is it every Thursday when osbot gets a update?

 

I never change my .jar and I've never had problems. 

Link to comment
Share on other sites

  On 11/7/2016 at 11:40 PM, Hzkane said:

Thanks, helped me set up eclipse for osbot quickly. Do you really have to update the jar every time there is a osbot update? Or is it only when there is an update to the api, or is it every Thursday when osbot gets a update?

 

I just use a symbolic link. and update that link when i DL a new version.

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...