Interface Addon:Bot - fishyboteso/fishyboteso GitHub Wiki

Current Interface

  • Currently we are using ProvisionsChalutier to read the state of the fishing process. The Addon shows a colored bar for certain states.
  • Fishy is taking a screenshot reading the top-left pixel, which needs to be the chalutier bar. From that pixel the first value of the RGB code is selected.
  • These values are translated to states:
    • HOOK = 60
    • STICK = 18
    • LOOK = 100
    • IDLE = -1
  • To interact with the game Fishy is using the keyboard library to enter bind keys

Next Interface

  • A new game Add-On showing a QR code is implemented as interface to get more verbose data.
  • The QR Code currently contains game data:
    1. X-Coords of Char
    2. Y-Coords of Char
    3. Camera Direction
    4. Chalutier State
  • ProvChalutiers state machine is still underlaying but extended with additional states.
  • Since QR Code allows plaintext en-/decoding we are able to unify the values for all states between fishy and the addon:
    • FishyCha_STATE_IDLE = 0
    • FishyCha_STATE_LOOKAWAY = 1
    • FishyCha_STATE_LOOKING = 2
    • FishyCha_STATE_NOBAIT = 5
    • FishyCha_STATE_FISHING = 6
    • FishyCha_STATE_REELIN = 7
    • FishyCha_STATE_LOOT = 8
    • FishyCha_STATE_INVFULL = 9
    • FishyCha_STATE_FIGHT = 14
    • FishyCha_STATE_DEAD = 15
  • QR Code reading is achieved with cv2 QRCodeDetector library