DarkPlacesEngine / DarkPlaces

The DarkPlaces Quake engine, created by LadyHavoc. Official Git repository (replaces SVN).
https://icculus.org/twilight/darkplaces/
GNU General Public License v2.0
272 stars 38 forks source link

Quake world servers are no longer detected. #194

Closed Gibitwit closed 1 month ago

Gibitwit commented 1 month ago

When choosing the Quake world option for multiplayer no servers are found. Other engines do find the servers and they are also listed on gametracker.com. I am not sure when this started, I think it was after the release of Quake Enhanced by Night Dive studios. Maybe the server addresses were changed.

Using the 20170829beta1 version of DarkPlaces.

bones-was-here commented 1 month ago

When I open that menu in current DP, many QW servers are listed after a few seconds. The net_slistqw command works fine too.
The version you're using is unsupported, and rather ancient...

Edit: but if there's new master address(es) that we don't have listed in the current version it would be great to know about those.

Gibitwit commented 4 weeks ago

@bones-was-here Are there any later release builds that work? There are builds in Linux repositories, but there is nothing for Mac and windows users.

bones-was-here commented 4 weeks ago

The Xonotic engine build linked on the readme https://github.com/DarkPlacesEngine/DarkPlaces?tab=readme-ov-file#downloading-and-running updates about half an hour after a commit is pushed to master.
The only differences between this and a Quake build are the file name (DP uses it to decide which game it's running, the default is darkplaces-sdl) and the icon. At some point I'll setup a build with the default file name and icon...

Windows and Linux are well maintained, Mac not so much (I don't have one).

Edit Xonotic-latest-engine.zip

Gibitwit commented 1 week ago

Using the latest build (September 3) from that link for Windows and Linux, the Quake world servers still are not found.

I tried installing and enabling UPnP on the Router, but no Quake World servers were found.

bones-was-here commented 1 week ago

Ok well more info would be needed to do anything about it, because it works for me: 2/4 masters respond with a list of ~760 live servers.
You could try enabling this cvar to get more info in console: net_slist_debug 1

Gibitwit commented 1 week ago

Querying servers with net_slist_debug on, crashes the game. Clipboard_09-04-2024_01

bones-was-here commented 1 week ago

I fixed the crash in dfe66229824823f849c788e84f89d4b4b275d594. Do you have master servers configured? There's 4 by default but I think only 2 are still running. You can check with find sv_qwmaster.

Gibitwit commented 1 week ago

It looks for 4 masters servers but they all time out. In the multiplayer menu it says port 26000, but in the console for the master servers it has the number 27000 after their addresses.

bones-was-here commented 1 week ago

Yes master servers have different default ports than quake servers, and their admins may use any port.

I've updated the QW master list in 67ffc8e78f2716964384526456ee6eb0365b4ebe: added a new one, removed a dead one, removed a duplicate.
With net_slist_debug 1 it should look like this in console (when you open the QW server list in the menu):

Querying QW master, favourite and LAN servers, reset=1
Querying QW master 78.47.113.68:27000 (resolved from master.quakeservers.net:27000)
Querying QW master 5.9.97.180:27000 (resolved from qwmaster.fodquake.net:27000)
Querying QW master 194.48.213.75:27000 (resolved from master.quakeworld.nu:27000)
Received QuakeWorld server list from master.quakeservers.net:27000
Received QuakeWorld server list from qwmaster.fodquake.net:27000
Received QuakeWorld server list from master.quakeworld.nu:27000
Finished querying 0 DP 3 QW masters and 786 servers in 22.419050 seconds
Finished checking server timeouts in 0.007843

I suspect a firewall or sandbox or router setting is blocking your connection to the masters, and maybe to the servers too...

Gibitwit commented 1 week ago

I am suspicious it may be the router, there has been much trouble with OpenWRT on this model.

Strange that Darkplaces servers are reachable but not Quake World. Other engines do find the Quake World servers. I'll try flashing the router to an older version.

bones-was-here commented 5 days ago

Is it possible that very small UDP packets are discarded by the router? IIRC the QW packets are smaller than the DP ones. Maybe another engine pads the QW packets with junk data to make them bigger...

Gibitwit commented 3 days ago

I don't think so, but I read something about maybe combining small packets.

I still need to try some older OpenWRT versions. I think the problem started in November or January.