CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x
4.60 star(s) 67 Votes

ZenGarden

Well-Known Member
Oct 1, 2017
1,698
3,218
Is it possible to turn the hover-person info box back on? I really miss that feature...

EDIT: NVM; found it in screens.rpy
 
Last edited:

deadpool_404

New Member
May 1, 2018
5
0
I wanted to check on the status of the HR Director mod and see if the Job Posting option is fully operational or if that is still in the works. When I attempt to have the HR Director post the job listing I receive an error.

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

While running game code:
  File "game/script.rpy", line 8348, in script call
    call talk_person(picked_option) from _call_talk_person
  File "game/script.rpy", line 8466, in script call
    $ _return.call_action(the_person)
  File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in script
    $ crisis_list.remove(daughter_work_crisis)
  File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in <module>
    $ crisis_list.remove(daughter_work_crisis)
NameError: name 'daughter_work_crisis' is not defined

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

Full traceback:
  File "game/script.rpy", line 8348, in script call
    call talk_person(picked_option) from _call_talk_person
  File "game/script.rpy", line 8466, in script call
    $ _return.call_action(the_person)
  File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in script
    $ crisis_list.remove(daughter_work_crisis)
  File "C:\Users\Desktop\Misc\random\Lab_Rats_2-v0.21.1-pc\renpy\ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Desktop\Misc\random\Lab_Rats_2-v0.21.1-pc\renpy\python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in <module>
    $ crisis_list.remove(daughter_work_crisis)
NameError: name 'daughter_work_crisis' is not defined

Windows-8-6.2.9200
Ren'Py 7.0.0.196
Lab Rats 2 - Down to Business v0.21.1
Thu Oct 24 11:06:24 2019
 

hhd12258

Member
Jun 18, 2018
236
91
Trollden Tristim
clean game, patch and bugfix
new game, did tutorial, upon completion, this...

```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 8370, in script call
call change_location(new_location) from _call_change_location #_return is the location returned from the map manager.
File "game/script.rpy", line 8402, in script call
python:
File "game/tutorial.rpy", line 81, in script call
call advance_time from _call_advance_time_11
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in script
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in <module>
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "game/Mods/Core/action_mod_core.rpy", line 35, in is_action_enabled
requirement_return = self.check_requirement(extra_args)
File "game/script.rpy", line 3282, in check_requirement
return self.requirement(*extra_args)
File "game/Mods/Policy/upgrade_policies.rpy", line 29, in mandatory_vibe_action_requirement
return get_from_policy_list(mandatory_vibe_policy).enabled and mc.business.is_open_for_business() # Only run while employees are at work. # Action runs if the policy is owned. Is_owned() checks if it is in the mc.business.policy_list
AttributeError: 'NoneType' object has no attribute 'enabled'

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

Full traceback:
File "game/script.rpy", line 8370, in script call
call change_location(new_location) from _call_change_location #_return is the location returned from the map manager.
File "game/script.rpy", line 8402, in script call
python:
File "game/tutorial.rpy", line 81, in script call
call advance_time from _call_advance_time_11
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in script
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "/home/noob/Documents/games/renpy/renpy-7.3.2-sdk/renpy/ast.py", line 1830, in execute
if renpy.python.py_eval(condition):
File "/home/noob/Documents/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2035, in py_eval
return py_eval_bytecode(code, globals, locals)
File "/home/noob/Documents/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2028, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in <module>
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "game/Mods/Core/action_mod_core.rpy", line 35, in is_action_enabled
requirement_return = self.check_requirement(extra_args)
File "game/script.rpy", line 3282, in check_requirement
return self.requirement(*extra_args)
File "game/Mods/Policy/upgrade_policies.rpy", line 29, in mandatory_vibe_action_requirement
return get_from_policy_list(mandatory_vibe_policy).enabled and mc.business.is_open_for_business() # Only run while employees are at work. # Action runs if the policy is owned. Is_owned() checks if it is in the mc.business.policy_list
AttributeError: 'NoneType' object has no attribute 'enabled'

Linux-4.15.0-66-generic-x86_64-with-debian-buster-sid
Ren'Py 7.3.2.320
Lab Rats 2 - Down to Business v0.21.1
Thu Oct 24 18:25:31 2019
```
 
  • Like
Reactions: Trollden

Trollden

Member
Aug 8, 2017
253
326
Trollden Tristim
clean game, patch and bugfix
new game, did tutorial, upon completion, this...

