The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: bulls84 on February 24, 2007, 06:17:59 PM

Title: Can't test play
Post by: bulls84 on February 24, 2007, 06:17:59 PM
Whenever I do a test battle or test play it has this message:

????? '(*)StormTronics CMS'? 459 ??? RGSSError ????????

failed to create bitmap
Title: Re: Can't test play
Post by: Irock on February 24, 2007, 06:27:11 PM
Okay, it has something to do with Blizzards cms. Make sure you have everything correct with it.
Title: Re: Can't test play
Post by: Blizzard on February 24, 2007, 06:35:51 PM
It doesn't have to. It only gave the error at the redirection I have used for the font override. Ok, change these lines:

  if $tons_version == nil or $tons_version < 3.71
  alias init_ultimate_font_override_later initialize
  def initialize(w, h = nil)
    if w.is_a?(Numeric) and h.is_a?(Numeric)
      init_ultimate_font_override_later(w, h)
    else
      init_ultimate_font_override_later(w)
    end
    if $game_system.fontname != nil and not $scene.is_a?(Scene_Title)
      self.font.name = $game_system.fontname
      self.font.size = $game_system.fontsize
    else
      self.font.name = "Arial"
      self.font.size = 24
    end
  end
  end


to this:

=begin
  if $tons_version == nil or $tons_version < 3.71
  alias init_ultimate_font_override_later initialize
  def initialize(w, h = nil)
    if w.is_a?(Numeric) and h.is_a?(Numeric)
      init_ultimate_font_override_later(w, h)
    else
      init_ultimate_font_override_later(w)
    end
    if $game_system.fontname != nil and not $scene.is_a?(Scene_Title)
      self.font.name = $game_system.fontname
      self.font.size = $game_system.fontsize
    else
      self.font.name = "Arial"
      self.font.size = 24
    end
  end
  end
=end


Now you will get the line that really causes the bug. =/
Title: Re: Can't test play
Post by: bulls84 on February 24, 2007, 07:33:54 PM
Now it says:

????? '(*)Stormtronics CMS'? 456??? SyntaxError ????????

EDIT: I got rid of =begin and =end. will that effect something else now?
Title: Re: Can't test play
Post by: Blizzard on February 25, 2007, 01:54:07 PM
Lol, leave the =begin and =end. It is supposed to "turn off" this part of code, so you can find the actual reason for the error.