[f10416a] Maps may be exited twice with funky side effects

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [f10416a] Maps may be exited twice with funky side effects

Re: [f10416a] Maps may be exited twice with funky side effec

by Xtyfe » Wed Jul 15, 2015 6:39 am

What the heck? Put that on the list of weird bugs.

[f10416a] Maps may be exited twice with funky side effects

by Nightfall » Tue Jul 14, 2015 3:42 pm

Consider the following example WADs: exit_test2.wad contains a map that flings the player through a corridor fast enough that the player trips two exit lines at the same time, causing the map to be exited twice.

This has some funny effects, such as UNLOADING scripts executed twice, as demonstrated by test_unloading.pk3 which prints a message inside an UNLOADING script. In this particular map the message is printed twice, while normally it is only printed once. On Zandronum it's also caused the map rotation system skipping maps and it's requiring gross hacks to fix.

I find that this double exiting is the root problem and should be fixed on ZDoom's end, if for no other reason, I really don't think that UNLOADING scripts should execute twice...
Attachments
exit_test2.wad
(1.42 KiB) Downloaded 32 times
test_unloading.pk3
(927 Bytes) Downloaded 34 times

Top