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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004052Zandronum[All Projects] Bugpublic2022-11-01 22:482024-05-31 19:59
ReporterBLOODWOLF 
Assigned ToKaminsky 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformDesktopOSWindows 10OS Version21H1
Product Version3.1 
Target Version3.2Fixed in Version3.2 
Summary0004052: UDMF Exits Will Skip Over Maps In The Maplist
DescriptionCreated three maps to demonstrate the level skipping when playing online whether a person repeatedly presses use to exit the level or if multiple people cross an exitnormal linedef. Have been seeing this behavior in the logs on my EDay Brutal Doom server and have fixed the maps with multiple exit linedefs and the single map that had two script execute linedefs one behind the other that would end the level.
Steps To ReproduceEXIT01: Is a single UDMF playercross linedef exit, was able to reproduce it skipping going to EXIT02 and instead jumping to EXIT03 after crossing this map's linedef exit. Suspected that if multiple people crossed the linedef it would call level end two or more times and skip the next map but, I can get it to skip and not obey the maplist with only myself in the server.

EXIT02: Switch on the lift at the end of the hall will execute Script 1 which raises the life, fades to black, and exits the level. The Door track texture behind the switch also calls Script 1 which is wrong but, maybe it allowing for multiple level end executions.

EXIT03: A jump down the hole level exit that has multiple exitnormal linedefs surrounding the hole which possibly could be causing it to skip the next map(EXIT01) if two or more people cross the exit lines near the same time.
Additional InformationHave hosted a test server of this to reproduce that it does not obey the maplist with it skipping the nextmap periodically.

[TSPG] UDMF Exit Testing
Attached Files? file icon exittest.wad [^] (54,051 bytes) 2022-11-01 22:48

- Relationships

-  Notes
User avatar (0022483)
BLOODWOLF (reporter)
2022-11-09 21:19

Observed this behavior with skipping the next map on the maplist in Doom 2 Reloaded Map29 as well. Which uses a four-sided exit platform with special 52 W1 Exit normal on each side of the platform. Walking over one side skipped Map30 and instead jumped to the Test map (brutal doom). So UDMF I guess has nothing to do with this issue it seems to be caused by maps with multiple exit linedefs.
User avatar (0022602)
Kaminsky (developer)
2022-12-31 04:21

I was able to reproduce the bug a few times on my own server, but only sometimes. After doing some debugging, it seems like the player(s) can still execute multiple exit linedefs in EXIT03 before changing to EXIT01. Afterwards, leaving EXIT01 skips EXIT02 and goes to EXIT03 instead.

So, although the level doesn't get changed multiple times the map rotation can still get updated more than once, causing the discrepancy.
User avatar (0023637)
Kaminsky (developer)
2024-04-23 16:16

I created a new MR that refactors the map rotation system so that the next entry is now calculated only after a level is loaded, and only once:'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/115 [^]'

I believe this change should also fix this issue.
User avatar (0023646)
Kaminsky (developer)
2024-04-28 20:17

The merge request got pushed into the repository, including this commit:'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/25e4d12ed1e937fa079cf977c31b9a489fcef569 [^]'

It'd be great if this can be tested to confirm that the issue is resolved.
User avatar (0023738)
unknownna (updater)
2024-05-31 19:59

The glitch only seems to happen in the example wad if there's a maplist enabled.

Quote from Kaminsky
After doing some debugging, it seems like the player(s) can still execute multiple exit linedefs in EXIT03 before changing to EXIT01. Afterwards, leaving EXIT01 skips EXIT02 and goes to EXIT03 instead.


This is the pattern I found as well, and after the fix, I can't reproduce it anymore. I even tried editing the offending map to add even more exit lines, and it still wouldn't break.

So with that, marking it as resolved. Re-open or make a new ticket if you find a similar issue again.

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
2022-11-01 22:48 BLOODWOLF New Issue
2022-11-01 22:48 BLOODWOLF File Added: exittest.wad
2022-11-09 21:19 BLOODWOLF Note Added: 0022483
2022-12-31 04:10 Kaminsky Status new => confirmed
2022-12-31 04:10 Kaminsky Target Version => 3.2
2022-12-31 04:21 Kaminsky Note Added: 0022602
2024-04-23 16:16 Kaminsky Note Added: 0023637
2024-04-23 16:16 Kaminsky Assigned To => Kaminsky
2024-04-23 16:16 Kaminsky Status confirmed => needs review
2024-04-28 20:17 Kaminsky Note Added: 0023646
2024-04-28 20:17 Kaminsky Status needs review => needs testing
2024-05-31 19:59 unknownna Note Added: 0023738
2024-05-31 19:59 unknownna Status needs testing => resolved
2024-05-31 19:59 unknownna Fixed in Version => 3.2
2024-05-31 19:59 unknownna Resolution open => fixed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker