Rankstone

Devast.io Custom Server

6 days ago
YA

Yamete

Member
1

Devast.io Custom Server - JavaScript Backend Prototype

Background

As part of exploring the inner workings of Devast.io, some work was done to reverse-engineer the game's backend. The result is this custom, standalone server written entirely in JavaScript (Node.js). It was mostly a test to see if the game's packet structure could be replicated to run custom servers.

It's not a fully playable backend, but it works well as a proof-of-concept for anyone interested in how the game's server-client communication functions.

Project Details & Features

The server uses Node.js and WebSockets to talk directly to the regular Devast.io web client. It successfully intercepts, decodes, and sends the necessary packets to make the game run locally.

Even as a prototype, the base foundation handles several core mechanics:

  • Networking: Successfully accepts WebSocket connections and handles player authentication/IDs.

  • Entity Syncing: Player spawning, real-time movement, and position tracking are working.

  • Building: The server correctly parses and processes packets for placing entities like wooden walls and doors.

  • Combat: Basic weapon usage (like firing the AK47) is registered and logged by the server.

Source Code & Media

The code is open-source for anyone who wants to mess around with game hacking, reverse engineering, or just studying Devast.io's network traffic.