How fizakbrr/albion-radar works
Camel Radar is a local Albion Online radar and map overlay. Its documented workflow captures the player’s game traffic, parses Photon packets into events, and presents nearby players, resources, enemies, and map objectives in a browser UI. The graph preserves the documented domain branches and the sampled parser, handler, drawing, settings, and UI layers. Several domain implementations and client/server wiring were not sampled; those relationships are omitted or marked unverified rather than inferred from directory names.
Main entry points: index.ts Local capture and server · App.tsx Radar UI · MapsDrawing.ts Map and objective overlays · MobsHandler.ts Mobs and enemies
Components 25
Capture and protocol
- Local capture and server
server/index.ts - Adapter selection
server/adapter-selector.ts - Photon packet parser
scripts/classes/PhotonPacketParser.ts - Photon packet model
scripts/classes/PhotonPacket.ts - Photon commands
scripts/classes/PhotonCommand.ts - Protocol deserializers
scripts/classes/Protocol18Deserializer.ts - Event codes
scripts/Utils/EventCodes.ts
Radar domains
- Player tracking
scripts/Handlers/PlayersHandler.ts - Gathering resources
scripts/Handlers/HarvestablesHandler.ts - Mobs and enemies
scripts/Handlers/MobsHandler.ts - Chests
scripts/Handlers/ChestsHandler.ts - Dungeons
scripts/Handlers/DungeonsHandler.ts - Fishing spots
scripts/Handlers/FishingHandler.ts - Mist objectives
scripts/Handlers/WispCageHandler.ts - Handler utilities
scripts/Handlers/HandlerUtils.ts - Radar settings and filters
scripts/Utils/Settings.ts
Map presentation
- Drawing utilities
scripts/Utils/DrawingUtils.ts - Player overlay
scripts/Drawings/PlayersDrawing.ts - Mob overlay
scripts/Drawings/MobsDrawing.ts - Map and objective overlays
scripts/Drawings/MapsDrawing.ts
Browser experience
- Radar UI
src/App.tsx - UI components
src/components/ui - Browser entry
src/main.tsx
Other components
- Albion player
- Albion Online
Connections 30
- Albion player → Albion Online: plays
README.md - Albion Online → Local capture and server: sends UDP traffic
README.md - Albion player → Adapter selection: selects network adapter
server/adapter-selector.ts - Adapter selection → Local capture and server: provides adapter IP
server/index.ts - Local capture and server → Photon packet parser: parses packets
server/index.ts - Photon packet parser → Photon packet model: uses packet model
scripts/classes/PhotonPacketParser.ts - Photon packet model → Photon commands: uses commands
scripts/classes/PhotonPacket.ts - Local capture and server → Event codes: dispatches by event code
server/index.ts - Local capture and server → Albion player: broadcasts events
server/index.ts - Albion player → Player tracking: traffic informs
- Albion player → Gathering resources: traffic informs
- Albion player → Mobs and enemies: traffic informs
- Albion player → Chests: traffic informs
- Albion player → Dungeons: traffic informs
- Albion player → Fishing spots: traffic informs
- Albion player → Mist objectives: traffic informs
- Gathering resources → Handler utilities: uses
scripts/Handlers/HarvestablesHandler.ts - Mobs and enemies → Handler utilities: uses
scripts/Handlers/MobsHandler.ts - Player tracking → Player overlay: supplies overlay data
- Mobs and enemies → Mob overlay: supplies overlay data
scripts/Drawings/MobsDrawing.ts - Drawing utilities → Mob overlay: supports drawing
scripts/Drawings/MobsDrawing.ts - Drawing utilities → Player overlay: supports drawing
scripts/Drawings/PlayersDrawing.ts - Chests → Map and objective overlays: supplies objective data
- Dungeons → Map and objective overlays: supplies objective data
- Fishing spots → Map and objective overlays: supplies objective data
- Mist objectives → Map and objective overlays: supplies objective data
- Albion player → Radar UI: configures radar
README.md - Radar settings and filters → Radar UI: provides filter settings
- Radar UI → UI components: renders with
src/App.tsx - Browser entry → Radar UI: renders
src/main.tsx