B file erros
#1
Posted 25 March 2004 - 03:28 PM
~And then you joined with <CHARNAME> 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. I then tried hitting return before the line, but then instead of line 189 causing trouble, it was line 190. The word was still showing the error. 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!!!!! What can I do to fix this error? The dialogue is coded in the same format as the several other dialogue ahead of it, which compiled without any difficulty.
Silllara, the totally puzzled
#2
Posted 25 March 2004 - 03:56 PM
#4
Posted 26 March 2004 - 03:13 AM
#5
Posted 26 March 2004 - 05:35 AM
IF ~InParty("Player1")
See("Player1")
!StateCheck("Player1",STATE_SLEEPING)
Class("Player1","FIGHTER_ALL")~ THEN BEGIN TSJ_TsujathaFighter
SAY ~You are a great warrior, <CHARNAME>.~
= ~Oh, I realize that you have yet much to learn; I have known my world's greatest warrior, the greatest warrior of her age--or of any age excepting only Ellon Tamar's.~
= ~But you are far from the pinnacle of your prowess. You have much potential.~
IF ~~ THEN REPLY ~For a wizard, you certainly seem to know a lot about fighting.~ GOTO TSJ_TsujathaFighter1a
IF ~~ THEN REPLY ~Thank you. I think.~ GOTO TSJ_TsujathaFighter2a
END
I keep getting an error message about the first line IF ~InParty("Player1"). I realize that it is likely not this line that is the actual problem, but I do not know what IS. I have checked for missing tildes, but I cannot find any. I have tried it without quotes around "FIGHTER_ALL", and I have tried it just with FIGHTER. They all gave me the same error, a syntax and parsing error. Is there something I just don't know? Or will this never work?
Thank you in advance.
SofT
#6
Posted 26 March 2004 - 05:39 AM
IF ~See(Player1)
!StateCheck(Player1,STATE_SLEEPING)
Class(Player1,FIGHTER_ALL)~ THEN BEGIN TSJ_TsujathaFighter
SAY ~You are a great warrior, <CHARNAME>.~
= ~Oh, I realize that you have yet much to learn; I have known my world's greatest warrior, the greatest warrior of her age--or of any age excepting only Ellon Tamar's.~
= ~But you are far from the pinnacle of your prowess. You have much potential.~
++ ~For a wizard, you certainly seem to know a lot about fighting.~ GOTO TSJ_TsujathaFighter1a
++ ~Thank you. I think.~ GOTO TSJ_TsujathaFighter2a
END
You don't need to check that Player1 is in the party because (s)he always is. You don't want Player1 in quotes as his/her name isn't Player1.
#9 -icelus-
Posted 26 March 2004 - 04:08 PM
#10
Posted 26 March 2004 - 04:08 PM
#12
Posted 26 March 2004 - 04:16 PM
#13
Posted 26 March 2004 - 04:24 PM
Class argument [BARBARIAN] not found in [Class:IDS].
I realize that that is a problem, and I have heard that the game has trouble with class specifics. Am I just going to have write off the idea of a barbarian dialogue, or is there something that can be done?
Thank you again!
Sillara, the bewildered by her B file
#14
Posted 26 March 2004 - 04:28 PM
#16
Posted 26 March 2004 - 04:43 PM
SofT
Edit: I have also hit a problem with Kit argument [TALOS]. It does not recognize such a kit. The game has to have SOME way to recognize that. I mean, when I played a cleric of Lathandar, I did not get offered a room in the temple of Talos! Please help again!
#17
Posted 26 March 2004 - 05:32 PM
#18
Posted 26 March 2004 - 06:34 PM
Thank you, by the way for the earlier help. My B file is now working--except for the Imoen bits!
Sillara
#19 -jcompton-
Posted 26 March 2004 - 07:59 PM
IMOEN2 NONE BIMOEN25
... as you see, IMOEN2's banter file is set to "NONE." Imoen cannot start SOA banter using the in-game timer or the Interact() command. However, you can use scripting with the Dialogue() series of commands and her IMOEN2J dialogue file to get her to initiate a banter using IMOEN2J. Alternately, just rewrite the banters slightly so that the other banter participant starts it, which was the trick I used in Kelsey-SOA.
#20
Posted 26 March 2004 - 08:31 PM
Thank you!
Sillara
Edit: Does that mean that instead of chaining to the BIMOEN file, I need to chain to the IMOEN2J? I think it does, but I am not sure. Thanks again!