HanixD Posted February 12, 2016 Share Posted February 12, 2016 Awesome tutorial man thank you so much, by the way can you give me the link to your graphical part? Else, perfect guide. Quote Link to comment Share on other sites More sharing options...
Birdaking Posted February 14, 2016 Share Posted February 14, 2016 Wish me luck! Quote Link to comment Share on other sites More sharing options...
Birdaking Posted February 15, 2016 Share Posted February 15, 2016 That was actually alot less complicated than i thought it would be, i do need to go back and read over a couple of things again but im really looking forward t getting stuck into anther guide =] Quote Link to comment Share on other sites More sharing options...
Normallan Posted February 16, 2016 Share Posted February 16, 2016 pls help, after i installed Eclipse i try to run the eclipse .exe file for application and i get a huge error msg Quote Link to comment Share on other sites More sharing options...
The Hero of Time Posted March 4, 2016 Share Posted March 4, 2016 this is pretty weird when you're used to C#, i understand everything tho and thanks for the basic explanation pls help, after i installed Eclipse i try to run the eclipse .exe file for application and i get a huge error msg do you have java JDK installed? this is needed. http://www.oracle.com/technetwork/java/javase/downloads/index.html 1 Quote Link to comment Share on other sites More sharing options...
kerklais Posted March 8, 2016 Share Posted March 8, 2016 (edited) Just asking how i can get any item what are in the bank? Thx public int onLoop() throws InterruptedException { switch (getState()) { case BANK: Entity stall = objects.closest("Bank Booth"); if (stall != null) { stall.interact("Bank"); } break; case GET: bank.getItem("Maple Logs"); break; case WAIT: sleep(random(500, 700)); break; default: break; } return random(200, 300); Edited March 9, 2016 by kerklais Quote Link to comment Share on other sites More sharing options...
Vilius Posted March 13, 2016 Share Posted March 13, 2016 Just asking how i can get any item what are in the bank? Thx public int onLoop() throws InterruptedException { switch (getState()) { case BANK: Entity stall = objects.closest("Bank Booth"); if (stall != null) { stall.interact("Bank"); } break; case GET: bank.getItem("Maple Logs"); break; case WAIT: sleep(random(500, 700)); break; default: break; } return random(200, 300); This will withdraw a specific numbergetBank().withdraw("item", 5); This will withdraw all getBank().withdrawAll("item"); Quote Link to comment Share on other sites More sharing options...
Scripter 3 Posted April 2, 2016 Share Posted April 2, 2016 (edited) nvm Edited April 2, 2016 by Scripter 3 Quote Link to comment Share on other sites More sharing options...
one_punch Posted May 15, 2016 Share Posted May 15, 2016 Hey, i had a question, which program language do u recommend to make a osbot script? I have only little knowledge about python. Quote Link to comment Share on other sites More sharing options...
Vilius Posted May 15, 2016 Share Posted May 15, 2016 Hey, i had a question, which program language do u recommend to make a osbot script? I have only little knowledge about python. Java is the only language you can do it. Quote Link to comment Share on other sites More sharing options...
one_punch Posted May 15, 2016 Share Posted May 15, 2016 Java is the only language you can do it. oh oke, is java hard to learn? Quote Link to comment Share on other sites More sharing options...
Vilius Posted May 15, 2016 Share Posted May 15, 2016 oh oke, is java hard to learn? Depends on you, if you want to learn it you will, if not then no bueno Quote Link to comment Share on other sites More sharing options...
tony3 Posted May 16, 2016 Share Posted May 16, 2016 If i thoroughly follow all the tutorials and start practicing a lot of scripting will i eventually be able to sell my scripts on the forums and help contribute as a fellow team member? Quote Link to comment Share on other sites More sharing options...
hace_ Posted May 16, 2016 Share Posted May 16, 2016 Trying to make a barbarian power fisher! The bot drops all of the fish but it doesn't try to fish them! private enum State { FISH, DROP, WAIT }; private State getState() { Entity fishspot = objects.closest("Fishing spot"); if (!inventory.isEmptyExcept("Feather","Barbarian rod")) return State.DROP; if (fishspot != null) return State.FISH; return State.WAIT; } @Override public int onLoop() throws InterruptedException { switch (getState()) { case FISH: Entity fishspot = objects.closest("Fishing spot"); if (fishspot != null) { fishspot.interact("Use-rod"); } break; case DROP: inventory.dropAll("Leaping trout","Leaping salmon","Leaping sturgeon"); break; case WAIT: sleep(random(500, 700)); break; } return random(200, 300); } Quote Link to comment Share on other sites More sharing options...
Chris Posted May 16, 2016 Share Posted May 16, 2016 Trying to make a barbarian power fisher! The bot drops all of the fish but it doesn't try to fish them! private enum State { FISH, DROP, WAIT }; private State getState() { Entity fishspot = objects.closest("Fishing spot"); if (!inventory.isEmptyExcept("Feather","Barbarian rod")) return State.DROP; if (fishspot != null) return State.FISH; return State.WAIT; } @Override public int onLoop() throws InterruptedException { switch (getState()) { case FISH: Entity fishspot = objects.closest("Fishing spot"); if (fishspot != null) { fishspot.interact("Use-rod"); } break; case DROP: inventory.dropAll("Leaping trout","Leaping salmon","Leaping sturgeon"); break; case WAIT: sleep(random(500, 700)); break; } return random(200, 300); } Entity fishspot = objects.closest("Fishing spot"); if (fishspot != null) { fishspot.interact("Use-rod"); } fishing spots are NPC's so NPC fishspot = objects.closest("Fishing spot"); if (fishspot != null) { fishspot.interact("Use-rod"); } Quote Link to comment Share on other sites More sharing options...