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.

Wizard's tower lesser demon skiller

Featured Replies

Simple script that kills the lesser demon at the wizard's tower.

Logs out when you run out of runes.

 

 

 

DemonMager.jar

Edited by Heroic

  • Author
7 minutes ago, tranzystor3 said:

Any runes or?

It logs out everytime the client receives a game message that contains "You do not have enough".
It does not watch for players saying that, only if it's a game message.

 

if (chatbox.isVisible()) {
            List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME);

            for (String message : messages) {
                if (message.contains("You do not have enough")) {
                    stop();
                }
            }
        }
              

 

10 minutes ago, Heroic said:

It logs out everytime the client receives a game message that contains "You do not have enough".
It does not watch for players saying that, only if it's a game message.

 


if (chatbox.isVisible()) {
            List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME);

            for (String message : messages) {
                if (message.contains("You do not have enough")) {
                    stop();
                }
            }
        }
              

 

Solid

So it's not gonna work for ranged as the message for ranged would be "There is no ammo in your quiver" ?

1 hour ago, tranzystor3 said:

So it's not gonna work for ranged as the message for ranged would be "There is no ammo in your quiver" ?

Nope. Just change the message in the script though if you want it to logout for range 

i tried to decompile it, but i either did it horribly wrong. or something isn't right. lol

 

 

Can you just place a comma in the script? or do you need to place an or.

if (chatbox.isVisible()) {
            List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME);

            for (String message : messages) {
                if (message.contains("You do not have enough" , "There is no ammo in your quiver")) {
                    stop();
                }
            }
        }
if (chatbox.isVisible()) {
            List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME);

            for (String message : messages) {
                if (message.contains("You do not have enough")||(message.contains("There is no ammo in your quiver") ) {
                    stop();
                }
            }
        }

Edited by sonda

  • Author
11 hours ago, sonda said:

i tried to decompile it, but i either did it horribly wrong. or something isn't right. lol

 

 

Can you just place a comma in the script? or do you need to place an or.


if (chatbox.isVisible()) {
            List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME);

            for (String message : messages) {
                if (message.contains("You do not have enough" , "There is no ammo in your quiver")) {
                    stop();
                }
            }
        }

if (chatbox.isVisible()) {
            List<String> messages = chatbox.getMessages(Chatbox.MessageType.GAME);

            for (String message : messages) {
                if (message.contains("You do not have enough")||(message.contains("There is no ammo in your quiver") ) {
                    stop();
                }
            }
        }

Last one should be fine, I updated the script for it to "support" ranging.

  • 4 months later...
  • 2 weeks later...
On 6/13/2018 at 8:24 AM, Pennystalker said:

how do i download

 

There is a link in the OP that says DemonMager.jar Click that and download.

  • 2 weeks later...
1 hour ago, Framble said:

Could you please add telegrab for dem rune med helms ? ?

He hasn't logged in since February so I'll take that as a no

Create an account or sign in to comment

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.