Skip to content
jackpoz edited this page Dec 15, 2015 · 7 revisions

Welcome to the BotFarm wiki!

Please read the Readme for a brief introduction of the project.

Current supported functionalities:

  • Different bot behaviors can be configured at https://github.com/jackpoz/BotFarm/blob/master/BotFarm/App.config#L48
    • Name: name of the custom bot behavior
    • Probability: allows to set the occurrence of each behavior when creating new bots. The sum must be 100.
    • AutoAcceptGroupInvites: specifies if the bot should always accept group invites from any player.
    • AutoAcceptResurrectRequests: specifies if the bot should always accept resurrect request from any player.
    • AutoResurrect: specifies if the bot should release the spirit, walk to the corpse and resurrect on its own.
    • Begger: specifies if the bot should follow players around, begging for gold till the target player gives them some money.
    • FollowGroupLeader: specifies if the bot should follow the party leader after being invited
  • Bots /yawn every few minutes to avoid getting kicked for being afk.
  • Bots can be summoned by GMs around the world

Developer reference:

  • Scheduled Actions
  • Triggers
    • Triggers are the current supported way to execute code based on subsequent conditions. Triggers are made of a set of TriggerActions of various types :
      • OpcodeTriggerAction is triggered when an opcode is sent/received
      • UpdateFieldTriggerAction is triggered when an UpdateField is updated with to a particular value
      • CustomTriggerAction is triggered when a custom checker function evaluates to true
      • AlwaysTrueTriggerAction is always triggered
    • CustomTriggerAction and AlwaysTrueTriggerAction require the additional TriggerActionType parameter to be specified with a list of special actions like DestionationReached or TradeCompleted. For examples refer to BotGame() constructor https://github.com/jackpoz/BotFarm/blob/master/BotFarm/BotGame.cs#L48
Clone this wiki locally