-
Posts
3324 -
Joined
-
Last visited
-
Days Won
17 -
Feedback
100%
Posts posted by Gunman
-
-
18 hours ago, Czar said:
It's best to increase the delay to 20 seconds or so, or make a small int timer; and do timer+=8; every time an animation is detected, and at the top of onLoop make it s
if (timer > 0) {
return 1000;
}
really simple but effective it carried me in my early days of scripting
Get your code up bby not your funny up
Sleep.until(()-> !script.inventory.contains("Raw salmon") || script.widgets.isVisible(233) || script.getDialogues().isPendingContinuation(), ()-> myPlayer().isAnimating(), 3_000);
Sleep.class
import java.util.concurrent.TimeUnit; import java.util.function.BooleanSupplier; public class Sleep { private static final int DEFAULT_POLLING = 600; private static final int DEFAULT_CYCLE_LIMIT = 100; public static void sleep(int time) { try { TimeUnit.MILLISECONDS.sleep(time); } catch (InterruptedException e) { // I don't wanna deal with Interrupted Exception handling everywhere // but I need it to reset the execution when it happens throw new IndexOutOfBoundsException("Sleep Interrupted*"); } } public static boolean until(BooleanSupplier condition, int timeout) { return until(condition, ()-> false, timeout, DEFAULT_POLLING); } public static boolean until(BooleanSupplier condition, int timeout, int polling) { return until(condition, ()-> false, timeout, polling); } public static boolean until(BooleanSupplier condition, BooleanSupplier resetCondition, int timeout) { return until(condition, resetCondition, timeout, DEFAULT_POLLING, DEFAULT_CYCLE_LIMIT); } public static boolean until(BooleanSupplier condition, BooleanSupplier resetCondition, int timeout, int polling) { return until(condition, resetCondition, timeout, polling, DEFAULT_CYCLE_LIMIT); } public static boolean until(BooleanSupplier condition, BooleanSupplier resetCondition, int timeout, int polling, int cycleLimit) { try { int resetCounter = 0; long startTime = System.currentTimeMillis(); while ((System.currentTimeMillis() - startTime) < timeout && !condition.getAsBoolean()) { if (resetCounter >= cycleLimit) { break; } else if (resetCondition.getAsBoolean()) { startTime = System.currentTimeMillis(); resetCounter ++; } Sleep.sleep(polling); } return condition.getAsBoolean(); } catch (NullPointerException e) { e.printStackTrace(); } return false; } }
-
22 hours ago, debitsg said:
1235670434410926201
Need to post your discord name too
-
On 5/1/2024 at 6:19 AM, UnKnownG23 said:
Where would i find this
Tutorials on the original post of this thread
-
On 4/28/2024 at 8:23 AM, UnKnownG23 said:
Gary McKay#3243
Need to post your discord UID too
-
On 4/25/2024 at 7:15 PM, HunterSlayer1 said:
sagix#0623
Need to post your discord UID too
11 hours ago, Brayita07 said:Brayita
Brayita
1152418758833492098
I can't find you in the server, your info provided might be wrong.
-
4 hours ago, fuckhead said:
457164395147952140
Need to post your discord name too
-
12 hours ago, Voudoo said:
305445804410142720
Bishom
I can't find you in the discord
-
16 hours ago, Sommers said:
AlphaXVI#5291
Need to post your discord UID too
-
On 4/2/2024 at 2:22 PM, nerdvirginlol said:
Hey guys,
I'm trying to get started with the latest client but I can't actually get it to launch?
I've downloaded Java and try to run it through Java. Not really sure what's going on.
What am I missing?
Cheers
Try running jar fix
https://johann.loefflmann.net/downloads/jarfix.exe -
-
Nice
-
16 hours ago, FURYPVM said:
Fury Pvm's Terms of Service
All services go through our ticket system. We will always trade within your ticket, posting screenshots of trade windows, and confirm within the ticket. We will never confirm in-game.
Please allow for a deemed reasonable amount of time for our workers to complete your order. Fury Pvm will do it's absolute best to communicate all necessary progress information in regards to your order.
If your account becomes inaccessible for any reason of your own or Fury Pvm's control during your order, only a partial refund will be granted if approved by @Staff
Should the Terms of Service be broken or voided by you as the customer, Fury Pvm is deemed valid to refuse you a refund, with the ability to cancel all currently active services.
Fury Pvm will not tolerate any belligerent behavior, both parties will be treated with respect. Fury Pvm reserves the ability to cancel your current order at any time for any reason deemed fit by the @Staff
Service orders can be conducted over VPN/Parsec. The closest geographical location to you will be used, this does not confirm non-disciplinary action will be taken against you from Jagex.
If you the customer has a restricted account such as a pure, or low hp build. Please make @Staff aware of this prior to placing your order. Fury Pvm will not be responsible for any unwanted experience gained.
The only payment methods Fury Pvm accepts are the ones listed within
︱purchase
and on the form inside your ticket.
We do not guarantee item drops for your account as we have no control over RNG.
All concerns and issues must go through
︱support-faq
ticket system so you as the customer can openly voice your side with the Fury Pvm team.
Fury Pvm's terms-of-service
is subject to change at anytime. We will notify you of these changes although it is YOUR responsibility to keep yourself up to date with the current Terms of Service.
If the Terms of Service are broken in any means by you, Fury Pvm has the right to refuse you a refund and cancel all current orders.• For any further questioning please open
︱support-faqPlease note that global OSBot T.O.S. always applies in addition to this one, and personal T.O.S. can be declared obsolete at a moderator's discretion.
OSBot Rules
Market Rules -
1 hour ago, FushigiBot said:
Do not login with any injection client on tut accounts. They all seem to get banned regardless.
Use RuneLite or Mirror.
Building accounts from scratch on f2p is also quite challenging atm.
RuneLite is an injection client ???
-
2 hours ago, Wedmarco1 said:
Plenty of people have been reporting the same issue as I am for the past few versions, here and on Osbot discord... Unfortunately unusable for now for some of us
Yeah I reported it to Pat and he fixed it in .20 as far as I'm aware. Maybe try deleting cache as I just tried it with .21 on a freshish osbot folder and it worked fine
-
2 hours ago, Wedmarco1 said:
Launching Jagex Account from Manager on Windows is still broken :c
Worked on .20 for me
-
9 hours ago, TheCongregation said:
could this onmessage register if it says something like "someone else is fighting that" in that chatbox? because I use "getmessages" for game chatbox and it just reads the whole chatbox so that if the message comes up once it repeats it forever... can never design it so it only reads the most recent and then react and then continue and discount it
It calls that method everytime there's a new message in chat. Print out the calls and see if it would work in your case
-
4 hours ago, SaintMeegz said:
can i run multiple accounts on the free osbot? thru jagex accounts
No, free only has 1 client 2 tabs, and I don't think it's currently possible to use more than 1 tab with Jagex accounts
Currently the best support for Jagex accounts is through the manager, there is the patcher as well but not nice to run multiple with. -
1 minute ago, SaintMeegz said:
coming back after a long break trying to make new bot accounts am i just suppose to link them all to real emails and jagex accounts how are we doing it even mailinator isnt free anymore
Sub emails for personal use and using all 20 characters per account. For selling... err make an outlook I guess?
-
1 minute ago, Malcolm said:
@Gunman has some iirc
Don't have any for sale atm
-
Basically making 20 account per run
-
-
On 2/24/2024 at 1:04 PM, dotherobot said:
Logins and Tuts got bought out
Only have 200 Hand Made Tutorials US rn- 1
-
7 hours ago, lhoeg said:
greatblad3#4750
Need to post your discord UID
-
@Prolax Key word "this" is to specify context. Can also be used to specify the current class context if passing as a parameter
private int value = 0; public void setValue(int value) { this.value = value; }
Question
in Snippets
Posted
It's another take on the conditional sleep class that makes it a one liner with lambdas and a reset condition. Imo I'd use the Sleep class because of the reset condition option