Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

CHI Project

Sci-fi fantasy visual novel, turn-based RPG, and murder mystery -- all in one! · By Caspore

BUG REPORTS Sticky

A topic by Caspore created Jul 31, 2024 Views: 153 Replies: 13
Viewing posts 1 to 3
Developer

If you find a bug, please screenshot and report it! 

(1 edit)

Hi! This is coming from the Steam demo, but hopefully it'll still be useful! (Happened when Skylar used a skill against me)


I'm sorry, but an uncaught exception occurred.
While running game code:
  File "game/script.rpy", line 572, in script call
    call ironFistChapter1 from _call_ironFistChapter1
  File "game/script_ironFist.rpy", line 127, in script call
    call natSkyFight from _call_natSkyFight
  File "game/scripts/other/setup.rpy", line 30, in script call
    call battle pass (fixedset = 'skylarTestA', battle_music ="Phonon", jumpNext = "skyCodyFight", preambleScreen = "natSkyFight", retry = False) from _call_battle
  File "game/scripts/battle/battle.rpy", line 666, in script
    $ monsterTurns()
  File "game/scripts/battle/battle.rpy", line 666, in <module>
    $ monsterTurns()
  File "game/scripts/define/battle_monsters.rpy", line 92, in monsterTurns
    monsterAtk(m, t)
  File "game/scripts/define/battle_monsters.rpy", line 423, in monsterAtk
    monsterDmg(m, p)
  File "game/scripts/define/battle_monsters.rpy", line 657, in monsterDmg
    if dialogue == "skyVnat":
NameError: name 'dialogue' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
  File "game/script.rpy", line 572, in script call
    call ironFistChapter1 from _call_ironFistChapter1
  File "game/script_ironFist.rpy", line 127, in script call
    call natSkyFight from _call_natSkyFight
  File "game/scripts/other/setup.rpy", line 30, in script call
    call battle pass (fixedset = 'skylarTestA', battle_music ="Phonon", jumpNext = "skyCodyFight", preambleScreen = "natSkyFight", retry = False) from _call_battle
  File "game/scripts/battle/battle.rpy", line 666, in script
    $ monsterTurns()
  File "E:\SteamLibrary\steamapps\common\CHI Project Demo\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\SteamLibrary\steamapps\common\CHI Project Demo\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/scripts/battle/battle.rpy", line 666, in <module>
    $ monsterTurns()
  File "game/scripts/define/battle_monsters.rpy", line 92, in monsterTurns
    monsterAtk(m, t)
  File "game/scripts/define/battle_monsters.rpy", line 423, in monsterAtk
    monsterDmg(m, p)
  File "game/scripts/define/battle_monsters.rpy", line 657, in monsterDmg
    if dialogue == "skyVnat":
NameError: name 'dialogue' is not defined
Windows-10-10.0.19045 AMD64
Ren'Py 8.2.3.24061702
CHI Project 2.0
Mon Dec 16 20:14:09 2024
Developer

thank you! the steam demo has been updated accordingly!

