MantisBT - Zandronum
View Issue Details
0003115Zandronum[All Projects] Bugpublic2017-04-30 16:032021-12-18 09:22
Korshun 
Kaminsky 
normalmajoralways
resolvedfixed 
MicrosoftWindowsXP/Vista/7
3.0-beta 
3.1 
0003115: 3.0 breaks ladders on some maps
Some maps have ladders made out of a single line with ThingThrustZ and repeatable player bump trigger. They worked fine in 2.1.2 but are broken in 3.0.

Testing in ZDoom shows that they became broken between 2.5.0 and 2.6.0.

Some ladders that use seemingly the same design are not affected. I can't figure out the difference between broken and non-broken ladders.

No tags attached.
related to 0003073closed Torr Samaho Zandronum 3.0-alpha-r170416-0710 broke exit portal broken in super skulltag 
has duplicate 0003191closed  Zandronum Thing Thrust Z(Ladder) Not Working From "Bumps" on Zandronum 3.0 
related to 0003946closed WubTheCaptain Doomseeker No support for "Non-blocking lines can be pushed" compat_pushwindow flag in Zandronum 3 (3.1) plugin 
? brokenladders.wad (6,493) 2017-04-30 16:03
/tracker/file_download.php?file_id=2092&type=bug
Issue History
2017-04-30 16:03KorshunNew Issue
2017-04-30 16:03KorshunFile Added: brokenladders.wad
2017-04-30 17:03Torr SamahoNote Added: 0017452
2017-04-30 17:03Torr SamahoStatusnew => feedback
2017-04-30 17:14KorshunNote Added: 0017455
2017-04-30 17:14KorshunStatusfeedback => new
2017-04-30 17:49jdagenetNote Added: 0017457
2017-04-30 17:57KorshunNote Added: 0017458
2017-04-30 18:01jdagenetNote Added: 0017459
2017-04-30 18:05KorshunNote Edited: 0017458bug_revision_view_page.php?bugnote_id=17458#r10490
2017-04-30 18:06KorshunNote Added: 0017460
2017-04-30 18:09WaTaKiDNote Added: 0017461
2017-04-30 18:11KorshunNote Added: 0017462
2017-04-30 18:14KorshunNote Edited: 0017462bug_revision_view_page.php?bugnote_id=17462#r10492
2017-04-30 18:23jdagenetNote Added: 0017463
2017-04-30 18:25KorshunNote Added: 0017464
2017-04-30 18:37KorshunNote Edited: 0017464bug_revision_view_page.php?bugnote_id=17464#r10494
2017-04-30 18:38KorshunNote Edited: 0017464bug_revision_view_page.php?bugnote_id=17464#r10495
2017-04-30 18:43KorshunNote Edited: 0017464bug_revision_view_page.php?bugnote_id=17464#r10496
2017-04-30 18:44KorshunNote Edited: 0017464bug_revision_view_page.php?bugnote_id=17464#r10497
2017-04-30 19:25KorshunNote Edited: 0017464bug_revision_view_page.php?bugnote_id=17464#r10498
2017-04-30 19:26KorshunNote Edited: 0017464bug_revision_view_page.php?bugnote_id=17464#r10499
2017-04-30 19:33Torr SamahoNote Added: 0017466
2017-04-30 19:39KorshunNote Added: 0017467
2017-04-30 19:47Torr SamahoNote Added: 0017468
2017-04-30 19:51KorshunNote Added: 0017469
2017-05-01 17:34Torr SamahoNote Added: 0017483
2017-05-01 17:34Torr SamahoNote Edited: 0017483bug_revision_view_page.php?bugnote_id=17483#r10508
2017-05-01 17:34Torr SamahoNote Revision Dropped: 17483: 0010507
2017-05-01 17:35Torr SamahoNote Edited: 0017483bug_revision_view_page.php?bugnote_id=17483#r10509
2017-05-01 17:36Torr SamahoStatusnew => closed
2017-05-01 17:36Torr SamahoResolutionopen => no change required
2017-05-01 17:36Torr SamahoRelationship addedrelated to 0003073
2017-07-17 20:05DuskRelationship addedhas duplicate 0003191
2017-07-17 20:05DuskStatusclosed => resolved
2017-07-28 13:10KorshunNote Added: 0018114
2017-07-28 13:10KorshunStatusresolved => feedback
2017-07-28 13:10KorshunResolutionno change required => reopened
2021-12-16 20:23WaTaKiDNote Added: 0021907
2021-12-17 13:13KaminskyNote Added: 0021917
2021-12-17 13:13KaminskyStatusfeedback => resolved
2021-12-17 13:13KaminskyFixed in Version => 3.1
2021-12-17 13:13KaminskyResolutionreopened => fixed
2021-12-17 13:13KaminskyAssigned To => Kaminsky
2021-12-18 09:22WubTheCaptainRelationship addedrelated to 0003946

