Leaderboard
Popular Content
Showing content with the highest reputation on 01/20/21 in Posts
-
4 points
-
You are calling the Player class. To use methods that are within that class you must first set a Player variable. Also getSkullIcon() does not return a boolean value, it returns an integer. Player player = getPlayers().closest("Bob"); Then once you have set the Player variable you can than call those methods. Player player = getPlayers().closest("Bob"); if (player != null) { int enemyPlayerSkullIcon = player.getSkullIcon(); int enemyCombatLevel = player.getCombatLevel(); }2 points
-
Here's a custom webwalk event class that I use to perform actions while walking without delays import org.osbot.rs07.api.map.Position; import org.osbot.rs07.event.WebWalkEvent; import org.osbot.rs07.utility.ConditionalSleep2; public class CustomWebWalk extends WebWalkEvent { private AsyncWalkEvent asyncWalkEvent; public CustomWebWalk(Position position) { super(position); } @Override public void onStart() { asyncWalkEvent = new AsyncWalkEvent(); execute(asyncWalkEvent); } @Override public int execute() throws InterruptedException { if (asyncWalkEvent.isLooping()) { // Async is still looping, dont let the web walker execute return 600; } return super.execute(); } @Override public void onEnd() throws InterruptedException { // End the async event and wait for it to finish asyncWalkEvent.setFinished(); ConditionalSleep2.sleep(5000, asyncWalkEvent::hasCompleted); } } And the action that executes in a separate thread import org.osbot.rs07.api.map.Position; import org.osbot.rs07.event.Event; public class AsyncWalkEvent extends Event { private volatile boolean finished = false; private volatile boolean isLooping = false; public AsyncWalkEvent() { setAsync(); } @Override public int execute() throws InterruptedException { if (canPerformAction()) { // Map destination is far enough away, we can perform some actions isLooping = true; if (shouldDoAction()) { // do action } else { // any other necessary action } isLooping = false; } return 600; } @Override public void onEnd() throws InterruptedException { finished = true; } public boolean isLooping() { return isLooping; } public boolean hasCompleted() { return finished; } private boolean canPerformAction() { // Only allow the actions to start if the map destination is far enough away Position dest = getMap().getDestination(); if (dest == null) return false; int dist = getMap().distance(dest); return dist < 20 && dist > 7; } }2 points
-
RUNNING 4 SESSIONS PER NODE NODE [2] WITH 4 MORE BOTS Showcase: 8 bots same time generating ~2.8m/hr which equals to roughly ~67m/day! 1 MULE PER MACHINE FAQ What is the script ID? 782 Can I run this bot with the Bot Manager? Yes, the parameters will be the saved file name in the setup window, you will see once you run the bot. Can I request features added to this bot? Yes, I am always listening to requests and adding new features all the time!1 point
-
- Join our discord server to order -> https://discord.gg/jXGmGqf68c Price & Minimum order amount Without discounts/bulk sale In USD starting prices. Jagex OTP Hand Made Tutorial Island -> $0.30/account (Min amount 4) Message Gunman on discord for a GP quote We accept the following payment methods: Bitcoin Litecoin Bitcoin Cash Doge 07 GP Extra Info All of our accounts are completed accounts are created on region specified IP addresses. All tutorial island accounts are rested for at least 6 days with last login of at least 3 days. (Unless stated otherwise) All accounts are created by us, we are the original owners with no email registered All account's emails with OTP are to be considered inaccessible Example of how to order. Future Considerations. Automated GP purchasing. FINISHED. Tutorial Completed UK - FINISHED Deprecated Please feel free to contact any of our discords. @Gunman -> MrGunman200™♥#0001 (UID: 594520423270449162)1 point
-
This is one of my first scripts I've made. I plan on adding a lot more but needed some help with testing. Current Features: Joins game Grabs Bandages when out Attacks other players Attacks and collects souls (MORE TO COME) Working on adding: - GUI (basic) - Zeal Rate - Attacking/Collecting forgotten souls - Putting souls in obelisk - Using potion of power - Auto spending points - Quick prayer support - Attacking the Avatar Let me know what you guys think! Start the script at Soul Wars Download: https://mega.nz/file/GplEEC4b#Gut19itYwj5qGZZjfby7LPk_8vLFVLbg19LRk42iS1E Change Log: v0.1 released v0.2 bug fixes, fixed pathing, added GUI, option to collect/attack forgotten souls1 point
-
1 point
-
1 point
-
You should invest in VIP for mirror instead of a separate IP. Mirror mode brings it to another level and will make your accounts last way longer then stealth.1 point
-
1 point
-
1 point
-
The script works awsome, only thing is that Jagex is sitting next to zulrah with a hammer.1 point
-
@Camaro @NbaconThanks for your code snippets! Both are interesting approaches and I will put both to the test to see how it really interacts. Sadly, it looks like you cannot do something asynchronously throughout a script, unless you prepare extensively for it which might be too much work.1 point
-
interface ISOMETHING{ void onStart(); void execute(); void onEnd(); int time(); boolean testAsBoolean(); } public class d { boolean walkwalk(MethodProvider mp,int run, PathPreferenceProfile profile,boolean camera, Area area, ISOMETHING something) { WebWalkEvent walkEvent = new WebWalkEvent(area); walkEvent.setPathPreferenceProfile(profile); walkEvent.setEnergyThreshold(run); walkEvent.setMoveCameraDuringWalking(camera); Event event = new Event() { public void onStart() throws InterruptedException { this.setAsync(); something.onStart(); } public int execute() throws InterruptedException { if ( something.testAsBoolean()){ this.setBlocking();//impotant something.execute(); this.setAsync();//impotant } return something.time(); } public void onEnd() throws InterruptedException { something.onEnd(); } }; mp.execute(event); boolean done = mp.execute(walkEvent).hasFinished(); event.setFinished(); return done; } }1 point
-
1 point
-
1 point
-
I unbanned the user and a mod will place him in dnt and give him a chance to respond to the dispute and repay you.1 point
-
1 point
-
The upgrading gear part means that it will upgrade your range armour when you have some in inventory that are better than the ones you wear, I didnt include anything else because that might be worse/not the upgrade you want. Its only relevant for regular mode, because in progressive mode you would set your own conditions to upgrade any gear etc.1 point
-
We're currently giving away 40 tutorial island accounts to 5 people. Join the discord server to participate1 point
-
I am not even going to ask you for a trial, after your work on passive gold bot, I'm happy to purchase this just to support you!1 point
-
1 point
-
1 point
-
i had a similar experience. left fruity NMZ running overnight on my pure. when i woke up i discovered it had finished RFD, totally ruining my pure.1 point
-
1 point
-
Love this script. Just be careful as low level at Fenkenstein patch, there walks a zombie that wants to get you sometimes.1 point
-
Ok so i think its just the updated client, I tried another script and it gave me issues. so Just loaded osbot version 2.6.11 and seems to be running fine right now1 point
-
It was trying to use option 3, it drained half my health then dropped it, I am using the new mouse. i had been running the script before this latest update the same way with new mouse and worked perfect for 10 plus hours. maybe ill check it out without new mouse. i basically use Khals Scripts. but been gone all day let me do some trail and error runs1 point
-
1 point