Server list question
Hello
How can I get a list of servers and detailed information about servers without running the Doomsday Engine program? Is there request/response protocol of servers anywhere?
How can I get a list of servers and detailed information about servers without running the Doomsday Engine program? Is there request/response protocol of servers anywhere?
Comments
Most of the fields should be self-explanatory, except for these:
what about server ping - how can i get it?
The Doomsday server has a TCP socket interface that you can contact for requesting server status info (and to join the game), but the ping calculation itself is built into the client. The network protocol is a bit complicated, though. Briefly, you'd have to construct a Huffman-coded message containing the string "Ping?", and the server would send you back a similar packet with the string "Pong".
(by the way, the filename like test_1.wad is converted to file.pwad.test_1.0.0 in serverinfo)
It seems to me that the existing protocol for the exchange of information is not very convenient for independent launchers, since requires significant transformations and analysis
Is it possible to create an additional server-launcher protocol with more transparent rules (we could discuss the details)?
And one more wish: possibility to immediately open the server console after the start server from command line (may be open Doomsday Shell.exe from server command line?)
Would a shell script or a batch file be sufficient for this?
Sure, but does Doomsday Shell.exe program take command line parameters (server IP) ? Couldn't find any..
The GUI Shell app doesn't seem to have a command line option for opening a connection... (The text-mode shell does, but I don't think it has been built for Windows.)
Doomsday.exe md5: 7C97B0FCEE6BF50EDC987FD848D3B87A
Its easy to check: there is currently server with Alien Vendetta pwad. Rename or hide av.wad temporarily (if you have it) and run from command prompt:
Am I doing something wrong?