Resolved Bat's API Buglist

Discussion in 'Client & Site Support' started by Exia, Nov 8, 2013.

  1. Exia

    Joined:
    Nov 3, 2013
    Messages:
    605
    Likes Received:
    257
    • Manifest enums are not defined properly.
      [​IMG]
      Effects: Category, ScriptLanguage, ClientType
    • Mouse has no setSpeed method
    • No isMoving in the Player or Actor class
     
    #1 Exia, Nov 8, 2013
    Last edited: Nov 8, 2013
  2. Quantum

    Joined:
    Jul 26, 2013
    Messages:
    144
    Likes Received:
    40
    Thank you, I'll make sure Cloud sees this and fix it ASAP.
     
  3. Cloud

    Joined:
    Jul 28, 2013
    Messages:
    2,585
    Likes Received:
    931
    It seems the obfuscator stripped enums
     
  4. Exia

    Joined:
    Nov 3, 2013
    Messages:
    605
    Likes Received:
    257
    Oh, and Tab doesn't work either.
     
  5. Cloud

    Joined:
    Jul 28, 2013
    Messages:
    2,585
    Likes Received:
    931
    Like I said, the obfuscator stripped enums of all their names. It'll be fixed in the next release.
     
  6. Exia

    Joined:
    Nov 3, 2013
    Messages:
    605
    Likes Received:
    257
    Updated.
     
  7. Omega

    Joined:
    Nov 4, 2013
    Messages:
    6
    Likes Received:
    2
    You can use Category.valueOf(name) for the category enum
     
  8. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,561
    Likes Received:
    1,087
    The mouse implementation is atypical. I will outline its functionality extensively in a dev blog soon, because it is quite complex. Do not expect a setSpeed() method, because speed will be defined by the user, not the bot.
     
  9. Cloud

    Joined:
    Jul 28, 2013
    Messages:
    2,585
    Likes Received:
    931
    Actually... You may have forgotten, but we decided to allow a multiplier of the base speed if really necessary. To change this multiplier, you must override a method in the Abstract/LoopingScript class.
     
  10. Cloud

    Joined:
    Jul 28, 2013
    Messages:
    2,585
    Likes Received:
    931
    As for isMoving, we provide the actor's speed. To check if it's moving, simply make sure it's not 0.This is a lot more useful in select situations.
     
  11. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,561
    Likes Received:
    1,087
    I did completely forget about that. Past us made a good call there lol.
     

Share This Page

Loading...