Page 1 of 1

[1.0.29] Ultimate Torment & Torture Crashes

Posted: Thu Nov 15, 2007 18:38
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.

Posted: Thu Nov 15, 2007 18:59
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.

Posted: Thu Nov 15, 2007 21:15
by Graf Zahl
Didn't I warn you about this change in the parser?

Posted: Thu Nov 15, 2007 22:01
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?

Posted: Fri Nov 16, 2007 0:05
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.

Posted: Fri Nov 16, 2007 9:02
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.

Posted: Sat Nov 17, 2007 13:04
by Tormentor667
Okay, will do so and reupload 60mb -_-°

Not your fault anyway, thx for pointing out.