[r296] Crash when inventory item is used (GZDA)
Moderator: Graf Zahl
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Well, I don't really know what to tell you. I DL's the mod and played right through the map with r300. No crash.
I assumed that all I needed was B72. However, the map had a lot of missing textures, so maybe I was wrong.
The only thing worth reporting are all these errors at the console that I get when loading your mod:
[spoiler][/spoiler]
I assumed that all I needed was B72. However, the map had a lot of missing textures, so maybe I was wrong.
The only thing worth reporting are all these errors at the console that I get when loading your mod:
[spoiler]
Code: Select all
LoadActors: Load actor definitions.
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 51:
Unknown class name 'SidearmMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 64:
Unknown class name 'SidearmMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 67:
Unknown class name 'SidearmMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 68:
Unknown class name 'SidearmCasing'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 72:
Unknown class name 'SidearmMagEmpty'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 75:
Unknown class name 'SidearmMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 147:
Unknown class name 'DoubleBarrelMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 160:
Unknown class name 'DoubleBarrelMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 163:
Unknown class name 'DoubleBarrelMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 173:
Unknown class name 'DoubleBarrelMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 176:
Unknown class name 'DoubleBarrelMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 194:
Unknown class name 'MinigunBeltCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 206:
Unknown class name 'MinigunCoolDown'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 211:
Unknown class name 'MinigunCoolDown'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 216:
Unknown class name 'MinigunCoolDown'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 217:
Unknown class name 'MinigunBeltCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 220:
Unknown class name 'MinigunBeltCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 221:
Unknown class name 'MinigunCasing'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 224:
Unknown class name 'MinigunBeltCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 225:
Unknown class name 'MinigunCasing'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 228:
Unknown class name 'MinigunBeltCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 229:
Unknown class name 'MinigunCasing'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 232:
Unknown class name 'MinigunBeltCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 233:
Unknown class name 'MinigunCasing'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 239:
Unknown class name 'MinigunBeltCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 248:
Unknown class name 'MinigunCoolDown'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 253:
Unknown class name 'MinigunCoolDown'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 257:
Unknown class name 'MinigunCoolDown'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 265:
Unknown class name 'MinigunCoolDown'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 272:
Unknown class name 'MinigunCoolDown'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 280:
Unknown class name 'MinigunCoolDown'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 363:
Unknown class name 'PlasmaBall_'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 384:
Unknown class name 'BFGMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 397:
Unknown class name 'BFGMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 402:
Unknown class name 'BFGBall4'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 403:
Unknown class name 'BFGMagCheck'
Script warning, "GZDA-B72.zip:decorate/marines.txt" line 410:
Unknown class name 'BFGMagCheck'
Script warning, "GZDA-B72.zip:decorate/daemons.txt" line 162:
Unknown class name 'microgunCoolDown'
Script warning, "GZDA-B72.zip:decorate/daemons.txt" line 172:
Unknown class name 'microgunCoolDown'
Script warning, "GZDA-B72.zip:decorate/daemons.txt" line 177:
Unknown class name 'microgunCoolDown'
Script warning, "GZDA-B72.zip:decorate/daemons.txt" line 201:
Unknown class name 'microgunCoolDown'
Script warning, "GZDA-B72.zip:decorate/daemons.txt" line 206:
Unknown class name 'microgunCoolDown'
Script warning, "GZDA-B72.zip:decorate/daemons.txt" line 210:
Unknown class name 'microgunCoolDown'
Script warning, "GZDA-B72.zip:decorate/daemons.txt" line 218:
Unknown class name 'microgunCoolDown'
Script warning, "GZDA-B72.zip:decorate/1_chainsaw.txt" line 35:
Unknown class name 'Chainsaw_'
Script warning, "GZDA-B72.zip:decorate/1_chainsaw.txt" line 68:
Unknown class name 'CheapAlert'
Script warning, "GZDA-B72.zip:decorate/1_chainsaw.txt" line 79:
Unknown class name 'CheapAlert'
Script warning, "GZDA-B72.zip:decorate/1_chainsaw.txt" line 84:
Unknown class name 'CheapAlert'
Script warning, "GZDA-B72.zip:decorate/1_chainsaw.txt" line 98:
Unknown class name 'CheapAlert'
Script warning, "GZDA-B72.zip:decorate/1_chainsaw.txt" line 103:
Unknown class name 'CheapAlert'
Script warning, "GZDA-B72.zip:decorate/3_supershotgun.txt" line 160:
Unknown class name 'CheapAlert'
Script warning, "GZDA-B72.zip:decorate/3_shotgun.txt" line 10:
Unknown class name 'ShellBandolier'
Script warning, "GZDA-B72.zip:decorate/4_microgun.txt" line 56:
Unknown class name 'RifleCasingSmoke'
Script warning, "GZDA-B72.zip:decorate/4_microgun.txt" line 58:
Unknown class name 'RifleCasingSmoke'
R_Init: Init Doom refresh subsystem.
Script error, "GZDA-B72.zip:fontdefs.txt" line 14:
STTSLASH: Unable to find texture in font definition for STATUSFONT
-
- Posts: 15
- Joined: Tue Feb 03, 2009 15:17
Did you try toggling the "Fire Mode"? With the "F" key? The map and mod itself are fine, but for some reason it crashes on this map.
I have never had it crash before until I tried this map with my mod, but lizardcommando also said he had a crash. His circumstances are unknown as he hasn't responded to my PM in the ZDoom forums.
Also, the error messages you discovered are pointing to inventory items that no longer exist. I haven't updated the Marines.txt in a long time, so that is probably why.
The missing textures is actually because he has a DarkenTextures.wad that goes with it. I can upload that, too, but it shouldn't have an effect on this crash.
I have never had it crash before until I tried this map with my mod, but lizardcommando also said he had a crash. His circumstances are unknown as he hasn't responded to my PM in the ZDoom forums.
Also, the error messages you discovered are pointing to inventory items that no longer exist. I haven't updated the Marines.txt in a long time, so that is probably why.
The missing textures is actually because he has a DarkenTextures.wad that goes with it. I can upload that, too, but it shouldn't have an effect on this crash.
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
No I didn't. However, I just have and insta-crash with, as you said, no GZDoom dialogue (BTW toggle fire mode was not bound to a key when I loaded the mod).eliw00d wrote:Did you try toggling the "Fire Mode"? With the "F" key?
I don't have a debug build of r300 ATM, but I'll do that and see what happens.
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Don't know how much help this will be:

