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.

Client runs for about 10-30 minutes then just stop and finally idle logs.

Featured Replies

Hello, I just recently started using this client. I'm experienced programmer and the issue explained in title is most likely not caused by bad code.

 

So basically the script just stops or pauses after about 10-30 minutes. A simple fix is for me to just press pause script and then resume and it starts right where it freeze like nothing has happened. I've been monitoring the bot for some hours, and it's completely random where it freezes so it seems like it could either be my computer or the client that's struggling. 

 

Couldn't find anyone else with this issue so I'm trying with a new post.

This does sound like a script issue not a client one, so I would suggest contacting whoever created the script you're running via PM or their thread.

  • Author

I'm the one that made the script. But I don't see how it could be the script tho, because I've monitored and tested the bot, it can run every cycle flawless sometimes up to 50-60 times then it just stops, it says the script is still running but nothing happens. And then if I just manually press pause script and immidietly press run it continues where it stopped and works flawless again.

 

To me it doesn't seem like it's a script thing, using switchcase in main loop and every case is tested and works. 

2 minutes ago, Krister said:

I'm the one that made the script. But I don't see how it could be the script tho, because I've monitored and tested the bot, it can run every cycle flawless sometimes up to 50-60 times then it just stops, it says the script is still running but nothing happens. And then if I just manually press pause script and immidietly press run it continues where it stopped and works flawless again.

 

To me it doesn't seem like it's a script thing, using switchcase in main loop and every case is tested and works. 

there is something wrong where the script struggles

possibly stuck in a loop or something, maybe failed to switch a trigger? idk whatcha doing inside the script but doesnt sound like its a client thing

Edited by Fruity

i had this same issue on my script but then teamcape made me realize i wasn't null checking properly.

  • Author
3 minutes ago, Rekt said:

i had this same issue on my script but then teamcape made me realize i wasn't null checking properly.

Okey thanks, this is an answer I can make some use of. I will check my code more when I get home from work.

1 hour ago, Krister said:

Okey thanks, this is an answer I can make some use of. I will check my code more when I get home from work.

Check the logger when your script idles, if there is a null pointer in your code the logger will tell you which line it's at

  • Author

It was a null pointer that was the cause, I also learned that there is a log in the client(duh :o). 

 

Anyway works flawless right now, levels are coming in steady. Problem is solved!

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.