CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Mod Ren'Py Onhold Universal Choice Descriptor [2024-01-24] [ZLZK]

5.00 star(s) 4 Votes

ZLZK

Member
Modder
Jul 2, 2017
295
802
ZLZK Bro your mod is affecting https://f95zone.to/threads/my-wifes-a-star-unofficial-renpy-version-v0-03-xys_official.169039/page-5 causing rollback or ignore errors in this game's some choices. IT is working perfectly fine with a ton of other games that I played. I thought I should inform. Can you plz check.:D
Dude, this time Developer of that game screw up, not me.

File: scripts/core/init.rpy; Line: 29
items = [ (renpy.exports.substitute(label) + (" (disabled)" if not renpy.python.py_eval(condition) else ""), "True", value)

To fix it:
Replace what: renpy.exports.substitute(label)
Replace with: label
 

ZLZK

Member
Modder
Jul 2, 2017
295
802
Will this mod still be updated?
Currently I'm reworking it, but it won't be done soon.
There won't be anything new, at most extending what there already was.

I mean I'm doing base mod (mod manager) for all my present and future mods.

I'm also working on in-game config screen, which should have been added long time ago.
But I wasn't familiar enough with Ren'py screens and it takes a lot to implement:
universal screen, universal and unique screen trigger, config file reading and writing,
persistent config data (in case where file is not writeable), and script to handle it all.

I was and am amateur and self taught in Python and Ren'py.
But it's coming all together.
 
Feb 7, 2022
295
292
Currently I'm reworking it, but it won't be done soon.
There won't be anything new, at most extending what there already was.

I mean I'm doing base mod (mod manager) for all my present and future mods.

I'm also working on in-game config screen, which should have been added long time ago.
But I wasn't familiar enough with Ren'py screens and it takes a lot to implement:
universal screen, universal and unique screen trigger, config file reading and writing,
persistent config data (in case where file is not writeable), and script to handle it all.

I was and am amateur and self taught in Python and Ren'py.
But it's coming all together.
I will be waiting for the update thank you very much.
 

Mamaragan

Member
Jun 9, 2019
371
1,415
Hi OP, Very nice MOD, so far I didn't have any issue, but when I wanted to play Kingdom of deception, I've got an error.
It happens just after the prologue, when you get to the orc camp.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/01OrcCamp Phase 01.rpy", line 99, in <module>
Exception: Unknown keyword arguments: _zorder

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

Full traceback:
  File "game/01OrcCamp Phase 01.rpyc", line 99, in script
    / .tpH!�\�qW�0�QiD_�[����n�j�nK'T%n��;�t�r�
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\python.py", line 1888, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/01OrcCamp Phase 01.rpy", line 99, in <module>
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\exports.py", line 1311, in pause
    rv = renpy.ui.interact(mouse='pause', type='pause', roll_forward=roll_forward)
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\ui.py", line 287, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\display\core.py", line 2635, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\display\core.py", line 3019, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\display\core.py", line 511, in visit_all
    d.visit_all(callback)
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\display\core.py", line 511, in visit_all
    d.visit_all(callback)
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\display\core.py", line 511, in visit_all
    d.visit_all(callback)
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\display\screen.py", line 420, in visit_all
    callback(self)
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\display\core.py", line 3019, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\display\screen.py", line 430, in per_interact
    self.update()
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\display\screen.py", line 611, in update
    self.screen.function(**self.scope)
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\ast.py", line 152, in apply_arguments
    return parameters.apply(args, kwargs, ignore_errors)
  File "D:\HENTAI GAMES\Kingdom_of_Deception-pc\renpy\ast.py", line 139, in apply
    raise Exception("Unknown keyword arguments: %s" % ( ", ".join(values.keys())))
Exception: Unknown keyword arguments: _zorder

Windows-8-6.2.9200
Ren'Py 6.99.14.3.3347
Kingdom of Deception 0.14.0.0
Mon Sep 25 03:06:48 2023
 

ZLZK

Member
Modder
Jul 2, 2017
295
802
Hi OP, Very nice MOD, so far I didn't have any issue, but when I wanted to play Kingdom of deception, I've got an error.
It happens just after the prologue, when you get to the orc camp.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/01OrcCamp Phase 01.rpy", line 99, in <module>
Exception: Unknown keyword arguments: _zorder

[...]
Great job Ren'Py. XD
I mean older version of Ren'Py throw error that it doesn't take this keyword, it's just notice but blocks you from playing,
when newer version takes it.
So, I mean Ren'Py at fault.

Edit '__ucd.rpy' file and either change:

renpy.exports.show_screen("_ZLZK_UCD_tooltip", flags, _transient=True, _zorder=99)
to
renpy.exports.show_screen("_ZLZK_UCD_tooltip", flags, _transient=True)

Or comment/remove:

_ZLZK_UCD.hook_tooltip()
 
Last edited:
  • Like
Reactions: Mamaragan

ZLZK

Member
Modder
Jul 2, 2017
295
802
Hi OP, Very nice MOD, so far I didn't have any issue, but when I wanted to play Kingdom of deception, I've got an error.
It happens just after the prologue, when you get to the orc camp.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/01OrcCamp Phase 01.rpy", line 99, in <module>
Exception: Unknown keyword arguments: _zorder

[...]
Keyword 'zorder' works in screens though.
Can edit '_screens.rpy' file and change:

Python:
    style_prefix "choice"
to
Python:
    zorder 100

    style_prefix "choice"
I will include this in new version.

------------------------------------------------------------------------------

I'm finishing reworking this mod.
I mean I have broke it into parts and put them in separate files.
And made it all work, and improved a lot of code in the process.

Left to do:
- rework of function 'torf_config' for all my mods
- rework of function 'torf_config' for config screen
- mod main screen
- mod config screen
- "update config" function for mod config screen
- "uninstall" function for mod main screen (to remove mod files, and to remove config-data from persistent)

I have done storing of config-data in persistent.
Config-data still loads from config-file if it was edited.
Also done function to update config-file mid-game. (If it is possible.)

I have mostly done screen trigger, button that opens select screen which let's you open mod main screen.

I'm still uncertain how long it will takes.
 
Last edited:

ZLZK

Member
Modder
Jul 2, 2017
295
802
Hi. Thank you for your work, but I'm having this error on Being a Super. Could you take a look at it?

You don't have permission to view the spoiler content. Log in or register now.
LMAO, I forget how that part of my code works.
But, after a minute I figured what is wrong.

'max' is a builtin function, but it appears game has character which that name.
Quick fix would be to edit "__ucd.rpy" file:
put max = __builtins__['max']
below def _MenuProcessor(self):

------------------------------------------------------------------------------

Anyway this issue, or future issues which namespaces, won't happen in new version.
Since I'm have moved my mod from 'store' module to my own submodule.

And about progress of new version, I have done almost everything except for "torf config" screen.
But since now I'm familiar in making screens, it shouldn't be a problem to make.

Seeing like I'm really slow in making it, I'm still uncertain how long it will take.
It's not easy for me to maintain whole picture of the code when it becomes larger and larger.
 

ZLZK

Member
Modder
Jul 2, 2017
295
802
I haven't started yet working on "config" screen.
But I have finished everything else, So I have decided to post it earlier.

Now if you don't want to have "tooltip feature",
you can just delete it from "_mods/ZLZK/_mods/UCD/scripts/extras" folder.
(Both "tooltip.rpy" and "tooltip.rpyc" files.)
 
5.00 star(s) 4 Votes