Cheat Mod Ren'Py Abandoned Vae Victis - Khan: Conquer, Ravish, Breed all version (CheatMod)[Sababukin]

Blackthrone

Newbie
Jun 4, 2017
18
5
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 192, in script
    python:
  File "renpy/common/00start.rpy", line 193, in <module>
    renpy.execute_default_statement(True)
  File "game/0GUI/say.rpy", line 168, in set_default
    default quick_menu = True
Exception: store.quick_menu is being given a default a second time.

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00start.rpy", line 192, in script
    python:
  File "renpy/ast.py", line 1131, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 1061, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00start.rpy", line 193, in <module>
    renpy.execute_default_statement(True)
  File "renpy/exports.py", line 3797, in execute_default_statement
    i.set_default(start)
  File "game/0GUI/say.rpy", line 168, in set_default
    default quick_menu = True
Exception: store.quick_menu is being given a default a second time.

Windows-8.1-6.3.9600 AMD64
Ren'Py 7.5.3.22090809
Khan 0.8.9
Fri Apr  7 22:28:35 2023

So... this popped up when i put it the way you said to... It happened when i ran the .exe
 

Sababukin

Member
Modder
Nov 4, 2022
126
821
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 192, in script
    python:
  File "renpy/common/00start.rpy", line 193, in <module>
    renpy.execute_default_statement(True)
  File "game/0GUI/say.rpy", line 168, in set_default
    default quick_menu = True
Exception: store.quick_menu is being given a default a second time.

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00start.rpy", line 192, in script
    python:
  File "renpy/ast.py", line 1131, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 1061, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00start.rpy", line 193, in <module>
    renpy.execute_default_statement(True)
  File "renpy/exports.py", line 3797, in execute_default_statement
    i.set_default(start)
  File "game/0GUI/say.rpy", line 168, in set_default
    default quick_menu = True
Exception: store.quick_menu is being given a default a second time.

Windows-8.1-6.3.9600 AMD64
Ren'Py 7.5.3.22090809
Khan 0.8.9
Fri Apr  7 22:28:35 2023

So... this popped up when i put it the way you said to... It happened when i ran the .exe
My bet is that you have duplicate files in the game folder.
It looks like you pasted say.rpy twice
I suggest you extract the game from the beginning, download the corrected version of the mod and extract it. Or locate the two files and delete one along with the .rpyc
 

TheSidewinder

Well-Known Member
Mar 31, 2020
1,600
2,886
My bet is that you have duplicate files in the game folder.
It looks like you pasted say.rpy twice
I suggest you extract the game from the beginning, download the corrected version of the mod and extract it. Or locate the two files and delete one along with the .rpyc
Opening the latest version of the mod shows both "game" and "SabMod" folders at the same directory level. First time I've seen a structure like that.
.
..
game
SabMod

Should the "Sabmod" folder be put in the game's root (./) folder? Or does it go in the ./game/ folder along with the contents of the "game" folder of your mod? Your install instructions don't mention that SabMod folder.
 

TheSidewinder

Well-Known Member
Mar 31, 2020
1,600
2,886
After some testing...

When you say "don't use the mod until you get to the map screen" do you mean don't even install it until that point?

EDIT: Got the mod install errors sorted, but the install instructions should really be more detailed, or the SabMod folder in the archive needs to go inside the mod's game folder. Then all that's needed is to drag the mod's "game" folder into the VN main folder.

For it to work, it has to end up like this:


Khan.png
 
Last edited:
  • Like
Reactions: MikeOG and xummu

Sababukin

Member
Modder
Nov 4, 2022
126
821
Opening the latest version of the mod shows both "game" and "SabMod" folders at the same directory level. First time I've seen a structure like that.
.
..
game
SabMod

Should the "Sabmod" folder be put in the game's root (./) folder? Or does it go in the ./game/ folder along with the contents of the "game" folder of your mod? Your install instructions don't mention that SabMod folder.
After some testing...

When you say "don't use the mod until you get to the map screen" do you mean don't even install it until that point?

EDIT: Got the mod install errors sorted, but the install instructions should really be more detailed, or the SabMod folder in the archive needs to go inside the mod's game folder. Then all that's needed is to drag the mod's "game" folder into the VN main folder.

For it to work, it has to end up like this:


View attachment 2531688
I have no idea what happened, despite the upload of the new version even just now I was still getting this version with the wrong folder location after downloading.

I had to rename the file to get the correct version to download.
The links have been replaced with new ones and checked.

Sorry for the problems.

As I was creating the mod and testing it in the prison I got an error about missing some variables, only after reaching the map everything worked, hence the information not to use it until reaching the map. However, it can be installed if you don't press the button in QM then nothing bad will happen.
 

