- Jan 13, 2018
- 1,537
- 6,756
I am creating a MOD for an AVN. I load the game into the SDK and then add my code. After making changes and testing, I launch it from the SDK and it works perfectly. When I do a fresh install of the AVN, add my MOD files and then run it natively, I get this message.
I am assuming this error is happening because the AVN is using Renpy 7.4 while my SDK is 8.4. I use this exact same code in other MODS and it works fine so I am not sure why it would suddenly throw this error unless it was a versioning error. Google was very limited with responses regarding 'StoreModule' and any associated errors.
Is this a correct assumption, or is there something I am missing.
I am assuming this error is happening because the AVN is using Renpy 7.4 while my SDK is 8.4. I use this exact same code in other MODS and it works fine so I am not sure why it would suddenly throw this error unless it was a versioning error. Google was very limited with responses regarding 'StoreModule' and any associated errors.
Is this a correct assumption, or is there something I am missing.
Code:
Full traceback:
File "renpy/common/00gamemenu.rpy", line 173, in script
$ ui.interact()
File "renpy/ast.py", line 928, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 2245, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/00gamemenu.rpy", line 173, in <module>
$ ui.interact()
File "renpy/ui.py", line 298, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 3325, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
File "renpy/display/core.py", line 3737, in interact_core
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "renpy/display/core.py", line 568, in visit_all
d.visit_all(callback, seen)
File "renpy/display/screen.py", line 436, in visit_all
callback(self)
File "renpy/display/core.py", line 3737, in <lambda>
root_widget.visit_all(lambda i : i.per_interact())
File "renpy/display/screen.py", line 447, in per_interact
self.update()
File "renpy/display/screen.py", line 637, in update
self.screen.function(**self.scope)
File "game/mod/gb_mod.rpy", line 239, in execute
screen aimeestats():
File "game/mod/gb_mod.rpy", line 239, in execute
screen aimeestats():
File "game/mod/gb_mod.rpy", line 259, in execute
vpgrid:
File "game/mod/gb_mod.rpy", line 264, in execute
vbox:
File "game/mod/gb_mod.rpy", line 268, in execute
fixed:
File "game/mod/gb_mod.rpy", line 270, in execute
bar value VariableValue("cn.aff", 100)
File "renpy/sl2/sldisplayables.py", line 252, in sl2bar
return renpy.display.behavior.Bar(range, value, width, height, vertical=False, **properties)
File "renpy/display/behavior.py", line 1847, in __init__
adjustment = value.get_adjustment()
File "renpy/common/00barvalues.rpy", line 283, in get_adjustment
value = getattr(self.object, self.field)
AttributeError: 'StoreModule' object has no attribute 'cn.aff'
While running game code:
File "renpy/common/00gamemenu.rpy", line 173, in script
$ ui.interact()
File "renpy/common/00gamemenu.rpy", line 173, in <module>
$ ui.interact()
File "game/mod/gb_mod.rpy", line 239, in execute
screen aimeestats():
File "game/mod/gb_mod.rpy", line 239, in execute
screen aimeestats():
File "game/mod/gb_mod.rpy", line 259, in execute
vpgrid:
File "game/mod/gb_mod.rpy", line 264, in execute
vbox:
File "game/mod/gb_mod.rpy", line 268, in execute
fixed:
File "game/mod/gb_mod.rpy", line 270, in execute
bar value VariableValue("cn.aff", 100)
File "renpy/common/00barvalues.rpy", line 283, in get_adjustment
value = getattr(self.object, self.field)
AttributeError: 'StoreModule' object has no attribute 'cn.aff
Linux-6.8.0-50-generic-x86_64-with-debian-trixie-sid
Ren'Py 7.4.11.2266
Mon Dec 16 19:21:56 2024'