Everything posted by Vilius
-
it's gone too far
oh shit its dat boii
- Simple Kebab Buyer HELP!
-
Simple Kebab Buyer HELP!
You have to remove the comments start too! /* and */ plus what is in between them for it to not make it green. And it seems like you didn't post the full code if you have /* that loose somewhere in your code.
-
Simple Kebab Buyer HELP!
Found it, he didn't have break; the cases fall on each other Cookie pls?
-
Simple Kebab Buyer HELP!
I did find it actually, wanted to edit my post and saw that you have posted it. No need to flame me like always
-
Simple Kebab Buyer HELP!
@Override public int onLoop() throws InterruptedException { switch (getState()) { case BUY: getWalking().walk(new Position(3274, 3180, 0)); npcs.closest("Karim").interact("Talk-to"); if (dialogues.isPendingContinuation()) { dialogues.clickContinue(); } else if (dialogues.isPendingOption()) { dialogues.selectOption("Yes please."); } case BANK: getWalking().walk(new Position(3270, 3168, 0)); if (!getBank().isOpen()){ getBank().open(); } else { bank.depositAll("Kebab"); getBank().close();} case WAIT: return random(100,400); //The amount of time in milliseconds before the loop starts over } //@Override //public void onExit() { log("Thanks for using my script!"); //Code here will execute after the script ends //@Override //public void onPaint(Graphics2D g) { //This is where you will put your code for paint(s) return random(200,300); } } There is yar problem, you have your paint and on exit in the loop :b Fixed version: @Override public int onLoop() throws InterruptedException { switch (getState()) { case BUY: getWalking().walk(new Position(3274, 3180, 0)); npcs.closest("Karim").interact("Talk-to"); if (dialogues.isPendingContinuation()) { dialogues.clickContinue(); } else if (dialogues.isPendingOption()) { dialogues.selectOption("Yes please."); } break; case BANK: getWalking().walk(new Position(3270, 3168, 0)); if (!getBank().isOpen()){ getBank().open(); } else { bank.depositAll("Kebab"); getBank().close(); } break; case WAIT: return random(100,400); //The amount of time in milliseconds before the loop starts over break; } return random(200,300); } //@Override //public void onExit() { log("Thanks for using my script!"); //Code here will execute after the script ends //} //@Override //public void onPaint(Graphics2D g) { //This is where you will put your code for paint(s) //} } And do what woody said :b
-
Client display issues and more.
I think it might be launching osbot using java 7 check if you dont have it, cause you need java 8 for osbot :P GPU doesn't really matter to rs, because it runs from the CPU instead. Oh, and make sure that its the newest osbot version too.
-
remove :frog:
No, it needs to stay :frog:
-
Battlefield 1 Rip Cod
Trailer looks dope af, but it will be like watchdogs anticipated next level graphics but consumers get little to no of that what was promised :b
-
Anybody else hyped aswell?
Nah, RuneScape is where its at
-
WTB 10m 07gps
Hey, so uhm, I want to buy 10m 07gps post prices below, looking for something like 1.15$/m :b
-
New Laptop, what to get?
Get the razer blade
-
Fruity RSN's
Dragonfruit is not on the hiscores nor on rs3 or osrs
-
How Many Max Melee Mains Can I Make in 2016? (32/100)
Man you are 5 months late Goodluck with this tho :b
-
Logic behind Account Selector order?
I think its the order you add accounts to it.
-
Best GoldFarm
Of course a few scripters on osbot have their own private money snek scripts including myself
-
Botting Computer - Help me to build it
Get a dedicated server if you want to go that route its like 35$/mo But muffins build is good.
-
Unregistered email?
Well some people for simplistic sake when making a bot account makes a fake email and doesn't confirm it. I make them like so "name@v.v" and that's all Just simply register an account with an email address and just don't confirm the email, simple as that :P
-
3'rd anniversary & free giveaways!
- help,webwalk
getWalking().webWalk(tree); That should fix it.- Scotty
- me being braindead once again
if(!getInventory().isFull()){ //inventory not full <28 }else{ //inventory is full >28 } Or you coule check outgetInventory().isFull() getInventory().isEmpty() .isEmpty will only work when there is no items in the inventory. So you are better of doing !getInventory().isFull() because that will let you do stuff while the inventory is not full and it can still contain items without saying it is full, because you need 28 items for it to be full :p- i love alek
- What IDE Do You Use for Scripting?
- Last letter, first letter
- help,webwalk