Zandronum Chat on our Discord Server Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003878Doomseeker[All Projects] Suggestionpublic2021-02-16 04:012021-03-23 02:22
ReporterAlexMax 
Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version1.3.1 
Target VersionFixed in Version 
Summary0003878: Odamex 0.9 protocol changes
DescriptionOdamex 0.9 is about to be released, and it does not contain any notable protocol changes. I can see the test servers from the existing Doomseeker release.

However, we do have a fair few more game modes that need to be checked for. The "official list" that we use both internally and in the launcher is as follows:

    else if (sv_gametype == 0 && g_lives > 0)
        name = "Survival";
    else if (sv_gametype == 0)
        name = "Cooperative";
    else if (sv_gametype == 1 && g_lives > 0)
        name = "Last Marine Standing";
    else if (sv_gametype == 1 && sv_maxplayers <= 2)
        name = "Duel";
    else if (sv_gametype == 1)
        name = "Deathmatch";
    else if (sv_gametype == 2 && g_lives > 0)
        name = "Team Last Marine Standing";
    else if (sv_gametype == 2)
        name = "Team Deathmatch";
    else if (sv_gametype == 3 && g_sides)
        name = "Attack & Defend CTF";
    else if (sv_gametype == 3 && g_lives > 0)
        name = "LMS Capture The Flag";
    else if (sv_gametype == 3)
        name = "Capture The Flag";

Obviously you can use whatever strings you find appropriate, but this is merely the conditions we check to determine which game mode name to render.

If you notice a "g_gametypename" cvar, please do not put it in the gametype column, as it is meant to be used by in-game interfaces that have much more room than a server browser.

Thanks.
Attached Files

- Relationships

-  Notes
User avatar (0021597)
AlexMax (reporter)
2021-02-17 14:46

One other thing of note, I notice that that "Version" displayed by Doomseeker is kind of messed up. In protocol version 7, instead of broadcasting a revision number, we broadcast a revision string after the "time" and "protocol number". This revision string contains the complete version (including the number).

https://github.com/odamex/odamex/blob/0.8.3/server/src/sv_sqp.cpp#L89 [^]
User avatar (0021598)
WubTheCaptain (developer)
2021-02-18 11:24
edited on: 2021-02-18 11:25

0003878:0021597: Seems unrelated to the original post, so you may want to report a new issue.

User avatar (0021599)
AlexMax (reporter)
2021-02-19 05:01

Noted. I opened a separate ticket for the query protocol bump.
User avatar (0021610)
AlexMax (reporter)
2021-03-23 02:20
edited on: 2021-03-23 02:22

My apologies, but in the release shuffle there was a small additional thing that slipped my mind that I think is related to the above changes, as it also concerns handling of server vars and not an actual protocol bug.

We have retired "sv_website" in lieu of "sv_downloadsites". It's used by our internal WAD downloader, and it is similar to "sv_website" except that it is capable of being a list of multiple download sites, instead of just one. The list is separated by space characters (0x20) and in case Wadseeker cannot handle multiple added sources simply using the first URL in the list is fine.


Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2021-02-16 04:01 AlexMax New Issue
2021-02-16 06:52 WubTheCaptain Status new => acknowledged
2021-02-16 06:53 WubTheCaptain Severity major => minor
2021-02-16 06:55 WubTheCaptain Product Version => 1.3.1
2021-02-17 14:46 AlexMax Note Added: 0021597
2021-02-18 11:24 WubTheCaptain Note Added: 0021598
2021-02-18 11:25 WubTheCaptain Note Edited: 0021598 View Revisions
2021-02-19 05:01 AlexMax Note Added: 0021599
2021-03-23 02:20 AlexMax Note Added: 0021610
2021-03-23 02:22 AlexMax Note Edited: 0021610 View Revisions






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker