Jump to content

Apaec

Scripter III
  • Posts

    11172
  • Joined

  • Last visited

  • Days Won

    91
  • Feedback

    100%

Everything posted by Apaec

  1. The problemo is here: switch(getState()){ case KILL: NPC skeleton = npcs.closest("Skeleton"); if (skeleton.isVisible() && getTabs().getOpen().equals(magic)){ getMagic().castSpellOnEntity(Spells.NormalSpells.CRUMBLE_UNDEAD, skeleton); } else sleep(random(100,250)); getTabs().open(Tab.MAGIC); break; more importantly: if (skeleton.isVisible() && getTabs().getOpen().equals(magic)){ Firstly, nullcheck for the skeleton. Secondly, it would have to be getTabs().getOpen().equals(Tab.MAGIC); (not sure why you had just magic there, but i would expect it to give you an error for that). The reason it opens the magic tab then does nothing is because that if statement returns false every time as you just wrote magic in there. that means it always goes to the else part which says open the magic tab (which already checks if it is open or not before performing). So ye, replace all that with this: case KILL: NPC skeleton = npcs.closest("Skeleton"); if (skeleton != null && skeleton.exists() && skeleton.isVisible() && getTabs().getOpen().equals(Tab.MAGIC)){ getMagic().castSpellOnEntity(Spells.NormalSpells.CRUMBLE_UNDEAD, skeleton); sleep(3000L); } else { sleep(random(100,250)); getTabs().open(Tab.MAGIC); } break; Let me know if anything is unclear Apaec
  2. Added. Enjoy!
  3. Apaec

    Signatures

    Well atm i'm on my calculator but ye I also have a toaster
  4. Apaec

    Signatures

    Thank you sounds good ! sorry I used you as an example. My comp just gets a bit laggy with all the images on 1 page hehe :c but I appreciate this
  5. Why can we not hide supermod signatures? No offence to anyone, but as @Oliver is so active on the forum, I see him post alot, and he's got so many ads in his sig it hurts. His sig takes up pretty much my whole laptop screen when I scroll down and it's quite obstructive, and I've found I can hide everyone's signature apart from his (and presumably other supermods +). I was wondering if this was a bug or intended, and if so for what purpose? Apaec PS oliver u are great keep it up Ye...
  6. I'll pay my virginity for your virginity is gud deel?
  7. http://osbot.org/forum/topic/66803-what-is-osbots-mirror-client/ http://osbot.org/forum/topic/66800-osbot-mirror-client-your-guide/ You may find these links helpful ^.
  8. whats nba
  9. this is NOT normal! sometimes payments take a little while to go through but this sounds like a mistake. Contact @Maldesto with a PM and he'll sort it out for you Apaec
  10. Anything logged in console and can you provide a screenie? apa
  11. Chance is approximately 61.384%
  12. teach me ur ways pls, have tried about 40 times and only succeeded 3 times. My stats are 78 rng / 75 mage / 79 hp apa
  13. Noice! Accepted* tho xD Apa
  14. l0l kunt snitchbag suckup scrub wants playermod douchebag who even bots rune store anyway ;p
  15. You should now have a 24h trial. Enjoy!
  16. Soo I've tried about 60 times now, and managed to kill him 3 times. I've got 78 rng and 75 mage and 79 hp so its harder for me, but it normalyl takes me 2 rotations to get the kill + a bit of luck. Unfortunately I only know 1 rotation off by heart(ish), so for those 3 kills i was lucky enough to get that rotation twice in a row x) But ye, am curious as well cause i've tried so much and still no hope. Apaec
  17. Yes, it seems In another script I wrote it doesnt seem to be working either. I'll inform the devs when I get back. apa
  18. Sorry mate, the script doesn't support cannons. Apa Well, it's an issue with the mirror client itself for a start, as it's still in beta not everything is working. I suggest running the script without worldhopping for now, until the devs get round to fixing this error. Unfortunately there's nothing I can do but wait until the devs fix it as when the client goes red / is logged out, I have no control over what happens. Apaec
  19. Sure, have enabled a 24h trial on your account. Enjoy! Apaec
  20. Have given you a 24h trial. Enjoy!
  21. You know about loops and arrays, thats more than I knew when I started. http://osbot.org/forum/topic/58775-a-beginners-guide-to-writing-osbot-scripts-where-to-get-started-by-apaec/ For coding scripts, it's often quite hard when you start to relate your java knowledge in the osbot context. In that tutorial I use a state-based framework. Just take advantage of the framework to experiment with your own methods and code and i'm sure you'll be able to figure it out apaec
  22. Coin coin = new Coin(); coin.toss(); if (coin.isHeads() || coin.isTails()) System.out.println(":doge:");
  23. Have given you a 24h trial. Enjoy!
×
×
  • Create New...