Everything posted by Trees
-
Supreme Gilded Altar
My bad bro, didnt get any progress report but I used it for level 43 prayer and worked flawlessly. Vouch
-
Supreme Gilded Altar
yep my bad works now.
-
Supreme Gilded Altar
Not working for me at all. Just stands and doesnt do anything.
-
Stealth Quester
The gear presets suck, the search sucks, and a lot of items are missing. Glory/combat bracelet only have (4) and uncharged versions. Also it still tries to buy things in the GE without coins in inventory, like why not check first?
-
[Dev Build] 2.4.128 - Maybe fixes?
Low CPU bug definitely fixed. Thanks @Alek
-
Method to hover over next npc
Use a delay, in case you need to eat, tele, etc. Also make sure when you calculate the random delay, you set it to a variable. Otherwise every loop it will recalculate and be more likely to be a shorter delay.
-
Method to hover over next npc
Make sure to add a delay between hovering and either choose to hover over the same NPC or it might just hover over what's closest (depending how you have it coded), which could change frequently.
-
Do you think Samsung will survive in the near future?
Amazon did it and seemed to turn out fine.
-
[Dev Build] 2.4.126 - More Mouse/Interaction Stuff
@Alek Right click interact option now? Also might be worth adding menu check for interact action text.
-
A Simple Login Handler
Not really. I'm not sure if I got it working or it's just returning 0. I just resorted to more pixel operations.
-
x64 Java?
Any performance differences with multiple bots using x64 java over 32-bit?
-
"Evidence Type: Jagex Moderator Comment"
Just got banned on a mule, never botted on:
-
[Dev Builds] OSBot 2.4.125 - OS Compatibility
Oh man, the gold farm update is amazing. Went from 7s delay to 250 ms and 20 bots are loading fine, no initialization error.
-
Can somebody please explain this in detail to me?
"'n' is multiplied by 'n-1'" -- no, n is multiplied by factorial(n-1) "Value is assigned to 'temp'" -- not really how recursive functions work, there is no "temporary" store in memory, but it is a temporary variable if you mean as such.
-
need some advise about quashed/expired ban
Had an account with expired bot busting ban and when it got banned again it was perm.
-
Checking and toggling shift dropping
Actually in most c-based programming languages, using a try-catch flow can actually provide better performance (not sure if that's regarding exceptions or not)
-
How do i....
Reset .jar File Association
-
Checking and toggling shift dropping
They can be used for normal flow in order to avoid excessive nested if statements. Maybe not needed here though. Would recommend creating a var to hold the interact options though so you don't call it twice.
-
[Free-Source] Woodcutter
So what you can do is add in a conditional sleep for moving, then one for the actual chopping process which would check animation (namely last animation time)/level up/invent full/etc.
-
Checking and toggling shift dropping
Thanks for the snippet, I changed the match code around a bit. Using try/catch avoids needing to check rs2Widget/getInteractions for null, and using Arrays.asList avoid needing to iterate the array. Since we are talking about <5 actions 99% of the time, it's kinda insignificant, but still looks better. @Override public boolean match(RS2Widget rs2Widget) { try { return Arrays.asList(rs2Widget.getInteractActions()).contains(action); } catch (Exception e) { return false; } }
-
[Free-Source] Woodcutter
You need to check animations and look into using ConditionalSleeps, currently will just spam chop the tree.
-
Item ID to/from Name API & Revised PriceLookup API
In order to avoid the overhead of having to make web calls or parsing a text file, I went ahead and made a serialized hashmap of the items. The serialized file can be found here and the code to serialize it can be found here.
-
[HELP REQUIRED] Painting tiles/entites
// Tile Polygon poly = new Position(0, 0, 0).getPolygon(getBot()); if (poly != null && poly.npoints > 0) { g.fillPolygon(poly.xpoints, poly.ypoints, poly.npoints); } // Entity Model model = entity.getModel(); // Model g.draw(model.getArea(entity.getGridX(), entity.getGridY(), myPlayer().getZ())); // Bounding Box g.draw(model.getBoundingBox(entity.getGridX(), entity.getGridY(), myPlayer().getZ()));
-
[Need Help] Getting Entity at specific Position
Better not to use closest here, since that uses an additional sorting: getObjects.getAll().stream().filter(Objects::nonNull).filter(obj -> "OBJ_NAME".equals(obj.getName()) && obj.getPosition() == new Position(0, 0, 0)).findFirst().orElse(null);
-
Java Process Id
Does it provide whole CLI argument like user/pass of acct itself (not OSBot)? Otherwise kinda useless with more than one process.