Mod Ren'Py SexBot [v1.6] Walkthrough Hand Holder Mod [1.4.1] [MrBubu]

MrBubu

Active Member
Mar 31, 2022
568
3,865
MrBubu, can you tell me how i can fix your mod that it will work with incest mod which did by Master of Puppets? I just play not english version, on other language, and your mod broke incest mod. Or if you did this, I will really appreciate you)
I looked at his mod and I could potentially make my mod compatible with it. But you mention you play the game in an other language, is that a different mod?
 

Orpheus22

Member
Jun 10, 2020
145
282
I looked at his mod and I could potentially make my mod compatible with it. But you mention you play the game in an other language, is that a different mod?
And as I already said, if you do this, I really appreciate, and not only me, I guess)) No, it's just a translated game into another language. Also, I tried playing the English version with your mod, and it also breaks the incest mod.
 

MrBubu

Active Member
Mar 31, 2022
568
3,865
And as I already said, if you do this, I really appreciate, and not only me, I guess)) No, it's just a translated game into another language. Also, I tried playing the English version with your mod, and it also breaks the incest mod.
well the way it works, the mod gets the text and possibly modify it. If you play in a different language it will probably not work either as my mod is looking for the English text.

It depends how the translation was done, if it is a mod on top of the game then it might possibly work, if they modified the game files directly then there's not much I can do.
 

MrBubu

Active Member
Mar 31, 2022
568
3,865
Mod Update

I've updated the MOD, you can get it from the OP.

Small update to make it compatible with other MODs that modifies the text, so colors get added after and both MODs can work together.
Tested it with the Incest patch from Master of Puppets
 

Orpheus22

Member
Jun 10, 2020
145
282
Mod Update

I've updated the MOD, you can get it from the OP.

Small update to make it compatible with other MODs that modifies the text, so colors get added after and both MODs can work together.
Tested it with the Incest patch from Master of Puppets
Sorry to bother you again, your mod is working, but maybe I described my problem incorrectly, your mod also rewrites the incest mod, in the screenshots where mc calls Emily "mom" when there is only an incest mod in the game, where he calls Emily "Emily" when in the game incest mod and your mod. so my problem is still not solved)) it was exactly the same before your update. (I tested on the clean English version from this site, without any translations or other mods, except for the incest mod)
Screenshot_1.png Screenshot_2.png Screenshot_3.png Screenshot_4.png Screenshot_5.png Screenshot_6.png
 

MrBubu

Active Member
Mar 31, 2022
568
3,865
Sorry to bother you again, your mod is working, but maybe I described my problem incorrectly, your mod also rewrites the incest mod, in the screenshots where mc calls Emily "mom" when there is only an incest mod in the game, where he calls Emily "Emily" when in the game incest mod and your mod. so my problem is still not solved)) it was exactly the same before your update. (I tested on the clean English version from this site, without any translations or other mods, except for the incest mod)
I did test it and it worked, at least my part, I do call his MOD (I was testing the part where it says "Being smothered by my big mommy milkers").
However it seems the way he gets who is talking does not work when my MOD calls his.

If in the file ipatch.rpy if you change line 6 to these lines instead, it will work:

Code:
        # who = inspect.currentframe().f_back.f_locals.get("who")
        # Go back up to 10 frames
        who = None
        i = 0
        frame = inspect.currentframe()
        while frame is not None and who is None and i < 10:
            frame = frame.f_back
            who = frame.f_locals.get("who")
            i = i + 1
I suggest you contact Master of Puppets and let him know so he can update his MOD to be compatible with mine.
 

Orpheus22

Member
Jun 10, 2020
145
282
I did test it and it worked, at least my part, I do call his MOD (I was testing the part where it says "Being smothered by my big mommy milkers").
However it seems the way he gets who is talking does not work when my MOD calls his.

If in the file ipatch.rpy if you change line 6 to these lines instead, it will work:

