Author Topic: Mysterious Errors R  (Read 17383 times)

0 Members and 1 Guest are viewing this topic.

Offline Sillara

  • Retired Modder
  • Level 2
  • *****
  • Posts: 888
  • Karma: +2/-0
  • Gender: Female
    • MSN Messenger - gilalion
    • AOL Instant Messenger - sk8pilmp
    • Yahoo Instant Messenger - charisariel
    • View Profile
    • http://www.gilalion.com
    • Email
Mysterious Errors R
« on: April 03, 2012, 03:48:20 AM »
Posted: Fri Mar 26, 2004 6:25 am    

I have been trying out my new NPC, but I cannot get him to compile. The B file keeps sending up errors. It lists two errors for the same line, the first one a syntax error, the second a parsing error. The trouble is that there is nothing wrong with the line! Here it is:

~And then you joined with and left nature to rack and ruin?~

It is in the middle of a dialogue which is compiling without other trouble. The error shows up for the word "then." I tried rewording, thinking maybe "then" was a bad thing to use in dialogue. It did not help. Whichever word I put there came up with the same two errors. I deleted the word, and then "you" gave the errors. I tried deleting the line and typing it in again, but no change. The only thing that helped was entirely deleting the dialogue. But I got the same kind of double error later in some OTHER dialogue. Some totally ordinary word in the middle of the dialogue gave the program fits. Is there something I can do about this? What can cause this problem? If anyone is willing to look at the file, please let me know. I can send you the whole file. I am becoming rather desperate, so please, help!!!!! icon_cry.gif icon_confused.gif icon_mad.gif icon_sad.gif

SofT
Can you accept a necromancer? Can you trust a murderer? Can you love Tsujatha?
If you like Tsujatha, you should read his novels.
Natha ssin'urn lu' dwalc ilythiiri noamuth wund l' rivven: Yasraena zhah ghil!
Saerileth's bounty is as boundless as the sea; the more  she gives to you, the more she has, for her love is infinite.

Offline Raven

  • Miriam's sane half
  • Administrator
  • Level 5
  • *****
  • Posts: 3603
  • Karma: +118/-33
  • Gender: Female
  • Like Awesome!
    • View Profile
    • Vampire Tales
Mysterious Errors
« Reply #1 on: April 03, 2012, 03:48:21 AM »
Posted: Fri Mar 26, 2004 8:06 am  

Display a snippet here. Usually errors are a few lines above or below where Weidu states it occurs.
Per me si va nella citta dolente.
Per me si va nell eterno dolore.
Per me si va tra la perduta gente...
Lasciate ogni speranza perduta che'entrate!

Offline Sillara

  • Retired Modder
  • Level 2
  • *****
  • Posts: 888
  • Karma: +2/-0
  • Gender: Female
    • MSN Messenger - gilalion
    • AOL Instant Messenger - sk8pilmp
    • Yahoo Instant Messenger - charisariel
    • View Profile
    • http://www.gilalion.com
    • Email
Mysterious Errors
« Reply #2 on: April 03, 2012, 03:48:22 AM »
Posted: Fri Mar 26, 2004 9:25 am    

Ah! I did not know that. I always assumed WeiDu displayed it on the exact one. All right. Here is the whole dialogue. SPOILERS AHEAD! icon_rolleyes.gif

