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.

What is the best way?

Featured Replies

What is the best way to plan out a new script?

 

I mean the steps of how it will work such as location checking, required tool checking, walking and then the actual interaction with what ever the script is meant to do? 

UML

 

or just write a basic skeleton by working out the logic in your head an then write out the implementation of it as you go

Write a flowchart to understand the flow of the script, and then build the basic script and finetune as you go.

This ^

They say you should spend 50% of development time planning your program out, think of this as the building blocks of your script. You don't want to build a house with a shitty foundation tongue.png

The best way of planning it out, do what you are gonna do manually, and write down everything you do.

If you went down a set of stairs, you'll need that.

if you walked somewhere, you'll need that.

write everything down! 

Edited by chad0ck

This ^

They say you should spend 50% of development time planning your program out, think of this as the building blocks of your script. You don't want to build a house with a shitty foundation tongue.png

The best way of planning it out, do what you are gonna do manually, and write down everything you do.

If you went down a set of stairs, you'll need that.

if you walked somewhere, you'll need that.

write everything down! 

 

I don't think spending half of your dev time planning is a bad idea.

Here's my (personal) process:

  • Think of script idea and all the complex details and write them down
  • Boil it down to the super basics and flowchart it (eg a NPC killer would be things like "walk to nearest bank -> prepare inventory -> (loop) has item? (y/n) -> walk to mob -> kill mobs until out of food/no more items -> repeat")
  • Write the basics
  • Start adding complex details (try and keep an OOP structure to ensure it's easy to add more stuff to)
  • Refine your script and finetune it until it is ready for release

An example for your complex details, an NPC killer may have these points:

  • If in wilderness, search for a looting bag in your bank to use
  • Must be able to start anywhere and work anywhere
  • Support changing combat styles on demand
  • Dynamic safespots for range/mage
  • The script must check if the mob is at full hp for loot

 

I don't think spending half of your dev time planning is a bad idea.

Here's my (personal) process:

  • Think of script idea and all the complex details and write them down
  • Boil it down to the super basics and flowchart it (eg a NPC killer would be things like "walk to nearest bank -> prepare inventory -> (loop) has item? (y/n) -> walk to mob -> kill mobs until out of food/no more items -> repeat")
  • Write the basics
  • Start adding complex details (try and keep an OOP structure to ensure it's easy to add more stuff to)
  • Refine your script and finetune it until it is ready for release

An example for your complex details, an NPC killer may have these points:

  • If in wilderness, search for a looting bag in your bank to use
  • Must be able to start anywhere and work anywhere
  • Support changing combat styles on demand
  • Dynamic safespots for range/mage
  • The script must check if the mob is at full hp for loot

 

 

 

Follow this, and you'll have a good time. 

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.