Code:
        # who = inspect.currentframe().f_back.f_locals.get("who")
        # Go back up to 10 frames
        who = None
        i = 0
        frame = inspect.currentframe()
        while frame is not None and who is None and i < 10:
            frame = frame.f_back
            who = frame.f_locals.get("who")
            i = i + 1
I suggest you contact Master of Puppets and let him know so he can update his MOD to be compatible with mine.
I've changed line 6 as you said, but game give me traceback. Maybe I do something wrong? Screenshot_1.png
I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 233, in script call
call _splashscreen from _call_splashscreen_1
File "game/script.rpy", line 35, in script
menu:
File "game/hand_holder.rpy", line 1397, in hh_mod_smtf
mod_text = store.hh_mod_smtf_override(text)
File "game/ipatch.rpy", line 11, in ipatch
who = frame.f_locals.get("who")
AttributeError: 'NoneType' object has no attribute 'f_locals'

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

Full traceback:
File "renpy/common/00start.rpy", line 233, in script call
call _splashscreen from _call_splashscreen_1
File "game/script.rpy", line 35, in script
menu:
File "renpy/ast.py", line 1660, in execute
label = renpy.config.say_menu_text_filter(label)
File "game/hand_holder.rpy", line 1397, in hh_mod_smtf
mod_text = store.hh_mod_smtf_override(text)
File "game/ipatch.rpy", line 11, in ipatch
who = frame.f_locals.get("who")
AttributeError: 'NoneType' object has no attribute 'f_locals'

Windows-10-10.0.26100
Ren'Py 7.4.11.2266
SexBot Fix Rus 1.6
Wed Jan 1 18:00:18 2025
 

MrBubu

Active Member
Mar 31, 2022
568
3,865
I've changed line 6 as you said, but game give me traceback. Maybe I do something wrong? View attachment 4397584
I'm sorry, but an uncaught exception occurred.

While running game code:
File "renpy/common/00start.rpy", line 233, in script call
call _splashscreen from _call_splashscreen_1
File "game/script.rpy", line 35, in script
menu:
File "game/hand_holder.rpy", line 1397, in hh_mod_smtf
mod_text = store.hh_mod_smtf_override(text)
File "game/ipatch.rpy", line 11, in ipatch
who = frame.f_locals.get("who")
AttributeError: 'NoneType' object has no attribute 'f_locals'

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

Full traceback:
File "renpy/common/00start.rpy", line 233, in script call
call _splashscreen from _call_splashscreen_1
File "game/script.rpy", line 35, in script
menu:
File "renpy/ast.py", line 1660, in execute
label = renpy.config.say_menu_text_filter(label)
File "game/hand_holder.rpy", line 1397, in hh_mod_smtf
mod_text = store.hh_mod_smtf_override(text)
File "game/ipatch.rpy", line 11, in ipatch
who = frame.f_locals.get("who")
AttributeError: 'NoneType' object has no attribute 'f_locals'

Windows-10-10.0.26100
Ren'Py 7.4.11.2266
SexBot Fix Rus 1.6
Wed Jan 1 18:00:18 2025
It's strange, I don't know, it works with the official English release for me.

To prevent this error use the following code instead (I switched 2 lines), it will prevent the error but I cannot say if the MOD will work.

Python:
        who = None
        i = 0
        frame = inspect.currentframe()
        while frame is not None and who is None and i < 10:
            who = frame.f_locals.get("who")
            frame = frame.f_back
            i = i + 1
 

Orpheus22

Member
Jun 10, 2020
145
282
It's strange, I don't know, it works with the official English release for me.

To prevent this error use the following code instead (I switched 2 lines), it will prevent the error but I cannot say if the MOD will work.

Python:
        who = None
        i = 0
        frame = inspect.currentframe()
        while frame is not None and who is None and i < 10:
            who = frame.f_locals.get("who")
            frame = frame.f_back
            i = i + 1
HOORAY! it works and with incest mod and with your mod and with translation)) thank you so much, you're awesome)
 
  • Like
Reactions: MrBubu