MantisBT - Zandronum
View Issue Details
0002697Zandronum[All Projects] Bugpublic2016-04-07 02:592018-09-30 21:53
Tiger 
Torr Samaho 
lowminoralways
closedfixed 
Desktop (x86_64)Windows6.3
3.0-beta 
3.03.0 
0002697: Jumping pad [ThrustThingZ] doesn't work
I am currently having an issue with one of the jump pads used in the TGRDM3 project. The bug that I am currently facing, ThrustThingZ does not take effect or even activates at all. I have tested this issue with Zandronum 3.0-latest available devbuild (from the time of writing this) [160229-1221] and also GZDoom 1.8.06, the issue occurs. However, it seems that the bug was resolved somewhere in ZDoom 2.8.0 ['http://zdoom.org/files/zdoom/2.8/ [^]' ]. Sadly, I am unable to find anything relevant in regards to ThrustThingZ while using GitHub's web-service search, thus I can't really provide much help as to what can potentially fix the issue.

In addition, I have tried testing this bug with a smaller test map, but I can't seem to reproduce the same effect from the map that I have in TGRDM3. I am not exactly sure why, but I can not really seem to figure it out.
* Retrieve TGRDM3 Development Build ['http://tiger.rfc1337.net/downloads/zdoom/morgenstern/devbuilds/ [^]' ]
* Execute the pk7 with Zandronum (multiplayer or single-player, doesn't matter which)
* In console, type: MAP MAP03
* Go to coordinates: [-65,-4927] See screenshots
* If using GZDoom Builder ['http://forum.zdoom.org/viewtopic.php?p=613830#p613830 [^]' ], find the comment "Jumping pad"; this uses ThrustThingZ, which is bugged

* If the player 'lands' on the sector reference, the THING will not trigger - or ThrustThingZ does not take effect. Thus, nothing happens.
NOTE: If you remove the Thing_Stop and other THING's that is in that sector, the THING containing the ThrustThingZ will still not take effect.
No tags attached.
jpg NoirLust_Wide.jpg (503,997) 2016-04-07 02:59
/tracker/file_download.php?file_id=1781&type=bug
jpg NoirLust_Narrow.jpg (515,939) 2016-04-07 03:00
/tracker/file_download.php?file_id=1782&type=bug
jpg NoirLust_BuggedThing.jpg (320,939) 2016-04-07 03:00
/tracker/file_download.php?file_id=1783&type=bug
jpg New_ThingTriggerJumpPad.jpg (481,681) 2016-04-10 17:23
/tracker/file_download.php?file_id=1785&type=bug
Issue History
2016-04-07 02:59TigerNew Issue
2016-04-07 02:59TigerFile Added: NoirLust_Wide.jpg
2016-04-07 03:00TigerFile Added: NoirLust_Narrow.jpg
2016-04-07 03:00TigerFile Added: NoirLust_BuggedThing.jpg
2016-04-09 11:42Torr SamahoNote Added: 0014681
2016-04-09 11:42Torr SamahoStatusnew => feedback
2016-04-09 17:08TigerNote Added: 0014683
2016-04-09 17:08TigerStatusfeedback => new
2016-04-09 18:15TigerNote Added: 0014684
2016-04-09 23:12TigerNote Added: 0014685
2016-04-10 12:07Torr SamahoNote Added: 0014688
2016-04-10 17:23TigerFile Added: New_ThingTriggerJumpPad.jpg
2016-04-10 17:24TigerNote Added: 0014692
2016-04-10 17:42TigerNote Added: 0014693
2016-04-10 17:52TigerNote Added: 0014694
2016-07-03 17:53Edward-sanNote Added: 0015210
2016-07-03 17:53Edward-sanAssigned To => Torr Samaho
2016-07-03 17:53Edward-sanStatusnew => assigned
2016-11-29 20:52Torr SamahoNote Added: 0016378
2016-11-29 20:53Torr SamahoStatusassigned => needs testing
2016-11-29 20:53Torr SamahoTarget Version => 3.0
2016-12-16 07:54Ru5tK1ngNote Added: 0016503
2016-12-16 07:54Ru5tK1ngStatusneeds testing => resolved
2016-12-16 07:54Ru5tK1ngResolutionopen => fixed
2016-12-16 07:54Ru5tK1ngFixed in Version => 3.0
2018-09-30 21:53Blzut3Statusresolved => closed

Notes
(0014681)
Torr Samaho   
2016-04-09 11:42   
Quote from Tiger
In addition, I have tried testing this bug with a smaller test map, but I can't seem to reproduce the same effect from the map that I have in TGRDM3.

Did you try to reduce your map to a minimal example map by removing stuff from your existing map instead of creating a new map from scratch?
(0014683)
Tiger   
2016-04-09 17:08   
I only created a brand new map from scratch to see if I could be able to reproduce the issue, I did not bother with playing around with the original map that has this problem. However, if you give me - maybe an hour or two - I'll see if I can find anything. I'll first remove all other THINGS that is not around that jump pad, and then see if the issue was resolved, if not - I'll nuke all the vertices that is not around the jump pad.
(0014684)
Tiger   
2016-04-09 18:15   
Looks like I am able to reproduce this issue with GZDoom 2.2pre, as well as I am able to clearly reproduce this issue flawlessly now:'http://forum.zdoom.org/viewtopic.php?p=894113#p894113 [^]'

I'll bring this back to the ZDoom Devs. and hopefully they'll correct this issue.
(0014685)
Tiger   
2016-04-09 23:12   
I don't know if this helps at all, but I made a report on the ZDoom forums:'http://forum.zdoom.org/viewtopic.php?p=899183#p899183 [^]'
I don't know much more I can say or do; this issue simply confuses me.

Thank you for the idea of shrinking the map, this certainly helped to uncover an underlining issue.
(0014688)
Torr Samaho   
2016-04-10 12:07   
I'm glad to hear that you were able to uncover the underlying issue!

Judging from the answer in the ZDoom thread, it sounds as if this is not a ZDoom bug, but you were relying on undefined behavior and already have a solution to fix this with ACS. Can this ticket be considered closed then?
(0014692)
Tiger   
2016-04-10 17:24   
It looks like I am still reaching a problem with that very same jump-pad, but this time - it will not execute the instructions from the newly created script 'JumpPad'. I have tried various options, but I can't seem to get it to work with Zandronum.

So far, I've tested this with: GZDoom 2.2pre, ZDoom 2.8.1, and GZDoom 2.1.1, I don't seem to have a problem with the THING trigger executing the script. However, I can't seem to get that THING trigger to work with Zandronum, even though that exact type of THING trigger is used on some of the other jumppads - and works. Now I am back to this confusion....

New test file:
'http://tiger.rfc1337.net/tmp/TGRDM3_v1-7597b33.pk7 [^]'

Jump Pad script:
'https://github.com/SibTiger/TGRDM3/blob/master/Scripts/JumpPad.acs [^]'

I also attached a new image of the THING trigger
(0014693)
Tiger   
2016-04-10 17:42   
I apologize, but I forgot to test 'GZDoom 1.8.06' when I wrote that note; the issue also happens with that specific GZDoom build.
(0014694)
Tiger   
2016-04-10 17:52   
I just took a look at 'GZDoom 1.8.07' [http://gzdoom.drdteam.org/archive/bin/gzdoom-bin-1-8-07.zip ], I was not able to reproduce the problem with that build. Sadly, however, I don't know what all has changed between the releases of GZDoom 1.8.06 and GZDoom 1.8.07. Graf Zahl did not publish any list of changes in the DRDTeam forums ['http://forum.drdteam.org/viewtopic.php?f=23&t=6397 [^]' ].

I hope this helps?
(0015210)
Edward-san   
2016-07-03 17:53   
By bisecting I found out that the issue is fixed with this zdoom commit:'https://github.com/rheit/zdoom/commit/f482dc094df50a6bf4ae5608dbb564a18bc864fd [^]' , which is present in zandronum-zdoom-sync here:'https://bitbucket.org/Torr_Samaho/zandronum-zdoom-sync/commits/be9c089f2895 [^]' .
(0016378)
Torr Samaho   
2016-11-29 20:52   
Thanks for bisecting! I backported the changeset.
(0016503)
Ru5tK1ng   
2016-12-16 07:54   
That jump pad seems to work correctly now.