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.

PeterFightCaves

Featured Replies

Hello, when i start the bot it is just only standing there.. Its doing nothing :(

 

Anyone who can help me? I start the bot outside the cave ..

 

Thank you,

Hello, when i start the bot it is just only standing there.. Its doing nothing sad.png

 

Anyone who can help me? I start the bot outside the cave ..

 

Thank you,

Peter is very busy with school, so this script is slightly out of date and may be awhile until he works on it. I suggest you use Link's fightcave script. He has worked with Peter before!

 

Hello, when i start the bot it is just only standing there.. Its doing nothing :(

 

Anyone who can help me? I start the bot outside the cave ..

 

Thank you,

 

Download the last version of Osbot.

You might want to think about changing this part a bit:

String defeat=  "You have been defeated!"

void onMessage(String message) {
        if (message.equals(defeat)) {
            log("Detected death. Entering cave.")
            sleep(1000 + gRandom(500, 200))
            state = State.ENTER

 

 

​.equalsto is more accurate then === especially for strings just a thought smile.png about changing it though.

 

EDIT: The lagnuage you're using is GROOVY idk if that's relatated to java or not( it looked very similair although if GROOVY doesn't have this then just forget about my post)

Edited by EazyE

  • Author

 

You might want to think about changing this part a bit:

String defeat=  "You have been defeated!"

void onMessage(String message) {

        if (message.equals(defeat)) {

            log("Detected death. Entering cave.")

            sleep(1000 + gRandom(500, 200))

            state = State.ENTER

 

 

​.equalsto is more accurate then === especially for strings just a thought smile.png about changing it though.

 

EDIT: The lagnuage you're using is GROOVY idk if that's relatated to java or not( it looked very similair although if GROOVY doesn't have this then just forget about my post)

 

Yup Groovy is similar to Java, I will be converting to Java and fix the issues.

You might want to think about changing this part a bit:

String defeat=  "You have been defeated!"

void onMessage(String message) {

        if (message.equals(defeat)) {

            log("Detected death. Entering cave.")

            sleep(1000 + gRandom(500, 200))

            state = State.ENTER

 

 

​.equalsto is more accurate then === especially for strings just a thought smile.png about changing it though.

 

EDIT: The lagnuage you're using is GROOVY idk if that's relatated to java or not( it looked very similair although if GROOVY doesn't have this then just forget about my post)

 

Think of groovy as a simpler, lighter form of Java. The == operator compares based on memory reference, so it is usually used for primitive types. Although you can compare strings in java with ==, they'd have to have exactly the same memory references, whereas the Equals method compares two objects based on some variable. By default, what you initialize string as is that variable, which is why Equals is a much better method of comparison. With that said, groovy aims to make programming slightly simpler and more "understandable" and they basically allowed comparison of strings with '==', which is 100% fine. Obviously, if Peter hopes to port this to Java, he'd change the method.

Im 64 str and 50 attack and using a rune scimmy, can i use this or is it to bad for the script?

  • Author

Yes you can use this script I'm currently updating the script though but you can use it in the mean while.

Yes you can use this script I'm currently updating the script though but you can use it in the mean while.

Alright thanks!

help getting this error [ERROR][04/26/13 07:29:40 em]: Not manifest for script : PLFightCaves

  • Author

Alright thanks!

help getting this error [ERROR][04/26/13 07:29:40 em]: Not manifest for script : PLFightCaves

 

The current version on the site seems to be working fine, I haven't had any issues using BETA v.1.3.3

The current version on the site seems to be working fine, I haven't had any issues using BETA v.1.3.3

Lawl nvm i forgot save it lol!

Edited by Jake27

testing the script out for the first time, was using vinsert before but its absolutely SHIT!!

 

exp p/h and total gained would be a great add, will post proggy.

Edited by teat

  • Author

2I2e7.jpg

- Working on paint

 

2I8jC.jpg

-Completed paint just fixing some minor tweaks.

cb943436a232bb182b568d597808fd9b.png

little proggy of his earlier version. his updated version is even better! smile.png

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.