```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 8370, in script call
call change_location(new_location) from _call_change_location #_return is the location returned from the map manager.
File "game/script.rpy", line 8402, in script call
python:
File "game/tutorial.rpy", line 81, in script call
call advance_time from _call_advance_time_11
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in script
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in <module>
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "game/Mods/Core/action_mod_core.rpy", line 35, in is_action_enabled
requirement_return = self.check_requirement(extra_args)
File "game/script.rpy", line 3282, in check_requirement
return self.requirement(*extra_args)
File "game/Mods/Policy/upgrade_policies.rpy", line 29, in mandatory_vibe_action_requirement
return get_from_policy_list(mandatory_vibe_policy).enabled and mc.business.is_open_for_business() # Only run while employees are at work. # Action runs if the policy is owned. Is_owned() checks if it is in the mc.business.policy_list
AttributeError: 'NoneType' object has no attribute 'enabled'

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

Full traceback:
File "game/script.rpy", line 8370, in script call
call change_location(new_location) from _call_change_location #_return is the location returned from the map manager.
File "game/script.rpy", line 8402, in script call
python:
File "game/tutorial.rpy", line 81, in script call
call advance_time from _call_advance_time_11
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in script
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "/home/noob/Documents/games/renpy/renpy-7.3.2-sdk/renpy/ast.py", line 1830, in execute
if renpy.python.py_eval(condition):
File "/home/noob/Documents/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2035, in py_eval
return py_eval_bytecode(code, globals, locals)
File "/home/noob/Documents/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2028, in py_eval_bytecode
return eval(bytecode, globals, locals)
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 142, in <module>
if act.is_action_enabled(): # Only run actions that have their requirement met.
File "game/Mods/Core/action_mod_core.rpy", line 35, in is_action_enabled
requirement_return = self.check_requirement(extra_args)
File "game/script.rpy", line 3282, in check_requirement
return self.requirement(*extra_args)
File "game/Mods/Policy/upgrade_policies.rpy", line 29, in mandatory_vibe_action_requirement
return get_from_policy_list(mandatory_vibe_policy).enabled and mc.business.is_open_for_business() # Only run while employees are at work. # Action runs if the policy is owned. Is_owned() checks if it is in the mc.business.policy_list
AttributeError: 'NoneType' object has no attribute 'enabled'

Linux-4.15.0-66-generic-x86_64-with-debian-buster-sid
Ren'Py 7.3.2.320
Lab Rats 2 - Down to Business v0.21.1
Thu Oct 24 18:25:31 2019
```
Hey, I am unable to reproduce the error on my system so might be something quirky with linux.
Pushed an update to the requirement so it says return (mandatory_vibe_policy.is_owned() and get_from_policy_list(mandatory_vibe_policy).enabled) and mc.business.is_open_for_business(). Should make it return False as soon as it recognizes that mandatory_vibe_policy.is_owned() is False.
Also changed the get_from_policy_list to return False instead on NoneType if nothing is found, which might be the heart of the issue despite working fine on my system.
Let me know if it's not resolved or not.
 

Trollden

Member
Aug 8, 2017
253
326
I wanted to check on the status of the HR Director mod and see if the Job Posting option is fully operational or if that is still in the works. When I attempt to have the HR Director post the job listing I receive an error.

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

While running game code:
  File "game/script.rpy", line 8348, in script call
    call talk_person(picked_option) from _call_talk_person
  File "game/script.rpy", line 8466, in script call
    $ _return.call_action(the_person)
  File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in script
    $ crisis_list.remove(daughter_work_crisis)
  File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in <module>
    $ crisis_list.remove(daughter_work_crisis)
NameError: name 'daughter_work_crisis' is not defined

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

Full traceback:
  File "game/script.rpy", line 8348, in script call
    call talk_person(picked_option) from _call_talk_person
  File "game/script.rpy", line 8466, in script call
    $ _return.call_action(the_person)
  File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in script
    $ crisis_list.remove(daughter_work_crisis)
  File "C:\Users\Desktop\Misc\random\Lab_Rats_2-v0.21.1-pc\renpy\ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Desktop\Misc\random\Lab_Rats_2-v0.21.1-pc\renpy\python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/Mods/Sarah/role_HR_supervisor.rpy", line 569, in <module>
    $ crisis_list.remove(daughter_work_crisis)
NameError: name 'daughter_work_crisis' is not defined

Windows-8-6.2.9200
Ren'Py 7.0.0.196
Lab Rats 2 - Down to Business v0.21.1
Thu Oct 24 11:06:24 2019
Try updating the version you have of the mod. I believe Tristim has fixed it. Let us know if you still have issues with it.
 

LZ_Starbuck

Member
Mar 25, 2019
190
339
Sorry, it's been a very very long month for me and going through commit notes it looks like I missed a bunch of things in the mod update. I'll try to be more careful with the next one.
 

hhd12258

