4.60 star(s) 56 Votes

Aloof_Tooth

Member
Feb 18, 2022
114
199
Thank you sir. Should I wait for the next release of the mod, or can I someway install the bugfix(es) now?
You could wait for the next official release, although that is not scheduled to be a thing until the Live2D changes that Vren is working on are "mature" (Which suggests to me maybe 2-or-3 version releases of the base game) - so I'm guessing several months from now.

However:

The mod has a built in cheat-panel in the quick menu. Selecting the far-right option of the quick menu "Opinions" when speaking to someone will allow you to give her additional opinions which could serve as a non-technical workaround for any specific instance of the problem.

Alternatively you could download the latest beta version from GitGud (links are on page 1 of this thread) and work with that.
 

Redypsrebyc

Newbie
Dec 25, 2016
56
50
Deleted 0.51.1.1 and purged relevant %appdata% folder, downloaded and running 0.51.1.2 - weekday serum running normal and still no weekend serum. I give up...
I'm also seeing this problem. Inserted some logging messages into the weekend_serum_dosage_duty_on_move function, and I don't even get the very first of them - it doesn't seem to be firing at all, though why that would be the case is opaque to me.

Edit: Hm. But I DO see them when the weekday rolls around...I am suspecting right now that duty-based "on move" effects will in fact only run on weekdays...but I cannot for the life of me find where that is determined. Maybe it's because I got the combined game & mod and not everything got decrypted by unren.

edit 2: Yeah, downloaded the regular version, and I see under role_employee.rpy,

Code:
    def employee_on_move(the_person):
        for duty in the_person.duties:
            if the_person.job.job_location.has_person(the_person) or not duty.only_at_work:
                duty.on_move(the_person)
        return
it's part of the employee role...but I did try adding only_at_work = False to the weekend serum dosage duty definition, and it didn't seem like that fixed it either, so something else may ALSO be going on here.

edit3: It does trigger if I put in a specific bypass for that check, i.e.,

if (the_person.is_at_work() or not duty.only_at_work) or (duty == weekend_serum_dosage_duty):

(Other difference from above due to this being a modification of the bugfix version, rather than the native version) So it looks like the most immediate issue is at that line. Don't know why only_at_work isn't working as expected, though, it ought to be able to pass the check that way.

...yeah, I am just baffled. Checking the console, the duty's only_at_work value is properly set to false; I can run

Code:
>duty = weekend_serum_dosage_duty
>not duty.only_at_work
True
But when the game goes to actually run through
if (the_person.is_at_work() or not duty.only_at_work):
It doesn't seem to fire.
 
Last edited:

Ulaered

Member
Aug 15, 2016
164
105
Error report
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "game/Mods/Screens/person_info_detailed.rpy", line 9, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 9, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 32, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 32, in <module>
AttributeError: 'float' object has no attribute 'title'

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

Full traceback:
  File "script.rpyc", line 377, in script call
  File "script.rpyc", line 374, in script call
  File "script.rpyc", line 476, in script
  File "renpy/ast.py", line 2015, in execute
    self.call("execute")
  File "renpy/ast.py", line 2003, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "renpy/statements.py", line 278, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "renpy/exports.py", line 3136, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "renpy/ui.py", line 298, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 3325, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "renpy/display/core.py", line 3737, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/screen.py", line 436, in visit_all
    callback(self)
  File "renpy/display/core.py", line 3737, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/screen.py", line 447, in per_interact
    self.update()
  File "renpy/display/screen.py", line 637, in update
    self.screen.function(**self.scope)
  File "game/Mods/Screens/person_info_detailed.rpy", line 9, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 9, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 32, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 32, in <module>
AttributeError: 'float' object has no attribute 'title'

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Lab Rats 2 - Down to Business v0.51.1.2
Wed Sep 21 19:52:56 2022

Attached is the save to reproduce it.
Only cheat that was used was for money. And it was done via the in-game cheat menu.

I have seen this error happen very regularly.

Steps to reproduce the error:
Click "Detailed information" button