Notes
(0017452)
Torr Samaho   
2017-04-30 17:03   
How is it in GZDoom 1.8.6 and 2.4.0?
(0017455)
Korshun   
2017-04-30 17:14   
Broken and broken. Everything after ZDoom 2.6.0 is broken.
(0017457)
jdagenet   
2017-04-30 17:49   
You're using the bumping activation method on a passable linedef. The player never bumps the linedef, he only walks through it.
Changing the activation method to something like "player walks through" and pulling the linedefs out a bit will allow the function to actually execute.

This is intended behavior so there's nothing broken here.
(0017458)
Korshun   
2017-04-30 17:57   
(edited on: 2017-04-30 18:05)
> This is intended behavior so there's nothing broken here.

The maps that use these ladders are now broken.

Also, the proposed fix doesn't keep the behavior of pushing the player upwards as long as he is trying to move towards the ladder. It only launches the player upwards once.

(0017459)
jdagenet   
2017-04-30 18:01   
The ladders in your example wad are defined incorrectly as mentioned above.

I have ladders in my mod and they work perfectly fine.
(0017460)
Korshun   
2017-04-30 18:06   
These ladders are copied from real maps that have the same bug and became less playable in Zandronum 3.0.
(0017461)
WaTaKiD   
2017-04-30 18:09   
which maps?
(0017462)
Korshun   
2017-04-30 18:11   
(edited on: 2017-04-30 18:14)
I found out that the REAL fix is to set "3D Midtex" flag on ladder textures.

For now it's at least all maps with ladders in HvM Mappack. These can be fixed easily. But there might be more maps like that.

(0017463)
jdagenet   
2017-04-30 18:23   
The "3D Mid Texture" flag will make the mid texture solid, hence satisfying the "player bumps" activation method since the player can actually bump into the linedef.

It's a fix in your case, but in terms of functionality everything is performing the way it should.
(0017464)
Korshun   
2017-04-30 18:25   
(edited on: 2017-04-30 19:26)
Formerly, ZDoom treated walking through a two-sided line as bumping into it. Now it doesn't. This caused backwards compatibility problems. There might actually be non-ladder lines that are broken.

EDIT: I see GZDoom has added a compatflag for that, compat_pushwindow. But it's not present in Zandronum 3.0.

EDIT: not present in GZDoom 1.8.6 either.

EDIT: the compatflag was added to GZDoom in this commit in 2016:'https://github.com/coelckers/gzdoom/commit/b4e712ab019f13a33f718c95b7d1afcc5fb54acf [^]'

(0017466)
Torr Samaho   
2017-04-30 19:33   
How many existing maps need this? If this are not too many, we can simply add them to compatibility list, like it did with sstmap34:'https://bitbucket.org/Torr_Samaho/zandronum/commits/9679b9b67f46e7a2e1285fad036b0c08c6888f60 [^]'
(0017467)
Korshun   
2017-04-30 19:39   
The HvM Mappack has a lot of versions and a lot of maps. It's best to fix the mappack. And I don't know of more broken wads.
(0017468)
Torr Samaho   
2017-04-30 19:47   
If there are many different maps and that even in different versions, I guess we need to expose that compat flag also in Zandronum.
(0017469)
Korshun   
2017-04-30 19:51   
Yeah but only the latest version is used and HvM Mappack is my project, I can release a new version. There is no need for a compatflag yet. But more broken wads might pop up once 3.0 is released.
(0017483)
Torr Samaho   
2017-05-01 17:34   
(edited on: 2017-05-01 17:35)
Ok. Let me know if it turns out that we need the compatflag.

EDIT: I'll close the ticket for now, but you should be able to re-open it by posting a note in here.

(0018114)
Korshun   
2017-07-28 13:10   
A duplicate of this bug was opened'https://zandronum.com/tracker/view.php?id=3191 [^]' and closed due to being a duplicate.

It requests backporting the compatflag due to several other projects breaking:

> forced me to rework on 16 maps because of it.
> And probably Zombie Horde and Ghoul vs Human, Delta Invasion.

> tbh the compatflag should be implemented, especially because the ZH maps that use the bumping ladder mechanism breaks, and the mappack hasn't been updated for who knows how long.
(0021907)
WaTaKiD   
2021-12-16 20:23   
compat_pushwindow was actually backported in Zandronum 3.0-alpha-170806-2040
commit:'http://hg.osdn.net/view/zandronum/zandronum-stable/rev/e834241f9d74 [^]'

with a couple quick tests offline and online with zan 3.1, the example wad seems to work correctly with compat_pushwindow 1
(0021917)
Kaminsky   
2021-12-17 13:13   
I think we can close this ticket now for good. Thanks for checking.