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

logout() suggestion

Featured Replies

The current method will not stop until you've successfully logged out, could you please update the logout method to exit it's loop if it detects that it's in combat?

The current method will not stop until you've successfully logged out, could you please update the logout method to exit it's loop if it detects that it's in combat?

this please

The current method will not stop until you've successfully logged out, could you please update the logout method to exit it's loop if it detects that it's in combat?

 

i agree 100%

Not only that, but other things as well that may keep it from logging out such as an open interface.

this too

  • Author

LogoutTab.logout() doesn't use a loop, so I'm assuming you're referring to Script.stop()?

Well I wasn't actually using the logout() method specifically. I was using WorldHopper.hopWorld(int world) I just assumed it had that method inside it. Anyways, hopWorld() does use a loop, and it causes some issues.

  • Administrator

Well I wasn't actually using the logout() method specifically. I was using WorldHopper.hopWorld(int world) I just assumed it had that method inside it. Anyways, hopWorld() does use a loop, and it causes some issues.

 

Should it just break the loop after 3-4 seconds? The scripter would have to be ready to handle any failure of course.

  • Author

Should it just break the loop after 3-4 seconds? The scripter would have to be ready to handle any failure of course.

That would be great. That or 2 - 3 unsuccessful log-out attempts.

 

Also, un-related but are you guys aware that the underAttack() method is broken?

Edited by Deffiliate

  • Administrator

That would be great. That or 2 - 3 unsuccessful log-out attempts.

 

Also, un-related but are you guys aware that the underAttack() method is broken?

 

It'll be after 3ish seconds, so fixed on my copy.

And no, I was not. What's happening with it?

  • Author

It'll be after 3ish seconds, so fixed on my copy.

And no, I was not. What's happening with it?

I think it pretty much always returns false. Here's a script with more info: http://osbot.org/forum/topic/34377-recent-runescape-update/

 

Swizzbeat said it has something to do with incorrectly grabbing the logout timer.

  • Author

I just tested it on guards and it triggered fine o.O

and you're on client version .76? There's definitely something wrong with it, me and a bunch of other scripters have been getting complaints because of it.

  • Administrator

and you're on client version .76? There's definitely something wrong with it, me and a bunch of other scripters have been getting complaints because of it.

 

Yea, I see the issue now. It should be pushed out next update.

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.