Member
Jun 18, 2018
236
91
Hey, I am unable to reproduce the error on my system so might be something quirky with linux.
Pushed an update to the requirement so it says return (mandatory_vibe_policy.is_owned() and get_from_policy_list(mandatory_vibe_policy).enabled) and mc.business.is_open_for_business(). Should make it return False as soon as it recognizes that mandatory_vibe_policy.is_owned() is False.
Also changed the get_from_policy_list to return False instead on NoneType if nothing is found, which might be the heart of the issue despite working fine on my system.
Let me know if it's not resolved or not.
Worked after updated mods.
Got this when entering downtown for the first time on a new game. it seems ignorable.
```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 8370, in script call
call change_location(new_location) from _call_change_location #_return is the location returned from the map manager.
File "game/script.rpy", line 8402, in script
python:
File "game/script.rpy", line 8403, in <module>
if renpy.has_label(the_place.tutorial_label):
TypeError: unhashable type: 'RevertableList'

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

Full traceback:
File "game/script.rpy", line 8370, in script call
call change_location(new_location) from _call_change_location #_return is the location returned from the map manager.
File "game/script.rpy", line 8402, in script
python:
File "/renpy-7.3.2-sdk/renpy/ast.py", line 912, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "/renpy-7.3.2-sdk/renpy/python.py", line 2004, in py_exec_bytecode
exec bytecode in globals, locals
File "game/script.rpy", line 8403, in <module>
if renpy.has_label(the_place.tutorial_label):
File "/renpy-7.3.2-sdk/renpy/exports.py", line 1679, in has_label
return renpy.game.script.has_label(name)
File "/renpy-7.3.2-sdk/renpy/script.py", line 910, in has_label
label = renpy.config.label_overrides.get(label, label)
TypeError: unhashable type: 'RevertableList'

Linux-4.15.0-66-generic-x86_64-with-debian-buster-sid
Ren'Py 7.3.2.320
Lab Rats 2 - Down to Business v0.21.1
Fri Oct 25 14:33:07 2019
```
 

irezawa

Member
Nov 4, 2017
205
334
Here's a Python-newb question:

I'm writing a scene that leads into a blowjob and the line that leads to it should assumably look something like this:

call fuck_person(the_person, private = True, start_position = blowjob, skip_intro = True, position_locked = True)

From what I understand, this line should end with from _call_fuck_person_31 , but what eludes me is what exactly defines that number and what effect does it have? Can I just put whatever I want? I haven't found duplicate numbers so do I have to make sure the same number doesn't appear anywhere else? Basically everything I know about Python comes from reading various files of this game and I haven't found anything where that from-part could come from, so I'm at a complete loss. Sure I could go with trial-and-error and I most likely will before anyone sees this, but I'd like to know how stuff is done, instead of a just hammering it home with luck.
 

Trollden

Member
Aug 8, 2017
253
326
Here's a Python-newb question:

I'm writing a scene that leads into a blowjob and the line that leads to it should assumably look something like this:

call fuck_person(the_person, private = True, start_position = blowjob, skip_intro = True, position_locked = True)

From what I understand, this line should end with from _call_fuck_person_31 , but what eludes me is what exactly defines that number and what effect does it have? Can I just put whatever I want? I haven't found duplicate numbers so do I have to make sure the same number doesn't appear anywhere else? Basically everything I know about Python comes from reading various files of this game and I haven't found anything where that from-part could come from, so I'm at a complete loss. Sure I could go with trial-and-error and I most likely will before anyone sees this, but I'd like to know how stuff is done, instead of a just hammering it home with luck.
It can be whatever you want, but has to be unique.
I think that when you create a build through the SDK, RenPy will populate these from calls itself, but since we are doing loose file modifications we have to put them in ourselves if we want them.

There's some information on it here regarding the call.
In short it seems to have to do with rollback / saving loading into the label.
Might not always be necessary to use it, but see if it is needed in your case or not by going into the label, rolling in / out and saving / loading then rollbacking.
 
  • Like
Reactions: irezawa

irezawa

Member
Nov 4, 2017
205
334
It can be whatever you want, but has to be unique.
HUGE thanks for your quick response! So it was how I suspected, but it's a massive relief to get confirmation to it. This is gonna make writing new stuff so much easier. Thanks again!
 

manchox

New Member
Aug 17, 2018
9
2
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00action_file.rpy", line 441, in __call__
    renpy.load(fn)
AttributeError: 'StoreModule' object has no attribute 'date_requirement'

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

............


Windows-8-6.2.9200
Ren'Py 7.0.0.196
Lab Rats 2 - Down to Business v0.21.0
Wed Oct 02 14:13:57 2019
I have the same error when trying to load a save game since I updated from 0.20.1 to 0.21.1/
Does anyone know where it comes from. I don"t really want to loose my saved games.
 

