**Capture & Decode Albion Online Network Traffic in Real-Time**
npm install ao-networkCapture & Decode Albion Online Network Traffic in Real-Time


![PRs Welcome]()
A modern packet sniffer specialized for Albion Online, providing deep insights into game network operations.
Forked from rsxdalv/albion-trader with enhanced capabilities.
β¨ Key Features
- Real-time packet capture and decoding
- Event-driven architecture
- Auction house monitoring
- Player operation tracking
- Customizable event handlers
- Node.js v14+ Download
- Windows: Npcap (WinPcap-compatible)
- Linux/macOS: libpcap + dev packages
```
npm install ao-network
const AONetwork = require('ao-network');
const aoNet = new AONetwork();// Enable global packet processing
aoNet.events.use((result) => {
console.log('[Raw Packet]', result.context);
});
`$3
#### 1. Generic Event Capture
`
aoNet.events.on(aoNet.AODecoder.messageType.Event, (context) => {
if(!context.parameters.hasOwnProperty('252')) {
return;
} console.log('[Game Event]', context);
});
`#### 2. Auction House Interactions
`
aoNet.events.on(aoNet.AODecoder.messageType.OperationResponse, (context) => {
if(!context.parameters.hasOwnProperty('253') || context.parameters['253'] != aoNet.data.operations.AuctionModifyAuction) {
return;
} console.log('[Auction Update]', context);
});
`#### 3. Player Operations Tracking
`
aoNet.events.on(aoNet.AODecoder.messageType.OperationRequest, (context) => {
console.log(context);
});
``---
Happy Packet Sniffing! πΎπ΅οΈβοΈ