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

Resolved Bat's API Buglist

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

  1. Exia

    Joined:
    Nov 3, 2013
    Messages:
    609
    Likes Received:
    259
    • 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:
    154
    Likes Received:
    46
    Thank you, I'll make sure Cloud sees this and fix it ASAP.
     
  3. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    It seems the obfuscator stripped enums
     
  4. Exia

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

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    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:
    609
    Likes Received:
    259
    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,938
    Likes Received:
    1,266
    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

    Cloud Engineer

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

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    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,938
    Likes Received:
    1,266
    I did completely forget about that. Past us made a good call there lol.
     

Share This Page

Loading...