December 16, 20169 yr I'm trying to do tut island script but I'm new on scripting and have some questions...Some class doesnt have the open() method, like Inventory and others...so how do I open it? I'm stuned at this part =(
December 16, 20169 yr I'm trying to do tut island script but I'm new on scripting and have some questions... Some class doesnt have the open() method, like Inventory and others... so how do I open it? I'm stuned at this part =( You open the tab, look at the Tabs class.
December 16, 20169 yr worst ways interact with the widgets For opening tabs you do not need to use widgets, it's inefficient especially when there is a method dedicated for opening tabs such as the inventory For tutorial island though, you should look into configs as they are really helpful and will make your life easier
December 16, 20169 yr Don't start with a tutorial island script as your first script. There have been so many tutorial island scripts (even made by experienced scripters), and they almost always turn out with spaghetti code that breaks.
December 16, 20169 yr For opening tabs you do not need to use widgets, it's inefficient especially when there is a method hence the "Worst case" lol
December 16, 20169 yr You could always create your own method such as mouse.click(x,y,false); to open a tab once you've checked if its open or not. Will do the same thing as open(); api. Edited December 16, 20169 yr by Juggles
December 16, 20169 yr Don't start with a tutorial island script as your first script. There have been so many tutorial island scripts (even made by experienced scripters), and they almost always turn out with spaghetti code that breaks. spaghetti code ftw I'm trying to do tut island script but I'm new on scripting and have some questions... Some class doesnt have the open() method, like Inventory and others... so how do I open it? I'm stuned at this part =( You can look at my tut code if you want? https://github.com/OSBot-Transporter/OSBot/tree/master/src/com/acescripts/scripts/overloadaio/tutorialisland
December 16, 20169 yr spaghetti code ftw You can look at my tut code if you want? https://github.com/OSBot-Transporter/OSBot/tree/master/src/com/acescripts/scripts/overloadaio/tutorialisland wtf https://github.com/OSBot-Transporter/OSBot/blob/master/src/com/acescripts/scripts/overloadaio/framework/Constants.java
December 17, 20169 yr Don't start with a tutorial island script as your first script. There have been so many tutorial island scripts (even made by experienced scripters), and they almost always turn out with spaghetti code that breaks. is that a challenge :^ ) spaghetti code ftw You can look at my tut code if you want? https://github.com/OSBot-Transporter/OSBot/tree/master/src/com/acescripts/scripts/overloadaio/tutorialisland just saying, you should have a structure like Task -> TutorialTask -> List<Node> a node should only -really- do one thing (eg chop tree). your nodes do like 17825129 things