Game Version: Lab_Rats_2_Mod-v0.51.1.2-market
Full install was downloaded.
 

orion77

Member
Mar 28, 2017
205
29
Hello.
Call me stupid, but i can't get it to work.
I followed instruction but game runs as vanilla.
Also every character is missing upper body cloths. In outfit manager bras, dresses and shirts are grey out.
 

makeitso

Active Member
Jul 29, 2018
909
567
Hello.
Call me stupid, but i can't get it to work.
I followed instruction but game runs as vanilla.
Also every character is missing upper body cloths. In outfit manager bras, dresses and shirts are grey out.
Did you try the full package? This sounds like a mangled install, possibly on top of an incompatible base game version.
 
  • Like
Reactions: orion77

orion77

Member
Mar 28, 2017
205
29
Did you try the full package? This sounds like a mangled install, possibly on top of an incompatible base game version.
I just try full package and its working correctly. Thank You
I also try again with manual install and double check everything and still same. No efing idea what is cousing this
 
  • Like
Reactions: makeitso

Ulaered

Member
Aug 15, 2016
164
105
Found another bug
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 379, in <module>
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 206, in advance_time_run_turn
  File "game/major_game_classes/character_related/Person.rpy", line 1599, in run_turn
  File "game/Mods/Core/messaging_customization.rpy", line 32, in generic_messages_wrapper
  File "game/major_game_classes/serum_related/SerumDesign.rpy", line 154, in run_on_turn
  File "game/Mods/Core/messaging_customization.rpy", line 32, in generic_messages_wrapper
  File "game/major_game_classes/serum_related/SerumTrait.rpy", line 136, in run_on_turn
  File "game/major_game_classes/serum_related/_serum_traits.rpy", line 354, in hair_darken_dye_on_turn
TypeError: 'float' object has no attribute '__getitem__'

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

Full traceback:
  File "script.rpyc", line 377, in script call
  File "script.rpyc", line 377, in script call
  File "general_actions/location_actions/business_actions.rpyc", line 152, in script call
  File "Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpyc", line 289, in script call
  File "Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpyc", line 376, in script
  File "renpy/ast.py", line 928, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2245, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 379, in <module>
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 206, in advance_time_run_turn
  File "game/major_game_classes/character_related/Person.rpy", line 1599, in run_turn
  File "game/Mods/Core/messaging_customization.rpy", line 32, in generic_messages_wrapper
  File "game/major_game_classes/serum_related/SerumDesign.rpy", line 154, in run_on_turn
  File "game/Mods/Core/messaging_customization.rpy", line 32, in generic_messages_wrapper
  File "game/major_game_classes/serum_related/SerumTrait.rpy", line 136, in run_on_turn
  File "game/major_game_classes/serum_related/_serum_traits.rpy", line 354, in hair_darken_dye_on_turn
TypeError: 'float' object has no attribute '__getitem__'

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Lab Rats 2 - Down to Business v0.51.1.2
Fri Sep 23 21:45:00 2022

Attached is the save to recreate the error.
Issue is with the trait "Darken hair"
 

Ulaered

Member
Aug 15, 2016
164
105
Error report
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "game/Mods/Screens/person_info_detailed.rpy", line 9, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 9, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 32, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 32, in <module>
AttributeError: 'float' object has no attribute 'title'

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