LordGMLP

Newbie
May 15, 2017
69
95
@Sababukin

The troop number options don't seem to stick. They immediately reset once you attack or transfer troops to a conquered fiefdom (aka resetting to your max number of troops no matter how you divide between fiefdoms). The Territories stats only show the first 2 fiefdoms and not the rest once you conquer them. The only thing working well for me is increasing gold and PC stats. Not sure if I did anything wrong.
 

MQH

Newbie
Jan 28, 2018
29
14
I got this error after installing.
=====================================
I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 192, in script
python:
File "renpy/common/00start.rpy", line 193, in <module>
renpy.execute_default_statement(True)
File "game/0GUI/say.rpy", line 168, in set_default
default quick_menu = True
Exception: store.quick_menu is being given a default a second time.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "renpy/common/00start.rpy", line 192, in script
python:
File "renpy/ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/00start.rpy", line 193, in <module>
renpy.execute_default_statement(True)
File "renpy/exports.py", line 3797, in execute_default_statement
i.set_default(start)
File "game/0GUI/say.rpy", line 168, in set_default
default quick_menu = True
Exception: store.quick_menu is being given a default a second time.
========================================================================

I looked through the error log and found a fix.
Open the 0GUI/say.rpy in the mod and search default quick_menu = True, comment this line with a # at the begining.
It worked so far if I encounter any more errors I will post an update.
 
  • Like
Reactions: sofakesofake

Clutchfrog

Newbie
Jan 3, 2021
72
113
I got this error after installing.
=====================================
I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 192, in script
python:
File "renpy/common/00start.rpy", line 193, in <module>
renpy.execute_default_statement(True)
File "game/0GUI/say.rpy", line 168, in set_default
default quick_menu = True
Exception: store.quick_menu is being given a default a second time.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "renpy/common/00start.rpy", line 192, in script
python:
File "renpy/ast.py", line 1131, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "renpy/python.py", line 1061, in py_exec_bytecode
exec(bytecode, globals, locals)
File "renpy/common/00start.rpy", line 193, in <module>
renpy.execute_default_statement(True)
File "renpy/exports.py", line 3797, in execute_default_statement
i.set_default(start)
File "game/0GUI/say.rpy", line 168, in set_default
default quick_menu = True
Exception: store.quick_menu is being given a default a second time.
========================================================================

I looked through the error log and found a fix.
Open the 0GUI/say.rpy in the mod and search default quick_menu = True, comment this line with a # at the begining.
It worked so far if I encounter any more errors I will post an update.
I tried this fix and was able to load the game but as soon as I hit start, a new set of Uncaught exceptions kicked in. Any fix for this??
 

gambit87

Member
Dec 27, 2017
259
363
Did the build tasks for Angilia. But it doesn't work. Is this because I got the money from the mod and the game doesn't recognize the mission as completed?
 

Sababukin

Member
Modder
Nov 4, 2022
126
821
Did the build tasks for Angilia. But it doesn't work. Is this because I got the money from the mod and the game doesn't recognize the mission as completed?
Hey, codes can always cause some problems in the story and quests because they are written under certain circumstances assumed by the creator, yet my mod doesn't add anything that wouldn't be in the game and only modifies the ones already created by the creator in this case the amount of money, if I had received many reports I could have assumed it was his fault, but you seem to be the only one with this problem for hundreds of mod downloads.
 

Sababukin

Member
Modder
Nov 4, 2022
126
821
I tried this fix and was able to load the game but as soon as I hit start, a new set of Uncaught exceptions kicked in. Any fix for this??
If you get an error popping up then you should always include it, show what error you are getting then maybe something can be worked out.
 

Clutchfrog

Newbie
Jan 3, 2021
72
113
If you get an error popping up then you should always include it, show what error you are getting then maybe something can be worked out.
I will try. Not very good at computers except turning them on and off lol...My roommate is an IT expert so I will see if he can teach this old dog new tricks. Thank you
 

smurfyYo

New Member
Mar 25, 2023
1
0
Code:
'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00gamemenu.rpy", line 173, in script
    jump expression _game_menu_screen
ScriptError: could not find label 'SabMod_screen'.

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00gamemenu.rpy", line 173, in script
    jump expression _game_menu_screen
  File "/private/var/folders/c4/xl95750n0yb_d6s5rt6l3k5m0000gn/T/AppTranslocation/F2338F31-3E81-40BA-B1F5-7D4C1B1A4282/d/Khan.app/Contents/Resources/autorun/renpy/ast.py", line 1974, in execute
    rv = renpy.game.script.lookup(target)
  File "/private/var/folders/c4/xl95750n0yb_d6s5rt6l3k5m0000gn/T/AppTranslocation/F2338F31-3E81-40BA-B1F5-7D4C1B1A4282/d/Khan.app/Contents/Resources/autorun/renpy/script.py", line 927, in lookup
    raise ScriptError("could not find label '%s'." % str(original))
