Phoenix Posted August 9, 2019 Posted August 9, 2019 Thanks for this! Answered a whole lot of beginner questions I had but was too ashamed to ask
castelxxd Posted May 21, 2020 Posted May 21, 2020 Can someone show their Imports for this Snippet? I can't get it to work because i don't know what imports he used in this lmao
KiritoSan Posted May 21, 2020 Posted May 21, 2020 (edited) 6 minutes ago, castelxxd said: Can someone show their Imports for this Snippet? I can't get it to work because i don't know what imports he used in this lmao hmm i am pretty sure that he said what imports he used a couple of posts back https://osbot.org/forum/topic/73332-quick-hopper/?do=findComment&comment=1072731 EDIT: Also this topic was made back in 2015 so i gues its not relevant anymore Edited May 21, 2020 by ProBotterIamNoob
Lol_marcus Posted May 21, 2020 Posted May 21, 2020 API is your friend, friend. https://osbot.org/api/org/osbot/rs07/api/Worlds.html
ExtraBotz Posted May 21, 2020 Posted May 21, 2020 5 hours ago, castelxxd said: Can someone show their Imports for this Snippet? I can't get it to work because i don't know what imports he used in this lmao This snippet won't work unless you can find the widgets. I'd suggest what lol_marcus said... 4 hours ago, Lol_marcus said: API is your friend, friend. https://osbot.org/api/org/osbot/rs07/api/Worlds.html This is probably a better way of world hopping and an added benefit is that it won't break in the future because it's managed by the OSBot developers. If you use this snippet you risk the widget IDs changing which will require you to update your code in the future. I'd suggest just creating a world hopper class where you store information about when you last hopped, the next world, etc and using that with the api methods.