GZDoom 3.5.1 Breaks my old WADs... what changed?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
User avatar
real_trisk
Posts: 152
Joined: Wed Sep 24, 2008 11:19 am
Location: Minnesota, USA

GZDoom 3.5.1 Breaks my old WADs... what changed?

Post by real_trisk »

Hey, I was just notified by someone who tried to run my map in the newest GZDoom. The game immediately CTDs with the error message "Script error, "theisland_full.pk3:mapinfo.lmp" line 213: Unexpected end of file in cluster definition.

I looked in my mapinfo file and I don't see anything wrong with it compared to the ZDoom wiki section on clusters... so I'm not sure what to do. Here's the offending section:

clusterdef 1
{
hub
flat = ATGRASS2
music = TRAVENLI
//

exittext =
"As the sails fill, you steer the primitive",
"life raft away from the island, confident",
"that you have destroyed all the invading",
"Demons. Hopefully you will drift into a",
"shipping lane and get picked up before",
"Too long. Congratulations! ",
"levels, music, sound, textures by Real_Trisk.",
"Coding also by Real_Trisk (I'm so alone...)",
"Monsters: Eriance, Cpt. Toenail, Tormentor667",
"Lexus Alyus, Ghastly_dragon, DavidRaven",
"Beta Testers: Major Cooke, Cpt. Toenail",
"Eriance, WildWeasel, NeoWorm ",
"Play more GZDoom levels and games free!",
"www.prodigal-game.com",
" ",
"Thanks for playing!",
"2010-12 Real_Trisk, Benjamin J Johnson",

}
//<---this is line 213, the end of the file.

Can anybody tell me what I'm doing wrong?

Thanks,
Ben
Gez
 
 
Posts: 17937
Joined: Fri Jul 06, 2007 3:22 pm

Re: GZDoom 3.5.1 Breaks my old WADs... what changed?

Post by Gez »

I think the problem here is that the last line of your exit text ends with a comma, so the parser expects to find one more line of text after it, and doesn't.

So if you just delete the comma after your signature, it should work again.
User avatar
real_trisk
Posts: 152
Joined: Wed Sep 24, 2008 11:19 am
Location: Minnesota, USA

Re: GZDoom 3.5.1 Breaks my old WADs... what changed?

Post by real_trisk »

What the... I swear that was the first thing I tried, and it still crashed... but I tried again just to be safe and it worked perfectly.

Thanks Gez!

Return to “Scripting”