ScriptError: could not find label 'SabMod_screen'.

Darwin-21.2.0-x86_64-i386-64bit x86_64
Ren'Py 7.5.3.22090809
Khan 0.8.9
Sat Jun 10 17:53:00 2023
[/CODE


Any fix??
 

MikeOG

Well-Known Member
Dec 28, 2022
1,280
1,529
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 192, in script
    python:
  File "renpy/common/00start.rpy", line 193, in <module>
    renpy.execute_default_statement(True)
  File "game/game/0GUI/say.rpy", line 168, in set_default
    default quick_menu = True
Exception: store.quick_menu is being given a default a second time.

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00start.rpy", line 192, in script
    python:
  File "renpy/ast.py", line 1131, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 1061, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00start.rpy", line 193, in <module>
    renpy.execute_default_statement(True)
  File "renpy/exports.py", line 3797, in execute_default_statement
    i.set_default(start)
  File "game/game/0GUI/say.rpy", line 168, in set_default
    default quick_menu = True
Exception: store.quick_menu is being given a default a second time.

Windows-10-10.0.19041 AMD64
Ren'Py 7.5.3.22090809
Khan 0.8.9
Thu Jun 15 11:08:29 2023
when i Open the game while having installed the mod this happens
 

MikeOG

Well-Known Member
Dec 28, 2022
1,280
1,529
when i open the Sabmod icon
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "game/SabMod/SabMod.rpy", line 8, in execute
  File "game/SabMod/SabMod.rpy", line 8, in execute
  File "game/SabMod/SabMod.rpy", line 11, in execute
Exception: Imagebutton does not have a idle image. (auto=u'SabMod/pr_%s.png').

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "renpy/ast.py", line 1131, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 1061, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "renpy/ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "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 "renpy/display/core.py", line 3810, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/core.py", line 582, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 582, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 582, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 582, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/screen.py", line 451, in visit_all
    callback(self)
  File "renpy/display/core.py", line 3810, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/screen.py", line 462, in per_interact
    self.update()
  File "renpy/display/screen.py", line 653, in update
    self.screen.function(**self.scope)
  File "game/SabMod/SabMod.rpy", line 8, in execute
  File "game/SabMod/SabMod.rpy", line 8, in execute
  File "game/SabMod/SabMod.rpy", line 11, in execute
  File "renpy/ui.py", line 952, in _imagebutton
    idle = choice(idle, idle_image, "idle", required=True)
  File "renpy/ui.py", line 946, in choice
    raise Exception("Imagebutton does not have a %s image. (auto=%r)." % (name, auto))
Exception: Imagebutton does not have a idle image. (auto=u'SabMod/pr_%s.png').

Windows-10-10.0.19041 AMD64
Ren'Py 7.5.3.22090809
Khan 0.8.9
Thu Jun 15 11:12:29 2023
 

Sababukin

Member
Modder
Nov 4, 2022
126
821
when i open the Sabmod icon
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "game/SabMod/SabMod.rpy", line 8, in execute
  File "game/SabMod/SabMod.rpy", line 8, in execute
  File "game/SabMod/SabMod.rpy", line 11, in execute
Exception: Imagebutton does not have a idle image. (auto=u'SabMod/pr_%s.png').

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "renpy/ast.py", line 1131, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 1061, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "renpy/ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "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 "renpy/display/core.py", line 3810, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/core.py", line 582, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 582, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 582, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 582, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/screen.py", line 451, in visit_all
    callback(self)
  File "renpy/display/core.py", line 3810, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/screen.py", line 462, in per_interact
    self.update()
  File "renpy/display/screen.py", line 653, in update
    self.screen.function(**self.scope)
  File "game/SabMod/SabMod.rpy", line 8, in execute
  File "game/SabMod/SabMod.rpy", line 8, in execute
  File "game/SabMod/SabMod.rpy", line 11, in execute
  File "renpy/ui.py", line 952, in _imagebutton
    idle = choice(idle, idle_image, "idle", required=True)
  File "renpy/ui.py", line 946, in choice
    raise Exception("Imagebutton does not have a %s image. (auto=%r)." % (name, auto))
Exception: Imagebutton does not have a idle image. (auto=u'SabMod/pr_%s.png').

Windows-10-10.0.19041 AMD64
Ren'Py 7.5.3.22090809
Khan 0.8.9
Thu Jun 15 11:12:29 2023
It looks like something went wrong with your file extraction or you copied something wrong / incomplete because the error indicates that the graphics are missing and they are in the SabMod folder after extracting.