Crash on menu navigation during battle

Create issue
Issue #19 resolved
Jesse Kaukonen created an issue

Er, what? I pressed some key combination similar to ctrl + down key and the game closed. Might be some Windows fast key, or something in pygame. I don't think it was a crash. It was some weird Windows thingy. The combination might have been Z + down. Here are some logs from the command promt. Happened during navigating in some menu in Lost Lantern. I Didn't manage to replicate it.

Youmu does 32 damage! Youmu uses 6 Realms Sword - Ageless Obsession to attack Walking Tree A Youmu got EXP: 33 Saving Player Data! Starting dump of player data Starting dump of event data Saved Player Data! Saving Player Data! Starting dump of player data Starting dump of event data Saved Player Data! Marisa joined your party! Marisa uses Love Sign - Master Spark to attack Walking Tree B Marisa got EXP: 18 Youmu hits Walking Tree A Critical hit! Youmu does 27 damage! Youmu uses Danmaku - Dagger Throw to attack Walking Tree A Walking Tree A uses Danmaku - Leaf Crystal to counterattack Youmu Walking Tree A hits Youmu Walking Tree A does 11 damage! Youmu got EXP: 13 Youmu level up. Walking Tree A got EXP: 10 Marisa hits Walking Tree A Marisa does 13 damage! Marisa uses Danmaku - Fireball to attack Walking Tree A Marisa got EXP: 33 Youmu hits Walking Tree C Youmu does 18 damage! Youmu uses Danmaku - Dagger Throw to attack Walking Tree C Walking Tree C uses Danmaku - Leaf Crystal to counterattack Youmu Walking Tree C hits Youmu Walking Tree C does 11 damage! Youmu got EXP: 10 Walking Tree C got EXP: 10 Walking Tree C hits Youmu Walking Tree C does 11 damage! Walking Tree C uses Danmaku - Leaf Crystal to attack Youmu Youmu uses Danmaku - Dagger Throw to counterattack Walking Tree C Youmu hits Walking Tree C Youmu does 18 damage! Walking Tree C got EXP: 0 Youmu got EXP: 25 Youmu hits Walking Tree D Youmu does 18 damage! Youmu uses Danmaku - Dagger Throw to attack Walking Tree D Walking Tree D uses Danmaku - Leaf Crystal to counterattack Youmu Walking Tree D hits Youmu Walking Tree D does 11 damage! Youmu got EXP: 10 Walking Tree D got EXP: 10 Walking Tree D hits Youmu Walking Tree D does 11 damage! Walking Tree D uses Danmaku - Leaf Crystal to attack Youmu Youmu uses Danmaku - Dagger Throw to counterattack Walking Tree D Youmu hits Walking Tree D Youmu does 18 damage! Walking Tree D got EXP: 0 Youmu got EXP: 25 Youmu hits Fairy D Youmu does 19 damage! Youmu uses Danmaku - Dagger Throw to attack Fairy D Fairy D uses Danmaku - Fireball to counterattack Youmu Fairy D hits Youmu Fairy D does 12 damage! Youmu got EXP: 10 Fairy D got EXP: 10 Fairy D hits Youmu Fairy D does 12 damage! Fairy D uses Danmaku - Fireball to attack Youmu Youmu uses Danmaku - Dagger Throw to counterattack Fairy D Youmu hits Fairy D Youmu does 18 damage! Fairy D got EXP: 0 Youmu got EXP: 25 Youmu level up. Miss! Marisa uses Love Sign - Master Spark to attack Kodama Lord Marisa got EXP: 4 Youmu hits Kodama Lord Youmu does 29 damage! Youmu uses 6 Realms Sword - Ageless Obsession to attack Kodama Lord Kodama Lord uses Danmaku - Leaf Crystal to counterattack Youmu Kodama Lord hits Youmu Kodama Lord does 14 damage! Youmu got EXP: 10 Kodama Lord got EXP: 10 Fairy C hits Youmu Fairy C does 9 damage! Fairy C uses Danmaku - Fireball to attack Youmu Fairy C got EXP: 13 Kodama Lord hits Youmu Kodama Lord does 14 damage! Kodama Lord uses Danmaku - Leaf Crystal to attack Youmu Kodama Lord got EXP: 50 Ran hits Kodama Lord Ran does 6 damage! Ran uses Danmaku - Fireball to attack Kodama Lord Kodama Lord uses Danmaku - Leaf Crystal to counterattack Ran Miss! Ran got EXP: 10 Kodama Lord got EXP: 2 Marisa hits Kodama Lord Marisa does 8 damage! Marisa uses Danmaku - Fireball to attack Kodama Lord Kodama Lord uses Danmaku - Leaf Crystal to counterattack Marisa Kodama Lord hits Marisa Critical hit! Kodama Lord does 18 damage! Marisa got EXP: 17 Kodama Lord got EXP: 5 Chen hits Kodama Lord Chen does 2 damage! Chen uses Danmaku - Leaf Crystal to attack Kodama Lord Kodama Lord uses Danmaku - Leaf Crystal to counterattack Chen Kodama Lord hits Chen Kodama Lord does 11 damage! Chen got EXP: 17 Kodama Lord got EXP: 5 Fairy C hits Ran Fairy C does 11 damage! Fairy C uses Danmaku - Fireball to attack Ran Ran uses Danmaku - Fireball to counterattack Fairy C Ran hits Fairy C Ran does 14 damage! Fairy C got EXP: 13 Ran got EXP: 7 Kodama Lord hits Ran Kodama Lord does 14 damage! Kodama Lord uses Danmaku - Leaf Crystal to attack Ran Ran uses Danmaku - Fireball to counterattack Kodama Lord Ran hits Kodama Lord Ran does 6 damage! Kodama Lord got EXP: 10 Ran got EXP: 10 Marisa hits Kodama Lord Marisa does 8 damage! Marisa uses Danmaku - Fireball to attack Kodama Lord Kodama Lord uses Danmaku - Leaf Crystal to counterattack Marisa Miss! Marisa got EXP: 17 Kodama Lord got EXP: 1 Miss! Chen uses Danmaku - Leaf Crystal to attack Kodama Lord Kodama Lord uses Danmaku - Leaf Crystal to counterattack Chen Kodama Lord hits Chen Kodama Lord does 11 damage! Chen got EXP: 4 Kodama Lord got EXP: 5 Ran hits Kodama Lord Ran does 6 damage! Ran uses Danmaku - Fireball to attack Kodama Lord Ran got EXP: 50 Adding spell action to inventory: Bread Roll Adding treasure to inventory. Id string: synth_fire Saving Player Data! Starting dump of player data Starting dump of event data Saved Player Data! Firefly B hits Youmu Firefly B does 8 damage! Firefly B uses Danmaku - Fireball to attack Youmu Firefly B got EXP: 10 Chen hits Firefly B Critical hit! Chen does 3 damage! Chen uses Danmaku - Leaf Crystal to attack Firefly B Firefly B uses Danmaku - Fireball to counterattack Chen Miss! Chen got EXP: 17 Firefly B got EXP: 1 Ran hits Firefly B Ran does 8 damage! Ran uses Danmaku - Fireball to attack Firefly B Firefly B uses Danmaku - Fireball to counterattack Ran Miss! Ran got EXP: 10 Ran level up. Firefly B got EXP: 3 Marisa hits Firefly B Marisa does 10 damage! Marisa uses Danmaku - Fireball to attack Firefly B Firefly B uses Danmaku - Fireball to counterattack Marisa Firefly B hits Marisa Firefly B does 7 damage! Marisa got EXP: 17 Marisa level up. Firefly B got EXP: 7 Miss! Firefly B uses Danmaku - Fireball to attack Marisa Marisa uses Danmaku - Fireball to counterattack Firefly B Marisa hits Firefly B Marisa does 10 damage! Firefly B got EXP: 0 Marisa got EXP: 33 Marisa hits Firefly A Marisa does 10 damage! Marisa uses Danmaku - Fireball to attack Firefly A Firefly A uses Danmaku - Fireball to counterattack Marisa Firefly A hits Marisa Firefly A does 7 damage! Marisa got EXP: 13 Firefly A got EXP: 7 Firefly A hits Marisa Firefly A does 7 damage! Firefly A uses Danmaku - Fireball to attack Marisa Marisa uses Danmaku - Fireball to counterattack Firefly A Marisa hits Firefly A Marisa does 10 damage! Firefly A got EXP: 7 Marisa got EXP: 13 Marisa hits Firefly A Marisa does 10 damage! Marisa uses Danmaku - Fireball to attack Firefly A Marisa got EXP: 33 Traceback (most recent call last): File "srpg.py", line 87, in <module> engine.title_screen() File "F:\lostsky\lost-sky-project\Story of a Lost Sky\core_system\engine.py", line 1435, in title_screen self.launch_wm() File "F:\lostsky\lost-sky-project\Story of a Lost Sky\core_system\engine.py", line 1475, 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 1099, in navigate_loop input_flag = self.user_input() File "F:\lostsky\lost-sky-project\Story of a Lost Sky\worldmap_system\worldmap .py", line 1056, 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 1270, in menu_loop self.all_events[menu_pos].execute() File "F:\lostsky\lost-sky-project\Story of a Lost Sky\worldmap_system\worldmap .py", line 1508, in execute battle_result = self.map.turn_loop() File "F:\lostsky\lost-sky-project\Story of a Lost Sky\battle_system\mapobj.py" , line 1285, in turn_loop self.user_input() File "F:\lostsky\lost-sky-project\Story of a Lost Sky\battle_system\mapobj.py" , line 594, in user_input self.map_menu() File "F:\lostsky\lost-sky-project\Story of a Lost Sky\battle_system\mapobj.py" , line 760, in map_menu end_menu = self.unit_stats_loop() File "F:\lostsky\lost-sky-project\Story of a Lost Sky\battle_system\mapobj.py" , line 1580, in unit_stats_loop text_ally_units[i].append(self.engine.sfont.render("Active: "+self.team1[i+s hift_ally].spell_actions[self.team1[i+shift_ally].equipped].namesuffix,True,(0,0 ,0))) AttributeError: 'str' object has no attribute 'namesuffix'

Comments (1)

  1. Rune Devros repo owner

    Fixed this one up.

    Cause was attempting to load the Unit Stats menu with a player character who has no spell equippped (the combination must have selected it.) Unit Stats menu now loads properly.

  2. Log in to comment