Complex Doom: LCA v1.5.9 Major GZDoom Bug
Moderator: Graf Zahl
- Legendary
- Posts: 35
- Joined: Fri Mar 31, 2017 1:51
- Location: America
- Contact:
Complex Doom: LCA v1.5.9 Major GZDoom Bug
Hello, I've been having a little bug with a small addon/mod that I've been working on for a while now. I was wondering if anyone could give me some help. I've been trying to get this addon to work with GZDoom for the longest to no avail. It works perfectly with Zandronum's current version and even Its 3.0 alpha builds which are getting closer to catching up to the current GZDoom builds. I've ironed out most of the bugs causing it to not work but now there's one last thing I can't fix and I don't know what it is. Here are the crash report files: https://www.mediafire.com/?o0cm0dlagzf0dv1. I would greatly appreciate it if I could get some help fixing this. Thanks in advance.
-
- Developer
- Posts: 259
- Joined: Sun Aug 07, 2011 13:36
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
Without ability to reproduce the crash this report is useless. Provide all assets needed to do so and we will help you.
- Legendary
- Posts: 35
- Joined: Fri Mar 31, 2017 1:51
- Location: America
- Contact:
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
Oh man, that's tough since I don't want to have the mod released too early then it'll end up being passed around. I'll send you the pk3's through PM and anyone else who wants it for the sole purpose of helping me get this working just let me know here. I'll send you everything through PM also.
-
- Developer
- Posts: 259
- Joined: Sun Aug 07, 2011 13:36
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
The crash is caused by a reference to undefined class Nothing in Actors/Items/LegendaryDemonRune.txt:
Most likely you wanted to use None instead.
Of course the game shouldn't crash in this case, so I fixed it.
The following warning is reported among others during loading:
Code: Select all
ACTOR PowerLegendaryPlayer : PowerMorph
{
// ...
PowerMorph.MorphFlash "Nothing"
PowerMorph.UnMorphFlash "Nothing"
// ...
}
Of course the game shouldn't crash in this case, so I fixed it.
The following warning is reported among others during loading:
Code: Select all
Class Nothing referenced but not defined
- Legendary
- Posts: 35
- Joined: Fri Mar 31, 2017 1:51
- Location: America
- Contact:
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
Ohh I see now, thanks it loads perfectly fine now. Though, is there a way for me to fix this? "GZDoom doesn't support execution of console commands from scripts". That tends to mess up the music for the Legendary enemies and the vanilla mode for normal Complex Doom. I'm fairly new to ACS so I don't know much about it._mental_ wrote: ↑Sat Apr 01, 2017 9:03 The crash is caused by a reference to undefined class Nothing in Actors/Items/LegendaryDemonRune.txt:Most likely you wanted to use None instead.Code: Select all
ACTOR PowerLegendaryPlayer : PowerMorph { // ... PowerMorph.MorphFlash "Nothing" PowerMorph.UnMorphFlash "Nothing" // ... }
Of course the game shouldn't crash in this case, so I fixed it.
The following warning is reported among others during loading:Code: Select all
Class Nothing referenced but not defined
-
- Developer
- Posts: 259
- Joined: Sun Aug 07, 2011 13:36
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
Do not use ConsoleCommand() function. Find the way to do what you want without it or disable that feature if you can't.Legendary wrote: ↑Sat Apr 01, 2017 16:12 Though, is there a way for me to fix this? "GZDoom doesn't support execution of console commands from scripts". That tends to mess up the music for the Legendary enemies and the vanilla mode for normal Complex Doom. I'm fairly new to ACS so I don't know much about it.
- Legendary
- Posts: 35
- Joined: Fri Mar 31, 2017 1:51
- Location: America
- Contact:
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
Oh ok thanks. What's up with the Melee not showing up though? I was just doing a little further testing and I noticed that the Fists don't show up with GZDoom but they show fine with Zandronum._mental_ wrote: ↑Sat Apr 01, 2017 17:22Do not use ConsoleCommand() function. Find the way to do what you want without it or disable that feature if you can't.
-
- Developer
- Posts: 259
- Joined: Sun Aug 07, 2011 13:36
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
Looks like nobody bothered reading console messages:
The actual player class used by GZDoom comes from complex-doom.v26a2.pk3 because the one with duplicate name from lca-v1.5.9b.pk3 was renamed.
Zandronum doesn't have such comprehensive system to resolve name conflicts, just like old versions of ZDoom didn't have it too.
Code: Select all
Script warning, "lca-v1.5.9b.pk3:actors/players/lca-player.txt" line 1:
Tried to define class 'ComplexDoomPlayer' more than once. Renaming class to 'ComplexDoomPlayer@lca-v1.5.9b.pk3@actors/players/lca-player.txt'
Zandronum doesn't have such comprehensive system to resolve name conflicts, just like old versions of ZDoom didn't have it too.
- Legendary
- Posts: 35
- Joined: Fri Mar 31, 2017 1:51
- Location: America
- Contact:
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
Ah, I see it now but I can't find a way to resolve the issue. I've tried "ACTOR LCAComplexDoomPlayer : DoomPlayer Replaces ComplexDoomPlayer" and a few other similar lines to that and I just couldn't get it working. I also did "ACTOR LCAComplexDoomPlayer : ComplexDoomPlayer Replaces ComplexDoomPlayer" and that didn't work either. It always ends up with no fists whenever I have it replace the actor._mental_ wrote: ↑Tue Apr 04, 2017 8:54 Looks like nobody bothered reading console messages:The actual player class used by GZDoom comes from complex-doom.v26a2.pk3 because the one with duplicate name from lca-v1.5.9b.pk3 was renamed.Code: Select all
Script warning, "lca-v1.5.9b.pk3:actors/players/lca-player.txt" line 1: Tried to define class 'ComplexDoomPlayer' more than once. Renaming class to 'ComplexDoomPlayer@lca-v1.5.9b.pk3@actors/players/lca-player.txt'
Zandronum doesn't have such comprehensive system to resolve name conflicts, just like old versions of ZDoom didn't have it too.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
'replaces' does not work for player classes, you will have to redefine the global default in a MAPINFO lump with
Code: Select all
gameinfo
{
playerclasses = "classname"
}
- Legendary
- Posts: 35
- Joined: Fri Mar 31, 2017 1:51
- Location: America
- Contact:
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
Hmm that didn't work, it did the same thing as when I tried to replace it. That must mean my player class is bugged but I don't see where. Maybe the new melee system added is faulty? I couldn't see what was going wrong.Graf Zahl wrote: ↑Wed Apr 05, 2017 20:40 'replaces' does not work for player classes, you will have to redefine the global default in a MAPINFO lump with
Code: Select all
gameinfo { playerclasses = "classname" }
-
- Developer
- Posts: 259
- Joined: Sun Aug 07, 2011 13:36
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
ComplexDoom uses KEYCONF lump to set its custom player class. So in addition to DECORATE change
Code: Select all
ACTOR LCAComplexDoomPlayer : DoomPlayer
Code: Select all
ACTOR LCAComplexDoomPlayer : ComplexDoomPlayer
Code: Select all
clearplayerclasses
addplayerclass LCAComplexDoomPlayer
- Legendary
- Posts: 35
- Joined: Fri Mar 31, 2017 1:51
- Location: America
- Contact:
Re: Complex Doom: LCA v1.5.9 Major GZDoom Bug
Ah! That was what I needed to do, It's working fine now thanks. Though, there are no player weapon skins when using any of the weapons. I'm guessing GZDoom just doesn't support the use of player skins assigned to weapons then._mental_ wrote: ↑Fri Apr 07, 2017 9:56 ComplexDoom uses KEYCONF lump to set its custom player class. So in addition to DECORATE changeor evenCode: Select all
ACTOR LCAComplexDoomPlayer : DoomPlayer
you need insert the following lines into LCA's KEYCONF:Code: Select all
ACTOR LCAComplexDoomPlayer : ComplexDoomPlayer
Code: Select all
clearplayerclasses addplayerclass LCAComplexDoomPlayer