collapse

Author [EN] [PL] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Missing Data and Poster Session bugs.  (Read 1075 times)

Offline Crimson97

  • Fledgling
  • *
  • Posts: 2
  • Reputation: +0/-0
Missing Data and Poster Session bugs.
« 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.
« Last Edit: May 31, 2020, 05:52:30 am by Crimson97 »

Marked as best answer by Crimson97 on May 31, 2020, 10:55:27 pm

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6734
  • Reputation: +888/-28
  • Unofficial Patcher
Re: Missing Data and Poster Session bugs.
« Reply #1 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 :)!
« Last Edit: May 31, 2020, 08:49:40 am by Wesp5 »

Offline Corvin

  • Fledgling
  • *
  • Posts: 10
  • Reputation: +1/-0
Re: Missing Data and Poster Session bugs.
« Reply #2 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?

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6734
  • Reputation: +888/-28
  • Unofficial Patcher
Re: Missing Data and Poster Session bugs.
« Reply #3 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 :).

Offline Corvin

  • Fledgling
  • *
  • Posts: 10
  • Reputation: +1/-0
Re: Missing Data and Poster Session bugs.
« Reply #4 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?

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6734
  • Reputation: +888/-28
  • Unofficial Patcher
Re: Missing Data and Poster Session bugs.
« Reply #5 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()...

Offline Norrwin

  • Neonate
  • **
  • Posts: 89
  • Reputation: +1/-0
Re: Missing Data and Poster Session bugs.
« Reply #6 on: May 31, 2020, 05:55:32 pm »
It does seem to be a thing, but never bothers me so I never question it.

Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6734
  • Reputation: +888/-28
  • Unofficial Patcher
Re: Missing Data and Poster Session bugs.
« Reply #7 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...
« Last Edit: May 31, 2020, 06:53:31 pm by Wesp5 »

Offline Norrwin

  • Neonate
  • **
  • Posts: 89
  • Reputation: +1/-0
Re: Missing Data and Poster Session bugs.
« Reply #8 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.



Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6734
  • Reputation: +888/-28
  • Unofficial Patcher
Re: Missing Data and Poster Session bugs.
« Reply #9 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




Offline DDLullu

  • Neonate
  • **
  • Posts: 91
  • Reputation: +208/-1
Re: Missing Data and Poster Session bugs.
« Reply #10 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(),"

Offline Crimson97

  • Fledgling
  • *
  • Posts: 2
  • Reputation: +0/-0
Re: Missing Data and Poster Session bugs.
« Reply #11 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.

Offline Norrwin

  • Neonate
  • **
  • Posts: 89
  • Reputation: +1/-0
Re: Missing Data and Poster Session bugs.
« Reply #12 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.

Offline DDLullu

  • Neonate
  • **
  • Posts: 91
  • Reputation: +208/-1
Re: Missing Data and Poster Session bugs.
« Reply #13 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?



Offline Wesp5

  • Administratrix
  • Antediluvian
  • *****
  • Posts: 6734
  • Reputation: +888/-28
  • Unofficial Patcher
Re: Missing Data and Poster Session bugs.
« Reply #14 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
« Last Edit: June 01, 2020, 08:47:21 am by Wesp5 »

 

SimplePortal 2.3.7 © 2008-2020, SimplePortal