Fixed this using the attached event_handler.rpy doc. Save it to /game/scripts (replace the one there), and delete the corresponding event_handler.rpyc file.got a Problem with Ain Szene: Game Breaks there.....
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/scripts/day11.rpy", line 212, in script call
call screen ivy_comp
File "game/scripts/day11.rpy", line 212, in script call
call screen ivy_comp
File "game/scripts/day11.rpy", line 212, in script call
call screen ivy_comp
[Previous line repeated 9 more times]
File "game/scripts/home.rpy", line 150, in script call
call screen nav_menu
File "game/scripts/radio.rpy", line 31, in script call
call screen bunker_radio
File "game/scripts/radio.rpy", line 31, in script call
call screen bunker_radio
File "game/scripts/radio.rpy", line 31, in script call
call screen bunker_radio
File "game/scripts/home.rpy", line 150, in script
call screen nav_menu
ScriptError: could not find label 'visit_ain'.
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "D:\DesertStalker-0.18.0-pc\renpy\bootstrap.py", line 359, in bootstrap
renpy.main.main()
File "D:\DesertStalker-0.18.0-pc\renpy\main.py", line 652, in main
run(restart)
File "D:\DesertStalker-0.18.0-pc\renpy\main.py", line 148, in run
renpy.execution.run_context(True)
File "D:\DesertStalker-0.18.0-pc\renpy\execution.py", line 958, in run_context
context.run()
File "game/scripts/day11.rpy", line 212, in script call
call screen ivy_comp
File "game/scripts/day11.rpy", line 212, in script call
call screen ivy_comp
File "game/scripts/day11.rpy", line 212, in script call
call screen ivy_comp
[Previous line repeated 9 more times]
File "game/scripts/home.rpy", line 150, in script call
call screen nav_menu
File "game/scripts/radio.rpy", line 31, in script call
call screen bunker_radio
File "game/scripts/radio.rpy", line 31, in script call
call screen bunker_radio
File "game/scripts/radio.rpy", line 31, in script call
call screen bunker_radio
File "game/scripts/home.rpy", line 150, in script
call screen nav_menu
File "D:\DesertStalker-0.18.0-pc\renpy\script.py", line 1103, in lookup
raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'visit_ain'.
Windows-10-10.0.22631 AMD64
Ren'Py 8.3.4.24120703
Desert Stalker 0.18.0
Tue Apr 15 19:35:44 2025
Solution:
These 3 definitions had labels called "visit_ain" that don't lead anywhere. They need to link to the convis_ain.rpy, and day9.rpy labels accordingly:
Code:
define ev_ain_conversation_1 = EventHandler(
name = "Ain conversation #1 (talk about Shani)",
parent = 'bedrooms',
location = 'ain_bedroom',
condition = 'm_d4b == True and daily_ain == False and ain_basement == False and m_d5g == True and ain_talk_1 == False',
label = 'a_convi_1',
completed = 'ain_talk_1'
)
define ev_d9b = EventHandler(
name = "Date with Ain (d9b)",
parent = 'bedrooms',
location = 'ain_bedroom',
condition = 'm_d4b == True and daily_ain == False and ain_basement == False and m_d5g == True and ain_talk_1 == True and m_d9b == False',
label = 'd9b',
completed = 'm_d9b'
)
define ev_ain_conversation_2 = EventHandler(
name = "Ain conversation #2",
parent = 'bedrooms',
location = 'ain_bedroom',
condition = 'm_d4b == True and daily_ain == False and ain_basement == False and m_d5g == True and ain_talk_2 == False',
label = 'a_convi_2',
important = False,
completed = 'ain_talk_2'
)