Main Menu
  • Welcome to The RPG Maker Resource Kit.

Can't test play

Started by bulls84, February 24, 2007, 06:17:59 PM

0 Members and 1 Guest are viewing this topic.

bulls84

Whenever I do a test battle or test play it has this message:

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

failed to create bitmap

Irock

Okay, it has something to do with Blizzards cms. Make sure you have everything correct with it.

Blizzard

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. =/
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!

bulls84

#3
Now it says:

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

EDIT: I got rid of =begin and =end. will that effect something else now?

Blizzard

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.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.



Get DropBox, the best free file syncing service there is!