Issue #25 resolved
Jesse Kaukonen created an issue

Auto save problems.

First one was when running the game and trying to go to "load game" menu immediately when the game started. I don't think I even have any saved data in the folder at all. Might be related to that.

F:\lostsky\lost-sky-project\Story of a Lost Sky>python srpg.py
Loading options!
Loaded saved options!
Traceback (most recent call last):
File "srpg.py", line 101, in <module>
engine.title_screen()
File "F:\lostsky\lost-sky-project\Story of a Lost Sky\core_system\engine.py",
line 1492, in title_screen
confirm_load = self.save_menu(True)
File "F:\lostsky\lost-sky-project\Story of a Lost Sky\core_system\engine.py",
line 390, in save_menu
data_report = self.data_summary()
File "F:\lostsky\lost-sky-project\Story of a Lost Sky\core_system\engine.py",
line 1092, in data_summary
data_report.append(player_report(temp_player))
File "F:\lostsky\lost-sky-project\Story of a Lost Sky\core_system\engine.py",
line 1078, in player_report
comment = player.comment
AttributeError: 'PlayerData' object has no attribute 'comment'

F:\lostsky\lost-sky-project\Story of a Lost Sky>

Second one was when going to the "Can trees walk?" tutorial mission, just after pressing Z to enter the mission.

F:\lostsky\lost-sky-project\Story of a Lost Sky>python srpg.py
Loading options!
Loaded saved options!
Traceback (most recent call last):
File "srpg.py", line 101, in <module>
engine.title_screen()
File "F:\lostsky\lost-sky-project\Story of a Lost Sky\core_system\engine.py",
line 1484, in title_screen
self.launch_wm()
File "F:\lostsky\lost-sky-project\Story of a Lost Sky\core_system\engine.py",
line 1524, in launch_wm
self.worldmap.navigate_loop()
File "F:\lostsky\lost-sky-project\Story of a Lost Sky\worldmap_system\worldmap
.py", line 448, in navigate_loop
confirm_load = self.user_input()
File "F:\lostsky\lost-sky-project\Story of a Lost Sky\worldmap_system\worldmap
.py", line 400, in user_input
confirm_load = self.all_regions[tuple(self.player_pos)].navigate_loop(incomi
ng_direction=self.last_move)
File "F:\lostsky\lost-sky-project\Story of a Lost Sky\worldmap_system\worldmap
.py", line 1100, in navigate_loop
input_flag = self.user_input()
File "F:\lostsky\lost-sky-project\Story of a Lost Sky\worldmap_system\worldmap
.py", line 1057, in user_input
exit_flag = self.all_locations[tuple(self.player_pos)].menu_loop()
File "F:\lostsky\lost-sky-project\Story of a Lost Sky\worldmap_system\worldmap
.py", line 1274, in menu_loop
if self.region.engine.options.auto_save:
AttributeError: 'Options' object has no attribute 'auto_save'

F:\lostsky\lost-sky-project\Story of a Lost Sky>

Comments (3)

  1. Rune Devros repo owner

    Backwards compatibility was broken when I changed the save format / options format. Deleting options.dat and your save files should fix it. >_<

  2. Log in to comment