Zandronum, Chocolate and Odamex Server Queries in Node JS

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Uschi
Posts: 8
Joined: Sun Nov 02, 2025 6:10 pm

Zandronum, Chocolate and Odamex Server Queries in Node JS

Post by Uschi »

Here is my project of doing
Queries to Masterservers and then Queries to the listed Servers for Zandronum, Chocolate Doom and Odamex Doom.

You only need NodeJS and "node run serverhttp.js"

you have to make queries till you get a JSON answer with {finished:1} at the end.
only then the list is completed with all server queries.
after 20 or 30 secs. you can get a new fresh list as json till the finished:1 answer at the end of the list coems again.

You can also use it for a VPS which runs NodeJS.

I spend many hours in understanding the Server Query Structure of Zandronum, Chocolate, Odamex.
Chocolate and Odamex are good to understand with the Github pages of those Ports.
Zandronum is a pain with the huffman code to understand

https://github.com/schnalz-digital/Deat ... erverlists

I use it for my Deathmanager to have support for Doomserversbrowser to join.
https://github.com/schnalz-digital/DeathManager

Return to “General”