cxx
Message Maestro
- Nov 14, 2017
- 76,963
- 39,699
- 1,519
what error?I'm also having problems after the scene with Karina after the pool party
I've already re-downloaded from another link and the problem persists
what error?I'm also having problems after the scene with Karina after the pool party
I've already re-downloaded from another link and the problem persists
I've already looked and there are other people with the same error, including on this topic page and on the previous pageIf 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.
Thiswhat error?
Do you use mods?While running game code:
File "game/script.rpy", line 8704, in <module>
AttributeError: 'MyGallery' object has no attribute 'Add'"
Do you use mods?
class MyGallery:
pass
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
play the game and relationships will be revealed.Any news to the bunch of speculations about the parents?
Yesterday I tried the other scene with Karina and then the error occurred in the same partI 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 ????
"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.Code:class MyGallery: pass
After the pool party the script tries to "add" lots of items to a gallery object of this class :
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.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
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.
Did you use : Right Mouse Button + "Save target as ..." option for download?Edit: I tried to download the script but it was not possible
1. There is a "walkthrough" for the game which should be already included in the game's folder :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.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
what motorboat? if you mean jetski then talk to trevor and wait a while then go get it and then talk to blonde "cousin".How to trigger a motorboat incident? This strategy is too vague
If you find "broken" parts like bugs or dead ends, share them in the forum and/or contact the dev ...just wow how can a game be so broken has anyone even finished it or just the maker
Now the game is working fine, thanks for the helpv0.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 ????
"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.Code:class MyGallery: pass
After the pool party the script tries to "add" lots of items to a gallery object of this class :
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.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
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.