Trollden

Member
Aug 8, 2017
253
326
I have the same error when trying to load a save game since I updated from 0.20.1 to 0.21.1/
Does anyone know where it comes from. I don"t really want to loose my saved games.
All actions have a function (requirement) that it checks for to see if you can do it. I can't find any trace of a function called date_requirement in version 0.21.1 and 0.22.0 so it is likely removed. Since you have the old basic date action in your save game, it will look for the date_requirement function that is tied to it.

Adding this to chat_actions.rpy below the init -2 python: line might fix it?

Python:
def date_requirement(the_person):
        if the_person.love < 20:
            return "Requires: 20 Love"
        return True
It might be due to something else as well, but the structure is definitively constructed around x_requirement being used to check the eligibility of actions or crisis events (also an Action)
 

hhd12258

Member
Jun 18, 2018
236
91
LZ_Starbuck starbuck issue.

```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 8362, in script call
call talk_person(picked_option) from _call_talk_person
File "game/script.rpy", line 8471, in script call
$ _return.call_action(the_person)
File "game/Mods/Starbuck/SB_Fetish_Roles.rpy", line 155, in script
label SB_fetish_vaginal_mom_kitchen_label():
Exception: Too many arguments in call (expected 0, got 1).

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

Full traceback:
File "game/script.rpy", line 8362, in script call
call talk_person(picked_option) from _call_talk_person
File "game/script.rpy", line 8471, in script call
$ _return.call_action(the_person)
File "game/Mods/Starbuck/SB_Fetish_Roles.rpy", line 155, in script
label SB_fetish_vaginal_mom_kitchen_label():
File "/games/renpy/renpy-7.3.2-sdk/renpy/ast.py", line 853, in execute
renpy.game.context().mark_seen()
File "/games/renpy/renpy-7.3.2-sdk/renpy/ast.py", line 158, in apply_arguments
return parameters.apply(args, kwargs, ignore_errors)
File "/games/renpy/renpy-7.3.2-sdk/renpy/ast.py", line 136, in apply
raise Exception("Too many arguments in call (expected %d, got %d)." % (len(self.positional), len(args)))
Exception: Too many arguments in call (expected 0, got 1).

Linux-4.15.0-68-generic-x86_64-with-debian-buster-sid
Ren'Py 7.3.2.320
Lab Rats 2 - Down to Business v0.21.1
Sat Nov 2 13:12:49 2019
```
```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 8362, in script call
call talk_person(picked_option) from _call_talk_person
File "game/script.rpy", line 8471, in script call
$ _return.call_action(the_person)
File "game/Mods/Starbuck/SB_Fetish_Roles.rpy", line 199, in script
call sex_description(the_person, SB_doggy_standing , make_table(), 0, private = True) from _call_sex_description_SBR10
Exception: Arguments supplied, but parameter list not present

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

Full traceback:
File "game/script.rpy", line 8362, in script call
call talk_person(picked_option) from _call_talk_person
File "game/script.rpy", line 8471, in script call
$ _return.call_action(the_person)
File "game/Mods/Starbuck/SB_Fetish_Roles.rpy", line 199, in script
call sex_description(the_person, SB_doggy_standing , make_table(), 0, private = True) from _call_sex_description_SBR10
File "/games/renpy/renpy-7.3.2-sdk/renpy/ast.py", line 853, in execute
renpy.game.context().mark_seen()
File "/games/renpy/renpy-7.3.2-sdk/renpy/ast.py", line 154, in apply_arguments
raise Exception("Arguments supplied, but parameter list not present")
Exception: Arguments supplied, but parameter list not present

Linux-4.15.0-68-generic-x86_64-with-debian-buster-sid
Ren'Py 7.3.2.320
Lab Rats 2 - Down to Business v0.21.1
Sat Nov 2 13:15:55 2019
```
 

Dregrin

Newbie
Nov 20, 2017
61
25
ok discovered an error and have a suggestion

first the error, when triggering the hire event for one of your employes adult children after you successfully hire the child the game errors because the kid doesn't have a name assigned yet, ignoring the error causes them to still be hired and you have to go meet them as a ??? and introduce yourself.

For the suggestion, if its possible could there be an option to set daily serums for your slaves, or possibly a "test group" you can invite people to so for instance you don't have to keep going to each member of your family to dose them with serum, same for Nora and Starbuck and any other npc the player wants taking serum daily like the employees

Thanks for the amazing mod though, makes lab rats much better then the basic game due to all the extra events and storylines.

I still haven't found the hot wife or athlete yet though..
 
4.60 star(s) 67 Votes