Skip to content

Add Albion Online hot zones cog for PvP combat tracking#40

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-hot-zones-cog
Draft

Add Albion Online hot zones cog for PvP combat tracking#40
Copilot wants to merge 3 commits intomainfrom
copilot/add-hot-zones-cog

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Nov 21, 2025

Tracks real-time PvP activity in Albion Online red/black zones by polling the gameinfo API and aggregating recent kills by battle location.

Implementation

  • Background polling: Fetches kill events from EU gameinfo API every 2 minutes
  • Zone aggregation: Groups kills by Battle ID (API doesn't expose zone names) within 14-minute sliding window
  • In-memory storage: Tracks kill count, total fame, and participant count per battle zone with automatic expiry

Commands

.hotzones              # Top 10 active zones
.hotzones top [N]      # Top N zones (1-20)
.hotzones stats        # Tracking metrics

Technical Notes

  • Filters for OPEN_WORLD kills only (excludes safe zones, arenas)
  • Uses Battle ID as zone identifier proxy due to API limitations
  • Follows existing Albion cog patterns (http_get retry logic, lifecycle management)
  • Data resets on bot restart (ephemeral by design)
Original prompt

create a new cog for Albion online.

the goal of the cog is to provide hot zones for combat in red or black zones.

the bot should regularly poll the gameinfo API for EU and check for recent kills and note the location.

users should be able to run a command to get the top hot zones with the number of recent kills (in 14 minutes)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits November 21, 2025 22:37
Co-authored-by: psykzz <1134201+psykzz@users.noreply.github.com>
Co-authored-by: psykzz <1134201+psykzz@users.noreply.github.com>
Copilot AI changed the title [WIP] Add new cog for hot zones in Albion Online Add Albion Online hot zones cog for PvP combat tracking Nov 21, 2025
Copilot AI requested a review from psykzz November 21, 2025 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants