raick_

Newbie
Oct 18, 2023
32
23
83
If you get an error, search this thread for the error message. There should be many posts.

Last version I played, the script for the navigation in the house had bugs so depending on WHEN you go WHERE you may run into an error. These bugs are there for years. Save the game often and if you encounter an error, go back to your save and choose a different combination of actions. Be careful with the quick navigation.
I was able to play through all of the content from previous version, so it likely should be possible now, too.
I've already looked and there are other people with the same error, including on this topic page and on the previous page

Unfortunately no one has the solution

Last year I remember playing an earlier version and I had no problems


what error?
This

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

While running game code:
File "game/script.rpy", line 8704, in <module>
AttributeError: 'MyGallery' object has no attribute 'Add'"
 

f96zonetrooper

Engaged Member
Dec 21, 2018
2,948
2,837
350
v0.28
I started a new game and I get the same Error : AttributeError: 'MyGallery' object has no attribute 'Add'"

I am not a Python expert but it seems that it is caused by kind of a "preliminary" (empty, default) class definition or some leftover code from the old gallery implementation ????
Code:
    class MyGallery:
        pass
"Add" in Python is used to add elements to a set ... however there is no code in the script that "class MyGallery" is derived from a set or similar data type.


After the pool party the script tries to "add" lots of items to a gallery object of this class :
Code:
    if add_phone_gallery < 2:
        $ gallery = MyGallery()
        $ gallery.Add(1)
        $ gallery.Add(2)
        $ gallery.Add(3)
        $ gallery.Add(4)
        $ gallery.Add(5)
        $ gallery.Add(6)
        $ gallery.Add(7)
        $ gallery.Add(8)
        $ gallery.Add(9)
        $ gallery.Add(10)
        $ gallery.Add(11)
        $ gallery.Add(12)
        $ gallery.Add(13)
        $ gallery.Add(14)
        $ gallery.Add(15)
        $ gallery.Add(16)
        $ gallery.Add(17)
        $ gallery.Add(18)
        $ gallery.Add(19)
        $ gallery.Add(20)
        $ gallery.Add(21)
        $ gallery.Add(22)
        $ gallery.Add(23)
        $ gallery.Add(24)
        $ phone = Phone()
        $ phone.AddContact("Sarah")
        $ phone.AddContact("Monique")
        $ phone.AddContact("Kate")
        $ phone.AddContact("Elizabeth")
        $ phone.AddContact("Trevor")
        $ showPhoneButton = True
        $ add_phone_gallery = 2
At the end of that block, the "add_phone_gallery"-variable is set to 2, so these statements should not be called again and a similar block in another script file should be skipped right away.

You can ignore all the 24 Errors thrown by all these faulty "Add"-statements and try to continue the game. It should happen only once per playthrough. The gallery is working for me.


Here is a version of the script where I commented ('#') all the "gallery.Add"-statements. It should throw no error.
Use Right Mouse Button + "Save target as ..." option for download.
Place it in the game's "/game" folder.

In case you want to remove it, remove script.rpy and script.rpyc from the folder and the game should use the original script.rpy in archive.rpa again.

Edit :
Additionally fixed the bug that prevented Gallery Scene 9 to unlock.
 
Last edited:

f96zonetrooper

Engaged Member
Dec 21, 2018
2,948
2,837
350
Any news to the bunch of speculations about the parents?

- mc's mother and aunt Sarah are (identical) twins
- there was a mix-up in the past when mc's mother and Sarah were still living close to each other, likely Sarah's husband having sex with mc's mother
- mc, Kate and Aiko all have the same age
- Sarah's husband seems to be the lover of Aiko's mom in Asia and probably might be also the mysterious absent father of Aiko
- Kate is the daughter of mc's mother and Sarah's husband and was probably taken away after birth (see below)
- mc might be either Kate's twin or an adopted (random) child (who then would not be blood related to any NPC to avoid incest trouble with patreon, steam, ...)
- ... or mc might be Sarah's son and switched after birth with Kate before the two families separated
- Aiko, Kate and mc all seem to be (half)-siblings, all childs of Sarah's husband


''Come on, there has to be something here. Anything about my birth parents.''
''Damn it, there's nothing. No mention of my birth parents anywhere. What was Monique hiding?''
''Kate...?!''
''Kate is Lysa's daughter? But that's impossible.''
''Frank Monroe and... and my mother are Kate's parents. What the fuck?!''
''No, this can't be right. There must be some mistake. Kate can't be Lysa's daughter.''
''How can Lysa be Kate's mother?! She is my mother...''
''Could Kate be... my sister? ''
''No, it doesn't make sense. We are almost the same age...''
''Unless... unless we're twins.''
''No! We don't look anything alike. I'm not going to believe this!''
(Note : if twins have different sex then they cannot be "identical" twins and so they don't have to look "identical".)
''Kate and I couldn't be twins. But if Kate is Lysa's daughter, then who am I?''
''And why is there no birth certificate for me?!''

Monique later on that topic :
m neutral "{b}I was five years old when Kate was born, [player_name]. Five! Do you think I was running around forging birth certificates back then?{/b}"
...
m neutral "{b}Come back one of these days, and I'll tell you everything.{/b}"
 
Last edited:

raick_

Newbie
Oct 18, 2023
32
23
83
I started a new game and I get the same Error : AttributeError: 'MyGallery' object has no attribute 'Add'"

I am not a Python expert but it seems that it is caused by kind of a "preliminary" (empty, default) class definition or some leftover code from the old gallery implementation ????
Code:
    class MyGallery:
        pass
"Add" in Python is used to add elements to a set ... however there is no code in the script that "class MyGallery" is derived from a set or similar data type.


After the pool party the script tries to "add" lots of items to a gallery object of this class :
Code:
    if add_phone_gallery < 2:
        $ gallery = MyGallery()
        $ gallery.Add(1)
        $ gallery.Add(2)
        $ gallery.Add(3)
        $ gallery.Add(4)
        $ gallery.Add(5)
        $ gallery.Add(6)
        $ gallery.Add(7)
        $ gallery.Add(8)
        $ gallery.Add(9)
        $ gallery.Add(10)
        $ gallery.Add(11)
        $ gallery.Add(12)
        $ gallery.Add(13)
        $ gallery.Add(14)
        $ gallery.Add(15)
        $ gallery.Add(16)
        $ gallery.Add(17)
        $ gallery.Add(18)
        $ gallery.Add(19)
        $ gallery.Add(20)
        $ gallery.Add(21)
        $ gallery.Add(22)
        $ gallery.Add(23)
        $ gallery.Add(24)
        $ phone = Phone()
        $ phone.AddContact("Sarah")
        $ phone.AddContact("Monique")
        $ phone.AddContact("Kate")
        $ phone.AddContact("Elizabeth")
        $ phone.AddContact("Trevor")
        $ showPhoneButton = True
        $ add_phone_gallery = 2
At the end of that block, the "add_phone_gallery"-variable is set to 2, so these statements should not be called again and a similar block in another script file should be skipped right away.

You can ignore all the 24 Errors thrown by all these faulty "Add"-statements and try to continue the game. It should happen only once per playthrough. The gallery is working for me.


Here is a version of the script where I commented ('#') all the "gallery.Add"-statements. It should throw no error. Place it in the game's "/game" folder.
In case you want to remove it, remove script.rpy and script.rpyc from the folder and the game should use the original script.rpy in archive.rpa again.
Yesterday I tried the other scene with Karina and then the error occurred in the same part

I had already deleted the game but now I'm going to download it again and apply the correction in the script you made available :)

Thank you very much for your help, if it weren't for your help I would have given up playing this game because I don't understand anything about scripts

Edit: I tried to download the script but it was not possible
 
Last edited:

f96zonetrooper

Engaged Member
Dec 21, 2018
2,948
2,837
350
not easy to figure out what to do its a mess bet i barely saw a tiny bit and already fed up n deleting it gl
1. There is a "walkthrough" for the game which should be already included in the game's folder :
Indecent Desires - the Game - v028.pdf
If you don't find it, there is also a Mega link in the OP.
The game starts with the Intro, see walkthrough page 3ff.

2. The game has an ingame Hint system, telling you where to go next ... This system is unlocked near the end of the Intro (VN) part (after the clinic visit) when more and more GUI elements for the sandbox mode are added.

3. Attributes
These are confusing since the game was reworked in the past and now most attributes like "Obedience" have no effect. Even "Lust" now has only a minimal effect.
For more infos see here : https://f95zone.to/threads/indecent-desires-the-game-v0-28-vilelab.11623/post-14973970

AfaIk : There are 2 major path types :
- Love/Affection (req. ca 5 affection, 0 hate) and
- Blackmail/Hate (most blackmail actions cause hate and so block the Love path)

(Usually you can use rollback to try out or correct decisions, eg if you accidently triggered Hate you can roll back and choose a different dialog option.)
 
Last edited:
  • Like
Reactions: raick_

cxx

Message Maestro
Nov 14, 2017
76,963
39,701
1,519
not easy to figure out what to do its a mess bet i barely saw a tiny bit and already fed up n deleting it gl
well you wont get anywhere with "cousins" yet unless goes on blackmail route, 1-2 times with maid on love/lust route and 3ish times with "auntie". can fuck prostitute as much as wants, can fuck trevor's clients (zombies) once a week and twice other random sex.
 

f96zonetrooper

Engaged Member
Dec 21, 2018
2,948
2,837
350
v0.28
I noticed a bug in script.rpy line 8514 :
Code:
$ persistent.gallery_sc_09 = True
Should be
Code:
$ persistent.gallery_sc_9 = True
The spelling error currently prevents to unlock Gallery Scene 9 - Sex with Karina at the Beach after the Pool Party.
 
  • Like
Reactions: raick_

f96zonetrooper

Engaged Member
Dec 21, 2018
2,948
2,837
350
v0.28 (compressed version)

I noticed a problem with some of the "fullbody" (big) icons for the Attributes Screen.
When I click Kate, Aiko, Jessica or Karina to see their stats, the screen is distortet by horizontal lines caused by "faulty" (?) coding of the transparent figure image which is placed on top of the screen.
The files are located in folder \game\images\attributes\fullbody

I opened one of the png-files with Paint 3D program and saved it without changing anything and the distortion vanished. So maybe it is a transparency problem of the compression tool? I did not test the uncompressed version.
 
  • Like
Reactions: raick_

f96zonetrooper

Engaged Member
Dec 21, 2018
2,948
2,837
350
just wow how can a game be so broken has anyone even finished it or just the maker
If you find "broken" parts like bugs or dead ends, share them in the forum and/or contact the dev ...

This game is in development, so you can only "finish" the current content. AfaIk there are no gamebreaking bugs ... just a lot of non-optimal design choices ... and a very slow development process considering that the game started in 2018.
Follow the walkthrough and the hints and you should be able to see all content ... (if you really want to see all of it since some content covers special fetishes). There are different paths, so you have to play the game several times with different choices.

My main critique is that the gameplay still feels like a VN with separate paths where events are still linear but are now in a sandbox world. Make a bad joke, get Hate from a girl and you may be on a different path without any chance to remove that Hate, even if there is a lot of Affection ... It would be better to break all the current paths to pieces and use the available lewd scenes to create repeatable events to fill the game world with life and give players more options to play without having to start a new game ...

The murder story also does not fit that well into the sandbox gameplay. The mc has to get a gun for this (kinetic) story part to continue and this actually is tricky for new players and does not make any sense except that the following (kinetic) story part includes a gun.
 

IaaTSwltTD99

Newbie
May 30, 2022
51
19
85
I am stuck at Kate gameplay rn.. I am supposed to watch the camera recordings to trigger the Shower events but everytime I try she is just taking a bath...Is there anything to do before that? (I did the library and sauna event)
 

raick_

Newbie
Oct 18, 2023
32
23
83
v0.28
I started a new game and I get the same Error : AttributeError: 'MyGallery' object has no attribute 'Add'"

I am not a Python expert but it seems that it is caused by kind of a "preliminary" (empty, default) class definition or some leftover code from the old gallery implementation ????
Code:
    class MyGallery:
        pass
"Add" in Python is used to add elements to a set ... however there is no code in the script that "class MyGallery" is derived from a set or similar data type.


After the pool party the script tries to "add" lots of items to a gallery object of this class :
Code:
    if add_phone_gallery < 2:
        $ gallery = MyGallery()
        $ gallery.Add(1)
        $ gallery.Add(2)
        $ gallery.Add(3)
        $ gallery.Add(4)
        $ gallery.Add(5)
        $ gallery.Add(6)
        $ gallery.Add(7)
        $ gallery.Add(8)
        $ gallery.Add(9)
        $ gallery.Add(10)
        $ gallery.Add(11)
        $ gallery.Add(12)
        $ gallery.Add(13)
        $ gallery.Add(14)
        $ gallery.Add(15)
        $ gallery.Add(16)
        $ gallery.Add(17)
        $ gallery.Add(18)
        $ gallery.Add(19)
        $ gallery.Add(20)
        $ gallery.Add(21)
        $ gallery.Add(22)
        $ gallery.Add(23)
        $ gallery.Add(24)
        $ phone = Phone()
        $ phone.AddContact("Sarah")
        $ phone.AddContact("Monique")
        $ phone.AddContact("Kate")
        $ phone.AddContact("Elizabeth")
        $ phone.AddContact("Trevor")
        $ showPhoneButton = True
        $ add_phone_gallery = 2
At the end of that block, the "add_phone_gallery"-variable is set to 2, so these statements should not be called again and a similar block in another script file should be skipped right away.

You can ignore all the 24 Errors thrown by all these faulty "Add"-statements and try to continue the game. It should happen only once per playthrough. The gallery is working for me.


Here is a version of the script where I commented ('#') all the "gallery.Add"-statements. It should throw no error.
Use Right Mouse Button + "Save target as ..." option for download.
Place it in the game's "/game" folder.

In case you want to remove it, remove script.rpy and script.rpyc from the folder and the game should use the original script.rpy in archive.rpa again.

Edit :
Additionally fixed the bug that prevented Gallery Scene 9 to unlock.
Now the game is working fine, thanks for the help :)
 
2.10 star(s) 142 Votes