Jump to content

demmonic

Members
  • Posts

    17
  • Joined

  • Last visited

  • Feedback

    100%

Profile Information

  • Gender
    Male

Recent Profile Visitors

836 profile views

demmonic's Achievements

Newbie

Newbie (1/10)

4

Reputation

  1. public boolean isPendingContinuation() { if (this.inDialogue()) { int IIiiiiIiii = this.IIiiiiIiii(IIiiIiIIII); if (IIiiiiIiii > 0) { if(this.widgets.getWidgetContainingText(IIiiiiIiii, new String[]{"to continue", "please wait..."}) != null) { return true; } return false; } List<RS2Widget> matching = this.widgets.containingText(new String[]{"to continue", "please wait..."}); if (matching != null && !matching.isEmpty()) { IIiiIiIIII.add(Integer.valueOf((matching.get(0)).getRootId())); return true; } } return false; }
  2. Okay let's be fair here, Parabot wasn't nearly as bad as the shit this kid posts.
  3. Actually, that code he posted is from your shit jug filler on the SDN.
  4. Yeah, your object reference randomly turns into a fucking null if you get logged out.
  5. If I had to guess, you're not checking if bone is null (i.e. an item exists with one of those names.) if (bone != null && bone.isOnScreen())
  6. It's over. I'm not replying to him even if he continues. Sorry about going off topic
  7. I'm not flaming in any way. Yes, I called the tiny snippet of code you posted buggy, and "shit". That is not me flaming you in any way. If you want to get all defensive and post bullshit insults towards me as a person (you've done this several times now, acting like I'm an idiot who doesn't know how to program), then go for it, pal. You're the one that needs to find something constructive to do with your time. Prove it then buddy. I'm a bot developer unlike you, and unless the scripting is handled on the game engine's thread (it's not.) You have a race condition! Ok? So you're going to defend yourself by saying that other bad developers are doing what you're doing? Hooray for confirmation bias! Also, more passive aggressive insults via your big ego! Yes yes, you know everything, and I know nothing. Please don't even bother replying to me, I'm ending this here. You're too stupid to listen to anything I have to say. You throw personal insults everywhere, go off topic, and are extremely stubborn.
  8. I don't really care for tutorials as you can't really encompass a whole language in something that small. I would recommend a book to get an overview of the language, and to act as a reference when you can't figure something out (google helps too.) Other than that, practice makes perfect. The sole reason I don't like people suggesting stuff like that to a beginner is because it's easy to form habits when you don't know any better, but it's generally hard to change them. Anyways, you can always PM me your Skype if you want real time help. I'd be happy to help/give advice in my free time.
  9. You're talking to the wrong person about "general rules of writing code". It doesn't matter if it's "fast", you're sacrificing readability & performance for absolutely no reason. You shouldn't write shit code when another (better) solution is so blatantly obvious. Not only is it shorter (and therefore more readable), but it performs significantly faster. Also, your code has a race condition. If the Widget state changes in between those 2 calls, you're going to get an NPE depending on the API implementation. tl;dr stop giving shit, buggy code to beginners
  10. That's inefficient as hell. Why aren't you caching the Widget from the first query and reusing it?
  11. But yeah.. Thanks for this, been wanting to mess around with byte code manipulation. Just didn't know where to start.
  12. demmonic

    BETA v1.2.1

    Thanks for the update. Nice mouse trail btw l0l
  13. Cbf to get used to the groovy syntax just so I can make a script. lol Other then only having support for groovy the bot looks really good. Good job c:
×
×
  • Create New...