-
Posts
548 -
Joined
-
Last visited
-
Days Won
2 -
Feedback
100%
Everything posted by Abuse
-
Be careful when setting flags to zero though, the pathfinder will see it as a tile that can be accessed from all directions, so might end up generating a unwalkable path
-
1 = cannot enter from west 2 = cannot enter from east 4 = cannot enter from north 8 = cannot enter from south Cannot enter from west and east = 1 | 2 Cannot enter from west, east and north = 1 | 2 | 4 etc
-
You can pass flags to it after filtering through getMap().getRegion().getClippingPlanes()[myPosition.getZ()].getTileFlags(); int[][] originalFlags = getMap().getRegion().getClippingPlanes()[self.myPosition().getZ()].getTileFlags(); int[][] modifiedFlags = new int[originalFlags.length][originalFlags.length]; pathFinder = new LocalPathFinder(getBot()); for (int x = 0; x < originalFlags.length; x++) { for (int y = 0; y < originalFlags.length; y++) { int originalFlag = originalFlags[x][y]; /* modify originalFlag flag here */ modifiedFlags[x][y] = originalFlag; } } pathFinder.findPath(targetPosition, modifiedFlags);
-
You could wrap it in a nice function like so: float getCost(int currentSpeed, int maxSpeed, boolean schoolZone){ if (currentSpeed <= maxSpeed) { /* We arent speeding */ return 0; } /* Base price of 75$ */ float price = 75; /* Add 6$ per mph over speed */ price += 6 * (currentSpeed - maxSpeed); if (currentSpeed - maxSpeed >= 30) { /* 30 mph or more to fast, add 160$ */ price += 160; } if (schoolZone) { /* We are in a school zone, double the price */ price *= 2; } return price; } It also makes uses of floats, perfect for decimals in money
-
I haven't had tutorial island bans yet, they genarally occurred within 4-8 hours of runtime. The IP's were unused for 10 days as I took a break from farming.
-
I just want to add that IP flagging is a part of jagex's anti ban system as I have found out today. I've had a pool of 200 IP's and recently I was struggling with automatic bans, tried everything within reason to prevent them (Since each bot is limited to ~2% cpu usage, i couldn't make any drastic changes without losing out on efficiency). As a final measure I've replaced my whole IP pool, and voila not a single ban for past 24 hours
-
Yes, you are correct. Mirror mode more than likely uses the attach api (Or a lower level implementation of it), however it is not possible to get any valuable information about attached agents, which means that, to my knowledge, it's impossible to detect OSBot using common methods. Of course process scanning is a way out, but Jagex doesn't do that.
-
Mirror mode duplicates the attached client state (OSBuddy in this case), and does it's computations within the clone, there won't be any reference to anything external within the attached client. Any exceptions happen in the instance
-
"Your data suggest a strong automatic preference for Light Skinned People over Dark Skinned People." bs.
-
I don't recall anything ingame that has a make x option that doesn't have an animation. But yes, your solution + explv's combined together is the proper solution
- 8 replies
-
- Beginner
- Intermediate
-
(and 1 more)
Tagged with:
-
That's not how things work
-
The scripter can just check if there is no break planned within the next 5 seconds or so using getBot().getRandomExecutor().getTimeUntilBreak() before entering the area with aggressive monsters Also, using the same condition, the scripter can exit the agressive are in time before the break handler kicks in
-
Calling a different script from within one?
Abuse replied to PineappleSausage's topic in Scripting Help
When I started writing my scripts, I made them modular similar to the post above, for example my tutorial island, blue Dragon, blast furnace,.. scripts all require either a main script class, or a 'proxy' class that allows me to use them separately or together in a script. The proxy class just makes sure all the onMessage, onPaint and onResponseCode gets forwarded to the correct module -
What I would do is remember which two inventory slots I'm interacting with, do the desired action and sleep until one of the inventory slots is empty or contains a different item using ConditionalSleep
- 8 replies
-
- Beginner
- Intermediate
-
(and 1 more)
Tagged with:
-
If you are taking the challenge, let me make it easier for you: static List<World> worlds = Arrays.asList( new World(1, false, 242,57), new World(2, true, 242, 78), new World(3, true, 242, 110), new World(4, true, 242, 131), new World(5, true, 242, 150), new World(6, true, 242, 177), new World(8, false, 242, 201), new World(9, true, 242, 222), new World(10, true, 242, 250), new World(11, true, 242, 276), new World(12, true, 242, 297), new World(13, true, 242, 319), new World(14, true, 242, 343), new World(16, false, 242, 369), new World(17, true, 242, 392), new World(18, true, 242, 412), new World(19, true, 242, 439), new World(20, true, 242, 363), new World(21, true, 335, 57), new World(22, true, 335, 83), new World(26, false, 335, 128), new World(27, true, 335, 156), new World(28, true, 335, 177), new World(29, true, 335, 199), new World(30, true, 335, 223), new World(33, true, 335, 252), new World(34, true, 335, 270), new World(35, false, 335, 301), new World(36, true, 335, 322), new World(38, true, 335, 368), new World(41, true, 335, 393), new World(42, true, 335, 416), new World(43, true, 335, 445), new World(44, true, 335, 463), new World(46, true, 426, 81), new World(50, true, 426, 129), new World(51, true, 426, 151), new World(52, true, 426, 176), new World(54, true, 426, 224), new World(57, true, 426, 249), new World(58, true, 426, 278), new World(59, true, 426, 297), new World(60, true, 426, 319), new World(62, true, 426, 372), new World(67, true, 426, 441), new World(68, true, 426, 464), new World(69, true, 517, 52), new World(70, true, 517, 80), new World(74, true, 517, 125), new World(75, true, 517, 152), new World(76, true, 517, 175), new World(77, true, 517, 202), new World(82, false, 517, 277), new World(83, false, 517, 299), new World(84, false, 517, 319), new World(86, true, 517, 370), new World(93, false, 517, 389), new World(94, false, 517, 317) ); Last two parameters of the World class are x and y mouse positions for that particular world on the world select screen It was painful to write
-
EDIT: I posted in the wrong thread, don't drink and type
-
Recovery attempt was unsuccessful, Fly refunded me 120m Funny how I felt the urge to remove all wealth from the account prior to this dispute .. no damage was caused
-
I'm not going to follow this up if it get's locked.
-
I trusted Fly when i purchased the account, never asked for recovery info. I've now received full recovery information, so I'm checking if I am able to recover the account myself
-
Don't close yet, trying recovery test with new info
-
Fly has returned access to the account. Not sure how much to trust it now but oh well ... Dispute has been resolved, thanks for your help
-
We're making progress I guess
-
People still working with fly after all his disputes
Abuse replied to Team Cape's topic in Spam/Off Topic
He's a good kid, just has problems understanding how the world works -
Some very strange behaviour .. Fly ended up sending me the account password, but it's still locked by an authenticator. he dissapeared at that moment