View Full Version : Gibberish Error Message


Mithadan
Jan 24, 2008, 01:02 PM
Anybody recognise error messages like those attached below?

They only happen (so far) when I open the Scientific Advisor screen when playing as the Romans. You'll notice that the last bunch of techs that I added to the game are not shown in the error-ridden screenshot, but they show up for the non-error ridden screenshot.

I'm not using any civ-specific techs or buildings (yet), just specific units.

Anybody know where I might have gone wrong?

Interestingly, the missing techs in the error-ridden science screen were added on at the "end" of the list of techs in the editor, whereas all those that show up were just renamed and repositioned techs that were there from the Vanilla version. Why would that be?

El Justo
Jan 24, 2008, 03:17 PM
i'd look first at the tech icon entries in the Pediaicons file as it seems that the game engine is looking for something w/ that "gibberish" :) also, i'd check the entries for the techs in the editor to see if they match up correctly.

WildWeazel
Jan 24, 2008, 04:59 PM
You didn't try to edit something in a word processor, did you? :scared:

Samez
Jan 25, 2008, 05:48 AM
And you didn't change the font of your scenario (so the error message is displayed incorrectly)?

Mithadan
Jan 25, 2008, 02:53 PM
I haven't changed the font or edited anything in a word processor, no. (Unless "Notepad" counts as a word processor!)

I haven't changed any of the tech icons or entries yet either, but I will try to see if I can find anything there.

What flabbergasts me is that this happens with the Romans, but not the Anatolians! The Romans have a bunch of flavour units, but the Anatolians don't (yet). Could it be that perhaps the science screen is trying to display too many flavour unit graphics and is crashing? I'm going to try this out with the other civs that have a fair bit of flavour graphics (thankfully there's not many of them...yet...), and see if it really is Roman specific.

Yoda Power
Jan 25, 2008, 05:40 PM
Check your buildings, if the CULTURE/SINGLE/ERA thing is correct in the pediaicons.txt.

Mithadan
Jan 26, 2008, 01:49 AM
Good call, I was fiddle-duddling with that most recently. I'll look into that...

Mithadan
Jan 26, 2008, 05:43 PM
Found it!

For the record, here is one way to get a Gibberish error message:

Have a different ANIMNAME_PRTO entry name than you do for ICON_PRTO.

I had "ANIMNAME_PRTO_Eques" + "ICON_PRTO_Roman Equites" and that caused the crash. Once I made it all "Eques" in Pediaicons.txt, the crash went away.

Odd, but there you have it. Thanks for all your help, everybody! --Misty Dan.

Mithadan
Jan 26, 2008, 05:49 PM
Never mind, that did fix it once, and the next time it crashed again. Gurn!

WildWeazel
Jan 26, 2008, 06:00 PM
When you save the text files in Notepad is there an option for encoding? If so, what is it using?

Mithadan
Jan 26, 2008, 06:02 PM
No, it just saves it. "Do you want to save the changes?" prompt, and that's all.

Mithadan
Jan 26, 2008, 10:28 PM
Okay, it's fixed. It wasn't my buildings' pediaicon thing, but rather a bunch of screw-ups with added Roman units -- once I got rid of those "to be completed later" units for the Romans, the bug went away. So basically, don't add a unit in the editor without also giving it a valid PRTO entry, otherwise crazy things can happen!

Thanks again, all.