May 26, 20169 yr Where should I start. I know there's videos out there, but what should my first script be that I first make that is simple enough to understand some of the components in this process. Thanks
May 26, 20169 yr xemoprincess........ with one of those dyed haired chicks in ur profile pics. I'm not even sure what to say, like. I could go down so many avenues to destroy your will to live.
May 26, 20169 yr Where should I start. I know there's videos out there, but what should my first script be that I first make that is simple enough to understand some of the components in this process. Thanks Learn the basics to Java Know how to find the Osbot API and search it Learn the basic script skeleton to make an Osbot script. Start with something very basic. (Shop buyer + walker + etc.) Learn new methods by de-compiling other scripts in the local section Post in the Scripter Help section for insight Tools API methods (TFW) OSBOT MAP (EXPLV) Basic Java Example (SINATRA + DEREK BANAS) Setup instructions to start scripting (ALEK) Edited May 26, 20169 yr by Sinatra
May 26, 20169 yr Some tips: - null checks - use conditional sleeps whenever possible - dont just write code in order, use logic and conditional statements for example: public int onLoop(){ //this is bad getBank().open(); getBank().depositAll(); getBank().withdraw("Coins", 20000); getBank().close; return 500; } public int onLoop(){ //this is better and is less likely to break if(!getBank().isOpen()){ getBank().open(); new ConditionalSleep(2500, 3000){ @Override public boolean condition(){ return getBank().isOpen(); } }.sleep(); } else { if(getBank().getAmount("Coins") >= 20000 && !getInventory().contains("Coins")){ getBank().withdraw("Coins", 20000); new ConditionalSleep(2500, 3000){ @Override public boolean condition(){ return getInventory().contains("Coins"); }.sleep(); } } if(getInventory().contains("Coins")){ getBank().close(); new ConditionalSleep(2500, 3000){ @Override public boolean condition(){ return !getBank().isOpen(); } }.sleep(); } return 500; } Edited May 26, 20169 yr by LoudPacks
Create an account or sign in to comment