4.70 star(s) 50 Votes

Badrabbit

Newbie
Jul 19, 2017
50
17
I was looking around the code to try to figure some stuff out and I noticed that there is some code for arousal reduction from Starbuck. I cannot get that as an option (I should say that my knowledge of coding is pretty much zero). I'm not getting any error messages just not getting the option. Should I get it as an option?
 

Trollden

Member
Aug 8, 2017
253
326
I was looking around the code to try to figure some stuff out and I noticed that there is some code for arousal reduction from Starbuck. I cannot get that as an option (I should say that my knowledge of coding is pretty much zero). I'm not getting any error messages just not getting the option. Should I get it as an option?
If I remember correctly it is just there in codeform at the moment and not enabled / added as an interactable option since it relies on modifying a vanilla label / vanilla functionality.

It will most likely be re- added later once things are going through less changes.
e.g the sex system (where the arousal reductions would need to be taken care of) is due for some changes in the next version so it would stop working by then anyway ( if it was enabled ).

I'll take a look at it tomorrow if it's not cleared up by then, just to make sure.

tl;dr: No, I don't think it's supposed to be available at the moment.
 

Badrabbit

Newbie
Jul 19, 2017
50
17
If I remember correctly it is just there in codeform at the moment and not enabled / added as an interactable option since it relies on modifying a vanilla label / vanilla functionality.

It will most likely be re- added later once things are going through less changes.
e.g the sex system (where the arousal reductions would need to be taken care of) is due for some changes in the next version so it would stop working by then anyway ( if it was enabled ).

I'll take a look at it tomorrow if it's not cleared up by then, just to make sure.

tl;dr: No, I don't think it's supposed to be available at the moment.
Cool. Thanks.
 

Tristim

Member
Modder
Donor
Nov 12, 2018
312
1,174
I found a little issue with mc.log_event. Sometimes a string starting with "[the_person.title] ... " is passed as first parameter in crises.rpy( e.g. line 425)
Code:
                    $ mc.log_event("[the_person.title] -$[pay_percent]/day Salary","float_text_green")
This is getting evaluated on display, so the_person may have changed (displaying a wrong name) or set to None (causes the None_type error).
I replaced all these calls to evaluate the_person.title before calling log_event like:
Code:
                    $ mc.log_event(the_person.title + " -$[pay_percent]/day Salary","float_text_green")
Cheers
Matt
Hi Matt,
Sorry for the late reply, this has been fixed in the bugfix branch, thanks for the spot.
 
  • Like
Reactions: DaMatt

hhd12258

Member
Jun 18, 2018
236
91
Trollden Tristim
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 7995, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8636, in script call
call advance_time from _call_advance_time
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 226, in script
python:
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 228, in <module>
person.run_turn()
File "game/script.rpy", line 1650, in run_turn
serum.run_on_remove(self)
File "game/script.rpy", line 1038, in run_on_remove
trait.run_on_remove(the_person)
File "game/script.rpy", line 1173, in run_on_remove
self.on_remove(the_person, add_to_log)
File "game/serum_traits.rpy", line 91, in blood_brain_pen_on_remove
the_person.remove_suggest_effect(50)
File "game/script.rpy", line 2023, in remove_suggest_effect
self.suggest_bag.remove(amount)
ValueError: list.remove(x): x not in list
 

Tristim

Member
Modder
Donor
Nov 12, 2018
312
1,174
Trollden Tristim
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 7995, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8636, in script call
call advance_time from _call_advance_time
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 226, in script
python:
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 228, in <module>
person.run_turn()
File "game/script.rpy", line 1650, in run_turn
serum.run_on_remove(self)
File "game/script.rpy", line 1038, in run_on_remove
trait.run_on_remove(the_person)
File "game/script.rpy", line 1173, in run_on_remove
self.on_remove(the_person, add_to_log)
File "game/serum_traits.rpy", line 91, in blood_brain_pen_on_remove
the_person.remove_suggest_effect(50)
File "game/script.rpy", line 2023, in remove_suggest_effect
self.suggest_bag.remove(amount)
ValueError: list.remove(x): x not in list
Some files have been moved around in the dev build, make sure to remove all .rpyc files or delete the mods folder and redownload from the repository. I will do some testing, but I haven't seen this before.
 

