-
Posts
290 -
Joined
-
Last visited
-
Feedback
100%
Posts posted by danieljvdm
-
-
Concept of SDN is simple guys, you add a script to your account and then you can run it straight from the bot client. It'l load the class straight into your client when you select it so you don't have to download and place any scripts on your own.
-
I'm not even on here? dafuq is wrong wid you
Mr. "I don't know what a final is"
-
I'm a dev and I have a Nexus 4 and an iPhone 5, I will agree that Android has a lot more features (like java vm) that iPhone doesn't, but when it comes down to day-to-day use I almost always take my iPhone out... it's just a much more pleasant experience.
You do know basically every company tries to find ways to do that, right? It's not illegal, so why not do it?
This, and Apple does a lot more humanitarian good than the U.S. government anyway...
-
private Rectangle getShopItemBounds(int itemId) { int slot = -1; for (int i = 0; i < client.getInterface(300).getChild(75).getInv().length; i++) { if (client.getInterface(300).getChild(75).getInv()[i] - 2 == itemId) { slot = i + 1; break; } } if (slot == -1) { return null; } slot = 6; int row = (int) Math.ceil((slot / 8.0) - 1); int column = slot > 8 ? slot - (row * 8) : slot; column--; int x = 80 + (column * 16) + (column * 31); int y = 69 + (row * 16) + (row * 31); return new Rectangle(x, y, 31, 31); } private void buyShopItem(Item item) throws InterruptedException { Rectangle itemBounds = getShopItemBounds(item.getId()); RectangleDestination destination = new RectangleDestination(itemBounds); for (int i = 1; i < 100; i++) { selectOption(null, destination, "Buy 10", false); sleep(100); } }
Just modify that, I can't be bothered to
- 1
-
You could try extend your main class as a super class and then you can use all of those methods...
-
Glad to see that our beloved bot is finally getting somewhere! Now we just need some stable scripts and we can finally be better than the rest! Keep up the good work, everyone!
we have stable scripts...
- 1
-
Just use stop() for now and wait for the 2 minute logout timer...
-
RANDOM BUG
OSBot version: 1.5.5
Random name: Frog
Issue description: Works perfectly and then when it gets to the option to kiss her the bot clicks the first option (eww no way) instead of "sure" and then she gets mad haha. So it's just a matter of changing the interface option to the right one.
Special notes:
-
RANDOM BUG
OSBot version: 1.5.5
Random name: Strange Plant
Issue description: Doesn't do anything when the plant appears, doesn't even activate random solver
Special notes:
-
Can we have a separate chat for Golden Gates too? Just so he can talk to himself and not annoy the rest of us...
-
I don't understand... you just said something was broken and there was a fix. In my world that's called a bug.
API suggestions are for suggestions to add to the API, not fix.
-
That's a bug report then.
-
Decent idea, but just do it yourself for now.
-
currenTab works, openTab doesnt. Just use selectinterfaceoption to open instead.
-
Use a combination of the built-in onMessage method and the selectInterfaceOption method. Or you could just draw a rectangle on the trade box, your choice.
-
bo2 9.3
-
K well
Bro, you gotta admit, Ventrilo is a really retarted name.
I would ofcourse make the forum mods/admins the same rank on Vent aswell.
You just defended yourself from your typo with another typo. It's "retarded". But I don't see why you need the admin's permission... just make the damn server and tell people it's there.
-
Here:
public NPC getNPC(String name) { List<NPC> npcs = closestNPCListForName(name); for (NPC npc : npcs) { if (npc.getName().equalsIgnoreCase(name) && client.getCurrentRegion().contains(npc)) return npc; } return null; }
just do NPC npc = getNPC("NPC NAME HERE");
Your welcome. Creds to jwiz.
Isn't this mine?
-
-
Something like this would be great for scripts such as my fletcher after the 6 hour logout timer. Adding extra code to accomodate for this timer is annoying since it could catch it at any point in my script (could be 4 logs in so my usual onIdle if statements wouldn't pick it up ). Basically I'd have to start timers on when it starts the fletching/strinigng method.
Anyway, if there was an onRelogin method, I could easily calculate what needs to be done to continue the script.
-
You need to check if it is null or not.
Did you not read my response?
-
In next few days
-
Try
if(target != null) if(target.isVisible()) log("Not in area"); else log("In area");
or
if(target != null && target.isVisible()) log("Not in area");else log("In area");
-
Everything is great, apart from moving entities like you said. My combat scripts don't work at all. Objects and items are working amazingly though. Huge improvement.
what does SDN stand for?
in Archive
Posted
In this case it stands for Script Distribution Network.