Post reply

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:
Subject:
Message icon:

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)?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: sinister181
« on: December 09, 2004, 05:28:34 PM »

After a bit more work on it i'll put it out :)  going to putter about with a few ideas as i teach myself weidu :D
Posted by: Andyr
« on: December 09, 2004, 04:59:15 PM »

Cool.
Posted by: sinister181
« on: December 09, 2004, 04:20:21 PM »

fixed, all working :)
Posted by: sinister181
« on: December 09, 2004, 04:12:25 PM »

think i have that sorted, i looked at the store file and the store type was corrupted (sorted now i think).  I have talked to my shop keep and exited to make sure that worked ok, now i can't get a response from him. odd.
Posted by: Andyr
« on: December 09, 2004, 03:54:05 PM »

That suggests LIEU.STO, or an item within, is corrupt. Try it with a store from the unmodded game, or without any new items, and see if it works. :)
Posted by: sinister181
« on: December 09, 2004, 03:45:43 PM »

Mostly working now, my shop keep is in place and talkable, but the game crashes when i try to go into the store
Posted by: jcompton
« on: December 09, 2004, 03:28:28 PM »


IF ~~ THEN BEGIN 1 // from: 0.0
IF ~~ THEN REPLY ~Exotic?~ */ GOTO 2
IF ~~ THEN REPLY ~No thanks.~ */ EXIT
END


You have no SAY statement here.

And stop using integers as your state labels for freshly made .d files, right now. It can only end in tears. Even if you use "a1" and "a2" or something like that, it's much smarter.
Posted by: sinister181
« on: December 09, 2004, 02:56:59 PM »

BEGIN ~lleu~

IF ~True()~ THEN BEGIN 0 // from:
  SAY ~Welcome to Lleu's Imports <SIRMAAM>. Would you care to look at my exotic wares?~
  IF ~~ THEN GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.0
IF ~~ THEN REPLY ~Exotic?~ */ GOTO 2
IF ~~ THEN REPLY ~No thanks.~ */ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.0
  SAY ~Yes <SIRMAAM>, I bring with me the finest wares from all of Krynn.  Many of them just the thing to get you out of that tight fix!  problems with dragons? not any more, just try some ov my *very* limited stock.~
  IF ~~ THEN REPLY ~Yes, you have piqued my interest.~ */ DO ~StartStore("lleu",LastTalkedToBy)~ EXIT
  IF ~~ THEN REPLY ~I think not, bye!~ EXIT
END
Posted by: sinister181
« on: December 09, 2004, 02:56:43 PM »

nearly there, most working now, but seems to be a problem with the .d file now, the debug is here below, will post the .d file in my next post so it doesn't get mixed up

WeiDU v 154 Log

 C:\Program Files\Black Isle\BGII - SoA\SETUP-LLEU.exe