padd2212

New Member
Aug 27, 2017
14
2
Code:
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


The label _call_pay_strip_scene_generic_people_role is defined twice, at
  File "game/Mods/Person/main_character_actions.rpy", line 100 and
  File "game/Mods/Role/generic_people_role.rpy", line 99.

The label _call_advance_time_spend_the_night is defined twice, at
  File "game/Mods/Person/main_character_actions.rpy", line 119 and
  File "game/Mods/Role/generic_people_role.rpy", line 118.

The label rename_person_menu is defined twice, at
  File "game/Mods/Person/main_character_actions.rpy", line 126 and
  File "game/Mods/Role/generic_people_role.rpy", line 125.

Ren'Py Version: Ren'Py 7.0.0.196
Sun Sep 22 06:26:14 2019
 

Trollden

Member
Aug 8, 2017
253
326
Code:
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.


The label _call_pay_strip_scene_generic_people_role is defined twice, at
  File "game/Mods/Person/main_character_actions.rpy", line 100 and
  File "game/Mods/Role/generic_people_role.rpy", line 99.

The label _call_advance_time_spend_the_night is defined twice, at
  File "game/Mods/Person/main_character_actions.rpy", line 119 and
  File "game/Mods/Role/generic_people_role.rpy", line 118.

The label rename_person_menu is defined twice, at
  File "game/Mods/Person/main_character_actions.rpy", line 126 and
  File "game/Mods/Role/generic_people_role.rpy", line 125.

Ren'Py Version: Ren'Py 7.0.0.196
Sun Sep 22 06:26:14 2019
Deleting the Mods folder and re- downloading it should fix this specific issue.
Caused by us having moved the files.

Going into \game\Mods\Role\ and deleting generic_people_role.rpyc and generic_people_role.rpy should also fix it for you.
Let us know if it doesn't.
 

LZ_Starbuck

Member
Mar 25, 2019
189
337
I was looking around the code to try to figure some stuff out and I noticed that there is some code for arousal reduction from Starbuck. I cannot get that as an option (I should say that my knowledge of coding is pretty much zero). I'm not getting any error messages just not getting the option. Should I get it as an option?
I forgot to rework that function to be honest... I'll have to see if I can fix that easily.
 
  • Like
Reactions: DaMatt

hhd12258

Member
Jun 18, 2018
236
91
used a save, but updated game

Trollden Tristim

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

While running game code:
File "game/script.rpy", line 8003, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8651, in script call
call advance_time from _call_advance_time
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 264, in script call
$ the_crisis.call_action()
File "game/Mods/Role/slave_role.rpy", line 344, in script call
call fuck_person(the_person, start_position = cowgirl, start_object = bedroom.get_object_with_name("bed"), skip_intro = True, girl_in_charge = True) from _slave_alarm_clock_label_2
File "game/script.rpy", line 8241, in script call
call sex_description(the_person, position_choice, object_choice, start_round, private = private, girl_in_charge = girl_in_charge, position_locked = position_locked) from _call_sex_description
File "game/script.rpy", line 8443, in script call
call sex_description(the_person, position_choice, the_object, round+1, private = private, girl_in_charge = girl_in_charge, position_locked = position_locked) from _call_sex_description_2
File "game/script.rpy", line 8298, in script call
$ the_position.call_scene(the_person, mc.location, the_object, round) #HERE IS WHERE THE SCENE SCRIPT IS CALLED
File "game/cowgirl.rpy", line 64, in script
$ the_clothing = the_girl.outfit.get_visible_upper[0]
File "game/cowgirl.rpy", line 64, in <module>
$ the_clothing = the_girl.outfit.get_visible_upper[0]
AttributeError: 'Outfit' object has no attribute 'get_visible_upper'

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

Full traceback:
File "game/script.rpy", line 8003, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8651, in script call
call advance_time from _call_advance_time
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 264, in script call
$ the_crisis.call_action()
File "game/Mods/Role/slave_role.rpy", line 344, in script call
call fuck_person(the_person, start_position = cowgirl, start_object = bedroom.get_object_with_name("bed"), skip_intro = True, girl_in_charge = True) from _slave_alarm_clock_label_2
File "game/script.rpy", line 8241, in script call
call sex_description(the_person, position_choice, object_choice, start_round, private = private, girl_in_charge = girl_in_charge, position_locked = position_locked) from _call_sex_description
File "game/script.rpy", line 8443, in script call
call sex_description(the_person, position_choice, the_object, round+1, private = private, girl_in_charge = girl_in_charge, position_locked = position_locked) from _call_sex_description_2
File "game/script.rpy", line 8298, in script call
$ the_position.call_scene(the_person, mc.location, the_object, round) #HERE IS WHERE THE SCENE SCRIPT IS CALLED
File "game/cowgirl.rpy", line 64, in script
$ the_clothing = the_girl.outfit.get_visible_upper[0]
File "/games/renpy/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 "/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2004, in py_exec_bytecode
exec bytecode in globals, locals
File "game/cowgirl.rpy", line 64, in <module>
$ the_clothing = the_girl.outfit.get_visible_upper[0]
AttributeError: 'Outfit' object has no attribute 'get_visible_upper'

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

While running game code:
File "game/script.rpy", line 8003, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8804, in script call
call advance_time from _call_advance_time_7
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 226, in script
python:
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 228, in <module>
person.run_turn()
File "game/script.rpy", line 1650, in run_turn
serum.run_on_remove(self)
File "game/script.rpy", line 1038, in run_on_remove
trait.run_on_remove(the_person)
File "game/script.rpy", line 1173, in run_on_remove
self.on_remove(the_person, add_to_log)
File "game/serum_traits.rpy", line 91, in blood_brain_pen_on_remove
the_person.remove_suggest_effect(50)
File "game/script.rpy", line 2023, in remove_suggest_effect
self.suggest_bag.remove(amount)
ValueError: list.remove(x): x not in list

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

Full traceback:
File "game/script.rpy", line 8003, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8804, in script call
call advance_time from _call_advance_time_7
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 226, in script
python:
File "/games/renpy/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 "/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2004, in py_exec_bytecode
exec bytecode in globals, locals
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 228, in <module>
person.run_turn()
File "game/script.rpy", line 1650, in run_turn
serum.run_on_remove(self)
File "game/script.rpy", line 1038, in run_on_remove
trait.run_on_remove(the_person)
File "game/script.rpy", line 1173, in run_on_remove
self.on_remove(the_person, add_to_log)
File "game/serum_traits.rpy", line 91, in blood_brain_pen_on_remove
the_person.remove_suggest_effect(50)
File "game/script.rpy", line 2023, in remove_suggest_effect
self.suggest_bag.remove(amount)
File "/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 729, in do_mutation
return method(self, *args, **kwargs)
ValueError: list.remove(x): x not in list


I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 8003, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8804, in script call
call advance_time from _call_advance_time_7
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 188, in script call
$ the_crisis.call_action()
File "game/Mods/Crisis/coffee_break.rpy", line 38, in script call
call coffee_break_chit_chat_label(person_one, person_two, person_three) from _call_coffee_break_chit_chat_label_1
File "game/Mods/Crisis/coffee_break.rpy", line 112, in script
$ SB_draw_two_person_scene(person_one = person_two, person_two = person_three, one_pos_x = 0.7, one_position = "stand3", two_position = "stand4")
File "game/Mods/Crisis/coffee_break.rpy", line 112, in <module>
$ SB_draw_two_person_scene(person_one = person_two, person_two = person_three, one_pos_x = 0.7, one_position = "stand3", two_position = "stand4")
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 50, in SB_draw_two_person_scene
final_image = im.Composite(*composite_list) # Create a composite image using all of the displayables
Exception: Expected an image, but got a general displayable.

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

