-
Posts
410 -
Joined
-
Last visited
-
Days Won
2 -
Feedback
100%
Everything posted by dreameo
-
Dude just ignore everyone and do that below
-
https://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html#asList(T...)
-
You can convert the array to a list.
-
Don't buy a script unless source is being provided.
-
Guess i'm not updating my scripts anymore gotcha bitch
-
if item distance < x loot else walk to item WalkCondition should break on distance threshold being met
-
Wherever you're learning from, you should have an IDE open so that you can actively try out everything you've learned. Watching videos or reading a book solely isn't really sufficient. Be care with open source since there's a chance that it might be poorly written. Don't get caught up in the Osbot API. Learn how Java works then try out your skills on scripts.
-
I could. It would have to be a big area though so that there are available spaces and less competition. I might do an AIO FM where you could create an area and just FM there selectively. I don't get much feedback though.
-
Where you get dat from?
-
Oh ok. I just looked at the API and that's all i found for codes lol.
-
if(ResponseCode.isDisabledError(ResponseCode.ACCOUNT_DISABLED)) { } else { } Not sure what 4 or 18 represent but, this method should only be used in conjunction with "ACCOUNT_DISABLED" (-1)?
-
Thread spam is not allowed. Do not post multiple threads in short time periods, even if this section is for Spam. You will receive an infraction for this type of spam.
-
Threads question regarding onMessage, onLoop, onPaint, etc.
dreameo replied to yfoo's topic in Scripting Help
They all most likely do. However, an easy way to test is to set your onLoop to return a very large value. Then in any of these methods, have it do some action. If it performs the action while onLoop is still waiting to execute, then the methods are executing on a separate thread. You can also try playing with Thread.activeCount() -
Yea, so I believe this is due do the API. I make it so that it walks to the exact Tile, but for whatever reason, even if the bot is on the way or standing on the tile, it still clicks the target tile destination. Perhaps I could do some edits later on. Starting tiles are not hard coded, only the y Axis is. The bot can choose from any random close tile as the starting spot. Not sure what this is ^ Yea, so it's difficult to determine if someone who's standing in the line is also fire making. However, the bot is strict to find atleast 26 free slots. So even in the likely hood that both players start at the same time, whichever bot is unsuccessfully after a couple attempts, it will move to a new line to start FM.
-
Hey, so I should have fixed your issue. Wait for 0.03 to be out. Also i'm surprised no one has encountered flower issues. I'm not aware of all the things that may block a fire. I tested it out when I saw flowers in p2p and I couldn't make a fire This should be fixed now^
-
The fishing spot is closer because it can be 'reached' diagonally vs having to walk over and then reaching it. That's why those results are occurring. (Believe so*)
-
Pastebin: https://pastebin.com/RAnGfJ9Y Usage: String itemName = "Iron ore"; String property = "overall_average"; String data = ItemData.getData(itemName, property); You might have issues with external library, anyways, I just wrote this up. Note that, if you're looking for numerical values, you'd have to convert String to int. Forget to mention that if you're making frequent calls to the same item, i'd be best if you made a map between item and the property.
-
Yea, the properties in this JSON change index You can search by item name, just look inside the JSON data The prices are probably accurate
-
What you need to do is pull all the data once and have it stored locally where then you can interact and pull stuff immediately. https://rsbuddy.com/exchange/summary.json Be warned though, the JSON is dynamic and you can't just have a method that assumes the position of the elements (Assuming you are parsing this as a String and not JSON).
-
It's possible you're getting a null string. Also, text.contains() may fail you later in the future for more general words. text.equals("zz") is better for more exact phrases. You might run into messages that contain other elements other then just the phrase. I believe there is something in the API that could help you out. If you can't find it, there are easy work arounds that you should figure out.
-
You don't need to do that for messageListener. It's already implemented from 'Script'
-
Yea, if 2 Firemakers go in the same path, after a couple unsuccessful attempts, the bot should go to a new path. I've tried to make the bot handle fairly well as the number of users scale. Hopefully no issues in the future
-
Yea, it's because im using a sleep + conditional. Like, I said, i'll be fixing it, but in a bit since I believe 99% of people are fine.
-
Random Path to choose from before making fire Will go to a new path if there's competition Can skip obstacles