Jump to content

FrostBug

Scripter III
  • Posts

    3967
  • Joined

  • Last visited

  • Days Won

    5
  • Feedback

    100%

Everything posted by FrostBug

  1. Updated for 28/09/2018 game update
  2. FrostBug

    FrostCaves

    Take the shitposting elsewhere if you would
  3. You should not perform interactions in onStart. Set up your script in onStart, execute your script in onLoop.
  4. Sure you aren't manually sleeping that minute somewhere? Or returning it from onLoop?
  5. Actually, string1 == string2 IS true, but only in case of Strings, because of Javas String constant pool
  6. Sounds like it might be trying to do something in a different tab; have you ensured that all your hotkeys are set?
  7. Well, I assume thats what it says; but I don't remember the wording Thats what it means anyway
  8. It says your break settings may be ignored, but the custom break handler used by this script still uses them.
  9. The promised feature update is a bit delayed, both due to client downtime and some unexpected complications in one of the features. Working on getting it out ASAP though.
  10. FrostBug

    FrostCaves

    FrostBarrows is currently functional
  11. FrostBug

    "Or" ||

    An if-statement terminated by ';' has no effect other than evaluating the expression. The webwalk will be executed regardless of your inventory content or location. Additionally you should use parantheses to clarify your logic groupings; otherwise you'll quickly end up with results that weren't what you expected. To clarify on the precedence a bit: I assume by your example, you want to webwalk if you are in the bank and have either essence type. Like so: inBank && (hasRuneEss || hasPureEss) But since && has higher precedence than ||, what's actually happening is this: (inBank && hasRuneEss) || hasPureEss Which means that is doesn't matter if you are in the bank or not, as long as you have pure essence Bit of an odd snippet still though.
  12. As soon as the client devs figure out the problem and get around to fixing it.
  13. It's supposed to log out in some cases, yes. But not for no reason; the reason is written in the client logger
  14. The game updated and your spoilers are empty !
  15. From your explanation, it sounds like you're expecting your RS2Object instance (from before depletion) to change ID, which it never will. You will have to grab the new RS2Object instance, as the depleted rock is generally speaking a new different object. As an alternative to checking the depletion ID, you could check if your non-depleted object instance has stopped existing with the exists() method.
  16. change its css class to 'btn inverse' like the other one <a class="btn inverse" href="https://www.google.com/"> - SHOP - </a>
  17. The "==" operator tests if two references refer to the same object in memory. Since you just created a new Position with the 'new' keyword, they can never be the same object in memory, even if they hold the same coordinates. What you're looking for here is the equals method, which in the Position class is overridden to test coordinate equality. Though ideally you shouldn't have to rely on specific absolute coordinates.
  18. You can, but obviously you should not perform interactions or stuff like that from background threads
  19. Hia It does support tabs now. Your assumptions are correct. For some good efficiency I would recommend getting yourself a trident. That alone can deal with almost everything. After that I'd recommend using melee/range on Ahrim and the tunnel creeps. Preferably range against Ahrim.
  20. The hook for getting entities on the cursor is still broken in mirror mode. Active bug report here
  21. I'm doing some updates on the script atm, so I'd expect it to be with the next script version, by the end of this week or the start of next week.
  22. If the class is in a folder/package, add the package declaration as the first line Either that or you somehow goofed some IDE related project files
×
×
  • Create New...