Click any node on the canvas to simulate a server shutdown or DMCA takedown, or switch between Decodex P2P Mesh and Legacy Central Server to see why central servers fail while P2P worlds survive:
local variable is just a labeled box that holds a name or number. Change "Goldshire Duel Club" or maxPeers = 12 below and click [ โถ RUN CODE ] to broadcast your custom room onto the live P2P mesh!
Never coded before? Right-click this single .html file or DecodexBridge.lua, open it in Notepad or VS Code, tweak a text string or color hex code, and refresh your browser. That is how every programmer starts.
Help build in-game 1.12.1 lobby browsers, standalone twink bracket guides (19, 49), and character gear exporters inside addon/DecodexBridge.lua and DecodexExporter.lua.
Help expand server/router/main.go with 160-bit Kademlia DHT bootstrapping, UDP NAT hole-punching (CoopPunch), STUN/TURN CGNAT fallbacks, and Merkle state consensus.
Don't want to write code yet? Run the headless PowerShell simulator (bonk-probe.ps1) or host a local test node to help benchmark LAN (1, 5ms) and WAN (15, 60ms) peer routing!
For more than two decades, classic multiplayer emulation has been tied to an immutable vulnerability: the central server. Hundreds of private server communities have launched with fanfare only to vanish overnight due to hosting costs, database corruption, hardware failures, or DMCA enforcement, wiping out hundreds of thousands of collective player hours.
Decodex flips this topology into a localized peer-to-peer mesh: account creation, matchroom discovery, character state sync, and world loops run directly across participating player nodes with zero central point of failure.
decodex_macro_daemon.py): Automated SavedVariables file watchers, SQLite/MariaDB backend hooks, and local API synchronization.launch_host.bat, build_and_sync.bat) and modular UI extensions.Matchrooms index predictably across a 160-bit Kademlia DHT space. Nodes query the global deterministic hash below to browse all active matchrooms without a central master directory:
Key = SHA-1("Decodex-Vanilla-v0.6.4-Global-Registry")
Value Payload: A cryptographically signed list of active peer Node IDs currently hosting matchrooms.
Players can also resolve 5-character session join codes directly over the DHT with a volatile 60-second Time-To-Live (TTL):
Key = SHA-1("Decodex-Session-Join-" + UserJoinCode)
Value Payload: JSON or MessagePack payload tracking node_id, internal_ip, internal_port, external_ip_hint, udp_punch_ports, and build_manifest_hash.
Defined declaratively via shared/protocol/messages.yaml. Every binary frame features a 4-byte length descriptor, 2-byte opcode indicator (826), 4-byte inner message ID, and raw byte payload, maximizing wire throughput with zero string-parsing overhead.
Initial connection handshakes calculate an absolute cryptographic content hash over all live game balance elements, maps, data structures, and localization catalogues. Mismatched client footprints are rejected immediately past initial hello.
DecodexBridge.lua registers the DXMESH prefix across enUS and zhCN, while DecodexExporter.lua serializes live gear, inventory, and talent matrices. Remote AI bot profiles synchronize via monotonic sequence tokens, discarding out-of-order packets to eliminate rubberbanding.
| NETWORK TOPOLOGY | MEASURED LATENCY | REAL-WORLD OPERATIONAL IMPACT |
|---|---|---|
| Local / Same-Machine | < 1 ms | Zero-overhead local sandbox simulation, AI bot testing, and instant offline/local play. |
| Local Area Network (LAN) | 1 ms, 5 ms | Instantaneous LAN co-op with zero external internet routing or central login server required. |
| Direct WAN P2P Mesh | 15 ms, 60 ms | Sub-60ms geographic peer connections without intermediate server hops or cloud datacenter relay lag. |
| SUBSYSTEM | STACK / TECHNOLOGY | CURRENT PRODUCTION STATE |
|---|---|---|
| DHT Mesh Router | Go (server/router/main.go) |
160-bit Kademlia DHT key allocation, session announcements, and volatile 60s TTL join codes. |
| Binary Wire Protocol | Opcode 826 (SMSG_HOA_MESSAGE) |
Zero-copy binary frame parsing generated from declarative shared/protocol/messages.yaml schemas. |
| Direct Transport | UDP / TCP Hole-Punching |
Sub-5ms LAN and 15, 60ms WAN peer latency profiles mapped over UDP/TCP port 8261. |
| Client Addon Bridge | Lua 5.0 (DXMESH) |
In-game packet dispatcher (enUS / zhCN) in DecodexBridge.lua and character exporter (DecodexExporter.lua). |
| Automation & Telemetry | PowerShell, Batch & Python |
Headless wire-load simulator (bonk-probe.ps1), build runner (build_and_sync.bat), and decodex_macro_daemon.py. |
server/, Vanilla 1.12.1 C++ Server Core Base Engine (VMaNGOS forks) + server/router/main.go asynchronous Go DHT routing mesh coordinator.client/, Client Engine Executable Layer (Rust/compiled memory bases).addon/, Interface Lua Code: DecodexBridge.lua, DecodexBridge.toc, and DecodexExporter.lua.glue/, Interface Character Selection & Login XML Screens (Interface/GlueXML).launcher/, Desktop client app wrapper managing the P2P engine and local network processes (launch_host.bat).shared/, Central declarative YAML specs (shared/protocol/messages.yaml), content definitions, i18n catalogues, and binary structures.tools/, tools/e2e/bonk-probe.ps1, tools/scripts/build_and_sync.bat, docker-compose.yml, .github/workflows/ci.yml, and Decodex_Gemini_Rulesets.txt.1. Unified Local Generation & Compilation Pipeline: Compiles the Go routing binary, generates DB cache schemas, and deploys Lua bridge files to your client sandbox:
.\tools\scripts\build_and_sync.bat
2. High-Velocity Headless E2E Simulation: Tests Kademlia DHT packet handshakes and peer consistency across 5 simulated nodes without launching graphics clients:
powershell -ExecutionPolicy Bypass -File tools/e2e/bonk-probe.ps1 -SimulatedNodes 5 -PacketsPerNode 20
3. Containerized Headless Mesh Sockets (UDP/TCP Port 8261): Launches background mesh router nodes alongside MariaDB lookup grids:
docker-compose up --build
While UDP hole-punching succeeds across standard routers, symmetric NATs and mobile/satellite Carrier-Grade NAT (CGNAT) firewalls can block direct peer connections.
Desired Scope: Expand UDP hole-punching with lightweight STUN/TURN fallback relay nodes, WebRTC, and ICE protocol socket programming to guarantee 100% peer reachability.
Traditional MMORPGs rely on authoritative central servers to validate inventory changes, movement coordinates, and combat math.
Desired Scope: Architect distributed authority using cryptographic validation mechanisms, Merkle trees, witness-node state verification, and optimistic rollback checks against memory tampering.
Expand the client addon suite with standalone twink bracket guides, live gear inspection, and bracket build caching.
Desired Scope: Advanced WoW Lua API, XML Glue screens (Interface/GlueXML), and modern scrollbox conventions alongside legacy 1.12.1 hooks.
A DHT mesh requires at least one known peer coordinate for cold-start routing table initialization, plus bandwidth management for residential host upload asymmetry.
Desired Scope: Package the Go mesh coordinator into Windows/Linux/macOS background daemons with DNS seeds, local mDNS discovery, and libp2p peering.
Inspired by late-90s Telnet BBS splash screens (ABSINTHEBBS.NET:1940 and SKYLIGHT ANSI packs from 16colo.rs). The header pairs custom angular "wildstyle" cyber-gothic SVG vector typography (#EEFF00 to #39FF14 gradient) and vertical dripping pixel trails (| โข 0 |) with a classic 16-color VGA metadata bar.
Rather than loading static image files, the left panel computes a real-time 2D/3D mathematical cranial distance field on a 64x64 HTML5 <canvas> and quantizes every pixel through an ordered 4x4 Bayer dithering matrix across 10 selectable thermal/VGA palettes, complete with a zoomed Picture-in-Picture (PIP) sub-viewport and 1px #00FF00 oscilloscope callouts (ฮฃ [ ยฑฮฉ / โฮดยฒ ]).
Enforces strict pixel-aligned geometry (border-radius: 0px !important; globally) modeled after htop, lynx, and Asciimatics TUI consoles. The two-column numbered command launcher ([01], [16]) and live root shell prompt (root@decodex:~#) let operators trigger modals, toggle CRT scanlines, or fire keygen actions via keyboard or mouse.
All 26 game & demoscene tracks (including the full 4-section Gerudo Valley arrangement and the RiveR, Solo FitGirl throwback) are synthesized live in the browser using an 8-instrument Web Audio workstation, requiring zero external MP3s.
Modern gaming locks everything behind fragile cloud subscriptions, DRM check-ins, and corporate master servers. When a company pulls the plug or sends a cease-and-desist, whole worlds evaporate.
Decodex goes back to the old days: just like 1990s Telnet BBSes, Doom IPX/UDP LAN lobbies, and Bittorrent/Kademlia swarms, every player's computer is both client and router. No central gatekeeper can ever shut down a peer-to-peer mesh.
Why does this website play full multi-instrument arrangements of Gerudo Valley, RiveR, Solo (FitGirl Repacks), and World of Warcraft out of pure mathematical code?
Because in the golden demoscene era, coders competed to pack entire symphonies, 3D shaders, and ANSI art galleries into tiny self-contained files. Combining slap-bass, 808 sub-drops, 50Hz tracker arpeggios, and classical game composition proves that creative code beats corporate bloat every time.
In the old days, anyone could press Ctrl+U (View Source), read how a site worked, change three lines, and become a programmer overnight.
That is why this entire frontend is a single, readable HTML file with a built-in Coding Dojo, and why Decodex: Vanilla Decentralized (`Opcode 826` + `160-Bit Kademlia DHT`) is open to every tinkerer, musician, Lua modder, and systems coder ready to build immortal worlds.
| NODE ID | ENDPOINT / PORT | PROTOCOL | STATUS / LATENCY | ACTION |
|---|