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.

Error Explanation

Hey all you generous scripters!

What I have here is a small error I receive when loading a saved file. It seems to be related to Mr.Mo's NeoABS which is implemented into the game.
It seems that Mr.Mo has enough error reports on his plate to deal with a small town guy like me, so instead I simply request that a scripter explain to me what this error actually means, in the hope that I might be able to figure a way around it.

Said error is such:
????? ' o Class Additions'? 1234 ??? NoMethodError ???????
undefined method 'animation_divide' for #<AMS:0xdd2f460>

Of course, if you wish to attempt to erradicate this error by oneself, here are the needed codes:

  #--------------------------------------------------------------------------
  # * Read Save Data
  #    file : file object for reading (opened)
  #--------------------------------------------------------------------------
  def read_save_data2(file)
    $NeoABS            = Marshal.load(file)
    # Change Animation Size
    for an in $data_animations
      next if an.nil?
      frames = an.frames
      for i in 0...frames.size
        for j in 0...frames.cell_max
          frames.cell_data[j, 1] /= $NeoABS.animation_divide
          frames.cell_data[j, 2] /= $NeoABS.animation_divide
          frames.cell_data[j, 3] /= $NeoABS.animation_divide
        end
      end
    end
  end
end


Mr.Mo's entire script:
http://www.rmxp.org/forums/index.php?topic=36268.0


EDIT
It seems to lose it's effect when I remove the script AMS+ (http://www.creationasylum.net/index.php?showtopic=18316&pid=256675&st=80&#entry256675)
This is all well and good except I... kinda need it....
So, if it is posssible to figure a way around it, it would be much appreciated if you share it with me.

UBER EDIT
It seems that this error exactifies itself with EVERY message system on the market today. I tried replacing AMS+ with Mr.Mo's trusty UMS but to no avail. Just thought that might help.



Thanks for your time.
 

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