[1.0.29] Ultimate Torment & Torture Crashes

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany
Contact:

[1.0.29] Ultimate Torment & Torture Crashes

Post by Tormentor667 »

Well, I just post this thread as Graf Zahl told me that UTNT will work with the upcoming version of GZdoom. Any chance of getting a "fix" for GZDoom or do I have to "fix" UTNT?!

Crash:

Code: Select all

Script error, "DEC_CLAS" line 36:
Expected string constant but got identifier 'AltSkinDeath' instead.
User avatar
Gez
Developer
Developer
Posts: 1399
Joined: Mon Oct 22, 2007 16:47

Post by Gez »

It expected a string but got an identifier? I think it just means you didn't quote the strings.


...

Five minutes later, I was correct. I don't have any problem once I've quoted them all the AltSkinDeath in the lump.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

Didn't I warn you about this change in the parser?
User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany
Contact:

Post by Tormentor667 »

Not when I released UTNT or when you beta tested :P Beyond, when I'd be able to find it, I quote you about telling me that the bug won't happen in UTNT, only in TCOTD and there it is fixed :( So no chance about a GZDoom fix?
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Post by Graf Zahl »

That was discussed at length and the change is fully deliberate to ensure stability in the future because if the code pointers are parsed with a generic expression based parser (iow. when Doomscript becomes operational) it will be impossible to handle unquoted state labels.

You don't need the A_PlayerSkinCheck calls anyway. They are only for the DoomPlayer in case a Heretic skin is used.
User avatar
Nash
Developer
Developer
Posts: 1226
Joined: Sun Sep 25, 2005 1:49
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

Yeah, just remove the A_PlayerSkinCheck functions from your custom player classes in UTNT to fix it.

Also, I'm not sure which version of NashGore your mod uses, but if it uses any state-changing functions, you might want to check those and quote them.
User avatar
Tormentor667
Stronghold Team
Posts: 3555
Joined: Sun Nov 13, 2005 23:15
Location: Germany
Contact:

Post by Tormentor667 »

Okay, will do so and reupload 60mb -_-°

Not your fault anyway, thx for pointing out.
Locked

Return to “Closed Bugs”