Full traceback:
File "game/script.rpy", line 8003, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8804, in script call
call advance_time from _call_advance_time_7
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 188, in script call
$ the_crisis.call_action()
File "game/Mods/Crisis/coffee_break.rpy", line 38, in script call
call coffee_break_chit_chat_label(person_one, person_two, person_three) from _call_coffee_break_chit_chat_label_1
File "game/Mods/Crisis/coffee_break.rpy", line 112, in script
$ SB_draw_two_person_scene(person_one = person_two, person_two = person_three, one_pos_x = 0.7, one_position = "stand3", two_position = "stand4")
File "/games/renpy/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 "/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2004, in py_exec_bytecode
exec bytecode in globals, locals
File "game/Mods/Crisis/coffee_break.rpy", line 112, in <module>
$ SB_draw_two_person_scene(person_one = person_two, person_two = person_three, one_pos_x = 0.7, one_position = "stand3", two_position = "stand4")
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 50, in SB_draw_two_person_scene
final_image = im.Composite(*composite_list) # Create a composite image using all of the displayables
File "/games/renpy/renpy-7.3.2-sdk/renpy/display/im.py", line 745, in __init__
self.images = [ image(i) for i in args[1::2] ]
File "/games/renpy/renpy-7.3.2-sdk/renpy/display/im.py", line 1756, in image
raise Exception("Expected an image, but got a general displayable.")
Exception: Expected an image, but got a general displayable.
```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 8003, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8804, in script call
call advance_time from _call_advance_time_7
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 188, in script call
$ the_crisis.call_action()
File "game/Mods/Crisis/coffee_break.rpy", line 38, in script call
call coffee_break_chit_chat_label(person_one, person_two, person_three) from _call_coffee_break_chit_chat_label_1
File "game/Mods/Crisis/coffee_break.rpy", line 114, in script call
call SB_threesome_description(person_two, person_three, SB_threesome_sixty_nine, make_floor(), 0, private = True, girl_in_charge = False) from _call_SB_threesome_description
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 699, in script call
call SB_threesome_description(the_person_one, the_person_two, the_position, the_object, round+1, private = private, girl_in_charge = girl_in_charge, current_girl = current_girl) from _call_SB_threesome_description_3
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 702, in script call
call SB_threesome_description(the_person_one, the_person_two, position_choice, the_object, round+1, private = private, girl_in_charge = girl_in_charge, current_girl = current_girl) from _call_SB_threesome_description_2
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 598, in script call
$ the_position.call_orgasm(the_person_one, the_person_two,mc.location, the_object, round, current_girl)
File "game/Mods/Starbuck/SB_threesome_sixty_nine.rpy", line 259, in script
$ SB_threesome_sixty_nine.redraw_scene(the_girl_1, the_girl_2)
File "game/Mods/Starbuck/SB_threesome_sixty_nine.rpy", line 259, in <module>
$ SB_threesome_sixty_nine.redraw_scene(the_girl_1, the_girl_2)
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 528, in redraw_scene
SB_draw_two_person_scene(person_one = the_person_one, person_two = the_person_two, one_position = self.position_one_tag, two_position = self.position_two_tag, one_pos_x = self.p1_x, one_pos_y = self.p1_y, one_scale = self.p1_zoom, two_pos_x = self.p2_x, two_pos_y = self.p2_y, two_scale = self.p2_zoom,)
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 50, in SB_draw_two_person_scene
final_image = im.Composite(*composite_list) # Create a composite image using all of the displayables
Exception: Expected an image, but got a general displayable.

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

Full traceback:
File "game/script.rpy", line 8003, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8804, in script call
call advance_time from _call_advance_time_7
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 188, in script call
$ the_crisis.call_action()
File "game/Mods/Crisis/coffee_break.rpy", line 38, in script call
call coffee_break_chit_chat_label(person_one, person_two, person_three) from _call_coffee_break_chit_chat_label_1
File "game/Mods/Crisis/coffee_break.rpy", line 114, in script call
call SB_threesome_description(person_two, person_three, SB_threesome_sixty_nine, make_floor(), 0, private = True, girl_in_charge = False) from _call_SB_threesome_description
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 699, in script call
call SB_threesome_description(the_person_one, the_person_two, the_position, the_object, round+1, private = private, girl_in_charge = girl_in_charge, current_girl = current_girl) from _call_SB_threesome_description_3
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 702, in script call
call SB_threesome_description(the_person_one, the_person_two, position_choice, the_object, round+1, private = private, girl_in_charge = girl_in_charge, current_girl = current_girl) from _call_SB_threesome_description_2
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 598, in script call
$ the_position.call_orgasm(the_person_one, the_person_two,mc.location, the_object, round, current_girl)
File "game/Mods/Starbuck/SB_threesome_sixty_nine.rpy", line 259, in script
$ SB_threesome_sixty_nine.redraw_scene(the_girl_1, the_girl_2)
File "/games/renpy/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 "/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2004, in py_exec_bytecode
exec bytecode in globals, locals
File "game/Mods/Starbuck/SB_threesome_sixty_nine.rpy", line 259, in <module>
$ SB_threesome_sixty_nine.redraw_scene(the_girl_1, the_girl_2)
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 528, in redraw_scene
SB_draw_two_person_scene(person_one = the_person_one, person_two = the_person_two, one_position = self.position_one_tag, two_position = self.position_two_tag, one_pos_x = self.p1_x, one_pos_y = self.p1_y, one_scale = self.p1_zoom, two_pos_x = self.p2_x, two_pos_y = self.p2_y, two_scale = self.p2_zoom,)
File "game/Mods/Starbuck/SB_threesome_draw.rpy", line 50, in SB_draw_two_person_scene
final_image = im.Composite(*composite_list) # Create a composite image using all of the displayables
File "/games/renpy/renpy-7.3.2-sdk/renpy/display/im.py", line 745, in __init__
self.images = [ image(i) for i in args[1::2] ]
File "/games/renpy/renpy-7.3.2-sdk/renpy/display/im.py", line 1756, in image
raise Exception("Expected an image, but got a general displayable.")
Exception: Expected an image, but got a general displayable.


I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/script.rpy", line 8003, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8665, in script call
call advance_time from _call_advance_time_2
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 226, in script
python:
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 228, in <module>
person.run_turn()
File "game/script.rpy", line 1650, in run_turn
serum.run_on_remove(self)
File "game/script.rpy", line 1038, in run_on_remove
trait.run_on_remove(the_person)
File "game/script.rpy", line 1173, in run_on_remove
self.on_remove(the_person, add_to_log)
File "game/serum_traits.rpy", line 91, in blood_brain_pen_on_remove
the_person.remove_suggest_effect(50)
File "game/script.rpy", line 2023, in remove_suggest_effect
self.suggest_bag.remove(amount)
ValueError: list.remove(x): x not in list
 

DaMatt

Member
Feb 6, 2018
152
83
used a save, but updated game

Trollden Tristim

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

While running game code:
File "game/script.rpy", line 8003, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8651, in script call
call advance_time from _call_advance_time
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 264, in script call
$ the_crisis.call_action()
File "game/Mods/Role/slave_role.rpy", line 344, in script call
call fuck_person(the_person, start_position = cowgirl, start_object = bedroom.get_object_with_name("bed"), skip_intro = True, girl_in_charge = True) from _slave_alarm_clock_label_2
File "game/script.rpy", line 8241, in script call
call sex_description(the_person, position_choice, object_choice, start_round, private = private, girl_in_charge = girl_in_charge, position_locked = position_locked) from _call_sex_description
File "game/script.rpy", line 8443, in script call
call sex_description(the_person, position_choice, the_object, round+1, private = private, girl_in_charge = girl_in_charge, position_locked = position_locked) from _call_sex_description_2
File "game/script.rpy", line 8298, in script call
$ the_position.call_scene(the_person, mc.location, the_object, round) #HERE IS WHERE THE SCENE SCRIPT IS CALLED
File "game/cowgirl.rpy", line 64, in script
$ the_clothing = the_girl.outfit.get_visible_upper[0]
File "game/cowgirl.rpy", line 64, in <module>
$ the_clothing = the_girl.outfit.get_visible_upper[0]
AttributeError: 'Outfit' object has no attribute 'get_visible_upper'

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

Full traceback:
File "game/script.rpy", line 8003, in script call
$ picked_option.call_action()
File "game/script.rpy", line 8651, in script call
call advance_time from _call_advance_time
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 155, in script call
$ act.call_action()
File "game/Mods/Core/Mechanics/Label_Overrides/advance_time_override.rpy", line 264, in script call
$ the_crisis.call_action()
File "game/Mods/Role/slave_role.rpy", line 344, in script call
call fuck_person(the_person, start_position = cowgirl, start_object = bedroom.get_object_with_name("bed"), skip_intro = True, girl_in_charge = True) from _slave_alarm_clock_label_2
File "game/script.rpy", line 8241, in script call
call sex_description(the_person, position_choice, object_choice, start_round, private = private, girl_in_charge = girl_in_charge, position_locked = position_locked) from _call_sex_description
File "game/script.rpy", line 8443, in script call
call sex_description(the_person, position_choice, the_object, round+1, private = private, girl_in_charge = girl_in_charge, position_locked = position_locked) from _call_sex_description_2
File "game/script.rpy", line 8298, in script call
$ the_position.call_scene(the_person, mc.location, the_object, round) #HERE IS WHERE THE SCENE SCRIPT IS CALLED
File "game/cowgirl.rpy", line 64, in script
$ the_clothing = the_girl.outfit.get_visible_upper[0]
File "/games/renpy/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 "/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2004, in py_exec_bytecode
exec bytecode in globals, locals
File "game/cowgirl.rpy", line 64, in <module>
$ the_clothing = the_girl.outfit.get_visible_upper[0]
AttributeError: 'Outfit' object has no attribute 'get_visible_upper'
I ran into this bug today. The class Person has no method get_visible_upper, but it has get_upper_top_layer.
I attached a zip with cowgirl.rpy that schould fix it.

Cheers
Matt
 

Tristim

Member
Modder
Donor
Nov 12, 2018
312
1,174
I ran into this bug today. The class Person has no method get_visible_upper, but it has get_upper_top_layer.
I attached a zip with cowgirl.rpy that schould fix it.

Cheers
Matt
Hi Matt, thanks for the spot, i've updated the bugfix branch with a fix.
 
  • Like
Reactions: DaMatt

manchox

New Member
Aug 17, 2018
9
2
In version 0.20.1, when you know more than 10 girls houses and you go to the "housing_map" screen, the 11th girl is placed out of screen.
I made a small (ugly) change in the script.rpy file to correct that bug.
In the
screen housing_map_manager():

i now write ten girls on a row before starting a new line.
To do this i changed:
align [0.1+(x_offset_per_place*places_so_far),0.5]
into
align [0.05+(x_offset_per_place*places_so_far_unit),0.1+(y_offset_per_place*places_so_far_decimal)]
with
$ y_offset_per_place = 0.15
and calculating:
$ places_so_far += 1
$ places_so_far_decimal = round( places_so_far / 10 )
$ places_so_far_unit = places_so_far - (places_so_far_decimal * 10)

Ugly but it works...
 

randomguy121

New Member
Mar 25, 2019
11
3
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 ------------------------------------------------------------

Full traceback:
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in script
    python hide:
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.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\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/_layout/screen_main_menu.rpym", line 28, in <module>
    python hide:
  File "renpy/common/_layout/screen_main_menu.rpym", line 35, in _execute_python_hide
    ui.interact()
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\ui.py", line 287, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\core.py", line 2649, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\core.py", line 3451, in interact_core
    rv = root_widget.event(ev, x, y, 0)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\screen.py", line 697, in event
    rv = self.child.event(ev, x, y, st)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\layout.py", line 239, in event
    rv = d.event(ev, x - xo, y - yo, st)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\layout.py", line 992, in event
    rv = i.event(ev, x - xo, y - yo, cst)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\behavior.py", line 906, in event
    return handle_click(self.clicked)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\behavior.py", line 841, in handle_click
    rv = run(action)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\behavior.py", line 308, in run
    new_rv = run(i, *args, **kwargs)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\display\behavior.py", line 315, in run
    return action(*args, **kwargs)
  File "renpy/common/00action_file.rpy", line 441, in __call__
    renpy.load(fn)
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\loadsave.py", line 727, in load
    roots, log = loads(location.load(filename))
  File "C:\Users\Admin\Desktop\Lab_Rats_2-v0.20.1-pc\renpy\loadsave.py", line 60, in loads
    return cPickle.loads(s)
AttributeError: 'StoreModule' object has no attribute 'date_requirement'

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
 

hhd12258

Member
Jun 18, 2018
236
91
pasted mod and bugfix over base game. on launch, this happened....

Trollden Tristim

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/Mods/Room/rooms/gym_shower_room.rpy", line 1, in script
init 1 python: # Declare variables to use
File "game/Mods/Room/rooms/gym_shower_room.rpy", line 4, in <module>
gym_shower = Room("shower", "Gym Shower", [], room_background_image("Gym_Shower_Background.jpg"), [], [], [], True, [], None, False, lighting_conditions = standard_indoor_lighting)
NameError: name 'standard_indoor_lighting' is not defined

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

Full traceback:
File "game/Mods/Room/rooms/gym_shower_room.rpy", line 1, in script
init 1 python: # Declare variables to use
File "/games/renpy/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 "/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2004, in py_exec_bytecode
exec bytecode in globals, locals
File "game/Mods/Room/rooms/gym_shower_room.rpy", line 4, in <module>
gym_shower = Room("shower", "Gym Shower", [], room_background_image("Gym_Shower_Background.jpg"), [], [], [], True, [], None, False, lighting_conditions = standard_indoor_lighting)
NameError: name 'standard_indoor_lighting' is not defined
 

Trollden

Member
Aug 8, 2017
253
326
pasted mod and bugfix over base game. on launch, this happened....

Trollden Tristim

I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/Mods/Room/rooms/gym_shower_room.rpy", line 1, in script
init 1 python: # Declare variables to use
File "game/Mods/Room/rooms/gym_shower_room.rpy", line 4, in <module>
gym_shower = Room("shower", "Gym Shower", [], room_background_image("Gym_Shower_Background.jpg"), [], [], [], True, [], None, False, lighting_conditions = standard_indoor_lighting)
NameError: name 'standard_indoor_lighting' is not defined

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

Full traceback:
File "game/Mods/Room/rooms/gym_shower_room.rpy", line 1, in script
init 1 python: # Declare variables to use
File "/games/renpy/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 "/games/renpy/renpy-7.3.2-sdk/renpy/python.py", line 2004, in py_exec_bytecode
exec bytecode in globals, locals
File "game/Mods/Room/rooms/gym_shower_room.rpy", line 4, in <module>
gym_shower = Room("shower", "Gym Shower", [], room_background_image("Gym_Shower_Background.jpg"), [], [], [], True, [], None, False, lighting_conditions = standard_indoor_lighting)
NameError: name 'standard_indoor_lighting' is not defined
Develop branch is updated to version 0.21.0 so you'll have to update the actual game to use it since lighting conditions are not a part of 0.20.1 and lower.
Download the branch to use with version 0.20.1.
 

hhd12258

Member
Jun 18, 2018
236
91
Develop branch is updated to version 0.21.0 so you'll have to update the actual game to use it since lighting conditions are not a part of 0.20.1 and lower.
Download the branch to use with version 0.20.1.
I thought that might be it, but the branch still said 0.20.1, so i thought that's not it.

thanks
 

Ragnon

Newbie
Jul 25, 2017
29
29
Hey, I have been trying out the newest 0.20.1 version and wanted to know how the new HR director event worked as I used the call HR_director_mod_init() in the console but haven't seen the event. Do I have to be somewhere or wait a certain amount of time?

Also, thank you to all the modders that are working on this mod it really adds life to the game.
 

Trollden

Member
Aug 8, 2017
253
326
Hey, I have been trying out the newest 0.20.1 version and wanted to know how the new HR director event worked as I used the call HR_director_mod_init() in the console but haven't seen the event. Do I have to be somewhere or wait a certain amount of time?

Also, thank you to all the modders that are working on this mod it really adds life to the game.
After having enabled the HR_director_mod_init() you got to trigger (or call) the label Sarah_intro_label (requirements are day > 14 and time_of_day < 4 and mc_at_home()) which allows you to hire her as your HR and also unlocks a HR Position Policy in the Organisation Policy lists.
Does not seem to be a way to hire other characters for the position at the moment.

I noticed an error in one of the dialogues where it tries to use the % (modulo) sign to do something despite being in a string. Adding another % so that it says 50%% will fix this. Going to see if I can push that to the master branch real quick.

If you want or need to do the fix yourself then it is at line 125 in role_Sarah.rpy.
 
  • Like
Reactions: Ragnon
4.70 star(s) 50 Votes