- Sep 27, 2018
- 270
- 376
So I found what seemed to be a fairly robust and slightly overkill event handler system at:
After spending two days transferring my game into this more powerful event system I have found that the code has a pickling error when you try to save the game.
I downloaded the original code, and sure enough, get far enough into the game and it does it in that too.
I believe it has something to do with a single call to a lambda function but I am not sure how easy it is to fix and have no clue about lexer parsing?
While running game code:
File "renpy/common/00action_file.rpy", line 372, in __call__
renpy.save(fn, extra_info=save_name)
PicklingError: Can't pickle <function <lambda> at 0x06C83030>: it's not found as store.<lambda>
The developer has notes in his game that suggests it could be much improved but has since abandoned it.
Hope a more experienced coder is interested enough to have a look?
You must be registered to see the links
After spending two days transferring my game into this more powerful event system I have found that the code has a pickling error when you try to save the game.
I downloaded the original code, and sure enough, get far enough into the game and it does it in that too.
I believe it has something to do with a single call to a lambda function but I am not sure how easy it is to fix and have no clue about lexer parsing?
While running game code:
File "renpy/common/00action_file.rpy", line 372, in __call__
renpy.save(fn, extra_info=save_name)
PicklingError: Can't pickle <function <lambda> at 0x06C83030>: it's not found as store.<lambda>
The developer has notes in his game that suggests it could be much improved but has since abandoned it.
Hope a more experienced coder is interested enough to have a look?