Main Menu
  • Welcome to The RPG Maker Resource Kit.

Failed to Create Bitmap Error

Started by NDSGuy, March 19, 2006, 11:34:15 PM

0 Members and 1 Guest are viewing this topic.

NDSGuy

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?

Viper

Copy the script here and I'll have a look at it.

NDSGuy

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
 #--------------------------------------------------------------------------
 #

Viper

Do you have any other scripts that may conflict with this AMS and did you install SDK also?

NDSGuy

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.

Viper

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?

NDSGuy

I'm sorry. This is a noob question...

Where do I host my file?

Viper



Viper

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.


Viper

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.

NDSGuy

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

Viper

Right....you know what. I'm going to upload the fixed version for you so you can see your problem.

Give me a second.

NDSGuy

By the way you sound, it was me who created the problem. I'm such a stupid! :oops:

Viper


NDSGuy

Wow! Amazing! I don't know how you did that, but many thanks!  :^^: