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
0002775Zandronum[All Projects] Bugpublic2016-07-10 08:422021-11-04 00:11
ReporterWaTaKiD 
Assigned ToDusk 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version2.1 
Target Version3.1Fixed in Version3.1-beta 
Summary0002775: duplicate lumps with same extension cause auth fail when hosted on linux
Descriptionas mentioned in the first part of'https://zandronum.com/forum/viewtopic.php?f=55&t=7387&p=99418#p99413 [^]'

the provided example wad has 2 DECORATE lumps with the same extension

you will get an auth fail when trying to connect to a linux server hosting this wad, but itll work fine if hosted on windows

to fix this within the wad itself, just add an extension to one of the DECORATE lumps
Steps To Reproducehost the provided example wad on a linux server
try connecting to it
auth fail

repeat with a windows server, itll work fine
Additional Informationfwiw, while making the example wad, i forgot that it needed to be .pk3, as i couldnt reproduce the issue with it as .wad

issue can also be reproduced in zan 3.0
Attached Files? file icon ticket2775.pk3 [^] (272 bytes) 2016-07-10 08:42

- Relationships

-  Notes
User avatar (0018525)
Marcaek (reporter)
2017-10-11 02:04

I guess this was just completely missed?
User avatar (0018528)
Edward-san (developer)
2017-10-11 07:44

Quote

I guess this was just completely missed?


Since it happens also in 2.1, there was no reason to urgently fix it for 3.0.
User avatar (0018529)
Dusk (developer)
2017-10-11 15:14

I don't think that this is something that can or needs to be fixed. The WAD file is broken, you're not supposed to have files with the same name inside zip archives, so of course it is loaded differently under different platforms.

Perhaps the correct way would be to respond to this case with a fatal error or with the wad ignored.
User avatar (0018530)
DrinkyBird (developer)
2017-10-11 17:05

Fatal error seems best, wouldn't want people confused as to why a WAD isn't being loaded with seemingly no reason.
User avatar (0018973)
Filystea (reporter)
2017-12-25 20:14
edited on: 2017-12-25 20:14

You need not to have anything duplicated to have this issue.
I had one windows client joining normally when other exploding on proper pk3 files. (both joining linux server ).

The hash check is broken. Old case.

User avatar (0021589)
Torr Samaho (administrator)
2021-01-17 21:33

I added Kaminsky's patch for this.
User avatar (0021822)
WaTaKiD (updater)
2021-11-04 00:08
edited on: 2021-11-04 00:10

tested with 3.1-alpha-r211030-1716 and both the provided example wad and project-brutality-v203.pk3 (mentioned in the link above) indeed fail to host on both windows and linux (tspg) due to duplicate protected lumps

User avatar (0021823)
Kaminsky (developer)
2021-11-04 00:11

Great, thanks for checking! I consider this resolved then.

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: Marcaek Combinebobnt
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2016-07-10 08:42 WaTaKiD New Issue
2016-07-10 08:42 WaTaKiD File Added: ticket2775.pk3
2017-10-11 02:04 Marcaek Note Added: 0018525
2017-10-11 07:44 Edward-san Note Added: 0018528
2017-10-11 15:14 Dusk Note Added: 0018529
2017-10-11 17:05 DrinkyBird Note Added: 0018530
2017-10-29 21:10 Dusk Assigned To => Dusk
2017-10-29 21:10 Dusk Status new => assigned
2017-10-29 21:10 Dusk Target Version => 3.1
2017-12-25 20:14 Filystea Note Added: 0018973
2017-12-25 20:14 Filystea Note Edited: 0018973 View Revisions
2019-06-04 21:54 Dusk Status assigned => new
2021-01-17 21:33 Torr Samaho Note Added: 0021589
2021-01-17 21:33 Torr Samaho Status new => needs testing
2021-11-04 00:08 WaTaKiD Note Added: 0021822
2021-11-04 00:10 WaTaKiD Note Edited: 0021822 View Revisions
2021-11-04 00:11 Kaminsky Note Added: 0021823
2021-11-04 00:11 Kaminsky Status needs testing => resolved
2021-11-04 00:11 Kaminsky Fixed in Version => 3.1-beta
2021-11-04 00:11 Kaminsky Resolution open => fixed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker