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.

First SDK 1.5 problem

It was strange since I've never had problems with it before, what happens is sometimes (not always) within a battle or afterwards, any attempt to use or even open the item menu results in a crash with the error pointing to these lines in the SDK as the problem:

def automatic_dispose
self.instance_variables.each do |item|
eval("#{item}.dispose if (#{item}.is_a?(Sprite) or #{item}.is_a? (Window_Base)) and (!#{item}.disposed?)")
end
end
end

It's something to the effect that the item is unable to dispose properly, this is a big problem holding back my demo release since I have many SDK reliant scripts I can't afford to negate it.

thanks
 
SephirothSpawn;183003 said:
Post a demo.

I've got a slow dial-up connection so when I have time to goto a net cafe I'll post a demo, although for now the issue has stops occuring. The only fear is it returns. Thanks.

EDIT: It's still there, it happens even when I start a new game, run into a few fights. Soon enough after a battle end (about the 3rd) it it says:

"Standard Development Kit 382 Argument Error
comparison of float with float failed"

the line in question is:

#--------------------------------------------------------------------------
# * Automatic Dispose
#--------------------------------------------------------------------------
def automatic_dispose
self.instance_variables.each do |item|
eval("#{item}.dispose if (#{item}.is_a?(Sprite) or #{item}.is_a?(Window_Base)) and (!#{item}.disposed?)")
end
end
end

Any ideas what the problem could be, please I can't upload my game it's about 30mb WITHOUT music, it's impossible on my internet connection
 

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