Ren'Py I got this bug when i'm playing,can anyone help me?

sasss123456

New Member
Jul 20, 2024
3
0
Code:
I'm sorry, but an uncaught exception occurred.



While loading <renpy.display.im.Image object ('gui/adventuring/tray_mana_regen.png') at 0x0000000024316820>:

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

[Previous line repeated 1 more time]

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2386, in script

$ adventure.battle.bot_use_ability(ability=ability, targets=targets, party=target_party, boost=boost)

File "game/scripts/adventuring/battle.rpy", line 2386, in <module>

$ adventure.battle.bot_use_ability(ability=ability, targets=targets, party=target_party, boost=boost)

File "game/scripts/adventuring/battle.rpy", line 982, in bot_use_ability

self.render_monster_attack(ability, targets, ability.visual_effect, party, ability.animation_name, ability.aoe_visual_effect, None, ability.overlays, is_hit, targets_hit, ability.visual_flash)

File "game/scripts/adventuring/battle.rpy", line 1251, in render_monster_attack

self.render_target_effects(target, target_party, ability, graphical_effect, aoe_visual_effect, None, screen_overlays, is_hit, targets_hit, visual_flash)

File "game/scripts/adventuring/battle.rpy", line 1221, in render_target_effects

renpy.with_statement(hpunch_light)

OSError: Couldn't find file 'gui/adventuring/tray_mana_regen.png'.



-- Full Traceback ------------------------------------------------------------



Full traceback:

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

[Previous line repeated 1 more time]

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2386, in script

$ adventure.battle.bot_use_ability(ability=ability, targets=targets, party=target_party, boost=boost)
 

Count Morado

Conversation Conqueror
Respected User
Jan 21, 2022
7,802
14,713
Code:
I'm sorry, but an uncaught exception occurred.



While loading <renpy.display.im.Image object ('gui/adventuring/tray_mana_regen.png') at 0x0000000024316820>:

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

[Previous line repeated 1 more time]

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2386, in script

$ adventure.battle.bot_use_ability(ability=ability, targets=targets, party=target_party, boost=boost)

File "game/scripts/adventuring/battle.rpy", line 2386, in <module>

$ adventure.battle.bot_use_ability(ability=ability, targets=targets, party=target_party, boost=boost)

File "game/scripts/adventuring/battle.rpy", line 982, in bot_use_ability

self.render_monster_attack(ability, targets, ability.visual_effect, party, ability.animation_name, ability.aoe_visual_effect, None, ability.overlays, is_hit, targets_hit, ability.visual_flash)

File "game/scripts/adventuring/battle.rpy", line 1251, in render_monster_attack

self.render_target_effects(target, target_party, ability, graphical_effect, aoe_visual_effect, None, screen_overlays, is_hit, targets_hit, visual_flash)

File "game/scripts/adventuring/battle.rpy", line 1221, in render_target_effects

renpy.with_statement(hpunch_light)

OSError: Couldn't find file 'gui/adventuring/tray_mana_regen.png'.



-- Full Traceback ------------------------------------------------------------



Full traceback:

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

[Previous line repeated 1 more time]

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2386, in script

$ adventure.battle.bot_use_ability(ability=ability, targets=targets, party=target_party, boost=boost)
You should ask this question in the thread of the game you are trying to play.
 

Winterfire

Forum Fanatic
Respected User
Game Developer
Sep 27, 2018
5,317
7,730
Excluding the possibility that the dev fucked up, some general tips are: Make sure you didn't delete or corrupt any files by mistake, unzip before playing, and make sure the path to your game is simple (so A-Z 0-9), you can test that quickly by putting your games on C:/Games

Other than that, yes, simply post in the game's thread.
 
  • Like
Reactions: anne O'nymous

Penumbral Evanescence

|☽◯☾| Somnium of the Night ✧ Bête Noire
Donor
Jul 16, 2021
1,556
3,878
Code:
I'm sorry, but an uncaught exception occurred.



While loading <renpy.display.im.Image object ('gui/adventuring/tray_mana_regen.png') at 0x0000000024316820>:

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

[Previous line repeated 1 more time]

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2386, in script

$ adventure.battle.bot_use_ability(ability=ability, targets=targets, party=target_party, boost=boost)

File "game/scripts/adventuring/battle.rpy", line 2386, in <module>

$ adventure.battle.bot_use_ability(ability=ability, targets=targets, party=target_party, boost=boost)

File "game/scripts/adventuring/battle.rpy", line 982, in bot_use_ability

self.render_monster_attack(ability, targets, ability.visual_effect, party, ability.animation_name, ability.aoe_visual_effect, None, ability.overlays, is_hit, targets_hit, ability.visual_flash)

File "game/scripts/adventuring/battle.rpy", line 1251, in render_monster_attack

self.render_target_effects(target, target_party, ability, graphical_effect, aoe_visual_effect, None, screen_overlays, is_hit, targets_hit, visual_flash)

File "game/scripts/adventuring/battle.rpy", line 1221, in render_target_effects

renpy.with_statement(hpunch_light)

OSError: Couldn't find file 'gui/adventuring/tray_mana_regen.png'.



-- Full Traceback ------------------------------------------------------------



Full traceback:

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

[Previous line repeated 1 more time]

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2250, in script call

call screen adventure_screen(adventure)

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2247, in script call

$ adventure.battle.next_unit_turn_start()

File "game/scripts/adventuring/battle.rpy", line 2386, in script

$ adventure.battle.bot_use_ability(ability=ability, targets=targets, party=target_party, boost=boost)
sasss123456

Just me thinking out loud here, but in addition to what Winterfire suggested, it could also be missing assets or images which is why some rendered scenes/scripts are failing to load because of missing objects as per the full traceback error capture log.

You may have unpacked the game incorrectly perhaps and some core game asset files are missing as a result. Best to just position this question in the game's thread itself.

You can also search the game thread yourself to see if anyone has experienced a similar problem.

A.) Navigate to the page of the game in question that you were playing

B.) Search bar at the top right of the game thread
1724895058175.png


C.) Input a search term like the following. Or just "uncaught exception" and see if other users have reported a similar problem as you had experienced
1724894934798.png