Everything posted by Sebastian
-
Website Making?
Alright, let me know if you encounter any issues and need help. I'm almost 24/7 online on this forum. But for now, i'm going to sleep.
-
Website Making?
Have found something. Haven't digged into it tho. Maybe this is something you like?
-
Website Making?
You can search for a Content Management System (CMS). And design your way around it. If you need help with CSS. Feel free to pm me. EDIT: For a CMS to work you need an apache server. e.g. Xampp (for windows) or Lampp for linux / osx.
-
What do i do wrong?
Trinity fixed the issue. God bless haha. But the problem now is. I'm cutting yew logs at varrock castle. There are 3 tree's. 2 standing next to each other, and one is a bit away. We tried to let the character walk to another yew tree, if the tree's i'm standing at are null. This is the code we have so far. But everything we tried didn't work. case CHOP: Entity treeToChop = getObjects().closest(tree); if (treeToChop != null){ if (treeToChop.getPosition().distance(myPosition()) <= 5){ //checks distance to your player if (treeToChop.isVisible()){ if (treeToChop.interact("Chop down")){ new ConditionalSleep(2500) { @Override public boolean condition() throws InterruptedException { return myPlayer().isAnimating(); } }.sleep(); } } else { getCamera().toEntity(treeToChop); } } else { log("Walking"); getLocalWalker().walk(treeToChop); //walks if farther than 6 tiles } } else { log("Tree is null"); }
-
What do i do wrong?
Hey! Thanks for the reply. I will try this after dinner. Thing is, i have a GUI. Works on willows and oaks. But the yew he cant find. Even tho i'm standing next to it. Maybe insert the id of the yew instead of the name? And for the lower case vars. Thanks, really apriciate it!
-
What do i do wrong?
Alright, thanks. Will contact you later this day.
-
What do i do wrong?
Will do. Problem is that i'm free from school in 5 mins. Can i come back later this day?
-
What do i do wrong?
Have set a log for every tree type. Willow and Oak logs perfectly. But the Yew log doesn't show up.. so i'm guessing it doesn't read that peace of code.. [INFO][Bot #1][11/30 02:09:51 PM]: Started script : SBWoodcutter [INFO][Bot #1][11/30 02:09:52 PM]: Chopping Oak tree [INFO][Bot #1][11/30 02:09:56 PM]: Script SBWoodcutter has paused! [INFO][Bot #1][11/30 02:09:58 PM]: Script SBWoodcutter has resumed! [INFO][Bot #1][11/30 02:09:58 PM]: Chopping Oak tree case CHOP: Entity Yew = objects.closest("Yew"); Entity Willow = objects.closest("Willow"); Entity Oak = objects.closest("Oak"); if (Willow != null) { if (Willow.isVisible()) { Willow.interact("Chop down"); log("Chopping Willow tree"); } else { sleep(random(500, 700)); } } else if (Oak != null) { if (Oak.isVisible()) { Oak.interact("Chop down"); log("Chopping Oak tree"); } else { sleep(random(500, 700)); } } else if (Yew != null) { if (Yew.isVisible()) { Yew.interact("Chop down"); log("Chopping Yew tree"); } else { sleep(random(500, 700)); } } break;
-
What do i do wrong?
Will do. Just put some logs in every case? Like: "Going to bank", "Chopping willows" bla bla?
-
What do i do wrong?
I will look into interactionEvent. But i find it very difficult to understand the api somehow.. private State getState() { Entity treeE = objects.closest(tree); if (inventory.isFull()) return State.BANK; if (treeE != null && treeE.isVisible()) if (!myPlayer().isAnimating()) return State.CHOP; return State.WAIT; } private enum State { CHOP, WAIT, BANK, // DROP };
-
What do i do wrong?
Hi Osbot scripters! I have been f*cking around with this all morning. I have no idea what i'm doing wrong. removing the } else { wont work either.. Oaks and Willows are working. Yews are not.. EDIT: Tried Else if statements. Didn't work either. case CHOP: Entity Yew = objects.closest("Yew"); Entity Willow = objects.closest("Willow"); Entity Oak = objects.closest("Oak"); if (Willow != null) { if (Willow.isVisible()) { Willow.interact("Chop down"); } else { sleep(random(500, 700)); } } else if (Oak != null) { if (Oak.isVisible()) { Oak.interact("Chop down"); } else { sleep(random(500, 700)); } } else if (Yew != null) { if (Yew.isVisible()) { Yew.interact("Chop down"); } else { sleep(random(500, 700)); } } case CHOP: Entity Willow = objects.closest("Willow"); if (Willow != null) { if (Willow.isVisible()) { Willow.interact("Chop down"); } else { sleep(random(500, 700)); } } else { Entity Oak = objects.closest("Oak"); if (Oak != null) { if (Oak.isVisible()) { Oak.interact("Chop down"); } else { sleep(random(500, 700)); } } else { Entity Yew = objects.closest("Yew"); if (Yew != null) { if (Yew.isVisible()) { Yew.interact("Chop down"); } else { sleep(random(500, 700)); } } } }
- Osbot Update
-
Perfect Stronghold AIO
Very awesome! Gratz on release bro!
- Help with paint
-
Is it possible to use the mirror client with OSbuddy?
Try and see?
-
My first thread
Welcome! Enjoy your stay!
-
Mashed up some music
Very nice! Perfect for 'People are awesome' video's in my opinion! EDIT: Yep, tried watching the video above with your music. Syncs almost perfect lol.
-
[Intro] Hello everyone! :)
Welcome to the forums. Enjoy your stay!
-
New notebook for my girlfriend
Woah dude.
-
Lol this is funny
Nope. didn't too.. and i'm from 1993..
-
WE <3 ERIC WE WANT :CMH:!
Support.
- rip in kill
-
Laptop just took a dump on me... Not sure why?
Let us know if you fixed anything!
-
Laptop just took a dump on me... Not sure why?
I have a macbook too. Since the newest update of OSX my laptop had the same problem as yours. I think that you can only fix this by setting up a new osx on your macbook. I did that and i have no problems anymore whatsoever. Good luck tho!
-
Can i have a proxy only on my Ubuntu server?
Yes lol. Thanks!