Короче, игра багается, создать новую игру не получается. Скрин скидывать не буду, ибо чел с такой же проблемой уже есть снизу.
Viewing post in School Game / Sandbox, Simulator, RPG comments
Нет, после создания персонажа и скипа разъяснений, когда заканчивается заставка "в стиле голливудских боевиков", то игра выдаёт ошибку:
While running game code:
File "game/initializing_the_data.rpy", line 1332, in <module>
File "game/system/function_library.rpy", line 1721, in time1
NameError: name 'npc1' is not defined
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "initializing_the_data.rpyc", line 1332, in script
File "C:\Users\Thegu\OneDrive\Рабочий стол\School-0.941-win\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\Thegu\OneDrive\Рабочий стол\School-0.941-win\renpy\python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/initializing_the_data.rpy", line 1332, in <module>
File "C:\Users\Thegu\OneDrive\Рабочий стол\School-0.941-win\renpy\exports.py", line 1538, in pause
rv = renpy.ui.interact(mouse='pause', type='pause', roll_forward=roll_forward, pause=delay, pause_modal=modal)
File "C:\Users\Thegu\OneDrive\Рабочий стол\School-0.941-win\renpy\ui.py", line 299, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\Thegu\OneDrive\Рабочий стол\School-0.941-win\renpy\display\core.py", line 3377, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "C:\Users\Thegu\OneDrive\Рабочий стол\School-0.941-win\renpy\display\core.py", line 3663, in interact_core
self.compute_overlay()
File "C:\Users\Thegu\OneDrive\Рабочий стол\School-0.941-win\renpy\display\core.py", line 2959, in compute_overlay
i()
File "game/system/function_library.rpy", line 1721, in time1
File "C:\Users\Thegu\OneDrive\Рабочий стол\School-0.941-win\renpy\python.py", line 1092, in py_eval
return py_eval_bytecode(code, globals, locals)
File "C:\Users\Thegu\OneDrive\Рабочий стол\School-0.941-win\renpy\python.py", line 1085, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "<none>", line 1, in <module>
NameError: name 'npc1' is not defined
Windows-10-10.0.22621 AMD64
Ren'Py 8.0.3.22083102
School 0.941
Tue May 30 12:50:32 2023
А, ну и также сразу после создания персонажа происходит это:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/system/generator_randomized_npc.rpy", line 1366, in <module>
File "game/system/generator_randomized_npc.rpy", line 1258, in generate_npc
UnboundLocalError: local variable 'class_npc' referenced before assignment
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "system/generator_randomized_npc.rpyc", line 1362, in script
File "C:\Users\Thegu\OneDrive\Рабочий стол\School-0.941-win\renpy\ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\Thegu\OneDrive\Рабочий стол\School-0.941-win\renpy\python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "game/system/generator_randomized_npc.rpy", line 1366, in <module>
File "game/system/generator_randomized_npc.rpy", line 1258, in generate_npc
UnboundLocalError: local variable 'class_npc' referenced before assignment
Windows-10-10.0.22621 AMD64
Ren'Py 8.0.3.22083102
School 0.941
Tue May 30 12:55:00 2023