PlanetVampire.com Forum

Vampire the Masquerade: Bloodlines => Bloodlines Tech Support => Topic started by: Crimson97 on May 31, 2020, 05:50:44 am

Title: Missing Data and Poster Session bugs.
Post by: Crimson97 on May 31, 2020, 05:50:44 am
Hey guys. I'm using UP 10.6 and I'm having problems with these two quests.

I got the email from Bertram that he wanted to speak with me but when i go visit him he has nothing new to tell me. I looked online and apparently this bug should be solved by using G.CD_Quest = 1 on the console but that didn't seem to work. I know the console is working cause i used noclip to get myself unstuck earlier in the hospital.

As for Poster Session, when i leave the items in my mailbox and check my email the quests progresses and i get the prompt to go look for the next item but the posters are not in the mailbox. Once again i searched for a solution and tried G.PQ = 1, G.CD = 1 and G.Gary_Voerman = 1 but nothing worked. I don't really care that much about the posters and i already gave him three items, but if someone knows how to fix this it'd be nice.

Don't know if it has something to do with the bug but i picked the flesh ball and the nosferatu photo before triggering the quest without realising they were tied to the quest.
Title: Re: Missing Data and Poster Session bugs.
Post by: Wesp5 on May 31, 2020, 08:48:09 am
I looked online and apparently this bug should be solved by using G.CD_Quest = 1 on the console but that didn't seem to work.
That info is outdated, the right command is G.CD = 1!

Quote
I picked the flesh ball and the nosferatu photo before triggering the quest without realising they were tied to the quest.
The order you get the items in is not important, also you don't get the posters in the mail box, Gary will have them stuck to your walls instead :)!
Title: Re: Missing Data and Poster Session bugs.
Post by: Corvin on May 31, 2020, 02:15:43 pm
The order you get the items in is not important, also you don't get the posters in the mail box, Gary will have them stuck to your walls instead :)!
Also the posters will be absent every second time (literally) you enter your haven.
Also they will be present in all havens simultaneously...


... fix please?
Title: Re: Missing Data and Poster Session bugs.
Post by: Wesp5 on May 31, 2020, 02:39:25 pm
Also the posters will be absent every second time (literally) you enter your haven.
I never heard that before...

Quote
Also they will be present in all havens simultaneously...
... and that shouldn't happen. If you aquire a new haven after the SM one, the posters will vanish there! They will be present in all others, but you are only supposed to get one of those without cheating :).
Title: Re: Missing Data and Poster Session bugs.
Post by: Corvin on May 31, 2020, 02:56:14 pm
I never heard that before...
I've played Bloodlines since UP 9.8 (or 9.6?) with english UPs, russian UPs and CQM 4.0, and can't remember any time they wouldn't behave like that.
Looking at the Skyeline map (outstandingly glitchy, like no other map) and the decals' behavior in Hammer, I suppose it's another arcane bug of the engine.
If you aquire a new haven after the SM one, the posters will vanish there!
They definitely didn't vanish there at least once [in the past 2,5 years], but I don't remember their current behavior (too bad my recent saves are already deleted). Maybe it was recently fixed?
Title: Re: Missing Data and Poster Session bugs.
Post by: Wesp5 on May 31, 2020, 03:09:48 pm
They definitely didn't vanish there at least once [in the past 2,5 years], but I don't remember their current behavior (too bad my recent saves are already deleted). Maybe it was recently fixed?
No, that fix is in there since at least UP 8.0! Check the SM python script lockHaven()...
Title: Re: Missing Data and Poster Session bugs.
Post by: Norrwin on May 31, 2020, 05:55:32 pm
It does seem to be a thing, but never bothers me so I never question it.
Title: Re: Missing Data and Poster Session bugs.
Post by: Wesp5 on May 31, 2020, 06:41:36 pm
It does seem to be a thing, but never bothers me so I never question it.
Are there any Python errors in the console? Because I have an idea which would mean that an earlier script breaks and the posters stay because of that. Which I could easily fix in Python...
Title: Re: Missing Data and Poster Session bugs.
Post by: Norrwin on May 31, 2020, 07:27:23 pm
No Python errors that I can find but if I run lockHaven() after the map is loads they do immediately disappear, suggesting that a trigger didn't work as expected or is missing.


Title: Re: Missing Data and Poster Session bugs.
Post by: Wesp5 on May 31, 2020, 09:42:12 pm
Please test the attached python code and see if this fixes the issue. It should go into lockHaven() in santamonica.py replacing the connected lines:
if G.Haven_Empty == 0:
            relay = Find("haven_emptier")
            relay.Trigger()
            G.Haven_Empty = 1



