Jump to content


Photo

Requesting help resolving a looping script


  • Please log in to reply
9 replies to this topic

#1 MacSatan

MacSatan
  • Member
  • 34 posts

Donator

Posted 06 January 2023 - 08:07 AM

Due to a recent lightning strike, I lost my PC and had to get a new one and reinstall BGEE, the series, installed as a trilogy.  There are many mods installed.  I had this problem previously and Jastey was able to help me resolve it.  I have installed the stutter debug tool and searched the .BCS files for the entries listed in the screen shots, I have the entries saved in files, I will upload them.  
 
I hope someone will be able to help me out.
 
Thank you in advance

Here are the files from the .BCS files that the screen shots were referencing

Attached Images

  • bcs_errors_1.PNG
  • bcs_errors_2.PNG

Attached Files


Edited by skellytz, 06 January 2023 - 09:52 AM.
Double posting. Please use the edit button instead of posting twice in a row within a few minutes.


#2 Graion Dilach

Graion Dilach
  • Modder
  • 104 posts

Posted 06 January 2023 - 09:59 AM

How do you know it's a looping script? What is the starting point that you needed the StutterDebug for?



#3 MacSatan

MacSatan
  • Member
  • 34 posts

Donator

Posted 06 January 2023 - 10:44 AM

Just a guess to be honest.  I noticed that the NPCs that I recruited would stop moving while walking for no reason.  I remember that is what what happening on my last install and the problem was noticed by using the StutterDebug tool so I thought ( possibly incorrectly ) that this looks familiar, so I installed the tool and started collecting information like I did last time.

 

If I am incorrect in  my assumption could someone set me straight?



#4 Graion Dilach

Graion Dilach
  • Modder
  • 104 posts

Posted 06 January 2023 - 11:33 AM

There are no recruited NPCs among those listed though.

 

Yes,. the idea is cool, it's just that you skipped some steps and this wasn't obvious.



#5 MacSatan

MacSatan
  • Member
  • 34 posts

Donator

Posted 06 January 2023 - 12:19 PM

Agreed, poor form on  my part, apologies.  I did have 1 NPC, a MOD NPC Alassa.  

Since I missed some steps, what all information should I provide?



#6 Graion Dilach

Graion Dilach
  • Modder
  • 104 posts

Posted 06 January 2023 - 01:30 PM

Either set the D0AlassaQuest local variable stored in her to 2 or try to talk with her on your own. She acts a bit weird, but it should get through that dialog.


Edited by Graion Dilach, 06 January 2023 - 01:33 PM.


#7 MacSatan

MacSatan
  • Member
  • 34 posts

Donator

Posted 06 January 2023 - 01:43 PM

Will doing that resolve the issue where she or any other NPC will stop walking part of the way when walking across a map?



#8 jastey

jastey
  • Administrator
  • 3219 posts

Posted 06 January 2023 - 03:00 PM

I've seen this before. The Banter Acellerator timer wasn't installed correctly, so it sets a timer with time "0" - which makes the blocks 14 and 15 from baldur.bcs loop.

You can read up here what probably happened in your install which lead to this problem.

See here for workaround fix.

And - well done. Stutter Debug Tool was the right thing to install and identify the problem. :cheers:

 

EDIT: I notice now it was your last install who had this problem. :lol:

The current version 5.9 of the IEP Banter mod doesn't have the problem any more.



#9 MacSatan

MacSatan
  • Member
  • 34 posts

Donator

Posted 06 January 2023 - 06:16 PM

Thank you for that Jastey, it did resolve  the issue.  I was hesitant to apply the same fix that you told me to reply last time because of the other seemingly repeating lines on the dialogue screen after installing the Stutter Debug tool, I did not know if those were indeed errors that needed tending to or not, so I thought it best to oseek out experts who would know.  I figured better to play it safe, I know my capabilities and appreciate the heck out of you guys and girls that know this stuff.

 

So on that, the other things in the dialogue screen shots, were those just informational? 

I only ask to learn.

 

I remembered that you had helped me resolve the issue last time, first thing I did was find my post about it and read what you had posted.

 

Thank you yet again, I am in your debt.   I appreciate everyone who chimed in to help out on this.



#10 jastey

jastey
  • Administrator
  • 3219 posts

Posted 07 January 2023 - 12:55 AM

Yes, the other ones should be fine. I assume Koath is your familiar? Because block 0 from Randfly.bcs is Randomfly(). Same for block 4 of WDRUNSGT.bcs, it's RandomWalk(). So, most of the listed script actions you see is basically what makes the towns people scuttle around.

Plus, scripts executed by other characters should not lead to stutters of NPCs. (It would be possible if they'd use ActionOverride(), of course, but it would be very uncommon for "random" characters to have such a scriptblock affecting group NPCs).