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
0001279Zandronum[All Projects] Bugpublic2013-02-10 22:022018-09-30 22:11
ReporterBalrog 
Assigned ToTorr Samaho 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.0 
Target Version3.0Fixed in Version3.0 
Summary0001279: Trying to morph a player with MorphActor from an OPEN script makes the game crash
DescriptionThe 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 Reproduce1. Load the example wad
2. Wait 5 seconds
3. Crash
Additional InformationThe 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.
Attached Files? file icon morphcrash.wad [^] (1,909 bytes) 2013-02-10 22:02
zip file icon MorphActorTest.wad.zip [^] (305 bytes) 2013-02-17 11:55

- Relationships
child of 0002172closedTorr Samaho Upgrade GZDoom base to 1.8.6 

-  Notes
User avatar (0005994)
Watermelon (developer)
2013-02-11 04:59
edited on: 2013-02-11 04:59

Does it happen in ZDoom 2.6.1?

User avatar (0005996)
ZzZombo (reporter)
2013-02-11 08:31

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.
User avatar (0005997)
Torr Samaho (administrator)
2013-02-11 09:29

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.
User avatar (0006016)
Balrog (reporter)
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.
User avatar (0006041)
Torr Samaho (administrator)
2013-02-17 09:16

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?
User avatar (0006044)
Dusk (developer)
2013-02-17 11:56
edited on: 2013-02-17 11:58

Does crash with latest ZDoom, example wad attached.

Reported.

User avatar (0006055)
Dusk (developer)
2013-02-19 20:02

'http://forum.zdoom.org/viewtopic.php?p=669905#p669905 [^]'
User avatar (0014358)
Edward-san (developer)
2016-02-06 12:40

The fix should be present in latest zandronum 3.0 beta. Please check it out.
User avatar (0014372)
Ru5tK1ng (updater)
2016-02-06 18:15

Using the latest beta I didn't crash as a player or a spectator. Seems fixed.

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

- 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 View Revisions
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 View Revisions
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






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker