[r4055] MorphActor + NULL = x_x

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

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 Reply
User avatar
Nightfall
Posts: 555
Joined: Thu Aug 06, 2009 4:00 am
Location: Finland

[r4055] MorphActor + NULL = x_x

Post by Nightfall »

from http://zandronum.com/tracker/view.php?id=1279

ZDoom outright crashes if the following ACS is attempted:

Code: Select all

script 1 OPEN {
        MorphActor (0, "Pig");
}
Example here. Just start a new game.
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: [r4055] MorphActor + NULL = x_x

Post by Project Shadowcat »

Change your OPEN script into an ENTER and your script should at least work. Because I don't think you want to morph the entire map into a pig. (The OPEN script means that the activator is literally the opening of the map. By using an ENTER script, your activator then becomes the player(s) who actually enter the map.)
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [r4055] MorphActor + NULL = x_x

Post by Edward-san »

it seems you didn't see the zandronum tracker link ... that was obvious as a solution... but the crash shouldn't happen anyways.
Gez
 
 
Posts: 17938
Joined: Fri Jul 06, 2007 3:22 pm

Re: [r4055] MorphActor + NULL = x_x

Post by Gez »

What should happen would be ZDoom aborting with an error message along the lines of "Script 1 has performed an illegal operation and needs to be shutdown." :twisted:
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [r4055] MorphActor + NULL = x_x

Post by Edward-san »

... at least there won't be an exploitation with a malformed wad for this case :P
User avatar
Ænima
Posts: 216
Joined: Thu Jul 08, 2010 10:39 pm

Re: [r4055] MorphActor + NULL = x_x

Post by Ænima »

"Whoa man ... The whole level just turned into a pig ..."

*rubs his eyes and puts another tab on his tongue*
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [r4055] MorphActor + NULL = x_x

Post by randi »

Fixed in r4141.
Post Reply

Return to “Closed Bugs [GZDoom]”