Psvxe
Members-
Posts
235 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by Psvxe
-
Well basically I need to store data of interfaces. The problem is that it's too slow and the interface is gone by the time it actually 'shoots' the image. Which leaves me with a screenshot of nothing useful. ImageIO.write(ctx.getColorPicker().getBufferedImage(), "JPG", new File(System.getProperty("user.home") + "\\OSBot\\Data\\screenshots\\" + i.getId() + ".jpg"))){ So next thing what came up in my mind was to get the widgets of the interface, which was pretty useless since the parts I'd need from the interface couldn't be stored. And yes, I know the code only works for windows.
-
Anywhere. I'd store data in the osbot data dir.
-
You want to write a text file and read from that file within the script or just read it manual?
-
Checking to see if an item in your inventory has a certain action?
Psvxe replied to Twin's topic in Scripting Help
haha Well, probem solved -
Already got basic working of webwalking working. Few small problems but nothing that breaks the whole script. Have to add teleport and shit now. Thinking of a logical way of handling that without using tons of codes. Thanks anyway
-
Checking to see if an item in your inventory has a certain action?
Psvxe replied to Twin's topic in Scripting Help
http://osbot.org/forum/topic/71528-how-to-filter-inventory-items-that-only-contains-a-certein-action/ You could use this too perhaps. -
what about getting the mapdata.idx?
-
How am I supposed to get the mapData?
-
The problem is; if I don't create a webwalker I've to create over 80 paths and then I'm not even started with teleporting.
-
Hey guys, For a project I'm making I need to travel trough whole Runescape. Now as you could guess, I'm not going to predefine every path. But the problem is I don't know how to make a webwalker. Could someone give me a push into the right direction? Don't need to be spoonfeeded.
-
How to filter inventory items that only contains a certein action?
Psvxe replied to Psvxe's topic in Scripting Help
I'll get look up on lambda first. Didn't had time to study that. -
How to filter inventory items that only contains a certein action?
Psvxe replied to Psvxe's topic in Scripting Help
I'll try both of them. Looks promising. And way smoother than what I did.. haha Thanks! -
I've tried a few things but none of them do exactly what I want it to do. I don't want to write up all kind of food but instead I want to figure out what they use as food by checking their inventory. Now the problem is that they coud have different items beside food too in their inventory. This is why I came up with the idea to filter the items by the menu action they have. However, the API doesn't contain a method for that. So now I'm working on my own method. This is my concept idea; Get all items in inventory and put them in a arrayList Figure out if items in inventory has the action "Eat" If not, remove from arrayList. Now I'm just not sure how I'm going to create this. Any help is welcome!