CHAIN
IF ~InParty("Cernd")
See("Cernd")
!StateCheck("Cernd",STATE_SLEEPING)
Global("CerndTsujathaTalk","LOCALS",0)~ THEN BTSUJAT TSJ_CerndDruid
~You are a druid, Cernd? If I understand correctly, the druids seek to preserve nature in her unspoiled state. Is that not so?~
DO ~SetGlobal("CerndTsujathaTalk","LOCALS",1)~
== BCERND
~It is, Elf. We strive to keep the balance in nature. I myself, in my grove, have--~
== BTSUJAT
~Your grove?~
== BCERND
~Yes, my grove.~
=
~It is the place that I have sworn to protect, the place where my heart lies hidden--~
=
~--as a squirrel hides its nuts in the tree that is its home.~
== BTSUJAT
~And why are you not now in your grove?~
== BCERND
~Because, like a wandering--~
== BTSUJAT
~Stop. No smilies. Just answer the question.~
== BCERND
~Because the balance of nature required that I journey to discover the source of the druidic upheavals.
== BTSUJAT
~And then you joined with and left nature to rack and ruin?~== BCERND
~No, no! My heart is still tethered to my grove! I journey with to preserve the balance.~
== BTSUJAT
~The balance of your grove?~
== BCERND
~No. I mean, yes. I--~
== BTSUJAT
~Enough. Let the silence of nature claim YOU, and spare us your pointless speech.~
EXIT

The purple line is the one where WeiDu claimed the "then" was both a syntax error and a parsing error.

Thanks again! And I do hope someone will be able to figure out what is wrong. icon_confused.gif

Sillara
Can you accept a necromancer? Can you trust a murderer? Can you love Tsujatha?
If you like Tsujatha, you should read his novels.
Natha ssin'urn lu' dwalc ilythiiri noamuth wund l' rivven: Yasraena zhah ghil!
Saerileth's bounty is as boundless as the sea; the more  she gives to you, the more she has, for her love is infinite.

Offline Raven

  • Miriam's sane half
  • Administrator
  • Level 5
  • *****
  • Posts: 3603
  • Karma: +118/-33
  • Gender: Female
  • Like Awesome!
    • View Profile
    • Vampire Tales
Mysterious Errors
« Reply #3 on: April 03, 2012, 03:48:23 AM »
Posted: Fri Mar 26, 2004 9:37 am    

Quote
Sillara of the Tamari wrote:
Ah! I did not know that. I always assumed WeiDu displayed it on the exact one. All right. Here is the whole dialogue. SPOILERS AHEAD! icon_rolleyes.gif

CHAIN
IF ~InParty("Cernd")
See("Cernd")
!StateCheck("Cernd",STATE_SLEEPING)
Global("CerndTsujathaTalk","LOCALS",0)~ THEN BTSUJAT TSJ_CerndDruid
~You are a druid, Cernd? If I understand correctly, the druids seek to preserve nature in her unspoiled state. Is that not so?~
DO ~SetGlobal("CerndTsujathaTalk","LOCALS",1)~
== BCERND
~It is, Elf. We strive to keep the balance in nature. I myself, in my grove, have--~
== BTSUJAT
~Your grove?~
== BCERND
~Yes, my grove.~
=
~It is the place that I have sworn to protect, the place where my heart lies hidden--~
=
~--as a squirrel hides its nuts in the tree that is its home.~
== BTSUJAT
~And why are you not now in your grove?~
== BCERND
~Because, like a wandering--~
== BTSUJAT
~Stop. No smilies. Just answer the question.~
== BCERND
~Because the balance of nature required that I journey to discover the source of the druidic upheavals. Missing ~
== BTSUJAT
~And then you joined with <CHARNAME> and left nature to rack and ruin?~
== BCERND
~No, no! My heart is still tethered to my grove! I journey with <CHARNAME> to preserve the balance.~
== BTSUJAT
~The balance of your grove?~
== BCERND
~No. I mean, yes. I--~
== BTSUJAT
~Enough. Let the silence of nature claim YOU, and spare us your pointless speech.~
EXIT

The purple line is the one where WeiDu claimed the "then" was both a syntax error and a parsing error.

Thanks again! And I do hope someone will be able to figure out what is wrong. icon_confused.gif

Sillara
Also were I typed in red by where you thought your mistake may have been, its not an error but it can cause confusion but == BCERND should have its own line like the rest and not jumbled next to an ending dialogue. It ran fine like like that I thought that would be a problem since you have the ending ~ next to a ==. Any how the problem was the missing tilde up there in red.
Per me si va nella citta dolente.
Per me si va nell eterno dolore.
Per me si va tra la perduta gente...
Lasciate ogni speranza perduta che'entrate!

