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.

help with chat message /widgets? Looki

Featured Replies

Of course that method would not reset the clay variable, are you stupid? You're literally setting it to 0 then on the onPaint setting it BACK to what it was, you need to use my method of resetting an exp variable so that within the onPaint it's setting to the correct variable.

if clay is 4xp per mine then my method works completely fine, but I'm done trying to assist you, you're just an arrogant prick with nothing to show for yourself.

I was like I'm not gonna reply...but oh well fuck, gf

Seriously though, you've literally been given everything you need to do what you want, and instead of saying thanks and researching what you need to you're getting mad at other people for your mistakes... man, you're literally saying that you know Java and don't know how to assign a value to a variable...cmon

Edited by Reveance

4 hours ago, TheGreatests said:

wont start, ive tried yoir way. It doesn't even reset the actual clay count

why would it reset the clay count ? no where in that piece of code does it... its an easier way to count your clay if you change it to you manage to mine or whatever it is for clay when you mine clay..... Then in your trade all you would need to do after a succesful trade is clayCount == 0; If you knew as much as what you say you do about java you should have easily been able to understand that.

And if it doesnt start your doing something wrong, as I use that for all my private scripts but hey I dont knew shit remember.

  • Author
1 hour ago, whipz said:

why would it reset the clay count ? no where in that piece of code does it... its an easier way to count your clay if you change it to you manage to mine or whatever it is for clay when you mine clay..... Then in your trade all you would need to do after a succesful trade is clayCount == 0; If you knew as much as what you say you do about java you should have easily been able to understand that.

And if it doesnt start your doing something wrong, as I use that for all my private scripts but hey I dont knew shit remember.

Hey, your method starts the clay counter at 125, and it doesn't reset it when its traded over the clay. All I want is the ClayCount to reset, (the INT value to reset to zero) so that way it can mine up the specific amount again instead of trading over the clay each trip. You know what I mean?

Normally this would work -( Claycount = 0;, however it doesn't?

Edited by TheGreatests

44 minutes ago, TheGreatests said:

Hey, your method starts the clay counter at 125, and it doesn't reset it when its traded over the clay. All I want is the ClayCount to reset, (the INT value to reset to zero) so that way it can mine up the specific amount again instead of trading over the clay each trip. You know what I mean?

Normally this would work -( Claycount = 0;, however it doesn't?

you must have claycount setup up elsewhere as well; thats why its returning 125. because this will only count the game message when it gets sent to your player. And it would reset if you setup it up correctly as well, meaning you must have claycount setup incorrectly; Thats where your problem must lay. Its to hard to tell when you dont give enough of the code;

 

Alright hungover has worn off -- go back to my code and set currentExp to skills.whatever for mining XP. The maths is all good then & checks out, will count upward. I would quote & fix it up but on my phone.

  • 4 weeks later...
On 3/26/2017 at 6:44 AM, Muffins said:

the next combat_acc

Yeah, TheGreatests and combat_acc are going to go down in history amoung the greatest scripters of all time. Maybe one day I will join them too!

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.