Jump to content

Sebastian

Members
  • Posts

    283
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Sebastian

  1. Mine? Uhh like 77/85. It's a bit high actually
  2. Translation: Hartslag means heartbeat Holy shit
  3. Every Thursday is update-day @Jagex. We will have to wait for the OSBOT devs to update Osbot.
  4. THANK YOU APPLE FOR ROLLBACKING MY ECLIPSE FILES WITH THE NEWEST UPDATE!!!!!!!!!!!
  5. @@Token, it disnt work.. after 7 runs it just gave the same case as normal.... "chopping logs" Do you still have an idea jow to fix this?
  6. @@Token, It worked bruv. Thanks for all the help! Really appreciate it!
  7. @@Token, Thanks! In code this has to work. I'm trying it now. @@Token, Didn't fix it.. Still returning: "Chopping magic tree logs" after 1 run.. EDIT: IT WORKED! @Token you are the man! I hate asking things but every time i ask i learn new things.
  8. I'm feeling so stupid. Never thought about an else statement in the getState... Testing this now. @@Token, I think it's still a problem in the CHOP Case: case CHOP: Entity treeToChop = objects.closest(tree); GroundItem birdNest = groundItems.closest("Bird nest"); if (treeToChop != null && ) { camera.toEntity(treeToChop); treeToChop.interact("Chop down"); StatusUpdate = "Chopping " + tree + " logs"; new ConditionalSleep(10000) { public boolean condition() throws InterruptedException { return treeToChop == null; } }.sleep(); } else{ sleep(random(500,700)); } if (birdNest != null && pickupBirdsNests == true) { birdNest.interact("Take"); } break; EDIT: I've removed the check @bank in the walk case. Testing it again now. It now walks to the tree's even when it's not in the bank.
  9. Hey everyone. I'm having a question. So i've made my own woodcutting script. When i'm starting the script everything runs fine. For example: When i'm in Camelot cutting magic logs. It works for like 3 runs and then it just stands in the bank doing nothing. Instead of giving me the case to walk back to the trees it just gives me case CHOP. When i world hop it workes fine again for like 3/4 times. It's random. Sometimes it works for 10 runs, sometimes for 5 runs. I can't think that i'm doing something wrong. Does it have to do with the OSBOT client? Some people having the same problem as i do? private State getState() { Entity treeToChop = objects.closest(tree); if (inventory.isFull() && powerChop == false) return State.BANK; if(inventory.isFull() && powerChop == true) return State.POWERCHOP; if (treeToChop != null) return State.CHOP; if(Camelot_Bank.contains(myPlayer()) || EdgeVille_Bank.contains(myPlayer())) return State.WALK; return State.WAIT; } case WALK: if(!inventory.isFull() && Camelot_Bank.contains(myPlayer())) { StatusUpdate = "Searching for " + tree + " tree"; walking.webWalk(MagicTree_Area); } else if(!inventory.isFull() && EdgeVille_Bank.contains(myPlayer())) { StatusUpdate = "Searching for " + tree + " tree"; walking.webWalk(EdgeVille_Yews); } break;
  10. Why are we called vips? We're not even important. Cant we think about changing the name VIP to "Monthly donator" or something? What are your thoughts about it?
  11. I love the idea. Didn't know about this. Maybe next year ;). Are the shirts gonna be sponsored by OSBOT?
  12. Not that i am a pro or something but school learned me this: Focus on: Java is a language that requires every line of code on the right place. For example: With PHP you can add variables everywhere in your script. In Java you need to define it at the top of the page. Java reads your script from top to down. Focus on these things if you don't know what this means: * If/else statements * Getters and setters * JavaFX or Java Swing * Know when to use private or public * Static or not static * Seperating classes * Booleans, strings and ints. Goodluck mate. I don't think it will be too hard because you already have programming knowledge.
×
×
  • Create New...