lolzord
Members-
Posts
55 -
Joined
-
Last visited
-
Feedback
100%
Profile Information
-
Gender
Male
lolzord's Achievements
Iron Poster (3/10)
6
Reputation
-
Can someone tell me how to enable this class on start?
lolzord replied to lolzord's topic in Scripting Help
Sir, You are Genius. Thank you! It worked. -
import org.osbot.rs07.api.filter.Filter; import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.api.ui.Tab; import org.osbot.rs07.event.Event; public final class ToggleShiftDropEvent extends Event { @Override public final int execute() throws InterruptedException { if (Tab.SETTINGS.isDisabled(getBot())) { setFailed(); } else if (getTabs().getOpen() != Tab.SETTINGS) { getTabs().open(Tab.SETTINGS); } else if(getShiftDropWidget() == null || !getShiftDropWidget().isVisible()) { getGameSettingsWidget().interact(); } else { boolean enabled = getSettings().isShiftDropActive(); if (getShiftDropWidget().interact()) { Sleep.sleepUntil(() -> getSettings().isShiftDropActive() != enabled, 3000); setFinished(); } } return random(100, 200); } private RS2Widget getShiftDropWidget() { return getWidgets().singleFilter(getWidgets().getAll(), new WidgetActionFilter("Toggle shift click to drop")); } private RS2Widget getGameSettingsWidget() { return getWidgets().singleFilter(getWidgets().getAll(), new WidgetActionFilter("Controls")); } } class WidgetActionFilter implements Filter<RS2Widget> { private final String action; WidgetActionFilter(final String action) { this.action = action; } @Override public boolean match(RS2Widget rs2Widget) { if (rs2Widget == null) { return false; } if (rs2Widget.getInteractActions() == null) { return false; } for (String action : rs2Widget.getInteractActions()) { if (this.action.equals(action)) { return true; } } return false; } } Hi guys, i am new to coding, i cant understand how to enable this script on start in main script, its to check toggled shift dropping or not. Something like ToggleShiftDropEvent s = new ToggleShiftDropEvent(); s.execute(); idk Thanks
-
Hey Tom, by the powerleveling i mean for example: you are 1 level mining at the moment and you set Tin ore to mine, this is one of the main level 1 mining ores you can mine at the moment. Bot keeps mining, getting exp, and so bot hits 15 Level mining so Iron ore opens at this level. The script should automatically switch from Tin ore to Iron ore at level 15 mining. It may run from one location to another location where iron ore is. The automatic switch from tin ore to iron ore or iron ore to coal and so on called powerleveling Im sure many people would be very surprised to see that in your bot.
-
Hey Tom, could you please add option to powerlevel? atleast from 1-15/30 And an option to switch pickaxes if mining level is 6 to steel if it is in bank, 21 mining to mith and etc. Bought, Nice script
-
possible to use with cli?
-
Can I get this script? what the price?
-
lolzord started following Money Making
-
How to find Scripts ID to run with CLI for example Perfect Woodcutter https://osbot.org/forum/topic/69759-perfect-woodcutter-aio-「all-locations」「all-trees」「choose-your-own-custom-location」「custom-tree-clicker」「interactive-world-map」/ whats this script ID? In numbers Script ID:9999 (example) Ples help i need to feed my botting addiction
-
Whats the script ID?
-
How to run this script with CLI
-
PLEASE FIX VIP RENEW i have canceled my renewal and after that i tried to go to store and click on VIP and the add to cart and now it is saying You are only allowed to purchase one of this product, and you have already done so.
-
Because ive never won before anything so maybe its my 1/1301234914842 chance l0l0l....... I will spen it to raise my bot army again, because i cant buy it off osbot right now cuz its not working omg...
-
ХАК ВАЛЛХАК ЕСП ЧИТ ПАЛАДИН ПАЛАДИНЫ Игра