[./Chitin.key] loaded, 590551 bytes
[./Chitin.key] 182 BIFFs, 41793 resources
[dialog.tlk] loaded, 9394710 bytes
[dialog.tlk] 78374 string entries
[./baldur.ini] loaded, 3717 bytes
Possible HD/CD Path: [C:\Program Files\Black Isle\BGII - SoA\]
Possible HD/CD Path: [C:\Program Files\Black Isle\BGII - SoA\CD1\]
Possible HD/CD Path: [C:\Program Files\Black Isle\BGII - SoA\CD2\]
Possible HD/CD Path: [C:\Program Files\Black Isle\BGII - SoA\CD2\]
Possible HD/CD Path: [C:\Program Files\Black Isle\BGII - SoA\CD3\]
Possible HD/CD Path: [C:\Program Files\Black Isle\BGII - SoA\CD4\]
Possible HD/CD Path: [C:\Program Files\Black Isle\BGII - SoA\CD5\]
[./Mplaynow.ini] loaded, 230 bytes
[./Autorun.ini] loaded, 1452 bytes
[./Keymap.ini] loaded, 5615 bytes
[dialog.tlk] claims to be writeable.
[dialog.tlk] claims to be a regular file.
[WeiDU.log] parsed
[SETUP-LLEU.TP2] parsed
SETUP-APACK.TP2  0  0 Installed
SETUP-APACK.TP2  0  1 Installed
SETUP-APACK.TP2  0  2 Installed
SETUP-APACK.TP2  0  5 Installed
SETUP-APACK.TP2  0  6 Installed
SETUP-CLERIC_REMIX.TP2  0  0 Installed
SETUP-CLERIC_REMIX.TP2  0  2 Installed
SETUP-CLERIC_REMIX.TP2  0  3 Installed
SETUP-CLERIC_REMIX.TP2  0  4 Installed
SETUP-CLERIC_REMIX.TP2  0  5 Installed
SETUP-CLERIC_REMIX.TP2  0  6 Installed
SETUP-DARKRITUAL.TP2  0  0 Installed
SETUP-DARKRITUAL.TP2  0  1 Installed
SETUP-DARKRITUAL.TP2  0  2 Installed
SETUP-DARKRITUAL.TP2  0  3 Installed
SETUP-DUNGEONBEGONE.TP2  0  0 Installed
SETUP-EASE.TP2  0  0 Installed
SETUP-EASE.TP2  0  1 Installed
SETUP-EASE.TP2  0  2 Installed
SETUP-EASE.TP2  0  3 Installed
SETUP-EASE.TP2  0  4 Installed
SETUP-EASE.TP2  0  5 Installed
SETUP-EASE.TP2  0  6 Installed
SETUP-EASE.TP2  0  9 Installed
SETUP-EASE.TP2  0 10 Installed
SETUP-EASE.TP2  0 11 Installed
SETUP-EASE.TP2  0 12 Installed
SETUP-EASE.TP2  0 13 Installed
SETUP-EASE.TP2  0 15 Installed
SETUP-EASE.TP2  0 18 Installed
SETUP-EASE.TP2  0 20 Installed
SETUP-EASE.TP2  0 21 Installed
SETUP-FR_ROV.TP2  0  0 Installed
SETUP-FR_ROV.TP2  0  1 Installed
G3TWEAKS.TP2  0  0 Installed
G3TWEAKS.TP2  0  1 Installed
G3TWEAKS.TP2  0  2 Installed
G3TWEAKS.TP2  0  3 Installed
G3TWEAKS.TP2  0  4 Installed
G3TWEAKS.TP2  0  5 Installed
G3TWEAKS.TP2  0  6 Installed
G3TWEAKS.TP2  0 11 Installed
G3TWEAKS.TP2  0 12 Installed
G3TWEAKS.TP2  0 13 Installed
G3TWEAKS.TP2  0 16 Installed
NPCKIT.TP2  0  0 Installed
NPCKIT.TP2  0  1 Installed
NPCKIT.TP2  0  2 Installed
NPCKIT.TP2  0  3 Installed
NPCKIT.TP2  0  4 Installed
NPCKIT.TP2  0  5 Installed
NPCKIT.TP2  0 15 Installed
NPCKIT.TP2  0 16 Installed
NPCKIT.TP2  0 17 Installed
NPCKIT.TP2  0 18 Installed
NPCKIT.TP2  0 28 Installed
NPCKIT.TP2  0 29 Installed
SETUP-RUAD.TP2  0  0 Installed
SETUP-RUAD.TP2  0  1 Installed
SETUP-TASHIA.TP2  0  0 Installed
SETUP-TASHIA.TP2  0  1 Installed
SETUP-UB.TP2  0  0 Installed
SETUP-UB.TP2  0  1 Installed
SETUP-UB.TP2  0  2 Installed
SETUP-UB.TP2  0  3 Installed
SETUP-UB.TP2  0  4 Installed
SETUP-UB.TP2  0  5 Installed
SETUP-UB.TP2  0  6 Installed
SETUP-UB.TP2  0  7 Installed
SETUP-UB.TP2  0  8 Installed
SETUP-UB.TP2  0  9 Installed
SETUP-UB.TP2  0 10 Installed
SETUP-UB.TP2  0 11 Installed
SETUP-UB.TP2  0 12 Installed
SETUP-UB.TP2  0 13 Installed
SETUP-UB.TP2  0 14 Installed
SETUP-UB.TP2  0 15 Installed
SETUP-UB.TP2  0 17 Installed

