Everything posted by Swizzbeat
-
walk();
private boolean clickMiniMapPosition(Position position) throws InterruptedException { return mouse.click(new RectangleDestination(bot, new MiniMapTileDestination(bot, position).getBoundingBox())); } FYI the bounding box will return null and you will receive a NPE if you try to use this to walk to a tile not on the current minimap.
-
walk();
Why would you ever want to walk to a tile that you cannot reach? If you're intent on doing this anyway, create a MiniMapTileDestination and click the bounding box.
-
overide pause on logout.
import org.osbot.rs07.api.WorldHopper; import org.osbot.rs07.script.MethodProvider; import org.osbot.rs07.script.Script; import java.lang.reflect.Field; /** * Created with IntelliJ IDEA * User: Anthony * Date: 6/8/2014 */ public class ModifiedWorldHopper extends WorldHopper { private Script sI; public ModifiedWorldHopper(Script sI) { this.sI = sI; } public void setModifiedWorldHopper() throws IllegalAccessException { for (Field f : MethodProvider.class.getDeclaredFields()) { if (f.getType() == WorldHopper.class) { f.setAccessible(true); f.set(instance of method provider, this); } } } @Override public void hop(int world) { //your world hopping code } } Not sure how to get an instance of the MethodProvider class, but if you are able to this should work with setting your own instance.
-
Experience distance (OSB2)
private final static int[] XP Switch final and static.
-
Safe to call BigBoyBets (aka RSGambling) a scam?
People got scammed? Not at all. BBB got big because the owners were already well known, could market it and had startup capital. A lot more goes into making those sites than you think (especially big ones) which is why there's only one big boy and shitloads of other small ones.
-
Safe to call BigBoyBets (aka RSGambling) a scam?
Who cares about these RS gamblers lol
-
Who is interacting with me ? (OSB2)
Or can't you just do player/character.getInteracting()?
-
630k Fletching XP/hourly + Profit Method
lol I call bullshit unless it was completely client sided.
-
SunTzu's Free Graphics
I need script logos. I like them with this style: Be my direct script logo maker?
-
What does Memory Allocation do?
Tells the JVM how much memory it is allowed to allocate to the heap. If the JVM exceeds this amount it will throw an exception and shut itself down. It's mainly in place to just completely dispose the bot if it begins to use to much memory due to a leak.
-
Osbot 2 Collision flags and rooms
Why would you want to use that here? Wouldn't it be pointless considering he knows the destination and the heuristic would just make finding the path faster?
-
Osbot 2 Collision flags and rooms
int[][] flags = client.getClippingPlanes()[sI.client.getPlane()].getTileFlags(); Then get individual tile flag using local x/y index in the flag array. @OP use a pathfinding algorithm to find a path from your position to the destination? Just map the current region and any un-walkable tiles can be set as blocking with the algorithm.
-
OSBot1 vs OSBot2 bug amount & cpu usage?
Unless you use their default shit which barely works you'll get exceptions. It's impossible to write anything semi complicated for that reason.
-
OSB2 using inventory item on entity
Wouldn't that throw an NPE? :p My issue involves both clicking on the inventory item (which it doesn't do for some reason even though it will move the mouse over the item) and clicking on the object itself. I'm not wasting my time making custom things for this shit bot anymore.
-
OSB2 using inventory item on entity
What? There is no #interact(String, int) method if you're using it on an entity.
-
OSB2 using inventory item on entity
You must do it a different way than me, because I've never bothered using the full color coded string.
-
OSB2 using inventory item on entity
No that does not matter.
-
OSB2 using inventory item on entity
I did enough rewritting of their shit for OSB1. I'm not wasting my time doing it again when I could be doing other more important things.
-
OSB2 using inventory item on entity
That's exactly what I'm doing and it won't work. Whats your code?
-
OSB2 using inventory item on entity
How are you trying to do it? Interact with inventory item "Use" and then "Use" on entity?
-
OSB2 using inventory item on entity
Is it just me or does it not work what so ever?
-
Polishcivil for OSBot developer
If they hired AT Team we would have flawless client in a week.
-
Feedback of the day
Why you make us lose brain cells like that mald?
-
Congratulations Swizzbeat!
I officially proved to the world I don't have down syndrome I actually graduated with a 2.6 weighted GPA lol
-
Let's see how long this lasts...
omg this is ingenious