Thank you! I kept playing and got quite far, but hit another error when fighting blue and yellow (can't remember what triggered it this time, sorry)

I'm sorry, but an uncaught exception occurred.
While running game code:
  File "game/script.rpy", line 572, in script call
    call ironFistChapter1 from _call_ironFistChapter1
  File "game/script_ironFist.rpy", line 924, in script call
    $ mapTransition()
  File "game/script_ironFist.rpy", line 1190, in script call
    $ mapTransition()
  File "game/script_ironFist2.rpy", line 158, in script call
    $ phoneTransition()
  File "game/script_ironFist2.rpy", line 257, in script call
    call blueYellowFight from _call_blueYellowFight
  File "game/scripts/other/setup.rpy", line 117, in script call
    call battle pass (fixedset = 'blueyellow', party_list = party_list, skipEnd = False, battle_music ="An Unwavering Will", preambleScreen="blueYellowFight") from _call_battle
  File "game/scripts/battle/battle.rpy", line 663, in script call
    call turn_actions from _call_turn_actions
  File "game/scripts/battle/player_actions.rpy", line 22, in script
    $ endTurn()
  File "game/scripts/battle/player_actions.rpy", line 22, in <module>
    $ endTurn()
  File "game/scripts/define/battle_def.rpy", line 597, in endTurn
    audienceChk(currentplayer)
  File "game/scripts/define/battle_def.rpy", line 986, in audienceChk
    pickevi = evi[p.clues]
IndexError: list index out of range
-- Full Traceback ------------------------------------------------------------
Full traceback:
  File "game/script.rpy", line 572, in script call
    call ironFistChapter1 from _call_ironFistChapter1
  File "game/script_ironFist.rpy", line 924, in script call
    $ mapTransition()
  File "game/script_ironFist.rpy", line 1190, in script call
    $ mapTransition()
  File "game/script_ironFist2.rpy", line 158, in script call
    $ phoneTransition()
  File "game/script_ironFist2.rpy", line 257, in script call
    call blueYellowFight from _call_blueYellowFight
  File "game/scripts/other/setup.rpy", line 117, in script call
    call battle pass (fixedset = 'blueyellow', party_list = party_list, skipEnd = False, battle_music ="An Unwavering Will", preambleScreen="blueYellowFight") from _call_battle
  File "game/scripts/battle/battle.rpy", line 663, in script call
    call turn_actions from _call_turn_actions
  File "game/scripts/battle/player_actions.rpy", line 22, in script
    $ endTurn()
  File "E:\SteamLibrary\steamapps\common\CHI Project Demo\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\SteamLibrary\steamapps\common\CHI Project Demo\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/scripts/battle/player_actions.rpy", line 22, in <module>
    $ endTurn()
  File "game/scripts/define/battle_def.rpy", line 597, in endTurn
    audienceChk(currentplayer)
  File "game/scripts/define/battle_def.rpy", line 986, in audienceChk
    pickevi = evi[p.clues]
  File "E:\SteamLibrary\steamapps\common\CHI Project Demo\renpy\revertable.py", line 221, in __getitem__
    rv = list.__getitem__(self, index)
IndexError: list index out of range
Windows-10-10.0.19045 AMD64
Ren'Py 8.2.3.24061702
CHI Project 2.0
Tue Dec 17 21:45:31 2024
Developer

oh this is embarrassing... ;-;
I (think) I've fixed this one now, sorry for the inconvenience!

(1 edit)

No worries, it's all part of game dev =P  Hope it's ok if I keep posting these (I'm really enjoying the demo, haha!)

This one happened when Cody used Heartbreaker, though I was able to choose ignore and continue. (Although now that I think about it, I loaded a save mid-battle, which maybe I shouldn't have...)  

I'm sorry, but an uncaught exception occurred.
While running game code:
  File "game/script.rpy", line 572, in script call
    call ironFistChapter1 from _call_ironFistChapter1
  File "game/script_ironFist.rpy", line 924, in script call
    $ mapTransition()
  File "game/script_ironFist.rpy", line 1190, in script call
    $ mapTransition()
  File "game/script_ironFist2.rpy", line 158, in script call
    $ phoneTransition()
  File "game/script_ironFist2.rpy", line 257, in script call
    call blueYellowFight from _call_blueYellowFight
  File "game/scripts/other/setup.rpy", line 117, in script call
    call battle pass (fixedset = 'blueyellow', party_list = party_list, skipEnd = False, battle_music ="An Unwavering Will", preambleScreen="blueYellowFight") from _call_battle
  File "game/scripts/battle/battle.rpy", line 663, in script call
    call turn_actions from _call_turn_actions
  File "game/scripts/battle/player_actions.rpy", line 22, in script
    $ endTurn()
  File "game/scripts/battle/player_actions.rpy", line 22, in <module>
    $ endTurn()
  File "game/scripts/define/battle_def.rpy", line 597, in endTurn
    audienceChk(currentplayer)
  File "game/scripts/define/battle_def.rpy", line 990, in audienceChk
    globalCards.append(pickevi)
UnboundLocalError: local variable 'pickevi' referenced before assignment
-- Full Traceback ------------------------------------------------------------
Full traceback:
  File "game/script.rpy", line 572, in script call
    call ironFistChapter1 from _call_ironFistChapter1
  File "game/script_ironFist.rpy", line 924, in script call
    $ mapTransition()
  File "game/script_ironFist.rpy", line 1190, in script call
    $ mapTransition()
  File "game/script_ironFist2.rpy", line 158, in script call
    $ phoneTransition()
  File "game/script_ironFist2.rpy", line 257, in script call
    call blueYellowFight from _call_blueYellowFight
  File "game/scripts/other/setup.rpy", line 117, in script call
    call battle pass (fixedset = 'blueyellow', party_list = party_list, skipEnd = False, battle_music ="An Unwavering Will", preambleScreen="blueYellowFight") from _call_battle
  File "game/scripts/battle/battle.rpy", line 663, in script call
    call turn_actions from _call_turn_actions
  File "game/scripts/battle/player_actions.rpy", line 22, in script
    $ endTurn()
  File "E:\SteamLibrary\steamapps\common\CHI Project Demo\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "E:\SteamLibrary\steamapps\common\CHI Project Demo\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/scripts/battle/player_actions.rpy", line 22, in <module>
    $ endTurn()
  File "game/scripts/define/battle_def.rpy", line 597, in endTurn
    audienceChk(currentplayer)
  File "game/scripts/define/battle_def.rpy", line 990, in audienceChk
    globalCards.append(pickevi)
UnboundLocalError: local variable 'pickevi' referenced before assignment
Windows-10-10.0.19045 AMD64
Ren'Py 8.2.3.24061702
CHI Project 2.0
Wed Dec 18 17:29:15 2024
Developer

alright, I think I fixed this new one!

as for saving mid-battle, it's a little finicky. It's more stable if you save during your turn, without any animations running, but it's not a guarantee.

Thanks! I just finished the demo without other issues =)

Developer

phew...

(3 edits)

this happens constantly, esp with blue and yellow's fight (also not sure if its intended to end after yellows defeated but blues not)

While running game code:
  File "game/script.rpy", line 578, in script call
    call ironFistChapter1 from _call_ironFistChapter1
  File "game/script_ironFist.rpy", line 924, in script call
    $ mapTransition()
  File "game/script_ironFist.rpy", line 1189, in script call
    $ mapTransition()
  File "game/script_ironFist2.rpy", line 166, in script call
    $ phoneTransition()
  File "game/script_ironFist2.rpy", line 175, in script call
    $ mapTransition()
  File "game/script_sidequests.rpy", line 655, in script call
    $ mapTransition()
  File "game/script_ironFist2.rpy", line 265, in script call
    call blueYellowFight from _call_blueYellowFight
  File "game/scripts/other/setup.rpy", line 132, in script call
    call battle pass (fixedset = 'blueyellow', party_list = party_list, skipEnd = False, battle_music ="SWITCHEROO!", preambleScreen="blueYellowFight") from _call_battle
  File "game/scripts/battle/battle.rpy", line 634, in script call
    call turn_actions from _call_turn_actions
  File "game/scripts/battle/player_actions.rpy", line 22, in script
    $ endTurn()
  File "game/scripts/battle/player_actions.rpy", line 22, in <module>
    $ endTurn()
  File "game/scripts/define/battle_def.rpy", line 507, in endTurn
    audienceChk(currentplayer)
  File "game/scripts/define/items_def.rpy", line 306, in audienceChk
    if s.trigger == "Assign Decoy":
AttributeError: 'Monster' object has no attribute 'trigger'
-- Full Traceback ------------------------------------------------------------
Full traceback:
  File "game/script.rpy", line 578, in script call
    call ironFistChapter1 from _call_ironFistChapter1
  File "game/script_ironFist.rpy", line 924, in script call
    $ mapTransition()
  File "game/script_ironFist.rpy", line 1189, in script call
    $ mapTransition()
  File "game/script_ironFist2.rpy", line 166, in script call
    $ phoneTransition()
  File "game/script_ironFist2.rpy", line 175, in script call
    $ mapTransition()
  File "game/script_sidequests.rpy", line 655, in script call
    $ mapTransition()
  File "game/script_ironFist2.rpy", line 265, in script call
    call blueYellowFight from _call_blueYellowFight
  File "game/scripts/other/setup.rpy", line 132, in script call
    call battle pass (fixedset = 'blueyellow', party_list = party_list, skipEnd = False, battle_music ="SWITCHEROO!", preambleScreen="blueYellowFight") from _call_battle
  File "game/scripts/battle/battle.rpy", line 634, in script call
    call turn_actions from _call_turn_actions
  File "game/scripts/battle/player_actions.rpy", line 22, in script
    $ endTurn()
  File "C:\Personal\Games\chiproject-2.0-pc\chiproject-2.0-pc\renpy\ast.py", line 823, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Personal\Games\chiproject-2.0-pc\chiproject-2.0-pc\renpy\python.py", line 1178, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/scripts/battle/player_actions.rpy", line 22, in <module>
    $ endTurn()
  File "game/scripts/define/battle_def.rpy", line 507, in endTurn
    audienceChk(currentplayer)
  File "game/scripts/define/items_def.rpy", line 306, in audienceChk
    if s.trigger == "Assign Decoy":
AttributeError: 'Monster' object has no attribute 'trigger'
Windows-10-10.0.19045 AMD64
Ren'Py 8.2.3.24061702
CHI Project 2.0
Mon Oct 27 19:14:18 2025


also while prompted for the first clue, if you don't guess skylar correctly twice (aka end up on skylar's turn), you won't be able to progress...i think

Developer (1 edit)

Oh! I think this is an issue related to older saves. I made an overhaul to the Crowd Favor system back in June that caused problems. I had thought I made a retroactive fix, but results have been inconsistent. Can you tell me when you last downloaded the game?

As for Yellow's defeat ending the battle, that is intentional. Blue is coded as a "summon" of sorts.

Can you elaborate on what you mean by "unable to progress" for the Ruruka fight? The clue shouldn't disappear until it succeeds.

the clue appears, but i guessed the clue should be used on the wrong person twice, when skylar's turn came on, the clue just won't work when selected on, neither any of the menu options.
from what my properties tells me, 30th september.

Developer

hi, sorry for the late response, but I just released a new update for the game, hopefully it should also fix some of these issues!

(1 edit)

Oh, and the second chapter, I'll check it out!