Create and Fuck your AI Cum Slut -70% OFF
x

Thaunatas

Member
Aug 25, 2021
235
124
53
Well i won't be able to wait for it to end, is there a way to change the date ?
The only thing you could try is to edit the savefile and try to find where the serum effect on the person/s is stored and remove it by hand, but how or where to look, I cant tell you
 

gregers

Forum Fanatic
Dec 9, 2018
5,335
6,961
767
Since the self-replicating trait has been introduced a "clear all temporary serum effects" trait would be a useful addition though.
 
  • Like
Reactions: guyf_

MahBah

Newbie
Jul 13, 2017
46
64
202
Apparently the system doesn't recognize each turn's milked serum as the same from before. I have now hundreds and thousands of different stacks of breast milks from each of my milked employers, and I can't get to sell it without clicking manually for half an hour.

Does anyone have a fix for it?
 

Thaunatas

Member
Aug 25, 2021
235
124
53
Apparently the system doesn't recognize each turn's milked serum as the same from before. I have now hundreds and thousands of different stacks of breast milks from each of my milked employers, and I can't get to sell it without clicking manually for half an hour.

Does anyone have a fix for it?
You should ask Vren (the developer) for a fix, but he wont read it here, so you are better of posting on his patreon
 

Brololol

Member
Oct 19, 2017
375
380
231
You probably have multiple filter policies in effect and that is likely the only age available.
I specifically disabled them I got the in the first place to get more specific age/height personell for job. Ended up having them all age 20.
 
Oct 14, 2020
114
130
157
If you have a save that causes the same crash, feel free to post it. If it has cheated values, you will be mocked however. :)

Or be safe and set the values to 100. Nothing above that has any effects.
 

slowparson

Active Member
May 30, 2017
833
571
219
Yeah, offering your cousin a job also crashes game, can lead to infinite loop of offering cousin job, but she doesn't get it while taking up job slots. She takes up 3 work slots in my game currently, since occasionally forget not to give her job...
 
Oct 14, 2020
114
130
157
Yeah, the Mom's sluttiness is 6250000 and sister's is over 1000000... so pretty sure there is cheating involved here.

If you want this to work still, you can replace this:

def get_red_heart(sluttiness): #A recursive function, feed it a sluttiness and it will return a string of all red heart images for it. Hearts that are entirely empty are left out.
#TODO: Expand this to let you ask for a minimum number of empty hearts.
the_final_string = ""
if sluttiness >= 20:
the_final_string += "{image=gui/heart/red_heart.png}"
the_final_string += get_red_heart(sluttiness - 20) #Call it recursively if we might have another heart after this.
elif sluttiness >= 15:
the_final_string += "{image=gui/heart/three_quarter_red_quarter_empty_heart.png}"
elif sluttiness >= 10:
the_final_string += "{image=gui/heart/half_red_half_empty_heart.png}"
elif sluttiness >= 5:
the_final_string += "{image=gui/heart/quarter_red_three_quarter_empty_heart.png}"

return the_final_string
with

def get_red_heart(sluttiness, depth=0): #A recursive function, feed it a sluttiness and it will return a string of all red heart images for it. Hearts that are entirely empty are left out.
#TODO: Expand this to let you ask for a minimum number of empty hearts.
the_final_string = ""
if sluttiness >= 20:
the_final_string += "{image=gui/heart/red_heart.png}"
if depth >= 4:
return the_final_string
the_final_string += get_red_heart(sluttiness - 20, depth+1) #Call it recursively if we might have another heart after this.
elif sluttiness >= 15:
the_final_string += "{image=gui/heart/three_quarter_red_quarter_empty_heart.png}"
elif sluttiness >= 10:
the_final_string += "{image=gui/heart/half_red_half_empty_heart.png}"
elif sluttiness >= 5:
the_final_string += "{image=gui/heart/quarter_red_three_quarter_empty_heart.png}"

return the_final_string
This would be in the file game\helper_functions\heart_formatting_functions.rpy

If Vren is reading this (or you want a more safe/modified version), I would recommend:
def get_red_heart(sluttiness): # Feed it a sluttiness and it will return a string of all red heart images for it. Hearts that are entirely empty are left out.
#TODO: Expand this to let you ask for a minimum number of empty hearts.
full_count = min(int(sluttiness / 20), 5)
ret = "{image=gui/heart/red_heart.png}" * full_count
if full_count >= 5:
return ret
remain = sluttiness % 20
if remain >= 15:
ret += "{image=gui/heart/three_quarter_red_quarter_empty_heart.png}"
elif remain >= 10:
ret += "{image=gui/heart/half_red_half_empty_heart.png}"
elif remain >= 5:
ret += "{image=gui/heart/quarter_red_three_quarter_empty_heart.png}"
return ret
Either should let your cheats continue to work.
 
