RuneMate V1.0.0 Beta 12

Discussion in 'Client Updates' started by Cloud, Apr 12, 2014.

    • You can now release a bot as open source by setting the open_source manifest flag to true. Users can download the source code of open source scripts bots directly from the bot store by pressing the cloud button in the store entry.
    • Redone random event handling system
    • The definition methods are now thread-safe and should no longer cause any issues.
    • Moved EventProcesssor from api.script bot.framework to api.script bot.framework.core
    • Rewrote ActionBar, Bank, and Equipment to be up to date and far more dynamic on both OSRS and RS3.
    • Java 8 UI/UX patches. Should be fully operational. Please report any graphical bugs you notice.
    • Revamped play/pause/stop buttons to match the variations in color palette.
     
  1. coordinate.distanceTo should take Locatable as argument, please <3
     
  2. Remind me on skype
     
  3. Please make this return true if and only if a step was taken, the current return value is useless as it pretty much always returns true, even if it doesn't do anything at all.

    • public boolean step(boolean manage)
      Description copied from interface: Path
      Takes a step along the path, waiting until closer if specified
      Specified by:
      step in interface Path
      Parameters:
      manage - whether or not to manage the distance between steps to prevent spam clicking
      Returns:
      true if it took a step or it's yet time to, otherwise false
     
  4. Given the following code:
    Code (Text):
    1.  
    2. Player player = Players.getLocal();
    3.             for (final Npc npc : Npcs.getLoaded()) {
    4.                 final Actor actor = npc.getInteractingEntity();
    5.                 if (actor != null && actor.equals(player)) {
    6.                     return false; //Player is under attack, abort
    7.                 }
    8.             }
    9.  
    This would never return false, even when it should be returning false.
    The following fixed it:
    Code (Text):
    1.  
    2. if (actor != null && actor.getName().equals(player.getName())) {
    3.  
    Therefore, I have reasons to believe actor.equals(Object) is a bit off
     
  5. Another thing:
    [​IMG]

    I'm sure you know what I mean :p
     
  6. Done.
     
  7. I believe I fixed it.
     
  8. Updated Entity.equals
     
  9. youre a champ
     
  10. Looking good cloud :) Just wondering if there's a method like Tile.canReach()? Couldn't see one in the api last time i gave it a quick look over.
     
  11. Not in OSRS (yet), but you can use coordinate#isReachable for RS3
     
  12. Ah okay, thanks. Wasn't sure if i was just blind haha
     

Share This Page

Loading...