slicedtoast

[OSRS|F2P] Kebabuyer - Al Kharid Kebab Buyer

Recommended Posts

Just buys kebabs and banks them, has a simple GUI which shows runtime, total profit, and profit/h.

 

Start the bot with coins in its inventory anywhere between Al Kharid bank and the kebab seller.

 

update: now on the SDN

update 2: fixed some small bugs and added some small features, should be on the SDN momentarily.

update 3: fixed (hopefully) the last of the bugs

Edited by slicedtoast

Share this post


Link to post


Overall, the script runs pretty well. 
About 800-900 kebabs can be bought per hour!
There's no major bugs to be found so far.
But there are some minor bugs:
1) Rarely clicks too far west and travels outside of the shop (Script seems to pause for a bit if this happens)
2) Occasionally pauses for 10 seconds after walking to the shop. (Maybe this is part of your antiban?)
3) When some troll closes the door, the script gets stuck.

 

Some things to add:
1) Toggle Run when Energy is 100%
2) Open door when closed.

 

Buying Kebabs is SUPER FAST though.

Share this post


Link to post

2 more bugs to add. These are pretty major.

 

1) Script may freeze after a few hours (even the user interface freezes)

- Stopping the script does not remove the UI. Restarting the script doesn't work either. Restarting the client is the only solution here.

2) Script may also repeatedly click on the bank booth.

- The bank interface opens up and the script clicks on the minimap. Then it clicks on the bank booth again, clicks on the minimap, and this loops forever.

 

If I re-encounter  these bugs, I will upload some gifs.

Edited by simonlei596

Share this post


Link to post
Nom   

A quick tip, use the Chat functions.

ctx.chat.canContinue()
  ctx.chat.chatting()
  ctx.chat.clickContinue()

Also useful

ctx.inventory.select().id(995).isEmpty()

 

Share this post


Link to post
10 hours ago, simonlei596 said:

Overall, the script runs pretty well. 
About 800-900 kebabs can be bought per hour!
There's no major bugs to be found so far.
But there are some minor bugs:
1) Rarely clicks too far west and travels outside of the shop (Script seems to pause for a bit if this happens)
2) Occasionally pauses for 10 seconds after walking to the shop. (Maybe this is part of your antiban?)
3) When some troll closes the door, the script gets stuck.

 

Some things to add:
1) Toggle Run when Energy is 100%
2) Open door when closed.

 

Buying Kebabs is SUPER FAST though.

 

4 hours ago, simonlei596 said:

2 more bugs to add. These are pretty major.

 

1) Script may freeze after a few hours (even the user interface freezes)

- Stopping the script does not remove the UI. Restarting the script doesn't work either. Restarting the client is the only solution here.

2) Script may also repeatedly click on the bank booth.

- The bank interface opens up and the script clicks on the minimap. Then it clicks on the bank booth again, clicks on the minimap, and this loops forever.

 

If I re-encounter  these bugs, I will upload some gifs.

I've got a bunch of free time tomorrow to look into these. Last night I actually already fixed the door issue (I had programmed for it in 1 case, but not another), but I'll take a look at the rest!

4 hours ago, Nomivore said:

A quick tip, use the Chat functions.


ctx.chat.canContinue()
  ctx.chat.chatting()
  ctx.chat.clickContinue()

Also useful


ctx.inventory.select().id(995).isEmpty()

 

Thanks!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now