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.

Clunky code...

Featured Replies

Hey i was just wondering what i could improve on this bit of code, to make it look less clunky, I haven't coded in nearly a year so I'm a bit retarded at the moment.

 

B8AVx4a.png

Hey i was just wondering what i could improve on this bit of code, to make it look less clunky, I haven't coded in nearly a year so I'm a bit retarded at the moment.

 

B8AVx4a.png

 

Well, to be honest... A lot.

 

If that's the default API for here, I suggest you write your own so that it's cleaner. 

 

ctx.getScript().sleep(MethodProvider.random(500, 1000));

 

Just looks terrible.

Well, to be honest... A lot.

 

If that's the default API for here, I suggest you write your own so that it's cleaner. 

ctx.getScript().sleep(MethodProvider.random(500, 1000));

Just looks terrible.

 

For one, there is nothing wrong with the way he's calling sleep using Script and MethodProvider being as you need to call that since it's a static reference. Using built functions in not terrible, unless they are not stable or is nonfunctional.

 

Also if you want to criticize someone work, you then need to provided the correct way of doing things, and not just an ignorant "Just looks terrible.".

It may be one of the most poorly written bots.  But it has a huge market for scripts. As for the knowledge you have I would say is very little. 

 

Well then you clearly don't know me.

For one, there is nothing wrong with the way he's calling sleep using Script and MethodProvider being as you need to call that since it's a static reference. Using built functions in not terrible, unless they are not stable or is nonfunctional.

 

Also if you want to criticize someone work, you then need to provided the correct way of doing things, and not just an ignorant "Just looks terrible.".

+1

 

Well then you clearly don't know me.

Sorry Mr/Mrs pop star!

 

You was some novice in programming, and I bet you asked for constructive criticism.

 

This is how novice programmers learn! Act maturely pl0x.

+1

Sorry Mr/Mrs pop star!

You was some novice in programming, and I bet you asked for constructive criticism.

This is how novice programmers learn! Act maturely pl0x.

not sure if serious or trolling
Guest
This topic is now closed to further replies.

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.