Here is the traceback:
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00action_file.rpy", line 357, in __call__
renpy.save(fn, extra_info=save_name)
PicklingError: Can't pickle <class 'store.boardClass'>: it's not the same object as store.boardClass
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "renpy/common/_layout/screen_load_save.rpym", line 35, in script
$ ui.interact()
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/ast.py", line 805, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/python.py", line 1641, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/_layout/screen_load_save.rpym", line 35, in <module>
$ ui.interact()
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/ui.py", line 278, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/core.py", line 2496, in interact
repeat, rv = self.interact_core(preloads=preloads, **kwargs)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/core.py", line 3172, in interact_core
rv = root_widget.event(ev, x, y, 0)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/layout.py", line 928, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/layout.py", line 928, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/layout.py", line 928, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/screen.py", line 646, in event
rv = self.child.event(ev, x, y, st)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/layout.py", line 928, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/layout.py", line 204, in event
rv = d.event(ev, x - xo, y - yo, st)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/layout.py", line 928, in event
rv = i.event(ev, x - xo, y - yo, cst)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/layout.py", line 204, in event
rv = d.event(ev, x - xo, y - yo, st)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/behavior.py", line 868, in event
return handle_click(self.clicked)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/behavior.py", line 803, in handle_click
rv = run(action)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/display/behavior.py", line 302, in run
return action(*args, **kwargs)
File "renpy/common/00action_file.rpy", line 357, in __call__
renpy.save(fn, extra_info=save_name)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/loadsave.py", line 281, in save
dump((roots, renpy.game.log), logf)
File "/home/lilsage/Plocha/renpy-6.99.11-sdk/renpy/loadsave.py", line 43, in dump
cPickle.dump(o, f, cPickle.HIGHEST_PROTOCOL)
PicklingError: Can't pickle <class 'store.boardClass'>: it's not the same object as store.boardClass
Linux-3.13.0-24-generic-i686-with-debian-jessie-sid
Ren'Py 6.99.11.1749
Cyan Code Mirage 0.0
Code: Select all
class boardClass():
def __init__(self):
## General Info
self.name = ""
self.gfxfile = None
self.gfxover = None
self.length = 0
self.offsetX = 0
self.offsetY = 0
## Individual Field Info
self.field = [Fields() for i in range(0, max_fields)]
## How the field looks like
self.fldEnv = [VisualField() for i in range(0, max_fields)]
## List of NPCs that are currently on the field
self.fldNpc = [NpcField() for i in range (0, max_fields)]
## List of items that can be picked on the field
self.fldItem = [ItemField() for i in range (0, max_fields)]
Code: Select all
# The game starts here.
label start:
$ diceGameStage = [boardClass() for i in range(0, max_stages + 1)]
I am grateful for any help I can get!