Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Window_Base Problems

NSDGuy

Member

For some reason, the Window_Base script is giving me some problems. :( Every time I try to open the inventory window, I get a problem on line 30. ':| It says something about a disposed window. I'm getting the message,

????? Window_Base ? 30 ??? RGSSError

disposed window

Also, line 30.

Code:
def dispose
    # ウィンドウ内容のビットマップが設定されていれば解放
    [B]if self.contents != nil[/B]
      self.contents.dispose
    end
    super
  end

"if self.contents !=nil" is line 30 ;)
 

Anonymous

Guest

It means you're trying to dispose a window that's already been disposed.

To tell you any more than that, I'd need to see your custom scripts that involve windows. Probably Scene_Item and attendent windows.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top