- Feb 19, 2018
- 2,429
- 10,423
Just dropWhat would be the right way then, if you don't mind me asking?
_mod
inside game
folderJust dropWhat would be the right way then, if you don't mind me asking?
_mod
inside game
folderI can not, but I suppose it can't find the file due to OS.Apparently the errors only occur when playing through Joiplay, if you could test to see if this is the case it would be great.
IGNORE = False
to IGNORE = True
notl_file
function.renpy.notl_file
to renpy.file
or renpy.open_file
Was it one or more issues, and what those issues were?i had issues with this new version too, so i just use the previous version and it works fine. i play on pc and got the errors first time i used the new version in the _mods folder.
any of the game saves i tried to play would crash when a choice was due.removed the folder and tried again and everything was normal. also tried to put just the ZLZK folder itself in..game crashes on startup with this new update i tried. like i said, i used the previous update of the ZLZK folder that i had copied from a game i had played without issue before updating and it worked fine. so not sure what the issue is. sorry i deleted the traceback with the info. just giving a report on the issue i had.Was it one or more issues, and what those issues were?
New update has to be in exact location due to images, config files, and uninstall option.any of the game saves i tried to play would crash when a choice was due.removed the folder and tried again and everything was normal. also tried to put just the ZLZK folder itself in..game crashes on startup with this new update i tried. like i said, i used the previous update of the ZLZK folder that i had copied from a game i had played without issue before updating and it worked fine. so not sure what the issue is. sorry i deleted the traceback with the info. just giving a report on the issue i had.
You don't have permission to view the spoiler content. Log in or register now.
_STATES = dict( (v, k.lower() ) for k, v in vars().items() )
raise Exception(str(_STATES))
Exception: {0: 'idle', 1: 'busy'}
vars()
to locals()
raise Exception(str(vars()))
raise Exception(str(locals()))
vars()
or dict()
Exception: {'IDLE': 0, 'BUSY': 1, '_STATES': {0: 'idle', 1: 'busy'}}
locals()
in generator expressions. _STATES = dict( (v, k.lower()) for k, v in vars().items() )
_STATES = vars()
_STATES = dict( (v, k.lower()) for k, v in _STATES.items() )
This has also happened to me playing the fresh start version of Halloween on JoiplayNot a bug, more like linux is trolling.
Edit '_mods/ZLZK/_mods/UCD/scripts/pillars.rpy' file:
below:_STATES = dict( (v, k.lower() ) for k, v in vars().items() )
add:raise Exception(str(_STATES))
For me output is:Exception: {0: 'idle', 1: 'busy'}
If it's not for you try changingvars()
tolocals()
Actually try this:raise Exception(str(vars()))
and this:raise Exception(str(locals()))
This will tell if the issue is invars()
ordict()
tyNot a bug, more like linux is trolling.
Edit '_mods/ZLZK/_mods/UCD/scripts/pillars.rpy' file:
below:_STATES = dict( (v, k.lower() ) for k, v in vars().items() )
add:raise Exception(str(_STATES))
For me output is:Exception: {0: 'idle', 1: 'busy'}
If it's not for you try changingvars()
tolocals()
Actually try this:raise Exception(str(vars()))
and this:raise Exception(str(locals()))
This will tell if the issue is invars()
ordict()
Output should be:Exception: {'IDLE': 0, 'BUSY': 1, '_STATES': {0: 'idle', 1: 'busy'}}
I meant python on linux, but it's bugged even on my windows.
New version of python breakslocals()
in generator expressions.
To fix it, replace:
with:Python:_STATES = dict( (v, k.lower()) for k, v in vars().items() )
Python:_STATES = vars() _STATES = dict( (v, k.lower()) for k, v in _STATES.items() )
It's a bug, above is solution.Hello, forgive this google translator, I don't understand English.
I have a problem with version 2023-10-29.
It seems to make an error in giving the MC name.
But when I changed to version 2023-04-07 it worked.
What's going on here?
Hi!
I wanted to ask: I made a patch for the game The Veritate, but it doesn't work with your mod (vers 2023-10-29 also with 2023-04-07). Can you please give me a hint if there is anything I can do to make my patch compatible with yours?
[...]
frame
, you should have del frame
as well, otherwise memory leaks may occur.frame
at all for script that works all the time.My script had an error with extend, I have corrected it now.Oh, thank you very much! You're the best! [...]
What for do you need it?[...] more compact [...]
init python:
who = renpy.ast.eval_who(node.who) if isinstance(node, renpy.ast.Say) and node.who != "extend" else _last_say_who
if who in [mC, lAn, ti]:
t = t.replace("Alice", "Mom")
t = t.replace("Lisa", "Aunt Lisa")
if who in [mC, lAn, ti]:
should be in upper if.Only needed if your script does lookups like mine with additional references.[...] (I'm not sure if I should adddel replace_text
)
Without exact dialogue line I can't redesign.Crap.... I exactly need it, in one game there's a moment where mc mentions his mother in his phone, and thanks to this thing the replacement happens, without it no. It worked in the old version of my patch. Well, I need to think about how to solve this...
(I partially used this game as practice for the mod, I just want to make as universal and simple patch as possible so that there is one approximate core)
config.replace_text
without config.say_menu_text_filter
.renpy.text.text.Text.apply_custom_tags
config.replace_text
, and I think it doesn't exist in older ren'py.I removed it from main thread, because some ppl were confused with multiple attachments.Where can I find the previous version?
CheersI removed it from main thread, because some ppl were confused with multiple attachments.
Here are all old versions.
t = t.replace("This is my husband's brother. He's renting a room from me.","He is my [son]."
t = t.replace("Nicolas", "[dad]")
t = t.replace("Nicolas", str(dad))
if who == "[gg]" or who == "Donald":
if str(who) in (str(gg), "Donald"):
If you want to filter translations as well you need a wrapper for[...] without config.replace_text, the following text is not replaced [...]
renpy.translation.StringTranslator.translate
init python hide:
translate = renpy.translation.StringTranslator.translate
def hijack(self, s):
return translate(self, s).replace("Mary", "Mom")
renpy.translation.StringTranslator.translate = hijack