Jump to content

Checking equipment


MaxSkiller

Recommended Posts

I think you can check everything except rings and arrows? Not 100% sure tho

 

EDIT: Try looking through Programming and Scripting sub-sections. I remember seeing it there somewhere.

 

OK will do,

 

Ya i'm trying to check a ring sleep.png

I only can find something about osbot1 biggrin.png

 

I'll figure somehting out myself ^^

Edited by MaxSkiller
Link to comment
Share on other sites

Yeah, you can take advantage of the time when you're using your ring (I assume we're talking about dueling ring here). That way you have equipment tab open and you can store the remaining uses in some variable which you will base your condition on , while you're banking.

 

Ya did it that way now, but i'm not a fan of storing values... can be messed pretty hard xD

Link to comment
Share on other sites

Ya did it that way now, but i'm not a fan of storing values... can be messed pretty hard xD

you have to check your tab once so it can check to see what items your wearing, it doesnt work to well with rings or arrows.

 

Hes a little work around for dueling rings. Just leave the dueling ring in your inventory. Easier, less messy, and wont break.

Link to comment
Share on other sites

you have to check your tab once so it can check to see what items your wearing, it doesnt work to well with rings or arrows.

 

Hes a little work around for dueling rings. Just leave the dueling ring in your inventory. Easier, less messy, and wont break.

 

Ya, Well I made my own Equipment class now,

Like all the other 15 classes I made myself bcs:

- glitching methods,

- Sometimes very slow (for example deselecting item from inven)

- not supporting the functions I need

- Some easy methods requires unneeded data (in my opinion)

- A lot of basic functions are missing( or can't find them bcs the naming) (for example clicking a certain point on the screen)

- the interface debugger isn't easy to use, you cna only extract data from an interface + child when u input them, instead why don't make a interface overview so i can search a certain option? would saved me atleast 1 hour today.

 

 

I don't know, is this still going to change?

I hope so atleast xD

Edited by MaxSkiller
Link to comment
Share on other sites

Ya, Well I made my own Equipment class now,

Like all the other 15 classes I made myself bcs:

- glitching methods,

- Sometimes very slow (for example deselecting item from inven)

- not supporting the functions I need

- Some easy methods requires unneeded data (in my opinion)

- A lot of basic functions are missing( or can't find them bcs the naming) (for example clicking a certain point on the screen)

- the interface debugger isn't easy to use, you cna only extract data from an interface + child when u input them, instead why don't make a interface overview so i can search a certain option? would saved me atleast 1 hour today.

 

 

I don't know, is this still going to change?

I hope so atleast xD

 

i think they have methods that you need, your just not finding them like for example the right click on a certain place. Under the mouse class (i read your other thread this might help)

 

339dbd31ff.png

 

also i hope they fix the equipment tab

Edited by josedpay
Link to comment
Share on other sites

i think they have methods that you need, your just not finding them like for example the right click on a certain place. Under the mouse class (i read your other thread this might help)

 

339dbd31ff.png

 

Ya, how do I even make a MouseDestination?

i tried almost everything ... 

 

I saw this method before, but liek I said: why make is so confusing?

Link to comment
Share on other sites

Ya, how do I even make a MouseDestination?

i tried almost everything ... 

 

I saw this method before, but liek I said: why make is so confusing?

is really isnt that confusing as long as you use the api.

 

Go in to the MouseDestination class, and look at there sub-classes.

376e84fc66.png

 

Mouse Destination is a super class of those above. You can see RectangleDestination click on it

1c8145ee56.png

 

the constructor support using (x,y,w,h), or a rectangle

 

So you could easy do

mouse.click(new RectangleDestination(bot, x, y, width, height), true);

Or if the destination of an item keeps changing. You can do

int slot = inventory.getSlot("coins");
mouse.click(inventory.getMouseDestination(slot), true);

Its all about polymorphism, learn it wink.png cool.png

 

Edited by josedpay
Link to comment
Share on other sites

is really isnt that confusing as long as you use the api.

 

Go in to the MouseDestination class, and look at there sub-classes.

376e84fc66.png

 

Mouse Destination is a super class of those above. You can see RectangleDestination click on it

1c8145ee56.png

 

the constructor support using (x,y,w,h), or a rectangle

 

So you could easy do

mouse.click(new RectangleDestination(bot, x, y, width, height), true);

Or if the destination of an item keeps changing. You can do

int slot = inventory.getSlot("coins");
mouse.click(inventory.getMouseDestination(slot), true);

Its all about polymorphism, learn it wink.png cool.png

 

Looks good thx!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...