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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003909DoomseekerUIpublic2021-10-18 01:142022-03-22 11:11
ReporterAlexMax 
Assigned ToZalewa 
PrioritynormalSeveritymajorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.3.2 
Target Version1.3.3Fixed in Version1.3.3 
Summary0003909: Odamex 10.0 support
DescriptionA number of Odamex 10.0 servers are not being properly queried by Doomseeker, resulting in <ERROR>.
Steps To ReproduceOpen Doomseeker and reload the Odamex server list. There are a number of servers at 74.91.112.85 that do not work.
Additional InformationI investigated this myself on my own time and I believe I know why this happens. The server query request is versioned, and our large jump in version from 0.9.5 to 10.0 (note the use of the major version number) is outside of the range of the version contained in your server query string.

What we do - push the four parts of the packet separately.

'https://github.com/odamex/odamex/blob/stable/odalpapi/net_packet.cpp#L625 [^]'

Doomseeker appears to bundle the entire packet into one.

'https://bitbucket.org/Doomseeker/doomseeker/src/fc903e1a484a3ac314d9205727eee63ea3828b59/src/plugins/odamex/odamexserver.cpp#lines-48 [^]'

This should probably be bumped to something reasonable. It might make more sense to bring in our version construction macros to make updating this easier in the future.

'https://github.com/odamex/odamex/blob/stable/odalpapi/net_packet.h#L54 [^]'

And while you're updating the protocol to support 10.0, it's probably a good idea to add support for the headliner feature of Odamex 10.0 - Horde.

In your gametype conditional for Odamex, "Survival Horde" is sv_gametype 4 and g_lives > 0, "Horde" is sv_gametype 4 in other cases.
Attached Files

- Relationships

-  Notes
User avatar (0021786)
AlexMax (reporter)
2021-10-18 01:15

For the record, 10.0 is not out yet, but we anticipate that it will be out before the end of 2021.
User avatar (0021869)
Pol M (developer)
2021-12-10 11:10

Wrote a fix for this during the morning :)
Yep, seems like updating the server challenge did the trick. I'll also add support for the new game mode before pushing.
Sorry for the delay, I hadn't checked the tracker for quite a while.
User avatar (0021872)
Pol M (developer)
2021-12-11 00:52

'https://bitbucket.org/Doomseeker/doomseeker/pull-requests/6/implement-horde-gamemodes-and-fix-odamex [^]'

Done
User avatar (0021874)
WubTheCaptain (reporter)
2021-12-11 02:27
edited on: 2021-12-11 02:27

Quote
gameModesList << GameMode::ffaGame(MODE_SURVIVAL_HORDE, "Survival horde");

"Survival Horde" or "Survival horde"? OP said "Survival Horde" and capitalizing the first letter of every word seems to be common for other gamemodes.

User avatar (0021878)
WubTheCaptain (reporter)
2021-12-11 03:21

Pol M: You could also add your copyright header to those files if desired.
User avatar (0021879)
Zalewa (developer)
2021-12-11 12:52

I've deployed the new version of the Odamex plugin to the beta auto-update channel. From what I see it can now parse the challenge responses from the Oda 10.0 servers.

Thanks go to Pol for solving this matter.
User avatar (0021880)
WubTheCaptain (reporter)
2021-12-11 15:51

Zalewa: My notes above (code review) remain unaddressed by the merge.
User avatar (0021881)
Zalewa (developer)
2021-12-11 16:28
edited on: 2021-12-11 16:29

Oh yes right, the capitalization. I corrected it ('https://bitbucket.org/Doomseeker/doomseeker/commits/4614e828b8bd8c16181c85d225bfc5965e2ea3bd [^]' ). I'll refrain from releasing another version of the plugin for now given the minority of this change.

As far as the copyright blurbs go we never had an exact policy for those. Each file that was just added to the project received the standard blurb plus the current year. I believe I only modified the copyright info when I felt that the file was changed so significantly so that one could consider that this is a new file entirely. Frankly speaking I don't care much about those blurbs.

