January 17, 201610 yr return list.isEmpty() ? null : list.get(random(list.size())); I meant I couldn't find the random method. But then I remember about method provider
April 19, 20169 yr Author Why? Why what? Can't really tell, but if those are error underlines, be sure to import the methods from MethodProvider import static org.osbot.rs07.script.MethodProvider.random;
April 19, 20169 yr Why what? Can't really tell, but if those are error underlines, be sure to import the methods from MethodProvider import static org.osbot.rs07.script.MethodProvider.random; or parent.random(x);
April 19, 20169 yr Author or parent.random(x); Referencing static methods thru an object instance ? Surely you jest Edited April 19, 20169 yr by FrostBug
July 2, 20169 yr Referencing static methods thru an object instance ? Surely you jest How can i make it hop to a specified World? Thanks, Progamerz
July 2, 20169 yr Author How can i make it hop to a specified World? Thanks, Progamerz You'll have to modify it for that.
September 27, 20178 yr I'm having a lot of problems figuring out exactly what I need to import for this to function. Could someone paste their imports so that I can figure out where I am going wrong? I went through each error and tried to find the corresponding imports through searching the suggested imports, searching the api, and googling but I believe I'm missing a couple still.
October 1, 20187 yr On 9/27/2018 at 6:00 PM, FrostBug said: Updated for 28/09/2018 game update Nice bug! I assume this was made to work with mirror mode too? I had been using a very simplistic hopper which couldn't even scroll but could hop to same 12 worlds over and over based on what was visible. Will definitely give this a go.
October 1, 20187 yr Author 35 minutes ago, cooldoruk60 said: Nice bug! I assume this was made to work with mirror mode too? I had been using a very simplistic hopper which couldn't even scroll but could hop to same 12 worlds over and over based on what was visible. Will definitely give this a go. It interacts with the scroll widgets, so it's fine in mirror Was made back when world-switcher was first added to the game, before it was added into the OSBot API. These days I'd probably just recommend using the standard API
October 1, 20187 yr 1 hour ago, FrostBug said: It interacts with the scroll widgets, so it's fine in mirror Was made back when world-switcher was first added to the game, before it was added into the OSBot API. These days I'd probably just recommend using the standard API I've had issues with scrolling in mirror mode in the past and worldHopper definitely never worked due to that. Maybe they fixed though not sure.
December 16, 20187 yr This doesnt seem to want to switch to an F2P world... cant seem to figure out why Edit: sorry, realized that my world list was not organized correctly. Ordering it by world number fixed this Edited December 16, 20187 yr by camaro 09
Create an account or sign in to comment