Offline Sillara

  • Retired Modder
  • Level 2
  • *****
  • Posts: 888
  • Karma: +2/-0
  • Gender: Female
    • MSN Messenger - gilalion
    • AOL Instant Messenger - sk8pilmp
    • Yahoo Instant Messenger - charisariel
    • View Profile
    • http://www.gilalion.com
    • Email
Mysterious Errors
« Reply #4 on: April 03, 2012, 03:48:24 AM »
Posted: Fri Mar 26, 2004 3:41 pm    

Thank you! I've got it now. icon_biggrin.gif

SofT
Can you accept a necromancer? Can you trust a murderer? Can you love Tsujatha?
If you like Tsujatha, you should read his novels.
Natha ssin'urn lu' dwalc ilythiiri noamuth wund l' rivven: Yasraena zhah ghil!
Saerileth's bounty is as boundless as the sea; the more  she gives to you, the more she has, for her love is infinite.

Offline Sillara

  • Retired Modder
  • Level 2
  • *****
  • Posts: 888
  • Karma: +2/-0
  • Gender: Female
    • MSN Messenger - gilalion
    • AOL Instant Messenger - sk8pilmp
    • Yahoo Instant Messenger - charisariel
    • View Profile
    • http://www.gilalion.com
    • Email
Mysterious Errors
« Reply #5 on: April 03, 2012, 03:48:25 AM »
Posted: Mon Apr 05, 2004 3:44 pm    

I have returned with another B file error, but this one is of a different type. Weidu cannot FIND my B file!!!! Weidu says:

ERROR locating resource:
Resource [BFLAN.DLG] not found in KEY file:
[./chitin.key]
ERROR: problem processing D files: Failure("resource [BFLAN.DLG] not found")

What does that mean? I DO have a BFLAN.d in my dialogues folder. There is no special line in the .tp2 that tells it to look for a BFLAN.d, so I put one in. It did not help, so I took it back out. What do I need to do to convince Weidu that I DO have a BFLAN.d?

Any help is greatly appreciated!
Sillara, the confused
Can you accept a necromancer? Can you trust a murderer? Can you love Tsujatha?
If you like Tsujatha, you should read his novels.
Natha ssin'urn lu' dwalc ilythiiri noamuth wund l' rivven: Yasraena zhah ghil!
Saerileth's bounty is as boundless as the sea; the more  she gives to you, the more she has, for her love is infinite.

Offline Sillara

  • Retired Modder
  • Level 2
  • *****
  • Posts: 888
  • Karma: +2/-0
  • Gender: Female
    • MSN Messenger - gilalion
    • AOL Instant Messenger - sk8pilmp
    • Yahoo Instant Messenger - charisariel
    • View Profile
    • http://www.gilalion.com
    • Email
Mysterious Errors
« Reply #6 on: April 03, 2012, 03:48:26 AM »
Posted: Fri Apr 09, 2004 11:13 pm    

I'm baaAaack! Yes, it is I, Sillara, the pest of the forums. All right, I have this .baf in my scripts file. It compiles just fine, but it does not WORK!

IF
True()
THEN
RESPONSE #100
CutSceneId("TSUJATH")
MoveToObject("Korgan")
FaceObject("Korgan")
ActionOverride("Korgan",FaceObject("TSUJATH"))
Attack("Korgan")
Wait(1)
ActionOverride("Korgan",Kill(Myself))
Wait(1)
EndCutSceneMode()
END

What happens is that the cutscene starts, but then nothing happens. They stand around and look at one another, and NOTHING. The game will not leave the cutscene, and I have to alt+F4 to get out. Argh!!! What have I done wrong?

Thanks!

Sillara
Can you accept a necromancer? Can you trust a murderer? Can you love Tsujatha?
If you like Tsujatha, you should read his novels.
Natha ssin'urn lu' dwalc ilythiiri noamuth wund l' rivven: Yasraena zhah ghil!
Saerileth's bounty is as boundless as the sea; the more  she gives to you, the more she has, for her love is infinite.