@diablo2/sniffer
TypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

Diablo2 Packet sniffer

Sniff diablo 2 packets,

This sniffer reads the .bin files to lookup item and monster information directly from the game.

It currently requires the patch_d2.mpq to be extracted to work

PCAP

pcap is needed to run the sniffer, but is not included by default due to the complexity of building it

libpcap-dev is required to build ,

sudo apt install libpcap-dev
yarn add pcap

Examples

item tracker

Logs any item dropped onto the ground

scp Scepter { quality: 'Normal' }
qui Quilted Armor { quality: 'Normal', def: 10 }

Npc Tracker

Track NPCs being created

Npc Foul Crow @ 5114,5113
Npc Foul Crow @ 5118,5113
Npc Foul Crow @ 5046,5224
Npc Foul Crow @ 5049,5220
Npc Foul Crow @ 5052,5225
Npc Foul Crow @ 5049,5223

Usage

./d2-sniffer :networkAdapter :pathToGame

# Eg
./d2-sniffer eth0 "/home/foo/game/Diablo 2"

Readme

Keywords

none

Package Sidebar

Install

npm i @diablo2/sniffer

Weekly Downloads

1

Version

0.9.0

License

MIT

Unpacked Size

69.9 kB

Total Files

39

Last publish

Collaborators

  • blacha