The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: NDSGuy on March 19, 2006, 11:34:15 PM

Title: Failed to Create Bitmap Error
Post by: NDSGuy on March 19, 2006, 11:34:15 PM
Okay. I just installed Slipknot's Advanced Message System Script into my game and I'm getting some errors. I made a NPC with the message box and when I talk to him, the screen will go black and I will get the error-
?????? 'Slipknot Message System' ? 516 ?? RGSSError ????????
Failed to create bitmap


Any help?
Title: Failed to Create Bitmap Error
Post by: Viper on March 20, 2006, 12:13:29 AM
Copy the script here and I'll have a look at it.
Title: Failed to Create Bitmap Error
Post by: NDSGuy on March 20, 2006, 12:21:30 AM
When I started haveing problems, I took it directly from the demo. I got the same thing. Here's the code,

[code]#==============================================================================
# ** Slipknot Advance Message System
#------------------------------------------------------------------------------
# Slipknot
# 3.0
# 02.23.06
#------------------------------------------------------------------------------
=begin
 Thanks to:
  - Dubealex, for some of the features.
  - Phylomorphis, for the hexadecimal color.
=end
#==============================================================================

#--------------------------------------------------------------------------
# SDK log
#--------------------------------------------------------------------------
SDK.log('Slipknot Advance Message System', 'Slipknot', '3.0', '02.23.06')
#--------------------------------------------------------------------------

#--------------------------------------------------------------------------
# Begin SDK Enabled Check
#--------------------------------------------------------------------------
if SDK.state 'Slipknot Advance Message System'
#--------------------------------------------------------------------------

module Message_Settings
 #--------------------------------------------------------------------------
 #
Title: Failed to Create Bitmap Error
Post by: Viper on March 20, 2006, 01:05:34 AM
Do you have any other scripts that may conflict with this AMS and did you install SDK also?
Title: Failed to Create Bitmap Error
Post by: NDSGuy on March 20, 2006, 01:10:03 AM
I installed SDK but it goes wrong when I tried to talk to the character who has the Name Box effect. I haven't tried another one, yet.

Also, when I do regular text, it shows nothing.
Title: Failed to Create Bitmap Error
Post by: Viper on March 20, 2006, 01:13:04 AM
Inserting:

$defaultfonttype = "Tahoma"

Just below begin in Main will fix that error of not seeing any text.

Can you send me the game file so I can see what's going on?
Title: Failed to Create Bitmap Error
Post by: NDSGuy on March 20, 2006, 01:17:02 AM
I'm sorry. This is a noob question...

Where do I host my file?
Title: Failed to Create Bitmap Error
Post by: Viper on March 20, 2006, 01:17:43 AM
You can either try Megaupload.com or filefront.com
Title: Failed to Create Bitmap Error
Post by: NDSGuy on March 20, 2006, 01:25:24 AM
Here it is. (http://files.filefront.com/New_Gameexe/;4895982;;/fileinfo.html)
Title: Failed to Create Bitmap Error
Post by: Viper on March 20, 2006, 01:31:17 AM
Super...outstanding. Now send me a copy that isn't encrypted  :roll:  I can't help you if I can't access the game file.
Title: Failed to Create Bitmap Error
Post by: NDSGuy on March 20, 2006, 01:32:45 AM
Here is the new one. (http://files.filefront.com/New_Game2exe/;4896011;;/fileinfo.html)
Title: Failed to Create Bitmap Error
Post by: Viper on March 20, 2006, 01:47:53 AM
It's giving you a bitmap error because there isn't a windowskin for the namebox labeled "Charcoal XP" within your graphics folder. Either get that windowskin, or go into the script and find this line:


NB_skin = 'Charcoal XP'


And change "Charcoal XP' to '001-Blue01' . This is the default window skin and will be used for the message box as well as the name window.
Title: Failed to Create Bitmap Error
Post by: NDSGuy on March 20, 2006, 01:54:13 AM
I've tried that. It also gives me another error. Let me see what it is.

EDIT: It gives me the same error. It says the error is on Line 516
Title: Failed to Create Bitmap Error
Post by: Viper on March 20, 2006, 02:00:55 AM
Right....you know what. I'm going to upload the fixed version for you so you can see your problem.

Give me a second.
Title: Failed to Create Bitmap Error
Post by: NDSGuy on March 20, 2006, 02:02:10 AM
By the way you sound, it was me who created the problem. I'm such a stupid! :oops:
Title: Failed to Create Bitmap Error
Post by: Viper on March 20, 2006, 02:24:16 AM
Alright here it is.

http://files.filefront.com/NewGameexe/;4896125;;/fileinfo.html

Enjoy
Title: Failed to Create Bitmap Error
Post by: NDSGuy on March 20, 2006, 02:26:57 AM
Wow! Amazing! I don't know how you did that, but many thanks!  :^^: