Sudden Windows_Save error

TheRoflcer

Villager
Member
Joined
Oct 31, 2015
Messages
8
Reaction score
2
First Language
English
Primarily Uses
So I've been fiddling with some of the scripts, and I have attempted making changes with Windows_Save, but went back on it all.
I all of a sudden got an error (Mentioned Below), unable to identify the problem I just copied and pasted a default-standard save file in an unedited project over, but I got the same error.

Error occurs whenever I try to save or load
---Script Error---
Script 'Window_SaveFile' line 40: TypeError occurred.
Can't convert Symbol into Integer.

(Subject in question)
===================
#Draw Party Characters
def draw_party_characters(x, y)
header = DataManager.load_header(@file_index)
return unless header
(40) header[:characters].each_with_index do |data, i|
draw_character(data[0], data[1], x + i * 48, y)
end
end
=====================

Anyone understand the issue?
I've rarely kept any script changes, and the one's I've stuck with where status-menu options that had not been interfering before.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,100
Reaction score
13,705
First Language
English
Primarily Uses
RMMV
If you changed the way saves work, then played the game and did a save, then you changed the way saves work back again, it's entirely possible that you'll no longer be able to use that save file.

So from the title screen, choose New Game, save it, and see what happens. If you still get the same error, then it means you've made changes in DataManager where the save file is created, and you also need to change that back again.
 

TheRoflcer

Villager
Member
Joined
Oct 31, 2015
Messages
8
Reaction score
2
First Language
English
Primarily Uses
@Shaz
Okay, so I just deleted the save and retried.
That worked.
Thank you very much Shaz
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,100
Reaction score
13,705
First Language
English
Primarily Uses
RMMV
ah, of course, because at this point, it's trying to load some data from ALL the save files, to give you the list on the screen. So you must have removed :characters from DataManager.create_save_contents and it can't find it in that save file.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,230
Members
137,607
Latest member
Maddo
Top