Jump to content

Team Cape

Members
  • Posts

    2607
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by Team Cape

  1. ^ this. if the player is not around, closest() will return null, and because you're calling a method on that null, you'll get an NPE.
  2. You need to remove a lot of unnecessary content in this. The majority of the script is composed of the original OSBot jar, and some other project that I don't recognize in the slightest. Would recommend removing it before anyone uses it. Otherwise, the script looks good for your first! Edit: I would look into the ExperienceTracker class as well. It's incredibly useful!
  3. If you copy the link and paste it into your URL bar (without loading it), it's just a link to the OSBot main page; it's not broken, think he just copied the wrong link.
  4. It's seems like you're a bit confused on the structure of 'if', 'else if', and 'else', otherwise you wouldn't have put the same check twice. Only one of those is allowed to execute. If the first statement returns true, the body of that if-statement is ran, and the else/else-ifs are ignored. If the second one returns true after the first returned false, then you run only the body of that one. Examples: if(true) { //Runs only this } else if(true) { //This is not even evaluated because the first thing returned true. // Does not run } else { //Does not run } |||||||||||||||||||||||||||||| if(false) { } else if(true) { //This runs } else { } ||||||||||||||||||||||||||||| if(false) { } else if(false) { } else { //This runs } ^ This is why it's useless to make the dialogues.isPendingOption() check twice in a row. You're just going to check it immediately after if it initially returns false (and it will almost definitely also return false), or you're not going to check it at all if the first statement returns true. If I'm being honest though, I don't know how your code compiles at all because of its 3 consecutive open brackets and lack of closed brackets.
  5. Send me your GUI setting in a PM. Also send me a picture of the logger. Follow the instructions on the main page.
  6. why do you fast, if you don't mind my asking?
  7. East coast muslim here. Started tuesday night, as @Magarac mentioned. first day of fasting is wednesday.
  8. Send me your GUI setting in a PM. Also send me a picture of the logger if you can
  9. Sythe or OSBot if you're buying from a member with an exceptional amount of feedback, yes.
  10. Buy an account off of someone that's verified on this website, or on sythe. They're significantly more reliable because anyone on PlayerAuctions can recover the account and effectively have 0 repercussions.
  11. if you're going to buy off there, stick to gold. though it's mad overpriced compared to just using gold sites, and gold sites are guaranteed not to scam you.
  12. PM me a screenshot of your GUI before you hit 'start'. Also, if you know how to, open the logger before starting the script, start the script, then take another screenshot. Send both to me via PM.
×
×
  • Create New...