Pressing retry seemed to get things very stuck. I just heard a second or so of music repeating over and over and I did not get returned to GZdoom.
With Abort, I got this (eventually)


Pressing retry seemed to get things very stuck. I just heard a second or so of music repeating over and over and I did not get returned to GZdoom.
With Abort, I got this (eventually)

Last edited by Enjay on Tue Feb 17, 2009 0:29, edited 1 time in total.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Undeclared libraries only crash when 2 things combined are present:
1. The map uses ACS itself
2. The library contains strings.
ACS libraries contain special prefixing code for strings that's only generated when the #library directive is being used. As long as the map itself does not contain ACS this doesn't matter because no prefix means 0 which logically is the prefix of the map script. But here the library is script index 1 so the unprefixed string indices mean that the ACS interpreter is trying to get them from the map script.
This is a design flaw in the ACS loader (which should have refused to load such libraries) and I'm not sure if it can be fixed without creating much worse problems.
1. The map uses ACS itself
2. The library contains strings.
ACS libraries contain special prefixing code for strings that's only generated when the #library directive is being used. As long as the map itself does not contain ACS this doesn't matter because no prefix means 0 which logically is the prefix of the map script. But here the library is script index 1 so the unprefixed string indices mean that the ACS interpreter is trying to get them from the map script.
This is a design flaw in the ACS loader (which should have refused to load such libraries) and I'm not sure if it can be fixed without creating much worse problems.
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact: