NeonSelf

Member
Dec 3, 2019
347
612
258
I had this problem too, I think the Bugfix file on the main post fix it
Applied bugfix, but training bug remains.
Here is what I get when trying to train (like educational training) with Mom on monday morning:

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

While running game code:
  File "game/func_interactions.rpy", line 742, in <module>
AttributeError: 'Player' object has no attribute 'Social'

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

Full traceback:
  File "locations/loc_coffeeshop.rpyc", line 46, in script call
  File "locations/loc_coffeeshop.rpyc", line 40, in script call
  File "func_action_processing.rpyc", line 18, in script call
  File "func_action_processing.rpyc", line 275, in script call
  File "func_action_processing.rpyc", line 465, in script call
  File "func_interactions.rpyc", line 742, in script call
  File "util/func_utils.rpyc", line 38, in script
  File "renpy/ast.py", line 1495, in execute
    args, kwargs = self.arguments.evaluate()
  File "renpy/ast.py", line 191, in evaluate
    args.append(renpy.python.py_eval(v, locals=scope))
  File "renpy/python.py", line 2276, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "renpy/python.py", line 2269, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/func_interactions.rpy", line 742, in <module>
  File "python-packages/func_definitions.py", line 824, in __getattr__
AttributeError: 'Player' object has no attribute 'Social'

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
SP 0.45.03
Sun Mar 26 12:56:48 2023
 

sillyrobot

Engaged Member
Apr 22, 2019
2,442
2,062
468
Applied bugfix, but training bug remains.
Here is what I get when trying to train (like educational training) with Mom on monday morning:

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

While running game code:
  File "game/func_interactions.rpy", line 742, in <module>
AttributeError: 'Player' object has no attribute 'Social'

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

Full traceback:
  File "locations/loc_coffeeshop.rpyc", line 46, in script call
  File "locations/loc_coffeeshop.rpyc", line 40, in script call
  File "func_action_processing.rpyc", line 18, in script call
  File "func_action_processing.rpyc", line 275, in script call
  File "func_action_processing.rpyc", line 465, in script call
  File "func_interactions.rpyc", line 742, in script call
  File "util/func_utils.rpyc", line 38, in script
  File "renpy/ast.py", line 1495, in execute
    args, kwargs = self.arguments.evaluate()
  File "renpy/ast.py", line 191, in evaluate
    args.append(renpy.python.py_eval(v, locals=scope))
  File "renpy/python.py", line 2276, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "renpy/python.py", line 2269, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/func_interactions.rpy", line 742, in <module>
  File "python-packages/func_definitions.py", line 824, in __getattr__
AttributeError: 'Player' object has no attribute 'Social'

Windows-10-10.0.19041
Ren'Py 7.4.11.2266
SP 0.45.03
Sun Mar 26 12:56:48 2023
It certainly looks like you applied the patch as the version # was updated, but I'd like to double-check something.

The zip file contains a scripts.rpa file buried deep in a set of folders. That file needs to be placed in the /game/ folder of the game. It should overwrite a file of the same name already there.

The error you are getting is because the object 'Player' doesn't have the attribute social. The object 'player' does -- which is why aspiring devs are told again and again to make unique and meaningful variable names. My copy (patch applied, no mods) doesn't have that issue.
 
Last edited:

NeonSelf

Member
Dec 3, 2019
347
612
258
It certainly looks like you applied the patch as the version # was updated, but I'd like to double-check something.

The zip file contains a scripts.rpa file buried deep in a set of folders. That file needs to be placed in the /game/ folder of the game. It should overwrite a file of the same name already there.

The error you are getting is because the object 'Player' doesn't have the attribute social. The object 'player' does -- which is why aspiring devs are told again and again to make unique and meaningful variable names. My copy (patch applied, no mods) doesn't have that issue.
Im on windows, so I completely replaced the scripts file with new one. And I have no mods.
The thing is, sometimes this action works as planned, and sometimes its not.

For example, if I have charm and favors for training on saturday day\afternoon (dont remember exactly) - everything works fine. I see Fitness training session with Mom or Library training with sister. But most of the time I get this error and quit the game to restart from latest save.

