Jump to content


Photo

Sarevok keeps initiating PID every five seconds


  • Please log in to reply
11 replies to this topic

#1 Cykuta_Again

Cykuta_Again
  • Member
  • 10 posts

Posted 14 September 2019 - 02:40 AM

Hey!

 

I downloaded the mod from SHS today, so I assume it's the newest version. Dorn romance has been pretty disappointing so far so I took Sarevok (who's my second favourite romance mod ever!) to show Dorn how it's done. :D

 

The trouble is, after we get to Saradush and the very first conversation with him fires off, he starts initiating dialogue with me literally every five seconds, and the contents of this conversation are the same as in the player-initiated dialogue - the one where your options are "watch him" or "smile at him" or somesuch.

This makes the game a bit hard to play, but I really, really don't want to remove the mod. Is there something I can do?

 

I'm running BG2 EE on steam. Other mods I have installed are:

Dungeon-be-gone

Tweaks Anthology

Improved Archer

Questpack

G3 Alternatives

Romantic Encounters

Kivan & Deheriana

Kelsey

Arath

Haer'Dalis romance (not tried it yet, looking forward!)

Yoshimo romance

Dorn romance expansion.

 

(Yes, my BG2 is basically modded into a harlequin novel with my PC at the center. I know what I like and I like a lot of it.)


Edited by Cykuta_Again, 14 September 2019 - 02:42 AM.


#2 jastey

jastey
  • Staff
  • 2359 posts

Posted 14 September 2019 - 03:28 AM

You encountered the so-called stutter bug. Do you know your way around with Near Inifnity? Then please install the Debug Stutter Tool, and post the script block it references here.



#3 Cykuta_Again

Cykuta_Again
  • Member
  • 10 posts

Posted 14 September 2019 - 03:56 AM

Ok, so no, I have absolutely no idea what Near Infinity even is, but I downloaded this thing and ran it like the readme said. I don't really know what "note or screenshot all displayed messages until you can be sure that the stutter was called at least twice" means, but every time the conversation pops up, there is a message "running block 40 of SAREV25.BCS" right before it, so... I assume that's that? Sorry, I have no idea what I'm doing.

 

Also, it's funny that I've played this game 764027018708 times, and only now I find out there's this special tool to deal with this apparently common problem. Heh.



#4 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 4995 posts

Posted 14 September 2019 - 06:19 AM

Also, it's funny that I've played this game 764027018708 times, and only now I find out there's this special tool to deal with this apparently common problem. Heh.

Well, that tool is not even the first of it's kind, as I can say that I partially made the second one to then cover all the scripts, the first being the bigg's tool for one script.

 

What comes to the Near Infinity, now you should make sure you have a Java RunTime installed on your computer, as the Near Infinity needs that... then you run the .jar file which opens the tool(as a Java Runtime application), go into the BCS folder and open the SAREV25.bcs -file and scroll down to where you see the text in question "running block 40 of SAREV25.BCS" and copy paste the script block text from the IF before it to the END after it to a post, this will jastey to find this bug and fix it. 


Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#5 Cykuta_Again

Cykuta_Again
  • Member
  • 10 posts

Posted 14 September 2019 - 06:38 AM

 you run the .jar file which opens the tool(as a Java Runtime application)

 

 

What .jar file do you mean? Is Near Infinity a separate program that I need to download first? Because it's starting to sound like that. I really have no idea what I'm doing.



#6 jastey

jastey
  • Staff
  • 2359 posts

Posted 14 September 2019 - 06:59 AM

You are doing pretty good for someone with no experience! Knowing the number of the script block causing the stutter is the first third of what you need to know. The problem is, that I do not know how the script "SAREV25.BCS" looks like in your game, so I can't tell which script block no 40 would be. That is why you need to look it up yourself using Near Infinity which indeed is an own program for editign the game files of the IE (Infinity Engine) games (BG, IWD, PS:T).

 

As The Imp pointed out you'd need Java RunTime installed, then you can start Near Infinity by starting the "NearInfinity.jar". You open your game by selecting the chitin.key. Then navigate to teh bcs files and open SAREV25.BCS and search where it says "running block 40 ..." (it's not the line 40!). THen copy the whole script block here.

 

One note: do not forget to deinstall the Debug Tool like any mod, or you'll be stuck with the "running block x..." messages in your game!



#7 jastey

jastey
  • Staff
  • 2359 posts

Posted 14 September 2019 - 07:05 AM

Forgot the link: https://forums.beamd...ty-available/p1



#8 Cykuta_Again

Cykuta_Again
  • Member
  • 10 posts

Posted 14 September 2019 - 07:25 AM

Ooh, is this the thing you all wonderful people use to actually make all those fantastic mods? Or is that another thing entirely?

 

Anyway, The Imp said I need to copy the whole section from the IF before it to the END after it, so here it is:

 

 

IF
  IfValidForPartyDialog(Myself)
  See(Player1)
  !StateCheck(Myself,CD_STATE_NOTVALID)
  !StateCheck(Player1,CD_STATE_NOTVALID)
  OR(2)
     Global("LS_HaerDalisRomanceActive","GLOBAL",1)
     Global("LS_HaerDalisRomanceActive","GLOBAL",2)
  CombatCounter(0)
  !See([ENEMY])
  Global("LS_SarevokHaerDalisPC","GLOBAL",2)
THEN
  RESPONSE #100
     MoveToObject(Player1)
     ActionOverride(Player1,DisplayString(Myself,173923))  // Running block 40 of SAREV25.BCS
     ActionOverride(Player1,DisplayStringHead(Myself,173923))  // Running block 40 of SAREV25.BCS
     Dialog(Player1)
END

 



#9 jastey

jastey
  • Staff
  • 2359 posts

Posted 14 September 2019 - 09:24 AM

That was quick! I like players who can look up the stutter script block by themselves!

 

First off: this dialogue is not from Sarevok Romance but Hear'Dalis Romance mod. But: the stutter is because Sarevok Romance was installed before Haer'Dalis, and now the PID from the romance blocks the (later added) dialogue because it's not weighted high enough.

 

If you set the following cheat code:

C:SetGlobal("LS_SarevokHaerDalisPC","GLOBAL",3)

 

the stutter should stop. It also means Sarevok will not talk about the ongoing Haer'Dalis romance. The dialogue does not set any other variables or such, though.

 

I'll make a note at the Haer'Dalis' forum.




#10 jastey

jastey
  • Staff
  • 2359 posts

Posted 14 September 2019 - 09:30 AM

And yes, Near Infinity is a tool I use every modding day.



#11 Cykuta_Again

Cykuta_Again
  • Member
  • 10 posts

Posted 14 September 2019 - 09:45 AM

It's a slow week, work-wise. Thank you so much for all your help.

 

So if I re-installed the mods in reverse order, it could work without blocking the interaction? I'm not planning on engaging Haer'Dalis this time round, but I'd prefer not to miss out on dialogue in future.



#12 jastey

jastey
  • Staff
  • 2359 posts

Posted 14 September 2019 - 09:50 AM

It seems Sarevok Romance doesn't add any dialogues for Haer'Dalis so yes, installing them in the order Haer'Dalis - Sarevok should be the preferable option (until the issue gets fixed).