Jump to content


Photo

Selence Bug, partly corrected


  • Please log in to reply
3 replies to this topic

#1 Sun Tzglyph

Sun Tzglyph
  • Member
  • 53 posts

Posted 10 August 2005 - 05:53 PM

Hello, I found bugs in my SoS part of BP, when i had to fence my items stolen from Ribald to Selence in the five flagons inn. If i refused to sell the helm of the trusted defender, she would ask for it over and over again. I searched for the dialog file, found SELE0511.DLG to be the one, and found on action 20

SetGlobal("CbSelenceSeesAHelmet","LOCALS",1).

Since it seems to check on Globals (sorry i'm just beginning on this I don't know the "language" yet i think) to see if she already has checked an item, i changed it to

SetGlobal("CbSelenceSeesAHelmet","GLOBAL",1).

and it worked.

I also changed the amount of gold given for the Bone Chris of Black Ichor. Selence announced 10000 GP and only gave 1000. Thought a 0 got lost somewhere :).

There is also a problem I'm not sure about, seems that sometimes Selence doesn't "see" all the items the party has on the first count (i think it's the global CbPartyGotMartItem), sometimes she sees the 10, sometimes less, thought i had to have all my character in her line of sight, seemed to work and yet once she only saw 7 and all my characters where in the same room. Anyway if she only sees 7 but then checks more than that during the negotiations it messes up(i think) the trigger 57 : GlobalsEqual("CbSelenceCheckedThis","CbPartyGotMartItem"), and it ends in a small loop ending with "no valid replies or link".
No problem though if she checks a correct number of items at the beginning.

Hope this helps, i try to attach the modified .dlg if anyone wants it

Attached Files



#2 Sir BillyBob

Sir BillyBob
  • Modder
  • 5315 posts

Posted 11 August 2005 - 02:27 PM

Now you just have to learn to use Weidu. A DLG file is almost worthless to someone else. Your Dialog.TLK file has different text string references than other people (because of the mods and order of installing those mods).

Selence would have a dialog file that "should" be common for most people because it comes from the BP 1.6 game that we all have as a base. However, there is no guarantee. So what you should try is to use DLTCEP and convert the DLG file to a D file. Then it is straight text and anyone can insert it back into their game by using DLTCEP. I don't thing NI has this ability (to extract or merge).

Tired of Bhaal? Try some classics mods instead:
Classic Adventures
Official Classic Adventures Website


#3 Sun Tzglyph

Sun Tzglyph
  • Member
  • 53 posts

Posted 16 August 2005 - 06:03 AM

Ok i understand... if used as it is , the dialog file I gave will indeed correct the actions in response to the triggers, but would be worthless because all the text will then be messed up if someone has a different installation than mine... I will try to see and do as you suggest and learn a bit of Weidu next week after my holidays...



Now you just have to learn to use Weidu.  A DLG file is almost worthless to someone else.  Your Dialog.TLK file has different text string references than other people (because of the mods and order of installing those mods).

Selence would have a dialog file that "should" be common for most people because it comes from the BP 1.6 game that we all have as a base.  However, there is no guarantee.  So what you should try is to use DLTCEP and convert the DLG file to a D file.  Then it is straight text and anyone can insert it back into their game by using DLTCEP.  I don't thing NI has this ability (to extract or merge).

View Post



#4 Sir BillyBob

Sir BillyBob
  • Modder
  • 5315 posts

Posted 16 August 2005 - 01:33 PM

Open a command prompt, and from the SoA folder try:

Weidu --noheader --nofrom --nocom --dout SELE0115.D SELE0115.DLG

The resulting D file is just text, you can use Notepad to read it. Post that here and players (who know what they are doing) can merge it into their game.

Tired of Bhaal? Try some classics mods instead:
Classic Adventures
Official Classic Adventures Website