Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Muling snippet?

Featured Replies

I've searched the forums but couldn't find a muling snippet. Does anyone have a working muling script they are willing to share?

Edit: What I'm really looking for is a snippet to send a message to the mule (via sockets?) signalling it to log in. The rest I can code with ease myself. Thanks for your help though.

Edited by Adept

6 minutes ago, Adept said:

I've searched the forums but couldn't find a muling snippet. Does anyone have a working muling script they are willing to share?

sent you a pm 

 

10 minutes ago, Juggles said:

I haven't seen any, just go to the API and read about Trading 

https://osbot.org/api/org/osbot/rs07/api/Trade.html

Pretty simple to read the API and create one yourself :boge: 

Just curious when you call the accept method will it accept both trade screens or do you have to call it for the first screen then again for the second? not really important just wondering

Just now, lizzzerd said:

Just curious when you call the accept method will it accept both trade screens or do you have to call it for the first screen then again for the second? not really important just wondering

The accept method works for both the first and second trade screens :)

6 minutes ago, LoudPacks said:

 

I use it but I had to modify it a bit.

  • Author
8 hours ago, Juggles said:

I haven't seen any, just go to the API and read about Trading 

https://osbot.org/api/org/osbot/rs07/api/Trade.html

Pretty simple to read the API and create one yourself :boge: 

What I'm looking for is the bit where a message is sent to the mule (via sockets?) signalling it to log in. As you rightly pointed out yourself, the rest is fairly easy to make using the API.

Edited by Adept

12 minutes ago, Adept said:

What I'm looking for is the bit where a message is sent to the mule (via sockets?) signalling it to log in. As you rightly pointed out yourself, the rest is fairly easy to make using the API.

A lil google won't hurt :D

I've found these examples very useful. http://cs.lmu.edu/~ray/notes/javanetexamples/

Other options would be to use file system. Creating a file in OSbot directory and reading/writing info to it. Of course you can think of other methods also.

Edited by nosepicker

6 hours ago, Adept said:

What I'm looking for is the bit where a message is sent to the mule (via sockets?) signalling it to log in. As you rightly pointed out yourself, the rest is fairly easy to make using the API.

I use glassfish servers and tyrus standalone client library. You'll need to be fairly experienced to set it up but im sure you can figure out using google. Or you could also use sockets. I like to use the server because I do more than just muling in a lot of my scripts that use it. Mine sends requests via JSON to the server which then sends it out to the specified bots. Sometimes I do some server sided stuff such as logging among other things. Its cool because if you want you can serialize objects, convert to base64 and send whole objects over the server (which can also be done with sockets). You can also just send plain text and what not. I usually have some header data such as the request type, who is sending it, where its going to, and then a hashmap with parameters, for example (master, zezima), (Coins, 142000), etc.

Edited by LoudPacks

  • Author
56 minutes ago, LoudPacks said:

I use glassfish servers and tyrus standalone client library. You'll need to be fairly experienced to set it up but im sure you can figure out using google. Or you could also use sockets. I like to use the server because I do more than just muling in a lot of my scripts that use it. Mine sends requests via JSON to the server which then sends it out to the specified bots. Sometimes I do some server sided stuff such as logging among other things. Its cool because if you want you can serialize objects, convert to base64 and send whole objects over the server (which can also be done with sockets). You can also just send plain text and what not. I usually have some header data such as the request type, who is sending it, where its going to, and then a hashmap with parameters, for example (master, zezima), (Coins, 142000), etc.

Mighty cool. I'll definitely look into the stuff you mentioned. Thank you so much for such a detailed answer.

Edited by Adept

  • Author
7 hours ago, nosepicker said:

A lil google won't hurt :D

I've found these examples very useful. http://cs.lmu.edu/~ray/notes/javanetexamples/

Other options would be to use file system. Creating a file in OSbot directory and reading/writing info to it. Of course you can think of other methods also.

Rest assured that I've done PLENTY of Googling but figured I'd ask the community for help while the bot is down and can't put the methods to the test.
Thanks for your help. Very valid ideas, thank you :)

Edited by Adept

On 2/24/2017 at 2:58 AM, Chris said:

I use it but I had to modify it a bit.

You mind sharing? I tried debugging it but couldn't get it working 100% properly.

 

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.