aomarket-bot

Standalone Anarchy Online market-tracking bot

View the Project on GitHub zznathans/aomarket-bot

aochat

The Anarchy Online chat protocol client: raw socket framing, the DH+TEA login handshake, and an asyncio-based session used by the bot to receive tells and send replies.

Files

How it’s used

bot/runner.py owns the single AOChatClient instance for the process — one login, one character session, for the lifetime of the bot thread. Inbound tells are routed to market/commands.py for command dispatch; replies go back out over the same client.

If AO_LOGIN/AO_PASSWORD/AO_CHARACTER aren’t set, this module is never instantiated at all and the bot runs in API-only mode — see the package overview for how that decision is made.