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.

Don't know how to fix this...

Each time i try to load my game it gives an error:

''Script 'A_M_S' line 1066: EOFError occurred.
end of file reached''

the arrow marks the line what gives the error:

#===================================================
# â–¼ CLASS Scene_Load Additional Code Begins
#===================================================
class Scene_Load < Scene_File

alias ams_original_read_save_data read_save_data

def read_save_data(file)
ams_original_read_save_data(file)
--> $ams = Marshal.load(file)
end

end
#===================================================
# â–² CLASS Scene_Load Additional Code Ends
#===================================================

i'm not that good at scripting.
anyone knows how to fix it?
 

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