MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0001279 | Zandronum | [All Projects] Bug | public | 2013-02-10 22:02 | 2018-09-30 22:11 |
|
Reporter | Balrog | |
Assigned To | Torr Samaho | |
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 1.0 | |
Target Version | 3.0 | Fixed in Version | 3.0 | |
|
Summary | 0001279: Trying to morph a player with MorphActor from an OPEN script makes the game crash |
Description | The title pretty much sums it up. This is a bit of a problem for "boss" mods that morph a random player. Crashes in both 1.0 and 1.1-alpha-130120-0905. |
Steps To Reproduce | 1. Load the example wad
2. Wait 5 seconds
3. Crash |
Additional Information | The switch will morph you into a ChickenPlayer without crashing; if you press the switch before the 5 seconds are up, you will not crash, presumably because the OPEN morph failed.
The crash only seems to occur when MorphActor actually tries to morph a player; setting the tid argument to a nonsense tid that isn't actually present won't cause a crash.
The style of the morph seems to have no effect. |
Tags | No tags attached. |
Relationships | child of | 0002172 | closed | Torr Samaho | Upgrade GZDoom base to 1.8.6 |
|
Attached Files | morphcrash.wad (1,909) 2013-02-10 22:02 https://zandronum.com/tracker/file_download.php?file_id=936&type=bug
MorphActorTest.wad.zip (305) 2013-02-17 11:55 https://zandronum.com/tracker/file_download.php?file_id=939&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2013-02-10 22:02 | Balrog | New Issue | |
2013-02-10 22:02 | Balrog | File Added: morphcrash.wad | |
2013-02-11 04:59 | Watermelon | Note Added: 0005994 | |
2013-02-11 04:59 | Watermelon | Note Edited: 0005994 | bug_revision_view_page.php?bugnote_id=5994#r3308 |
2013-02-11 08:31 | ZzZombo | Note Added: 0005996 | |
2013-02-11 09:29 | Torr Samaho | Note Added: 0005997 | |
2013-02-11 09:29 | Torr Samaho | Assigned To | => Torr Samaho |
2013-02-11 09:29 | Torr Samaho | Status | new => assigned |
2013-02-12 21:50 | Balrog | Note Added: 0006016 | |
2013-02-17 09:16 | Torr Samaho | Note Added: 0006041 | |
2013-02-17 09:16 | Torr Samaho | Status | assigned => feedback |
2013-02-17 11:55 | Dusk | File Added: MorphActorTest.wad.zip | |
2013-02-17 11:56 | Dusk | Note Added: 0006044 | |
2013-02-17 11:58 | Dusk | Note Edited: 0006044 | bug_revision_view_page.php?bugnote_id=6044#r3338 |
2013-02-17 11:58 | Dusk | Status | feedback => acknowledged |
2013-02-17 11:58 | Dusk | Resolution | open => waiting for zdoom |
2013-02-19 20:02 | Dusk | Note Added: 0006055 | |
2013-02-19 20:02 | Dusk | Status | acknowledged => feedback |
2016-02-06 12:40 | Edward-san | Note Added: 0014358 | |
2016-02-06 12:40 | Edward-san | Status | feedback => needs testing |
2016-02-06 12:40 | Edward-san | Resolution | waiting for zdoom => open |
2016-02-06 12:40 | Edward-san | Target Version | => 3.0 |
2016-02-06 12:45 | Edward-san | Relationship added | child of 0002172 |
2016-02-06 18:15 | Ru5tK1ng | Note Added: 0014372 | |
2016-02-06 18:16 | Ru5tK1ng | Status | needs testing => resolved |
2016-02-06 18:16 | Ru5tK1ng | Resolution | open => fixed |
2016-02-06 18:16 | Ru5tK1ng | Fixed in Version | => 3.0 |
2018-09-30 22:11 | Blzut3 | Status | resolved => closed |
Notes |
|
|
Does it happen in ZDoom 2.6.1?
|
|
|
|
OPEN? Not ENTER? O_o
How is that even supposed to work? OPEN is executed in multiplayer when no players are actually connected to server. Use ENTER instead. |
|
|
|
Yeah, you can't morph players that are not in the game. Nevertheless, Zandronum shouldn't crash if you try to. I'll see if I can fix the crash, most likely you will still have to adapt your scripts to make it work as intended. |
|
|
(0006016)
|
Balrog
|
2013-02-12 21:50
|
|
> Yeah, you can't morph players that are not in the game.
I agree. However, the problem is that it's crashing when trying to morph players that ARE in the game. I wasn't able to test this online, but the MorphActor call should fail silently when you try to morph a player that isn't in game because their TID isn't assigned to anything. |
|
|
|
This seems to be a ZDoom bug. If MorphActor is called with NULL as activator, i.e. the world as activator, it's going to crash when trying to morph a player. Can somebody confirm this in the latest ZDoom version? |
|
|
(0006044)
|
Dusk
|
2013-02-17 11:56
(edited on: 2013-02-17 11:58) |
|
Does crash with latest ZDoom, example wad attached.
Reported.
|
|
|
(0006055)
|
Dusk
|
2013-02-19 20:02
|
|
|
|
|
The fix should be present in latest zandronum 3.0 beta. Please check it out. |
|
|
|
Using the latest beta I didn't crash as a player or a spectator. Seems fixed. |
|