Oct 14, 2020
114
130
157
The same code problem (infinite recursion) exists in the gold heart function too, but that is only used with a fixed value after Vren removed the "core slutiness" metric.
 

werdna33

New Member
Jan 7, 2020
5
11
62
Wasn't too into this game at first after playing Lab Rats 1, but I've really come around to enjoy it.

There's currently a bug for me with the breast reducing trait in serums. It can be fixed by changing line 620 in game\major_game_classes\character_related\Person.rpy from this:

Python:
return cls._list_of_tits[max(0,current_index-1)][0]
to this:

Python:
return cls._list_of_tits[__builtin__.max(0,current_index-1)][0]
It seems like the Python "max" function was accidentally overwritten. The author is aware because he used builtins.max elsewhere in the file but missed this one.
 
Oct 14, 2020
114
130
157
Wasn't too into this game at first after playing Lab Rats 1, but I've really come around to enjoy it.

There's currently a bug for me with the breast reducing trait in serums. It can be fixed by changing line 620 in game\major_game_classes\character_related\Person.rpy from this:
Does that actually fix it? The reason he uses __builtin__.max() in other locations is because the functions take a parameter named max. That function (get_smaller_tit) does not. So there is no actual change there.
 

werdna33

New Member
Jan 7, 2020
5
11
62
Does that actually fix it? The reason he uses __builtin__.max() in other locations is because the functions take a parameter named max. That function (get_smaller_tit) does not. So there is no actual change there.
Yeah it fixes it. That function is calling max but it thinks its an int variable rather than the builtin max function from Python. Here's my stack trace:

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

While running game code:
  File "game/script.rpy", line 314, in script call
    call advance_time from _call_advance_time_15
  File "game/script.rpy", line 406, in script
    python:
  File "game/script.rpy", line 408, in <module>
    people.run_turn() #T
  File "game/major_game_classes/character_related/Person.rpy", line 1538, in run_turn
    serum.run_on_turn(self) #Run the serum's on_turn funcion if it has one.
  File "game/major_game_classes/serum_related/SerumDesign.rpy", line 142, in run_on_turn
    trait.run_on_turn(the_person, self)
  File "game/major_game_classes/serum_related/SerumTrait.rpy", line 75, in run_on_turn
    self.on_turn(the_person, the_serum, add_to_log)
  File "game/major_game_classes/serum_related/_serum_traits.rpy", line 137, in breast_reduction_on_turn
    new_tits = the_person.get_smaller_tit(the_person.tits)
  File "game/major_game_classes/character_related/Person.rpy", line 620, in get_smaller_tit
    return cls._list_of_tits[max(0,current_index-1)][0]
TypeError: 'int' object is not callable

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

Full traceback:
  File "game/script.rpy", line 314, in script call
    call advance_time from _call_advance_time_15
  File "game/script.rpy", line 406, in script
    python:
  File "renpy/ast.py", line 923, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 2235, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "game/script.rpy", line 408, in <module>
    people.run_turn() #T
  File "game/major_game_classes/character_related/Person.rpy", line 1538, in run_turn
    serum.run_on_turn(self) #Run the serum's on_turn funcion if it has one.
  File "game/major_game_classes/serum_related/SerumDesign.rpy", line 142, in run_on_turn
    trait.run_on_turn(the_person, self)
  File "game/major_game_classes/serum_related/SerumTrait.rpy", line 75, in run_on_turn
    self.on_turn(the_person, the_serum, add_to_log)
  File "game/major_game_classes/serum_related/_serum_traits.rpy", line 137, in breast_reduction_on_turn
    new_tits = the_person.get_smaller_tit(the_person.tits)
  File "game/major_game_classes/character_related/Person.rpy", line 620, in get_smaller_tit
    return cls._list_of_tits[max(0,current_index-1)][0]
TypeError: 'int' object is not callable

Windows-10-10.0.19041
Ren'Py 7.4.8.1895
Lab Rats 2 - Down to Business v0.50.3
Sun Mar 20 23:28:59 2022
 
3.40 star(s) 127 Votes