Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Zendah on April 25, 2009, 07:56:51 pm

Title: StormTronics CMS Error
Post by: Zendah on April 25, 2009, 07:56:51 pm
Here's the problem: everything works fine until I select Options.  Then it shows this error:

Script 'Blizzard's CMS' line 1043: TypeError occured.
no implicit conversion from nil to integer

and the game crashes.  I have the script right above Main and it's the only custom script I'm using right now.
This is line 1043:
    @font_name = BlizzCFG::CMS_FONTS[@current_font]
I'm using RMXP, in case anyone needs to know.

Please help if you can!

EDIT: Actually it's line 1042.  Sorry about that!  (I have the right code there, though)
Title: Re: StormTronics CMS Error
Post by: Blizzard on April 25, 2009, 08:33:47 pm
Quote from: Zendah on April 25, 2009, 07:56:51 pm
# Compatibility:
#
#   97% compatible with SDK v1.x. 80% compatible with SDK v2.x. Glitchs with
#   Fukuyama's Caterpillar script (but not with mine). Designed only for 8
#   elements. WILL corrupt old savegames.
Title: Re: StormTronics CMS Error
Post by: Makasu on April 26, 2009, 09:55:35 am
Actually I've had this problem as well. Its because you don't have the current font you're using in the selectable options as well. And what Blizz said. Lol

Because once I put in the font that I was using as a selectable one then it disappeared.