Full traceback:
  File "script.rpyc", line 377, in script call
  File "script.rpyc", line 374, in script call
  File "script.rpyc", line 476, in script
  File "renpy/ast.py", line 2015, in execute
    self.call("execute")
  File "renpy/ast.py", line 2003, in call
    return renpy.statements.call(method, parsed, *args, **kwargs)
  File "renpy/statements.py", line 278, in call
    return method(parsed, *args, **kwargs)
  File "renpy/common/000statements.rpy", line 569, in execute_call_screen
    store._return = renpy.call_screen(name, *args, **kwargs)
  File "renpy/exports.py", line 3136, in call_screen
    rv = renpy.ui.interact(mouse="screen", type="screen", roll_forward=roll_forward)
  File "renpy/ui.py", line 298, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 3325, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "renpy/display/core.py", line 3737, in interact_core
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/core.py", line 568, in visit_all
    d.visit_all(callback, seen)
  File "renpy/display/screen.py", line 436, in visit_all
    callback(self)
  File "renpy/display/core.py", line 3737, in <lambda>
    root_widget.visit_all(lambda i : i.per_interact())
  File "renpy/display/screen.py", line 447, in per_interact
    self.update()
  File "renpy/display/screen.py", line 637, in update
    self.screen.function(**self.scope)
  File "game/Mods/Screens/person_info_detailed.rpy", line 9, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 9, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 32, in execute
  File "game/Mods/Screens/person_info_detailed.rpy", line 32, in <module>
AttributeError: 'float' object has no attribute 'title'

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Lab Rats 2 - Down to Business v0.51.1.2
Wed Sep 21 19:52:56 2022

Attached is the save to reproduce it.
Only cheat that was used was for money. And it was done via the in-game cheat menu.

I have seen this error happen very regularly.

Steps to reproduce the error:
Click "Detailed information" button



Game Version: Lab_Rats_2_Mod-v0.51.1.2-market
Full install was downloaded.
Found another bug
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 379, in <module>
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 206, in advance_time_run_turn
  File "game/major_game_classes/character_related/Person.rpy", line 1599, in run_turn
  File "game/Mods/Core/messaging_customization.rpy", line 32, in generic_messages_wrapper
  File "game/major_game_classes/serum_related/SerumDesign.rpy", line 154, in run_on_turn
  File "game/Mods/Core/messaging_customization.rpy", line 32, in generic_messages_wrapper
  File "game/major_game_classes/serum_related/SerumTrait.rpy", line 136, in run_on_turn
  File "game/major_game_classes/serum_related/_serum_traits.rpy", line 354, in hair_darken_dye_on_turn
TypeError: 'float' object has no attribute '__getitem__'

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

Full traceback:
  File "script.rpyc", line 377, in script call
  File "script.rpyc", line 377, in script call
  File "general_actions/location_actions/business_actions.rpyc", line 152, in script call
  File "Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpyc", line 289, in script call
  File "Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpyc", line 376, in script
  File "renpy/ast.py", line 928, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2245, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 379, in <module>
  File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 206, in advance_time_run_turn
  File "game/major_game_classes/character_related/Person.rpy", line 1599, in run_turn
  File "game/Mods/Core/messaging_customization.rpy", line 32, in generic_messages_wrapper
  File "game/major_game_classes/serum_related/SerumDesign.rpy", line 154, in run_on_turn
  File "game/Mods/Core/messaging_customization.rpy", line 32, in generic_messages_wrapper
  File "game/major_game_classes/serum_related/SerumTrait.rpy", line 136, in run_on_turn
  File "game/major_game_classes/serum_related/_serum_traits.rpy", line 354, in hair_darken_dye_on_turn
TypeError: 'float' object has no attribute '__getitem__'

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
Lab Rats 2 - Down to Business v0.51.1.2
Fri Sep 23 21:45:00 2022

Attached is the save to recreate the error.
Issue is with the trait "Darken hair"


Issue was tracked down to the hair color of the person.
Taking the person to Hair solo and forcing a hair color change fixes that.

There was a random event where the character had their hair dyed which incorrectly sets the hair color to a float rather than an object. In this case, the character was Jennifer.
 

Porrvald

Member
Sep 12, 2020
472
488
Hello.
Call me stupid, but i can't get it to work.
I followed instruction but game runs as vanilla.
Also every character is missing upper body cloths. In outfit manager bras, dresses and shirts are grey out.
I think you are technically beyond stupid. Same as me.

Read the edit in the bottom of the below post:
https://f95zone.to/threads/lab-rats-2-mods.32881/post-8271920

TLDR: 'Mods' folder should be put inside LR2\Game\
 
  • Like
Reactions: partanen
4.60 star(s) 56 Votes