Everything posted by progamerz
-
Tracking which fighting style is active
Umm not sure but i used to use this before in my old Seagull Script and used to work with Melee(Scimitar/Swords) not sure about others but i'll share it: Credits @Khaleesi import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.api.ui.Tab; import org.osbot.rs07.script.MethodProvider; public enum FightStyle { ATT("Attack", 0, 3), STR("Strength", 1, 7), DEF("Defence", 3, 15); public static FightStyle[] STYLES = FightStyle.values(); String name; int child, id, parent = 593; private FightStyle(String name, int id, int child) { this.name = name; this.child = child; this.id = id; } public String getName() { return name; } public int getChild() { return child; } public int getId() { return id; } public static FightStyle getFightStyle(MethodProvider p) { for (FightStyle f : FightStyle.STYLES) if (f.getId() == p.configs.get(43)) return f; return null; } public void changeTo(MethodProvider p) { if (p.configs.get(43) == id) return; RS2Widget w = p.getWidgets().get(593, child); if (w != null && w.isVisible()) { w.interact(); } else { p.getTabs().open(Tab.ATTACK); } } }
-
Tracking which fighting style is active
Isn't that what he wanted anyways sorry if i was wrong what i meant is to know if Strength/Attack/Defence is selected ignore it if its not what u wanted
-
Tracking which fighting style is active
Configs is the way to know which is active.
-
PPOSB - AFK Splasher
@ProjectPactCan i get a trial :)?
-
[Finished] cs_mountain_cabin
Thanks! definitely will use it
-
Perfect Fighter AIO
Hey, 1 more think, i know that u have life out of osbot but u can do this whenever ur free like after u fix all the main issues is try to fix maybe the profit counter? as for example i think atm it works like if i had a potion(4) and it drank then it will count the price of the potion(3) and add it. as i said u can take ur time and thank you for being pushing updates! Edit: I have other suggestion as for the hotkeys would there be an option to disable them? as atm in the .125 client they made f9 toggle logger and f10 disable input. Thanks
- AIO Yew Chopper
-
Level up widget
new ConditionalSleep(MethodProvider.random(80000, 110000)) { public boolean condition() throws InterruptedException { return (!getInventory().contains("Flax") || !myPlayer().isAnimating() || api.dialogues.isPendingContinuation()) || getInventory().onlyContains("Bow string"); } }.sleep(); Try this instead of: And remove this: So the final code for this task will be: if (!getWidgets().isVisible(459, 93)) { getObjects().closest("Spinning wheel").interact("Spin"); log("Interacting with Spinning wheel.."); new ConditionalSleep(MethodProvider.random(2000, 3000)) { public boolean condition() throws InterruptedException { return getWidgets().isVisible(459, 93); } }.sleep(); } else if (getWidgets().getWidgetContainingText("Bow String") != null) { getWidgets().getWidgetContainingText("Bow String").interact("Make X"); new ConditionalSleep(MethodProvider.random(2000, 3000)) { public boolean condition() throws InterruptedException { return getWidgets().getWidgetContainingText("Enter amount:") != null //check the text not sure if i wrote correctly && getWidgets().getWidgetContainingText("Enter amount:").isVisible(); } }.sleep(); } else if (getWidgets().getWidgetContainingText("Enter amount:") != null //check the text not sure if i wrote correctly && getWidgets().getWidgetContainingText("Enter amount:").isVisible()) { getKeyboard().typeString("" + MethodProvider.random(31, 283)); log("Starting to spin Flax...."); new ConditionalSleep(MethodProvider.random(80000, 110000)) { public boolean condition() throws InterruptedException { return (!getInventory().contains("Flax") || !myPlayer().isAnimating() || api.dialogues.isPendingContinuation()); } }.sleep(); } And make another task which handles Dialogues seperately with the logic: Validate : If is dialogue is pending continuation Process : click continue
-
Steam issue problem- paying
May be easy can u add me on skype? i will do for free if i know
-
Level up widget
if (dialogues.isPendingContinuation()){ dialogues.clickContinue(); } else if (!getWidgets().isVisible(459, 93)) { getObjects().closest("Spinning wheel").interact("Spin"); log("Interacting with Spinning wheel.."); new ConditionalSleep(MethodProvider.random(2000, 3000)) { public boolean condition() throws InterruptedException { return getWidgets().isVisible(459, 93); } }.sleep(); } else if (getWidgets().getWidgetContainingText("Bow String") != null) { getWidgets().getWidgetContainingText("Bow String").interact("Make X"); new ConditionalSleep(MethodProvider.random(2000, 3000)) { public boolean condition() throws InterruptedException { return getWidgets().getWidgetContainingText("Enter amount:") != null //check the text not sure if i wrote correctly && getWidgets().getWidgetContainingText("Enter amount:").isVisible(); } }.sleep(); } else if (getWidgets().getWidgetContainingText("Enter amount:") != null //check the text not sure if i wrote correctly && getWidgets().getWidgetContainingText("Enter amount:").isVisible()) { getKeyboard().typeString("" + MethodProvider.random(31, 283)); log("Starting to spin Flax...."); new ConditionalSleep(MethodProvider.random(80000, 110000)) { public boolean condition() throws InterruptedException { return getInventory().contains("Flax") && !myPlayer().isAnimating() && getInventory().onlyContains("Bow string"); } }.sleep(); } Not sure if that works try it out
-
Level up widget
You have to use if statements as currently if any thing happens it may glitch the script
-
Offline Server
Ok thanks for ur reply
-
Offline Server
would i need a web host for my self(socket)?
-
Offline Server
Hello, how do people create an offline server for muling support and etc? or it is something else?
-
[Dev Builds] OSBot 2.4.125 - OS Compatibility
Oh ok, i thought u didn't know and thanks for those awesome updates!
-
[Dev Builds] OSBot 2.4.125 - OS Compatibility
Hey @Alek, I noticed a bug in the World selector(OSBot) the F2P or P2P, i had F2P selected and still loaded on world 312(P2P). not sure since when this problem is just now noticed.
- [CLEAN/70,000,000 UNIQUE IPS] Tut completed [BULK][59K ea] + Trade Restriction Removal [1,000+ IN STOCK]
-
7qp tut island
Looking to buy around 2 accs post prices below.(Hand done) with cooldown.
-
APA AIO Cooker
Still didn't get to us are u sure u pushed? just making sure
-
Stealth Builder
How to use butler? i am using Fast mode and doesn't use butler while i have it higher or it should be demon butler? Edit: nvm should use "Default" Mode. Edit 2: Btw if u didn't notice they removed the Mouse#MoveRandomly() in devs client just told i should let u know
-
Stealth Builder
Can i please get a trial?
-
CloudProxy
I can test if u want. not sure if i am trusted as much as u need.
-
Webwalking problem
afaik when i used to get it was on regular that problem existed since my first S1 not this the before one(Before i get demoted) i am not sure what version that was.
-
[Dev Build] OSBot 2.4.122/23 - InteractionEvent, WebWalking, Antiban
Oh ok thanks for explaining
-
[Dev Build] OSBot 2.4.122/23 - InteractionEvent, WebWalking, Antiban
Umm i don't think so it effects RS2Objects cause i am using them and working much better than before, can i ask how it does effect RS2Objects?