Also, training seems to work fine when I use mind control instead of social interaction.
 

sillyrobot

Engaged Member
Apr 22, 2019
2,442
2,062
468
Im on windows, so I completely replaced the scripts file with new one. And I have no mods.
The thing is, sometimes this action works as planned, and sometimes its not.

For example, if I have charm and favors for training on saturday day\afternoon (dont remember exactly) - everything works fine. I see Fitness training session with Mom or Library training with sister. But most of the time I get this error and quit the game to restart from latest save.

Also, training seems to work fine when I use mind control instead of social interaction.
Weird.

What is your Favor with mom just before your try training and the error hits? I'm trying to see if the lines reported match the file I'm looking at. Line 742 of func_interactions is hit when you don't have enough favor for the action.

Attach the save? I may not have a chance to check it out today, but I should tomorrow.
 

NeonSelf

Member
Dec 3, 2019
347
612
258
Weird.

What is your Favor with mom just before your try training and the error hits? I'm trying to see if the lines reported match the file I'm looking at. Line 742 of func_interactions is hit when you don't have enough favor for the action.

Attach the save? I may not have a chance to check it out today, but I should tomorrow.
Here is a save where Mom training crushes, but sister's works.
 

sillyrobot

Engaged Member
Apr 22, 2019
2,442
2,062
468
I fixed it, It was a spacing issue, try this file.
Just put it in the game folder, replace the old one if found
Python doesn't prevent + operators to be surrounded with white space. I would not have thought to check that ren'py does. That goes into my "interesting ren'py coding practices" folio.
 
  • Like
Reactions: Blackfreedom

Blackfreedom

Newbie
May 29, 2019
15
26
197
Python doesn't prevent + operators to be surrounded with white space. I would not have thought to check that ren'py does. That goes into my "interesting ren'py coding practices" folio.
I think I only caught it because am not a developer, and don't know neither python nor ren'py. only little background in c#.
I just checked what this line has, that is different from other lines :D
 

NeonSelf

Member
Dec 3, 2019
347
612
258
I fixed it, It was a spacing issue, try this file.
Just put it in the game folder, replace the old one if found
It fixed the crash bug. Wow! This should be added to bugfix archive. Thanks! :D

But there is another bug(or feature) appeared: if I had less than 80 favor before asking for training - I get negative response and it counts like I had a training session that day. So after failed attempt to train, my training option gets blocked even with other character. (Try training with Sister after Mom refused to train with MC)
 

AnotherMike

Member
Mar 26, 2020
161
132
208
Is there any requirements to get a ride home with Alice other than raising the stats? I remember it being a rare event from previous times I've played the game but by now I have Globex Corruption at 82, Alice in the sluttiest outfit working as a prostitute AND I've rebuilt her control to 165 after that but I still haven't gotten a ride home a single time during all that time.
 

sillyrobot

Engaged Member
Apr 22, 2019
2,442
2,062
468
Is there any requirements to get a ride home with Alice other than raising the stats? I remember it being a rare event from previous times I've played the game but by now I have Globex Corruption at 82, Alice in the sluttiest outfit working as a prostitute AND I've rebuilt her control to 165 after that but I still haven't gotten a ride home a single time during all that time.
Critical success at the job and Alice can't be a sexbot. So no prostitution.
 

Blackfreedom

Newbie
May 29, 2019
15
26
197
It fixed the crash bug. Wow! This should be added to bugfix archive. Thanks! :D

But there is another bug(or feature) appeared: if I had less than 80 favor before asking for training - I get negative response and it counts like I had a training session that day. So after failed attempt to train, my training option gets blocked even with other character. (Try training with Sister after Mom refused to train with MC)
it is not a bug, it is programmed like that, when you ask someone to train, it will make the variable as you have trained, regardless whether they agreed or not.
You can change the code if you want, but then it will be like using a mod :)
 

NeonSelf

Member
Dec 3, 2019
347
612
258
it is not a bug, it is programmed like that, when you ask someone to train, it will make the variable as you have trained, regardless whether they agreed or not.
You can change the code if you want, but then it will be like using a mod :)
Oh, OK then. Its not so punishing, like a game crash on every failed training attempt, I can live with that :)

