Everything posted by Swizzbeat
-
OSBot 2.1.10
Why are you commenting, you don't even script lol
-
OSBot 2.1.10
Now that I can run a script without getting a ton of errors, I admit OSB2 is actually really nice O_o
-
hover();
Just move the Mouse to a MouseDestination and click.
-
walkMiniMap OSBOT 2?
import org.osbot.rs07.api.map.Position; import org.osbot.rs07.input.mouse.MiniMapTileDestination; import org.osbot.rs07.script.Script; /** * Created with IntelliJ IDEA * User: Anthony * Date: 5/31/2014 */ public class Walker { private final Script sI; public Walker(final Script sI) { this.sI = sI; } public boolean walkPath(final Position[] path) throws InterruptedException { return walkPath(path, 3); } public boolean walkPath(final Position[] path, int skipDist) throws InterruptedException { final Position nextTile = getNextTile(path, skipDist); if (nextTile != null) { if (sI.map.canReach(nextTile)) { clickMiniMapPosition(nextTile); } else { handleObstacleForPosition(nextTile); } } return path[path.length - 1].distance(sI.myPlayer()) < skipDist; } private Position getNextTile(final Position path[], int skipDist) { int dist = -1, closest = -1; for (int i = path.length - 1; i >= 0; i--) { Position tile = path[i]; int d = sI.map.distance(tile); if (d < dist || dist == -1) { dist = d; closest = i; } } int feasibleTileIndex = -1; for (int i = closest; i < path.length; i++) { if (sI.map.distance(path[i]) <= skipDist) { feasibleTileIndex = i; } else { break; } } return (feasibleTileIndex == -1) ? null : path[feasibleTileIndex]; } public Position[] reversePath(final Position[] path) { Position[] reversedPath = new Position[path.length]; for (int i = 0; i < reversedPath.length; i++) { reversedPath[i] = path[path.length - i - 1]; } return reversedPath; } private boolean clickMiniMapPosition(final Position position) throws InterruptedException { return sI.mouse.click(new MiniMapTileDestination(sI.bot, position)); } private boolean handleObstacleForPosition(final Position position) { return sI.doorHandler.handleNextObstacle(position); } } I ported over a walking snippet I had laying around. Haven't tested it yet so it may need some tweaking.
-
... per hour giving negative ammount?
dat overflow
-
osbot 2 about "walk" "EntityAPI" Questions!
- osbot 2 about "walk" "EntityAPI" Questions!
They even provided a getRandomPoint method for the area class :p- osbot 2 about "walk" "EntityAPI" Questions!
I'm pretty sure there's a localWalker instance available.- I declare myself King of the Dragons
My grammy has AID's- I declare myself King of the Dragons
lol how many sales u got m8 i have 3 gf goml such slut l2script prod nice nested if else blocks buddy boo- I declare myself King of the Dragons
I now pronounce you king fag of dragon land- The Great Transition Forward - OSBot 2
My God, I lost brain cells reading this.- Checking if door is open?
lol you guys make this so complex: Arrays.asList(door.getDefinition().getActions()).contains("Close")- The Great Transition Forward - OSBot 2
Just because you have all the time in the world doesn't mean we all do.- There was an error connecting with the chat room. Please notify an administrator.
Support +3- OSBot 2 Pathing Method.
What do you mean?- Age of OSBot?
- Rawr's life advice thread
- RE: OSB 2 and detectability
I made this post in the scripters section and didn't receive any feedback on it. Just my two shits on the matter.- The Great Transition Forward - OSBot 2
My fishing script is the most bought script in the store and when I had a monthly on it only had someone renew about once every 3 days. Literally every script has a free/non monthly counterpart, so there's no need for someone to buy a script with a monthly fee if there's one that grants lifetime access. Even at other sites I always talk to people who vent their frustration about users not renewing monthly.- The Great Transition Forward - OSBot 2
How does us not converting have anything to do with slowing down progression? It wasn't our decision to create a completely new bot. It's silly to tell scripters that they now have to rewrite their scripts for free just because they wanted to write something completely new. The amount of money involved in scripting is dwindling day by day lol.- The Great Transition Forward - OSBot 2
Overall it does, but as for the section you're attempting to come into you know nothing about.- The Great Transition Forward - OSBot 2
The OP was poorly worded, so I don't think anyone besides the developers even know what's going on, but in overall it seems that were going to have to rewrite our scripts for free. Even if they just get it for 30 days that's still a free month of access to our scripts and only like 5% of buyers actually renew a script. Don't quote me if the topic doesn't even concern you. Just manage the forum big boy.- Wait Till Attack Next NPC
FARM_AREA should be lower case as it's not a constant.- The Great Transition Forward - OSBot 2
This is bullshit. We have to rewrite/port our scripts so you can hand them out for free? Absolutely fucken not. - osbot 2 about "walk" "EntityAPI" Questions!