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.

Error Using GUI [Client Crashing]

Featured Replies

 

Ya I see, but this part is really poor

switch (state) {
            case CHOP:
                new Chop(this);
                break;
            case DROP:
                new Drop(this);
                break;
            case IN_COMBAT:
                new InCombat(this);
            default:
                break;
        }

bascily every 50 milliseconds you are making a new instance of Chop()...

Why not create one ion onstart() and just do chop.run(); in your switch statement?

 

Atleast that would solve the huge memory usage here :)

You are creating new instances of those actions every loop ... 

Should only create one instance of it, best way to do this is in the onStart() method..

 

After that you can actually run those instances int he onLoop smile.png

 

Or you know, he could learn Java pls baws

雅我明白了,但这部分是真穷

开关(州){
            案例CHOP:
                新的印章(本);
                打破;
            这样滴:
                新的投递(本);
                打破;
            案例IN_COMBAT:
                新InCombat(本);
            默认:
                打破;
        }

bascily每隔50毫秒要制作印章的新实例()...

为什么不创建一个离子的OnStart()和刚做chop.run(); 在switch语句?

 

ATLEAST这将解决这里巨大的内存使用情况 smile.png

If you are able to speak to express a simple code (adhesive out),, for a foreigner like me, is a blessing. I have been watching the code changes to understand the function and role. In other words I used Google translation to see your comments, it seems very important, I think I should go to correct my code, but because of the translation, to see a few times I could not understand, I should specify how changes (in should be added or modified local add comments, it would be great)

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.