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
Hello, i have this error
(...)
This doesn't seem to be caused by my mod.
To be sure you can remove my mod and then check if error disappears.
If it does then give me link to the game and give me save when error appears.
If it does not then ask for help from game dev.
 
  • Like
Reactions: doujin1

HaluPrime

Newbie
Aug 11, 2017
34
133
This doesn't seem to be caused by my mod.
To be sure you can remove my mod and then check if error disappears.
If it does then give me link to the game and give me save when error appears.
If it does not then ask for help from game dev.
The game is Seed of Chaos
It´s translated there is a problem whit that ?
I'm using another mod too Universal Ren'Py Mod


but

Without the mod there is no error:

No Mod 1.png

No Mod 2.png

Whit the mod:

Mod 1.png

mod 2.png

My save:
View attachment 3-10-LT1.save
 

ZLZK

Member
Modder
Jul 2, 2017
295
802
The game is Seed of Chaos
It´s translated there is a problem whit that ?
Actually the first error said it all.
The issue is solely in my mod and I'm guilty of it.
Error is from: round(val, val_dec), because val_dec is no longer integer.
Before using round I was using format and it required val_dec to be string.
Thus I needed to remove conversion to string, but I forgot about it.

To fix it:
replace:
self.val_dec = "{}".format(cf.val_decimal)
with:
self.val_dec = cf.val_decimal

I will add this fix in the next update which will be coming some time later.
 
  • Like
Reactions: HaluPrime

HaluPrime

Newbie
Aug 11, 2017
34
133
En realidad, el primer error lo dijo todo.
El problema está únicamente en mi mod y soy culpable de ello.
El error es de: round(val, val_dec), porque val_dec ya no es un número entero.
Antes de usar round, estaba usando el formato y requería que val_dec fuera una cadena.
Por lo tanto, necesitaba eliminar la conversión a cadena, pero lo olvidé.

Arreglarlo:
reemplazar:
self.val_dec = "{}".format(cf.val_decimal)
con:
self.val_dec = cf.val_decimal

Agregaré esta solución en la próxima actualización que llegará algún tiempo después.
[/CITA]

gracias por la solucion

Cambiando a self.val_dec = cf.val_dec Funciona
 

gm1358

Newbie
Nov 9, 2017
35
24
Hello. Nice work on this. FYI or maybe you already know: if one of the choices leads to a text input prompt i.e. name, age, nickname, etc. the input prompt will trigger prematurely, and will trigger latter normally. Cheers.
 

ZLZK

Member
Modder
Jul 2, 2017
295
802
Hello. Nice work on this. FYI or maybe you already know: if one of the choices leads to a text input prompt i.e. name, age, nickname, etc. the input prompt will trigger prematurely, and will trigger latter normally. Cheers.
I was aware of this when I was doing prototype of this mod.
But I forgot about it when I have done this mod.
And I just got great idea how to resolve it.
All previous work coming together.
(15 minutes later.)
Okay, I have fixed it.
 

gm1358

Newbie
Nov 9, 2017
35
24
I was aware of this when I was doing prototype of this mod.
But I forgot about it when I have done this mod.
And I just got great idea how to resolve it.
All previous work coming together.
(15 minutes later.)
Okay, I have fixed it.
Just me or the descriptions aren't showing now.
 

ZLZK

Member
Modder
Jul 2, 2017
295
802
https://f95zone.to/threads/ms-denvers-v0-02-0-popdoggy.143472/



Thank you.
I have checked and confirmed that older version does indeed work and current not.
I will look into it.

EDIT:
I have find out what is causing it.
Previously no flags were saved as empty list, but currently it's not saved at all.
The problem is that mod removes flags that are present in all lists.
And in case of 1 list, all items are treated as duplicates and not used.
Again my bad.
 
Last edited:
  • Like
Reactions: gm1358

ZLZK

Member
Modder
Jul 2, 2017
295
802
Problem with
I think that game use old Ren'Py screen language.
And my new button feature doesn't work with it for some reason.
I will try to resolve it.


EDIT1: It doesn't work because there is a comma(,) sign at the end of arguments.
You could say that it's not my fault, since Ren'Py parser should not allow it.
It's easy to fix, I will fix it soon.

EDIT2: Fixed.
 
Last edited:

SrAnon

Newbie
Oct 15, 2021
25
18
Is there any way to disable the information that appears at the top of the screen?
1679511842924.png
This image is the sandbox mode.

After clicking in a room the information is still there through all next scene.
1679511905492.png
This image is a scene.
The game of the images is Duality.

This happens in other games with sandbox mode.
Thanks.
 

ZLZK

Member
Modder
Jul 2, 2017
295
802
Is there any way to disable the information that appears at the top of the screen?
View attachment 2487438
This image is the sandbox mode.

After clicking in a room the information is still there through all next scene.
View attachment 2487440
This image is a scene.
The game of the images is Duality.

This happens in other games with sandbox mode.
Thanks.
You can disable it by adding # to this line:
_ZLZK_UCD.hook_tooltip()
to :
# _ZLZK_UCD.hook_tooltip()
in game/_ZLZK/UCD/_ucd.rpy file.

If the tooltip doesn't hide, that would be my poor programming.
I will try to fix it.

EDIT: Somehow I didn't know that you need to hide tooltip on click too.
To fix it:
You don't have permission to view the spoiler content. Log in or register now.
I will add this fix later.
 
Last edited:
  • Heart
Reactions: SrAnon

FaceCrap

Ghost of torrents passed
Donor
Oct 1, 2020
1,233
840
Got a bug for you, if a VN is primarily non-English and there's an English translation in ./game/tl/English, menu choices that get altered by your mod don't show up in English anymore but in the primary language.
Case in point, Monkey Business is using Russian as primary language, and has an English translation in the above mentioned location, similarly My Best Deal, also using Russian as primary language
 

ZLZK

Member
Modder
Jul 2, 2017
295
802
Got a bug for you, if a VN is primarily non-English and there's an English translation in ./game/tl/English, menu choices that get altered by your mod don't show up in English anymore but in the primary language.
Case in point, Monkey Business is using Russian as primary language, and has an English translation in the above mentioned location, similarly My Best Deal, also using Russian as primary language
I have tried this mod in Monkey Business,
and it works just fine.

Long time ago I have resolved this issue,
but for some reason it doesn't work for you.

First step in finding what is wrong:
You don't have permission to view the spoiler content. Log in or register now.
 

FaceCrap

Ghost of torrents passed
Donor
Oct 1, 2020
1,233
840
I have tried this mod in Monkey Business,
and it works just fine.
Just noticed you had released a new version, had missed that. New version works. Only thing seems off is justification format.
The choice text "Yes" is left aligned with the variables like in my screenshot, while the other choice "No" without variables is centered, but I can live with that.
Sorry for the false alarm

EDIT: Found the cause of the left-justify effect. Still weird, without UCD, menu choices always show centered, but with UCD in place, they still are centered with respect to the choice box, but not with respect to the added hints.
That was until I found this game had define gui.button_text_xalign = 0.0 in gui.rpy, setting this to 0.5 also solved the justification
 
Last edited:
5.00 star(s) 4 Votes