Install Component [Lleu's Imports]
[Y]es or [N]o or [Q]uit?
Installing [Lleu's Imports]
Copying and patching 1 file ...
[lleu/itm/dlarm01.itm] loaded, 594 bytes
Copied [lleu/itm/dlarm01.itm] to [override/dlarm01.itm]
Copying 1 file ...
[lleu/bam/dlarm02.bam] loaded, 17481 bytes
Copied [lleu/bam/dlarm02.bam] to [override/dlarm02.bam]
Copying and patching 1 file ...
[lleu/itm/dlarm02.itm] loaded, 690 bytes
Copied [lleu/itm/dlarm02.itm] to [override/dlarm02.itm]
Copying 1 file ...
[lleu/bam/dlarm03.bam] loaded, 18223 bytes
Copied [lleu/bam/dlarm03.bam] to [override/dlarm03.bam]
Copying and patching 1 file ...
[lleu/itm/dlarm03.itm] loaded, 594 bytes
Copied [lleu/itm/dlarm03.itm] to [override/dlarm03.itm]
Copying 1 file ...
[lleu/bam/dlaxe01.bam] loaded, 15368 bytes
Copied [lleu/bam/dlaxe01.bam] to [override/dlaxe01.bam]
Copying and patching 1 file ...
[lleu/itm/dlaxe01.itm] loaded, 562 bytes
Copied [lleu/itm/dlaxe01.itm] to [override/dlaxe01.itm]
Copying and patching 1 file ...
[lleu/itm/dlblun01.itm] loaded, 362 bytes
Copied [lleu/itm/dlblun01.itm] to [override/dlblun01.itm]
Copying 1 file ...
[lleu/bam/dlbrac01.bam] loaded, 24976 bytes
Copied [lleu/bam/dlbrac01.bam] to [override/dlbrac01.bam]
Copying and patching 1 file ...
[lleu/itm/dlbrac01.itm] loaded, 218 bytes
Copied [lleu/itm/dlbrac01.itm] to [override/dlbrac01.itm]
Copying and patching 1 file ...
[lleu/itm/dldagg01.itm] loaded, 314 bytes
Copied [lleu/itm/dldagg01.itm] to [override/dldagg01.itm]
Copying and patching 1 file ...
[lleu/itm/dldagg02.itm] loaded, 314 bytes
Copied [lleu/itm/dldagg02.itm] to [override/dldagg02.itm]
Copying 1 file ...
[lleu/bam/dlhamm01.bam] loaded, 7915 bytes
Copied [lleu/bam/dlhamm01.bam] to [override/dlhamm01.bam]
Copying and patching 1 file ...
[lleu/itm/dlhamm01.itm] loaded, 1754 bytes
Copied [lleu/itm/dlhamm01.itm] to [override/dlhamm01.itm]
Copying 1 file ...
[lleu/bam/dlhelm01.bam] loaded, 11333 bytes
Copied [lleu/bam/dlhelm01.bam] to [override/dlhelm01.bam]
Copying 1 file ...
[lleu/bam/dlihelm1.bam] loaded, 1380 bytes
Copied [lleu/bam/dlihelm1.bam] to [override/dlihelm1.bam]
Copying and patching 1 file ...
[lleu/itm/dlhelm01.itm] loaded, 362 bytes
Copied [lleu/itm/dlhelm01.itm] to [override/dlhelm01.itm]
Copying 1 file ...
[lleu/bam/dlhelm02.bam] loaded, 14557 bytes
Copied [lleu/bam/dlhelm02.bam] to [override/dlhelm02.bam]
Copying and patching 1 file ...
[lleu/itm/dlhelm02.itm] loaded, 450 bytes
Copied [lleu/itm/dlhelm02.itm] to [override/dlhelm02.itm]
Copying 1 file ...
[lleu/bam/dlmisc01.bam] loaded, 12574 bytes
Copied [lleu/bam/dlmisc01.bam] to [override/dlmisc01.bam]
Copying and patching 1 file ...
[lleu/itm/dlmisc01.itm] loaded, 314 bytes
Copied [lleu/itm/dlmisc01.itm] to [override/dlmisc01.itm]
Copying 1 file ...
[lleu/bam/dlring01.bam] loaded, 3424 bytes
Copied [lleu/bam/dlring01.bam] to [override/dlring01.bam]
Copying and patching 1 file ...
[lleu/itm/dlring01.itm] loaded, 218 bytes
Copied [lleu/itm/dlring01.itm] to [override/dlring01.itm]
Copying 1 file ...
[lleu/bam/dlshld01.bam] loaded, 15593 bytes
Copied [lleu/bam/dlshld01.bam] to [override/dlshld01.bam]
Copying 1 file ...
[lleu/eff/dlshld01.eff] loaded, 272 bytes
Copied [lleu/eff/dlshld01.eff] to [override/dlshld01.eff]
Copying and patching 1 file ...
[lleu/itm/dlshld01.itm] loaded, 450 bytes
Copied [lleu/itm/dlshld01.itm] to [override/dlshld01.itm]
Copying 1 file ...
[lleu/bam/dlshld02.bam] loaded, 24945 bytes
Copied [lleu/bam/dlshld02.bam] to [override/dlshld02.bam]
Copying and patching 1 file ...
[lleu/itm/dlshld02.itm] loaded, 354 bytes
Copied [lleu/itm/dlshld02.itm] to [override/dlshld02.itm]
Copying 1 file ...
[lleu/bam/dlstaf01.bam] loaded, 8700 bytes
Copied [lleu/bam/dlstaf01.bam] to [override/dlstaf01.bam]
Copying and patching 1 file ...
[lleu/itm/dlstaf01.itm] loaded, 1778 bytes
Copied [lleu/itm/dlstaf01.itm] to [override/dlstaf01.itm]
Copying 1 file ...
[lleu/eff/dlsw1h1a.eff] loaded, 272 bytes
Copied [lleu/eff/dlsw1h1a.eff] to [override/dlsw1h1a.eff]
Copying 1 file ...
[lleu/eff/dlsw1h1b.eff] loaded, 272 bytes
Copied [lleu/eff/dlsw1h1b.eff] to [override/dlsw1h1b.eff]
Copying 1 file ...
[lleu/eff/dlsw1h1c.eff] loaded, 272 bytes
Copied [lleu/eff/dlsw1h1c.eff] to [override/dlsw1h1c.eff]
Copying and patching 1 file ...
[lleu/itm/dlsw1h01.itm] loaded, 554 bytes
Copied [lleu/itm/dlsw1h01.itm] to [override/dlsw1h01.itm]
Copying 1 file ...
[lleu/bam/dlsw2h01.bam] loaded, 7220 bytes
Copied [lleu/bam/dlsw2h01.bam] to [override/dlsw2h01.bam]
Copying and patching 1 file ...
[lleu/itm/dlsw2h01.itm] loaded, 666 bytes
Copied [lleu/itm/dlsw2h01.itm] to [override/dlsw2h01.itm]
Copying 1 file ...
[lleu/bam/dlsw2h02.bam] loaded, 11812 bytes
Copied [lleu/bam/dlsw2h02.bam] to [override/dlsw2h02.bam]
Copying 1 file ...
[lleu/eff/dlsw2h2a.eff] loaded, 272 bytes
Copied [lleu/eff/dlsw2h2a.eff] to [override/dlsw2h2a.eff]
Copying 1 file ...
[lleu/eff/dlsw2h2b.eff] loaded, 272 bytes
Copied [lleu/eff/dlsw2h2b.eff] to [override/dlsw2h2b.eff]
Copying 1 file ...
[lleu/eff/dlsw2h2c.eff] loaded, 272 bytes
Copied [lleu/eff/dlsw2h2c.eff] to [override/dlsw2h2c.eff]
Copying 1 file ...
[lleu/eff/dlsw2h2d.eff] loaded, 272 bytes
Copied [lleu/eff/dlsw2h2d.eff] to [override/dlsw2h2d.eff]
Copying and patching 1 file ...
[lleu/itm/dlsw2h02.itm] loaded, 554 bytes
Copied [lleu/itm/dlsw2h02.itm] to [override/dlsw2h02.itm]
Copying 1 file ...
[lleu/lleu/Lleuport.bmp] loaded, 7014 bytes
Copied [lleu/lleu/Lleuport.bmp] to [override/Lleuport.bmp]
Copying and patching 1 file ...
[lleu/lleu/lleu.cre] loaded, 3208 bytes
Copied [lleu/lleu/lleu.cre] to [override/lleu.cre]
Copying and patching 1 file ...
[lleu/lleu/lleu.sto] loaded, 592 bytes
Copied [lleu/lleu/lleu.sto] to [override/lleu.sto]
Copying 1 file ...
[lleu/cre/obssol01.cre] loaded, 1176 bytes
[override/obssol01.cre] loaded, 1176 bytes
[override/obssol01.cre] backed up to [Lleu/backup/0/obssol01.cre]
Copied [lleu/cre/obssol01.cre] to [override/obssol01.cre]
Copying 1 file ...
[lleu/cre/obssol02.cre] loaded, 1156 bytes
[override/obssol02.cre] loaded, 1156 bytes
[override/obssol02.cre] backed up to [Lleu/backup/0/obssol02.cre]
Copied [lleu/cre/obssol02.cre] to [override/obssol02.cre]
Copying 1 file ...
[lleu/cre/obssol03.cre] loaded, 1176 bytes
[override/obssol03.cre] loaded, 1176 bytes
[override/obssol03.cre] backed up to [Lleu/backup/0/obssol03.cre]
Copied [lleu/cre/obssol03.cre] to [override/obssol03.cre]
Compiling 1 dialogue ...
[./override/TRIGGER.IDS] loaded, 7725 bytes
[TRIGGER.IDS] parsed

[lleu/lleu/lleu.d] PARSE ERROR at line 9 column 1-2
Near Text: IF
   syntax error

[lleu/lleu/lleu.d]  ERROR at line 9 column 1-2
Near Text: IF
   Parsing.Parse_error
ERROR: parsing [lleu/lleu/lleu.d]: Parsing.Parse_error

ERROR Installing [Lleu's Imports], rolling back to previous state

 >>>CUT<<<

Posted by: the bigg
« on: December 09, 2004, 10:00:24 AM »

A couple of things strike me as potential problems...

One is the use of AT_INTERACTIVE_EXIT at the very top. I can't actually remember if that's legal or not.

Looking at the code, though, it sounds like it's saying the parse error is on the line of ////, or maybe a blank line or the BEGIN, none of which make a whole lot of sense unless you don't actually have the TRA files populated the way you think you do.
AT_ALL is Legal everywhere you put it (if there can be actions at point X, of course).
blank TRA isn't a parse error.
11th line is the second /////////////////////
Posted by: sinister181
« on: December 09, 2004, 09:55:42 AM »

I'll give it another run through.  I made this by working from the tp2 for the Ruad rho'fessa smithy mod as i wasn't sure about how to stick it together from scratch.  I have since given it a bit of a re-write, keeping the whole setup & descriptions and names within the one tp2 file.
Posted by: jcompton
« on: December 09, 2004, 09:42:33 AM »

A couple of things strike me as potential problems...

One is the use of AT_INTERACTIVE_EXIT at the very top. I can't actually remember if that's legal or not.

Looking at the code, though, it sounds like it's saying the parse error is on the line of ////, or maybe a blank line or the BEGIN, none of which make a whole lot of sense unless you don't actually have the TRA files populated the way you think you do.
Posted by: sinister181
« on: December 09, 2004, 05:05:07 AM »

Ok, I have taken the END off the tp2 file now, it is giving a 'PARSE ERROR at line 11 colum 1-4' as well as saying there is a syntax error on the copy command and still getting the usual parse errors at the end.

Is there anything else wrong with the tp2 file?
Posted by: jcompton
« on: December 08, 2004, 03:08:17 PM »

Yeah, you can simply leave it off.
Posted by: sinister181
« on: December 08, 2004, 03:00:54 PM »

Ok, do i just leave it without the end? 

Sorry for being a pain, i have never really taken to programming & sripting in the past despite my best efforts LOL