Author Topic: Internal label not found problem  (Read 11185 times)

0 Members and 1 Guest are viewing this topic.

Offline Red Carnelian

  • Global Moderator
  • Level 1
  • *****
  • Posts: 357
  • Karma: +5/-0
  • Gender: Male
    • View Profile
    • The Stone of Askavar
Internal label not found problem
« on: March 07, 2008, 06:05:10 AM »
I get his warning on install

WARNING: internal label [14] not found in processed DLG [BANSHEE].

The Banshee dialog is

BEGIN ~BANSHEE~

IF ~InParty("Jetlaya")
Global("TalkedToBan","GLOBAL",0)
~ THEN BEGIN 0
  SAY @0
  IF ~~ THEN EXTERN ~JETLAJ~ 0
END

IF ~~ THEN BEGIN 1
  SAY @1
  IF ~~ THEN EXTERN ~JETLAJ~ 1
END

IF ~~ THEN BEGIN 2
  SAY @2
  IF ~~ THEN EXTERN ~JETLAJ~ 2
END

IF ~!InParty("Jetlaya")
~ THEN BEGIN 3
  SAY @3
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 4
  SAY @4
  IF ~~ THEN DO ~SetGlobal("TalkedToBan","GLOBAL",1)
Enemy()
~ EXIT
END

IF ~InParty("Jetlaya")
Global("TalkedToBan","GLOBAL",1)
~ THEN BEGIN 5
  SAY @3
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

Debug files shows:

Adding BARDO to internal list of available DLGs
Adding BANSHEE to internal list of available DLGs
Adding BALEN to internal list of available DLGs
BIFF may be in hard-drive CD-path [D:\CD6\/DATA/DIALOG.BIF]
BIFF may be in hard-drive CD-path [D:\CD5\/DATA/DIALOG.BIF]
BIFF may be in hard-drive CD-path [D:\CD4\/DATA/DIALOG.BIF]
BIFF may be in hard-drive CD-path [D:\CD3\/DATA/DIALOG.BIF]
BIFF may be in hard-drive CD-path [D:\CD2\/DATA/DIALOG.BIF]
BIFF may be in hard-drive CD-path [D:\CD1\/DATA/DIALOG.BIF]
BIFF may be in hard-drive CD-path [E:\Games\Black Isle\Baldur's Gate\/DATA/DIALOG.BIF]
[E:\Games\Black Isle\Baldur's Gate\/DATA/DIALOG.BIF] 933941 bytes, 1113 files, 0 tilesets
WARNING: internal label [14] not found in processed DLG [BANSHEE]
[GRETEK.DLG] saved   3 states, 4 trans, 1 strig, 0 ttrig, 2 actions
override/GRETEK.dlg copied to ds/backup/0/GRETEK.dlg, 619 bytes
[liCH.DLG] saved   3 states, 3 trans, 1 strig, 0 ttrig, 0 actions
[BCONCHO.DLG] saved   0 states, 0 trans, 0 strig, 0 ttrig, 0 actions
[CONCHO.DLG] saved   5 states, 7 trans, 1 strig, 0 ttrig, 2 actions
[BALEN.DLG] saved   3 states, 4 trans, 1 strig, 0 ttrig, 0 actions
[BANSHEE.DLG] saved   6 states, 6 trans, 3 strig, 0 ttrig, 3 actions
[BKEIRIA.DLG] saved   0 states, 0 trans, 0 strig, 0 ttrig, 0 actions
[KEIRIA.DLG] saved   4 states, 6 trans, 2 strig, 0 ttrig, 2 actions
[BARDO.DLG] saved   4 states, 6 trans, 2 strig, 0 ttrig, 1 actions

Whats causing this warning to appear? I can't see a problem with it.
Little is known of Nirel, a powerful cleric who could resist the spells of his enemies. However, history does record that he was a vile zealot whose hatred for followers of other faiths knew almost no bounds. It is said that he kept the heads of his victims as trophies and was personally responsible for defiling over one hundred temples of other faiths. In the centuries since, his mace has appeared in the hands of evil clerics across the Realms.

Offline Raven

  • Miriam's sane half
  • Administrator
  • Level 5
  • *****
  • Posts: 3603
  • Karma: +118/-33
  • Gender: Female
  • Like Awesome!
    • View Profile
    • Vampire Tales
Re: Internal label not found problem
« Reply #1 on: March 07, 2008, 07:04:32 AM »
In the JETLAJ file there is an error:

 IF ~~ THEN DO ~~ EXTERN ~BANSHEE~ 14

That should be 4. There is no dialog number 14. Actually that whole line should be deleted since its repeated in the line above it.

Your labels are the EXTERN (alphanumeric characters) or the THEN BEGIN (alphanumeric characters).
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!