User avatar (0021882)
WubTheCaptain (reporter)
2021-12-11 17:19

Quote
A number of Odamex 10.0 servers are not being properly queried by Doomseeker, resulting in <ERROR>.

These are now displayed in the server browser.
Quote
And while you're updating the protocol to support 10.0, it's probably a good idea to add support for the headliner feature of Odamex 10.0 - Horde.

Create Game now has the two Horde options and the server browser can now display servers with those two game types.
User avatar (0021883)
Zalewa (developer)
2021-12-11 19:57
edited on: 2021-12-11 20:03

Quote
Create Game now has the two Horde options

Overlooked this too. This will need some work - the modes do appear in the box, that's true, but the +sv_gametype option isn't appended to the command line.

And that's not all. The Odamex plugin has more problems with selecting the game mode in the "Create Game" box, unfortunately. The only functional choices there are "Coop", "Deathmatch", "Team DM" and "CTF". These 4 are converted to their respective mode numbers and then passed to +sv_gametype. Everything else is ignored. You can see the code that does this here:'https://bitbucket.org/Doomseeker/doomseeker/src/6fdd469a5327e5041971883e2e84c8048b2c7bf1/src/plugins/odamex/odamexgamehost.cpp#lines-62 [^]'

I can add `modeNum = 4` for the Horde mode, but fixing this properly will be tricky. Odamex decides upon different gamemodes depending on whether other flags (g_sides and g_lives) are non-zero. I think we need a separate issue for that - 0003937.

User avatar (0021890)
Pol M (developer)
2021-12-12 23:32

Don't worry wub, no need to update licence comments. In general I'm fine with everything as long as doomseeker doesn't decide to all of a sudden drastically change the licence. (And I'm not talking of going from LGPL to Apache ;) )

Once I have time again in (late) January, I'll probably look into fixing the odamex plugin further if it hasn't been fixed yet.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2021-10-18 01:14 AlexMax New Issue
2021-10-18 01:15 AlexMax Note Added: 0021786
2021-10-22 09:03 WubTheCaptain Status new => acknowledged
2021-10-22 09:06 WubTheCaptain Target Version => 1.3.3
2021-12-10 11:10 Pol M Note Added: 0021869
2021-12-10 11:11 Pol M Assigned To => Pol M
2021-12-10 11:11 Pol M Status acknowledged => assigned
2021-12-11 00:52 Pol M Note Added: 0021872
2021-12-11 00:52 Pol M Status assigned => needs review
2021-12-11 00:52 Pol M Assigned To Pol M => Zalewa
2021-12-11 00:52 Pol M Status needs review => assigned
2021-12-11 00:52 Pol M Status assigned => needs review
2021-12-11 02:27 WubTheCaptain Note Added: 0021874
2021-12-11 02:27 WubTheCaptain Note Edited: 0021874 View Revisions
2021-12-11 03:21 WubTheCaptain Note Added: 0021878
2021-12-11 12:52 Zalewa Note Added: 0021879
2021-12-11 12:52 Zalewa Status needs review => needs testing
2021-12-11 15:51 WubTheCaptain Note Added: 0021880
2021-12-11 15:54 WubTheCaptain Status needs testing => needs review
2021-12-11 16:28 Zalewa Note Added: 0021881
2021-12-11 16:28 Zalewa Status needs review => needs testing
2021-12-11 16:28 Zalewa Note Edited: 0021881 View Revisions
2021-12-11 16:29 Zalewa Note Edited: 0021881 View Revisions
2021-12-11 17:19 WubTheCaptain Note Added: 0021882
2021-12-11 17:19 WubTheCaptain Status needs testing => resolved
2021-12-11 17:19 WubTheCaptain Fixed in Version => 1.3.3
2021-12-11 17:19 WubTheCaptain Resolution open => fixed
2021-12-11 19:57 Zalewa Note Added: 0021883
2021-12-11 20:03 Zalewa Note Edited: 0021883 View Revisions
2021-12-12 23:32 Pol M Note Added: 0021890
2022-03-22 11:11 WubTheCaptain Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker