View Issue Details

IDProjectCategoryView StatusLast Update
0000224Gameplay + OpenGL[All Projects] Bugpublic2017-02-09 18:58
Assigned To 
Status resolvedResolutionnot fixable 
Summary0000224: Tried to register <classname> more than once...
DescriptionI run mods that have share class names, and GZDoom used to be able to run them together, and even renamed them. However, that's not happening anymore... it ends with an "Execution could not continue" error.

Is this a new feature, or is it a bug?

I'm running GZDoom x64 3.4 pre-381.
Steps To ReproduceRun two mods that share at least one class name between their actors... or, I guess, attempt to create two different actors within the same mod who share the same class name...
TagsExecution Could Not Continue..., GZDoom, Shared Classnames



Graf Zahl

Graf Zahl

2017-02-09 17:28

administrator   ~0000479

ZScript is very strict here, this is intentional. It was a bad idea to allow duplicate names, the serializer is completely incapable of restoring objects of the hidden class and would cause bad crashes.

DECORATE tries renaming one of the class to at least allow naming accidents to pass.
This is a fundamentally unsolvable problem because the class system is nearly incapable of managing namespaces.


2017-02-09 18:58

reporter   ~0000482

Well then... looks like I've got no choice but to merge Guncaster and Brutal Doom into its own sub mod...

Thanks anyway... :)

Issue History

Date Modified Username Field Change
2017-02-09 15:14 DoomKrakken New Issue
2017-02-09 15:15 DoomKrakken Tag Attached: Execution Could Not Continue...
2017-02-09 15:15 DoomKrakken Tag Attached: GZDoom
2017-02-09 15:15 DoomKrakken Tag Attached: Shared Classnames
2017-02-09 17:07 Rachael Category (No Category) => Bug
2017-02-09 17:28 Graf Zahl Status new => resolved
2017-02-09 17:28 Graf Zahl Resolution open => not fixable
2017-02-09 17:28 Graf Zahl Note Added: 0000479
2017-02-09 18:58 DoomKrakken Note Added: 0000482