Title: Re: Missing Data and Poster Session bugs.
Post by: DDLullu on May 31, 2020, 10:45:06 pm
I dont it will help, here what's happen , and i dont know why exactly maybe a buffer thing, the lockHaven() of santamonica.py is  executed before the posterCheck() of vamputil.py. Go to SM hub return to haven and then checkPoster() is executed before the lockHaven() and every time you change map and return they are swichting.

I found a workaround: i delay the command lockHaven() by 0.5sec and i am sure it's always posterCheck() that get executed first. Here's the code in santamonica.py:

def lockHaven():
    __main__.ScheduleTask(0.5,"lockHaven1()")
def lockHaven1():

Maybe it's easier in the haven map for the delay:

"OnMapLoad" ",,,0.5,-1,lockHaven(),"

Of course posterCheck() stay at 0:

"OnMapLoad" ",,,0,-1,posterCheck(),"
Title: Re: Missing Data and Poster Session bugs.
Post by: Crimson97 on May 31, 2020, 11:00:53 pm
That info is outdated, the right command is G.CD = 1!
Thank you! That seemed to do the trick.

Also the posters were in fact in my haven, guess i need to look around me more often. I can also confirm they disappear sometimes.
Title: Re: Missing Data and Poster Session bugs.
Post by: Norrwin on June 01, 2020, 12:13:53 am
DDLullu is right adding the code didn't change anything, but it did show one interesting thing. That is on my system G.Haven_Empty never gets set to 1 unless lockHaven() is run from a console window.


So something more odd than a delay is happening on my system. If it were only a delay G.Haven_Empty would still be set even if executed out of order, the fact it is not suggests lockHaven() never ran at all.
Title: Re: Missing Data and Poster Session bugs.
Post by: DDLullu on June 01, 2020, 03:45:19 am
Maybe an indentation error?  Or a punctuation error?  If there are errors the script go on until the first error and then stop. Do you have some errors in the console? Believe me, when i play with python that's the things i have to watch out. In fact i expect this to happen to me. Weps use mostly spaces for indentation in the script so maybe you have some tab?


Title: Re: Missing Data and Poster Session bugs.
Post by: Wesp5 on June 01, 2020, 08:21:40 am
I think DDLullu is right about the order, I always figured that vamputil.py was run first. Who knows what other issues were caused by this? But I found a more elegant solution, try this:
def posterCheck():
    G = __main__.G
    newgame = Find("newgame")
    if newgame and G.Haven_Empty == 1:
        print "no posters"
        if(G.Gary_Voerman):
            poster = Find("poster_jeanette")
            poster.ScriptHide()
        if(G.Velvet_Poster):
            poster = Find("poster_vv")
            poster.ScriptHide()
        if(G.Gary_Photochop):
            poster = Find("poster_ming")
            poster.ScriptHide()
        if(G.Gary_Damsel):
            poster = Find("poster_damsel")
            poster.ScriptHide()
        if(G.Gary_Tawni):
            poster = Find("poster_tawni")
            poster.ScriptHide()
        if(G.Gary_Imalia):
            poster = Find("poster_imalia")
            poster.ScriptHide()
        if(G.Gary_Cross):
            poster = Find("poster_cross")
            poster.ScriptHide()
        if(G.Gary_Blind):
            poster = Find("poster_blind")
            poster.ScriptHide()
    elif(G.Gary_Voerman):
        poster = Find("poster_jeanette")
        poster.ScriptUnhide()
    elif(G.Velvet_Poster):
        poster = Find("poster_vv")
        poster.ScriptUnhide()
    elif(G.Gary_Photochop):
        poster = Find("poster_ming")
        poster.ScriptUnhide()
    elif(G.Gary_Damsel):
        poster = Find("poster_damsel")
        poster.ScriptUnhide()
    elif(G.Gary_Imalia):
        poster = Find("poster_imalia")
        poster.ScriptUnhide()
    elif(G.Gary_Tawni):
        poster = Find("poster_tawni")
        poster.ScriptUnhide()
    elif(G.Gary_Cross):
        poster = Find("poster_cross")
        poster.ScriptUnhide()
    elif(G.Gary_Blind):
        poster = Find("poster_blind")
        poster.ScriptUnhide()
        if(G.Ball_Taken < 2):
            __main__.FindPlayer().SetQuest("Gary", 9)
            G.Ball_Taken = 2
