The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: King Legacy on April 07, 2006, 12:16:31 PM

Title: Slipknot's AMS
Post by: King Legacy on April 07, 2006, 12:16:31 PM
I have a little issue using Slipknots Advanced Message System. When I tried the demo everything worked just fine, but when I try to use it in my game I only get an error message saying:

Script: 'SlipKnot Message Sysem' line 436: TypeError occured.
no implicit conversion from nil to integer


Here's line 436: win.contents.font.size = size

I have no clue what I have done wrong, I just copied the script. Insertet it above Main and below Window_Message. So it should work fine, right?
Title: Re: Slipknot's AMS
Post by: King Legacy on April 07, 2006, 12:28:15 PM
Oh, I just noticed this only happens when I try to use the namebox... \Na[A Name]Text...


...and if I don't specify a font to use ( \font[Arial] for example ) the message window will just appear empty... So no default font is loaded I guess....
Title: Re: Slipknot's AMS
Post by: Tyhan on April 07, 2006, 01:04:34 PM
Well are you using version 1.3 or 1.0?
Title: Re: Slipknot's AMS
Post by: King Legacy on April 07, 2006, 01:24:17 PM
I noticed a slight difference in Slipknots demo, in the Main part... So I copied that into my Main part and it worked...  :|
Title: Re: Slipknot's AMS
Post by: haloOfTheSun on April 07, 2006, 09:47:50 PM
Post script problems in the script forum please.
Title: Re: Slipknot's AMS
Post by: ShellShocked on April 10, 2006, 05:52:41 AM
Are you using the legal version of rmxp?
Title: Re: Slipknot's AMS
Post by: King Legacy on April 10, 2006, 07:23:32 PM
Quote from: HaloOfTheSun on April 07, 2006, 09:47:50 PM
Post script problems in the script forum please.

Sorry, thought this belonged in the troubleshooting section coz' well, you know, I had a problem...  8-)

Quote from: pkmemanyp on April 10, 2006, 05:52:41 AM
Are you using the legal version of rmxp?

Yeah, I'm a honest quy... ^^