I would like to change the code, maybe even expand this game to its logical complete state, but it rises a few issues for me.
1 - I fear using Python for any project. I was making games on Flash(AS3) and Unity(C#). And Python seems bad for any big project: relying on indents for making blocks of code, not typed variables, and every variable seems global? Its a bad practice to store everything in global variables.
2 - Even if I learn Python, it may take a month or so with my experience, I dont have any rights to change someone's game. And making a mod over existing bad(possibly) architecture is a recipe for disaster. Also, if game ever gets a new version - mod becomes incompatible with it. I've seen too many Minecraft mods dead because they had to be updated for every new version of the game.

I wish there was some easy way to continue abandoned games as an opensource project.
 

sillyrobot

Engaged Member
Apr 22, 2019
2,442
2,062
468
Oh, OK then. Its not so punishing, like a game crash on every failed training attempt, I can live with that :)

I would like to change the code, maybe even expand this game to its logical complete state, but it rises a few issues for me.
1 - I fear using Python for any project. I was making games on Flash(AS3) and Unity(C#). And Python seems bad for any big project: relying on indents for making blocks of code, not typed variables, and every variable seems global? Its a bad practice to store everything in global variables.
2 - Even if I learn Python, it may take a month or so with my experience, I dont have any rights to change someone's game. And making a mod over existing bad(possibly) architecture is a recipe for disaster. Also, if game ever gets a new version - mod becomes incompatible with it. I've seen too many Minecraft mods dead because they had to be updated for every new version of the game.

I wish there was some easy way to continue abandoned games as an opensource project.
As for (1), relying on indenting for blocks is dumb, I agree. Too easy for simple fuckups. Non-typed isn't a problem once you get used to it. There are advantages to dynamically typed languages. Everything doesn't need to be global. Ren'py effectively sets that up as a default because it assumes the primary users will be laypeople with no experience with programming languages who are creating relatively simple visual novels. Scoped variables exist though. There's just a dev tax on using them.

As for (2) Oh yeah, the architecture is bad. Not incredibly flawed, but obviously organically designed with very limited thought given to expansion or changes. The code shows a lot of beginner's mistakes.

I was modestly tempted to give the game a pass-over to remove all the work-in-progress and stubs that stick out and add a note at graduation that that was it, the end. I'd think I'd end up feeling obligated to try and fix some of the more annoying bugs and limitations though and the project could easily spiral into something too large for a side project for a game I neither own nor have financial interest in.
 

NeonSelf

Member
Dec 3, 2019
347
612
258
I was modestly tempted to give the game a pass-over to remove all the work-in-progress and stubs that stick out and add a note at graduation that that was it, the end. I'd think I'd end up feeling obligated to try and fix some of the more annoying bugs and limitations though and the project could easily spiral into something too large for a side project for a game I neither own nor have financial interest in.
Its great to have skilled fans like you, who patch abandoned games.

Also, I hope, maybe someday there will be an opensource remake, like OpenTTD or FreeCiv. This game has too much potential and inspiration to just let it die. Unfortunately, even if I start remaking it myself - I dont have any rights for reders or models from original, so it will be easier to just make someting completely new with similar game mechanics.
 
Last edited:

Imthatguy9924

Member
Jun 1, 2017
244
84
231
Is the game completed or has the dev done a Bethesda and just said its completed but there is a ton of missing content and bugs? As if my memory is correct I think there was a lots of bugs and characters that you cant interact with as well as no real ending.
 

sillyrobot

Engaged Member
Apr 22, 2019
2,442
2,062
468
Is the game completed or has the dev done a Bethesda and just said its completed but there is a ton of missing content and bugs? As if my memory is correct I think there was a lots of bugs and characters that you cant interact with as well as no real ending.
Not quite as good as a Bethesda. Literally just dropped it in its last state. Most of the women have some interaction. A couple are obviously underdeveloped and a few more completely undeveloped. There's a fair number of "this will exist in the future" flags signaling game mechanics as well.
 
3.10 star(s) 142 Votes