Title: Re: Missing Data and Poster Session bugs.
Post by: Norrwin on June 01, 2020, 04:56:53 pm
Maybe an indentation error?  Or a punctuation error?
Yes that is my main dislike for Python but I don't think it is a problem in this case. There are no Python errors and the function works when run from a console, also without any errors.


I think DDLullu is right about the order, I always figured that vamputil.py was run first. Who knows what other issues were caused by this? But I found a more elegant solution, try this:

I did try it and it didn't remove the posters and posterCheck() no longer removes them either when run from the console. From my earlier post, G.Haven_Empty never gets set unless run from a console window, which is why it doesn't work here either.

However, if I run lockHaven() from the console it still does remove the posters, G.Haven_Empty gets set and posterCheck() does print out no posters to the console. But there aren't any posters to remove since lockHaven() already removed them.

The original code would work fine, if it ever ran, why it doesn't is a mystery to me.
Title: Re: Missing Data and Poster Session bugs.
Post by: Wesp5 on June 01, 2020, 05:28:30 pm
Well, my last solution does run on my system from the Python files so it should be okay. I have no idea why the script isn't running for you. Did you modify the haven map and accidentally delete it?
Title: Re: Missing Data and Poster Session bugs.
Post by: Norrwin on June 01, 2020, 06:31:24 pm
I had that thought about accidentally modifying the map as well, so I extracted the 10.4 files again in a different place and compared them and they were the same. But to be triple sure I copied the newly extracted file over and loaded the save again.


Didn't the original code work on your machine as well? If it did is there any reason to change it?
Title: Re: Missing Data and Poster Session bugs.
Post by: Wesp5 on June 01, 2020, 11:27:51 pm
Didn't the original code work on your machine as well? If it did is there any reason to change it?
It can be that I never tested it because I assumed that vamputil.py was run earlier ;)...
Title: Re: Missing Data and Poster Session bugs.
Post by: Quesnel-SaintFort on July 08, 2020, 08:14:34 pm
Hello friends. I'm new here, and I just registered in the forum because I'm with a little problem in my game. I use the 10.7 unofficial patch, and the posters aren't appearing in my wall heaven (just the first, the Malkavian one, is there). Second problem, I already find all items, and just put the Tzimisce Fleshy Ball in my mail box, and the item was taken. But the quest didn't change (I already checked my e-mail). Can someone help me with that? There is a way to fix it?

Ps.: I read things in forum for one hour and half, and I'm sorry if that's in some topic already, but how English isn't my first language, I'm very slow on doing that.

Thanks!
Title: Re: Missing Data and Poster Session bugs.
Post by: Wesp5 on July 08, 2020, 09:31:02 pm
I use the 10.7 unofficial patch, and the posters aren't appearing in my wall heaven (just the first, the Malkavian one, is there).
Sadly this was a problem with the first 10.7 release candidates. It has been fixed in the meantime, but I suggest you continue your game without the poster as updating to the latest release candidate might mess up your saves...
Title: Re: Missing Data and Poster Session bugs.
Post by: Quesnel-SaintFort on July 08, 2020, 11:26:23 pm
I use the 10.7 unofficial patch, and the posters aren't appearing in my wall heaven (just the first, the Malkavian one, is there).
Sadly this was a problem with the first 10.7 release candidates. It has been fixed in the meantime, but I suggest you continue your game without the poster as updating to the latest release candidate might mess up your saves...

I understand and appreciate the enlightenment. Two more thing: first, I thought that 10.7 was the latest update. Is There 10.8?; Second, is there a way to just finish the quest?
Title: Re: Missing Data and Poster Session bugs.
Post by: Wesp5 on July 09, 2020, 08:00:23 am
Two more thing: first, I thought that 10.7 was the latest update. Is There 10.8?; Second, is there a way to just finish the quest?
For now 10.7 is the  latest patch, if no major issues crop up it might actually be the last one :)! And for second, open the console and type __main__.FindPlayer().SetQuest("Gary", 9).
Title: Re: Missing Data and Poster Session bugs.
Post by: Quesnel-SaintFort on July 10, 2020, 01:22:30 am
Thanks a lot again!

For now 10.7 is the  latest patch, if no major issues crop up it might actually be the last one :)!("Gary", 9).
It's unbelievable what you fellas did for this game, I finished this game a plenty of times and each time it's a new experience (last time there was no Lasombra quest!!!!). You are awesome!  :grin:
SimplePortal 2.3.7 © 2008-2022, SimplePortal