[SOLVED]Strange problem with achievements
Posted: Tue Oct 10, 2017 5:01 am
Hi. I'm developing achievements in my game. When I started it all went smoothly, however when I began adding them to the game the players always get an error:
I don't get this error on my pc. I always delete "persistent" when adding achievements and told the players to do the same in their save folders. It works for me, it doesn't for them...
What am I doing wrong?
Code: Select all
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/main.rpy", line 1355, in script call
call events_run_period from _call_events_run_period
File "game/event_dispatcher.rpy", line 297, in script call
call expression _event from call_expression_event_1
File "game/main.rpy", line 1355, in script call
call events_run_period from _call_events_run_period
File "game/event_dispatcher.rpy", line 297, in script call
call expression _event from call_expression_event_1
File "game/main.rpy", line 1377, in script call
call events_run_period from _call_events_run_period_1
File "game/event_dispatcher.rpy", line 297, in script call
call expression _event from call_expression_event_1
File "game/main.rpy", line 1391, in script call
call events_run_period from _call_events_run_period_2
File "game/event_dispatcher.rpy", line 297, in script call
call expression _event from call_expression_event_1
File "game/main.rpy", line 1377, in script call
call events_run_period from _call_events_run_period_1
File "game/event_dispatcher.rpy", line 297, in script call
call expression _event from call_expression_event_1
File "game/main.rpy", line 1355, in script call
call events_run_period from _call_events_run_period
File "game/event_dispatcher.rpy", line 297, in script call
call expression _event from call_expression_event_1
File "game/main.rpy", line 1391, in script call
call events_run_period from _call_events_run_period_2
File "game/event_dispatcher.rpy", line 297, in script call
call expression _event from call_expression_event_1
File "game/main.rpy", line 1355, in script call
call events_run_period from _call_events_run_period
File "game/event_dispatcher.rpy", line 297, in script call
call expression _event from call_expression_event_1
File "game/kiko_1.rpy", line 903, in script
$ get_achievement("Kiko_Completed", trans=achievement_transform)
File "C:\Users\\Downloads\GAMES\General_Practitioner-0.0.5c-pc\General_Practitioner-0.0.5c-pc\renpy\ast.py", line 814, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\\Downloads\GAMES\General_Practitioner-0.0.5c-pc\General_Practitioner-0.0.5c-pc\renpy\python.py", line 1719, in py_exec_bytecode
exec bytecode in globals, locals
File "game/kiko_1.rpy", line 903, in <module>
$ get_achievement("Kiko_Completed", trans=achievement_transform)
File "game/achievement.rpy", line 66, in get_achievement
ach = persistent.achievements_dict[ach_id]
KeyError: u'KikoCompleted'
What am I doing wrong?