Author Topic: Journal error  (Read 2026 times)

Offline Quitch

  • Perfection
  • Planewalker
  • *****
  • Posts: 270
  • Making the world a better place for evil
Journal error
« on: September 19, 2002, 05:32:01 PM »
WeiDU doesn't seem to spot and flag missing JOURNAL strings.                    
Past: Ascension
Present: Return to Windspear
Future: Imoen Relationship
"Perfection has no deadline"

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Journal error
« Reply #1 on: September 22, 2002, 02:23:17 PM »
Cannot reproduce without a testcase. Here's a D file:

Code: [Select]
BEGIN FOO

IF ~~ THEN BEGIN s0
  SAY ~Hello~
  IF ~~ THEN REPLY ~Goodbye~ JOURNAL EXIT
END

And WeiDU says:

Code: [Select]
[c:\src\weidu\weidu.asm.exe] WeiDU version 75
[C:\Program Files\Black Isle\BGII - SoA/chitin.key] loaded, 590551 bytes
[C:\Program Files\Black Isle\BGII - SoA/chitin.key] 182 BIFFs, 41793 resources
[C:\Program Files\Black Isle\BGII - SoA/dialog.tlk] loaded, 9649307 bytes
[C:\Program Files\Black Isle\BGII - SoA/dialog.tlk] 79991 string entries
[test.d] PARSE ERROR at line 5 column 38-41
Near Text: EXIT
        syntax error
ERROR: problem parsing D file [test.d]: Parsing.Parse_error

ERROR: Parsing.Parse_error

Please post something that passes with a missing journal string.
                   

Offline Quitch

  • Perfection
  • Planewalker
  • *****
  • Posts: 270
  • Making the world a better place for evil
Journal error
« Reply #2 on: September 23, 2002, 04:19:51 PM »
Sorry, I mean:

JOURNAL @65

where @65 does not exist.                    
Past: Ascension
Present: Return to Windspear
Future: Imoen Relationship
"Perfection has no deadline"

Offline weimer

  • Moderator
  • Planewalker
  • *****
  • Posts: 2222
  • Gender: Male
    • WeiDU and Weimer Mods
Journal error
« Reply #3 on: September 23, 2002, 06:13:44 PM »
test.d:

Code: [Select]
BEGIN FOO

IF ~~ THEN BEGIN s0
  SAY ~Hello~
  IF ~~ THEN REPLY ~Goodbye~ JOURNAL @65 EXIT
END

output:

Code: [Select]
tani-no-yuri:/cygdrive/c/src/weidu$ ./weidu.asm.exe test.d
[c:\src\weidu\weidu.asm.exe] WeiDU version 75
[C:\Program Files\Black Isle\BGII - SoA/chitin.key] loaded, 590551 bytes
[C:\Program Files\Black Isle\BGII - SoA/chitin.key] 182 BIFFs, 41793 resources
[C:\Program Files\Black Isle\BGII - SoA/dialog.tlk] loaded, 9649307 bytes
[C:\Program Files\Black Isle\BGII - SoA/dialog.tlk] 79991 string entries
[test.d] parsed
Adding FOO to internal list of available DLGs
ERROR: No translation provided for @65
ERROR: cannot resolve strings in FOO
ERROR: Cannot postprocess FOO
ERROR: problem processing D files: Not_found

ERROR: Not_found

Looks like it is noticing the @65 to me. Please post a test case that fails. :-)

I believe that you are encountering the problem, but unless I can reproduce it locally I cannot fix it.                    

Offline jcompton

  • Niche Exploiter
  • Administrator
  • Planewalker
  • *****
  • Posts: 7246
Journal error
« Reply #4 on: September 23, 2002, 07:27:16 PM »
I believe using the action (AddJournalEntry(), I believe) is going to be superior than the JOURNAL dialogue action call, because by using AddJournalEntry, you'll be able to use TP2 REPLACE and, thus, be able to erase it later.

                   
Cespenar says, "Kelsey and friends be at the Pocket Plane? Ohhh yesssss!" http://www.pocketplane.net

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: