1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RuneMate V1.0.0 Beta 12

Discussion in 'Announcements' started by Cloud, Apr 12, 2014.

  1. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    • 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.
     
  2. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    coordinate.distanceTo should take Locatable as argument, please <3
     
  3. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Remind me on skype
     
  4. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    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
     
  5. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    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
     
  6. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    Another thing:
    [​IMG]

    I'm sure you know what I mean :p
     
  7. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Done.
     
  8. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    I believe I fixed it.
     
  9. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Updated Entity.equals
     
  10. Salvation

    Salvation First Bot Author

    Joined:
    Aug 7, 2013
    Messages:
    262
    Likes Received:
    68
    youre a champ
     
  11. Aidden

    Aidden Author of MaxiBots

    Joined:
    Dec 3, 2013
    Messages:
    6,482
    Likes Received:
    990
    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.
     
  12. Viewer

    Viewer Discretion is advised

    Joined:
    Jan 2, 2014
    Messages:
    306
    Likes Received:
    77
    Not in OSRS (yet), but you can use coordinate#isReachable for RS3
     
  13. Aidden

    Aidden Author of MaxiBots

    Joined:
    Dec 3, 2013
    Messages:
    6,482
    Likes Received:
    990
    Ah okay, thanks. Wasn't sure if i was just blind haha
     

Share This Page

Loading...