Author Topic: Having Problems with Weidu  (Read 2064 times)

Offline Caedwyr

  • Planewalker
  • *****
  • Posts: 433
Having Problems with Weidu
« on: April 30, 2004, 12:44:27 AM »
I am currently trying to get a .tp2 I have created to work.  Unfortunately Setup-MyMod.exe seems to get caught up on the bolded line (line 190 in my tp2):

Quote
////////////////////////////////////
//Spells that summon the celestials

COPY ~Celestials/Summon_Spells/Eff~     ~override~ /*Copies effect files needed for spell summoning*/
COPY ~Celestials/Summon_Spells/Spl/CA#SDAST.spl~    ~override\CA#SDAST.spl /*Summon spell for astral deva cast by invis and invulrenable creature*/
SAY NAME1 @26
SAY NAME2 @26
COPY ~Celestials/Summon_Spells/Spl/CA#SDMOV.spl~    ~override\CA#SDMOV.spl /*Summon spell for movanic deva cast by invis and invulrenable creature*/
SAY NAME1 @27
SAY NAME2 @27
COPY ~Celestials/Summon_Spells/Spl/SPCL923.spl~    ~override\SPCL923.spl /*Paladin Innate spell to summon deva through invis and invulen creature*/
COPY ~Celestials/Summon_Spells/Spl/SPPR726.spl~    ~override\SPPR726.spl /*Cleric spell to summon deva through invis and invulen creature*/
COPY ~Celestials/Summon_Spells/Cre~     ~override~ /*Copies invis and invulen creature files needed for spell summoning*/
COMPILE ~Celestials/Summon_Spells/Baf/CA#SDEVA.baf~ /*Compiles the script for the invis and invulen creature that will determine which deva to summon depending on the area*/


When I run the Setup file I get the following feedback:

Quote
[SETUP-CELESTIALS.TP2]    ERROR at line 190 column 17-17
Near Text: /
              Parsing.Parse_error
ERROR: parsing [SETUP-CELESTIALS.TP2]: Parsing.Parse_error
ERROR: problem parsing TP file [SETUP-CELESTIALS.TP2]: Parsing.Parse_error

ERROR: Parsing.Parse_error

Press ENTER to exit.

I've checked the spot and I cannot see anything wrong.  I have a directory called Eff at the location Celestials/Summon_Spells/Eff, and I want to copy all of its contents to the override directory.  I examined the .tp2 file for the Oversight mod, and almost identical code seems to work just fine.  All I have done as far as I know is to change the address and names of the directories.


Any help would be very much appreciated.
"Knowledge is Power.  Power Corrupts.  Study Hard.  Be Evil."  - Mikka

PnP Celestials
Geomantic Sorcerer Kit

Offline jcompton

  • Niche Exploiter
  • Administrator
  • Planewalker
  • *****
  • Posts: 7244
Re: Having Problems with Weidu
« Reply #1 on: April 30, 2004, 01:26:31 AM »
Show the TP2 content right above that section.

One guess is that your comment block above isn't quite right, and WeiDU's seeing that slash and expecting it to be part of a comment.
Cespenar says, "Kelsey and friends be at the Pocket Plane? Ohhh yesssss!" http://www.pocketplane.net

Offline Caedwyr

  • Planewalker
  • *****
  • Posts: 433
Re: Having Problems with Weidu
« Reply #2 on: April 30, 2004, 01:34:09 AM »
I just tried changing the commented header immediately above line 190 to
Quote
/*Spells that summon the celestials*/

No luck.  It still coughs up an error in the same spot.

Here is the rest of the .tp2 above the section I posted:



Quote
BACKUP ~Celestials/Backup~ /*location to store files for uninstall purposes*/
AUTHOR "Caedwyr@hotmail.com" /*display email address if install fails*/
LANGUAGE ~English~ ~Languages/English~ ~Celestials/Languages/English/setup.tra~ // English


/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////                                                  \\\\\
///// PnP Celestials                                   \\\\\
/////                                                  \\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\
/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\/////\\\\\

BEGIN @1 /*Start with displaying mod component PnP Celestials*/

/* TOB Check prior to compiling.*/
REQUIRE_FILE ~Data/25Dialog.bif~ ~TOB Required~ // ToB  check

//Projectiles
ADD_PROJECTILE      ~Celestials/_Pro/CA#PEV40.PRO~ /*Add protection from evil 40 foot radius projectile*/

/////////////////////////////////////////////
//Aasimon Shared Material

//At will Innates

COPY ~Celestials/Shared_Aasimon_Spells/At_Will_Innates/CA#AID.SPL~     ~override\CA#AID.SPL~ /*Aid*/
COPY ~Celestials/Shared_Aasimon_Spells/At_Will_Innates/CA#DEVIL.SPL~     ~override\CA#DEVIL.SPL~ /*Detect Evil*/
COPY ~Celestials/Shared_Aasimon_Spells/At_Will_Innates/CA#KNAL.SPL~     ~override\CA#KNAL.SPL~ /*Know Alignment*/
COPY ~Celestials/Shared_Aasimon_Spells/At_Will_Innates/CA#TWOE.SPL~     ~override\CA#TWOE.SPL~ /*Teleport Without Error*/
SAY NAME1 @28
SAY NAME2 @28

//Limited Use per day abilities

COPY ~Celestials/Shared_Aasimon_Spells/Limited_Use_Innates/CA#CURSW.SPL~  ~override\CA#CURSW.SPL~ /*Cure Serious Wounds*/

///////////////////////////////////////////////
//Deva Shared Material

//At will innates

COPY ~Celestials/Devas/Shared_Spells/At_Will_Innates/CA#INFRA.SPL~     ~override\CA#INFRA.SPL~ /*Infravision*/
COPY ~Celestials/Devas/Shared_Spells/At_Will_Innates/CA#INV10.SPL~     ~override\CA#INV10.SPL~ /*Invisiblity 10 foot radius*/
COPY ~Celestials/Devas/Shared_Spells/At_Will_Innates/CA#PEVIL.SPL~     ~override\CA#PEVIL.SPL~ /*Protection from Evil*/
COPY ~Celestials/Devas/Shared_Spells/At_Will_Innates/CA#POLS.SPL~     ~override\CA#POLS.SPL~ /*Polymorph Self*/
COPY ~Celestials/Devas/Shared_Spells/At_Will_Innates/CA#RCUR.SPL~     ~override\CA#RCUR.SPL~ /*Remove Curse*/
COPY ~Celestials/Devas/Shared_Spells/At_Will_Innates/CA#RFEAR.SPL~     ~override\CA#RFEAR.SPL~ /*Remove Fear*/


//Limited Use Innates

COPY ~Celestials/Devas/Shared_Spells/Limited_Use_Innates/CA#CUDIS.SPL~     ~override\CA#CUDIS.SPL~ /*Cure Disease*/
COPY ~Celestials/Devas/Shared_Spells/Limited_Use_Innates/CA#CULW.SPL~     ~override\CA#CULW.SPL~ /*Cure Light Wounds*/
COPY ~Celestials/Devas/Shared_Spells/Limited_Use_Innates/CA#DISM.SPL~     ~override\CA#DISM.SPL~ /*Dispel Magic*/
COPY ~Celestials/Devas/Shared_Spells/Limited_Use_Innates/CA#DSP.SPL~     ~override\CA#DSP.SPL~ /*Detect Snares and Pits*/
SAY NAME1 @20
SAY NAME2 @20
COPY ~Celestials/Devas/Shared_Spells/Limited_Use_Innates/CA#DSPD.SPL~     ~override\CA#DSPD.SPL~ /*Detect Snares and Pits subspell*/
COPY ~Celestials/Devas/Shared_Spells/Limited_Use_Innates/CA#HEAL1.SPL~     ~override\CA#HEAL1.SPL~ /*Heal*/

//////////////////////////////
//Astral Deva

//At will innates

COPY ~Celestials/Devas/Astral_Deva/At_Will_Innates/CA#DINVS.SPL~     ~override\CA#DINVS.SPL~ /*Detect Invisibilty*/

//Limited Use innates

COPY ~Celestials/Devas/Astral_Deva/Limited_Use_Innates/CA#BLBAR.SPL~     ~override\CA#BLBAR.SPL~ /*Blade Barrier*/

//Items

COPY ~Celestials/Devas/Astral_Deva/Items/CA#ASDM.ITM~     ~override\CA#ASDM.ITM~ /*Astral Deva version of the Mace of Disruption plus 2*/
SAY NAME1 @31
SAY NAME2 @31
COPY ~Celestials/Devas/Astral_Deva/Items/CA#SBOOT.ITM~     ~override\CA#SBOOT.ITM~ /*Astral Deva boots that increase movement speed to double the movement speed of normal creatures*/

//Creatures

COPY ~Celestials/Devas/Astral_Deva/Creatures/CA#DASTR.CRE~     ~override\CA#DASTR.CRE~ /*Astral Deva*/
SAY NAME1 @10
SAY NAME2 @10

///////////////////////////////
//Movanic Deva

//At will innates

COPY ~Celestials/Devas/Movanic_Deva/At_Will_Innates/CA#AMS.SPL~     ~override\CA#AMS.SPL~ /*Anti-Magic Shell*/
SAY NAME1 @21
SAY NAME2 @21
SAY UNIDENTIFIED_DESC @23
SAY DESC @23
COPY ~Celestials/Devas/Movanic_Deva/At_Will_Innates/CA#AMSC.SPL~     ~override\CA#AMSC.SPL~ /*Cancel Anti-Magic Shell*/
SAY NAME1 @22
SAY NAME2 @22
COPY ~Celestials/Devas/Movanic_Deva/At_Will_Innates/CA#AMSCF.SPL~     ~override\CA#AMSCF.SPL~ /*Cancel Anti-Magic Shell subspell*/
COPY ~Celestials/Devas/Movanic_Deva/At_Will_Innates/CA#PFNM.SPL~     ~override\CA#PFNM.SPL~ /*Protection From Normal Missles*/
COPY ~Celestials/Devas/Movanic_Deva/At_Will_Innates/CA#STURN.SPL~     ~override\CA#STURN.SPL~ /*Spell Turning*/

//Limited Use Innates

COPY ~Celestials/Devas/Movanic_Deva/Limited_Use_Innates/CA#EVOC.SPL~     ~override\CA#EVOC.SPL~ /*Cast Invocation/Evocation Spell*/
SAY NAME1 @24
SAY NAME2 @24
COPY ~Celestials/Devas/Movanic_Deva/Limited_Use_Innates/CA#EVOC.2DA~     ~override\CA#EVOC.2DA~ /*Cast Invocation/Evocation Spell table needed for listing submenu of spell*/
COPY ~Celestials/Devas/Movanic_Deva/Limited_Use_Innates/CA#SPLAN.SPL~   ~override\CA#SPLAN.SPL~/*Call Planetar with 30 percent chance of success*/
SAY NAME1 @25
SAY NAME2 @25
COPY ~Celestials/Devas/Movanic_Deva/Limited_Use_Innates/CA#SPLAN.EFF~   ~override\CA#SPLAN.EFF~/*Call Planetar with 30 percent chance of success effect file*/

//Items

COPY ~Celestials/Devas/Movanic_Deva/Items/CA#MOVSW.ITM~     ~override\CA#MOVSW.ITM~/*Movanic Deva version of the Flametongue plus 1*/
SAY NAME1 @32
SAY NAME2 @32

//Creatures

COPY ~Celestials/Devas/Movanic_Deva/Creatures/CA#DMOVA.CRE~     ~override\CA#DMOVA.CRE~ /*Movanic Deva*/
SAY NAME1 @11
SAY NAME2 @11

/////////////////////////////////
//Planetar

//At will innates

COPY ~Celestials/Planetar/At_Will_Innates/CA#CDISE.SPL~     ~override\CA#CDISE.SPL~ /*Cure Disease*/
COPY ~Celestials/Planetar/At_Will_Innates/CA#DISPM.SPL~     ~override\CA#DISPM.SPL~ /*Dispel Magic*/
COPY ~Celestials/Planetar/At_Will_Innates/CA#DSNP.SPL~     ~override\CA#DSNP.SPL~ /*Detect Snares and Pits*/
SAY NAME1 @20
SAY NAME2 @20
COPY ~Celestials/Planetar/At_Will_Innates/CA#HEAL.SPL~     ~override\CA#HEAL.SPL~ /*Heal*/
COPY ~Celestials/Planetar/At_Will_Innates/CA#II10.SPL~     ~override\CA#II10.SPL~ /*Improved Invisibility 10 foot radius*/
SAY NAME1 @40
SAY NAME2 @40
COPY ~Celestials/Planetar/At_Will_Innates/CA#PAO.SPL~     ~override\CA#PAO.SPL~ /*Polymorph any Object*/
SAY NAME1 @41
SAY NAME2 @41
COPY ~Celestials/Planetar/At_Will_Innates/CA#PAO.2DA~     ~override\CA#PAO.2DA~ /*Polymorph any Object table for submenu*/
COPY ~Celestials/Planetar/At_Will_Innates/CA#PAOFS.SPL~     ~override\CA#PAOFS.SPL~ /*Polymorph any Object Flesh to Stone*/
COPY ~Celestials/Planetar/At_Will_Innates/CA#PAOO.SPL~     ~override\CA#PAOO.SPL~ /*Polymorph any Object Other*/
COPY ~Celestials/Planetar/At_Will_Innates/CA#PAOSF.SPL~     ~override\CA#PAOSF.SPL~ /*Polymorph any Object Stone to Flesh*/
COPY ~Celestials/Planetar/At_Will_Innates/CA#PEV40.SPL~     ~override\CA#PEV40.SPL~ /*Protection from Evil 40 foot radius*/
SAY NAME1 @42
SAY NAME2 @42
COPY ~Celestials/Planetar/At_Will_Innates/CA#PEV40.PRO~     ~override\CA#PEV40.PRO~ /*Polymorph any Object projectile*/
COPY ~Celestials/Planetar/At_Will_Innates/CA#RCOLD.SPL~     ~override\CA#RCOLD.SPL~ /*Resist Cold*/
SAY NAME1 @43
SAY NAME2 @43
COPY ~Celestials/Planetar/At_Will_Innates/CA#TSIGH.SPL~     ~override\CA#TSIGH.SPL~ /*True Sight*/

//Limited Use Innates

COPY ~Celestials/Planetar/Limited_Use_Innates/CA#EQ.SPL~     ~override\CA#EQ.SPL~ /*Earthquake*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#FMIND.SPL~     ~override\CA#FMIND.SPL~ /*Feeblemind*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#FSTOM.SPL~     ~override\CA#FSTOM.SPL~ /*Fire Storm*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#FSTRI.SPL~     ~override\CA#FSTRI.SPL~ /*Flame Strike*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#HWORD.SPL~     ~override\CA#HWORD.SPL~ /*Holy Word*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#IPLAG.SPL~     ~override\CA#IPLAG.SPL~ /*Insect Plague*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#LWISH.SPL~     ~override\CA#LWISH.SPL~ /*Limited Wish*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#RDEAD.SPL~     ~override\CA#RDEAD.SPL~ /*Raise Dead*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#RESTO.SPL~     ~override\CA#RESTO.SPL~ /*Greater Restoration*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#SCHAG.SPL~     ~override\CA#SCHAG.SPL~ /*Shapechange*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#SDEAT.SPL~     ~override\CA#SDEAT.SPL~ /*Symbol Death*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#SFEAR.SPL~     ~override\CA#SFEAR.SPL~ /*Symbol Fear*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#SSTUN.SPL~     ~override\CA#SSTUN.SPL~ /*Symbol Stun*/
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#SYMB.SPL~     ~override\CA#SYMB.SPL~ /*Symbol main spell*/
SAY NAME1 @44
SAY NAME2 @44
COPY ~Celestials/Planetar/Limited_Use_Innates/CA#SYMB.2DA~     ~override\CA#SYMB.2DA~ /*Symbol table for subspells*/

//Items

COPY ~Celestials/Planetar/Items/CA#PBOOT.ITM~     ~override\CA#PBOOT.ITM~ /*Planetar Boots for movement speed increase*/
COPY ~Celestials/Planetar/Items/CA#PLANW.ITM~     ~override\CA#PLANW.ITM~ /*Planetar Vorpal Sword*/
SAY NAME1 @30
SAY NAME2 @30

//Creatures

COPY ~Celestials/Planetar/Creatures/PLANGOOD.CRE~    ~override\PLANGOOD.cre /*Planetar creature file*/

« Last Edit: April 30, 2004, 01:36:32 AM by Caedwyr »
"Knowledge is Power.  Power Corrupts.  Study Hard.  Be Evil."  - Mikka

PnP Celestials
Geomantic Sorcerer Kit

Offline Caedwyr

  • Planewalker
  • *****
  • Posts: 433
Re: Having Problems with Weidu
« Reply #3 on: April 30, 2004, 01:38:13 AM »
Looking at the section with context, it does show that area greyed out for some reason.  I'll see if I can try and hunt down what is doing it.
"Knowledge is Power.  Power Corrupts.  Study Hard.  Be Evil."  - Mikka

PnP Celestials
Geomantic Sorcerer Kit

Offline jcompton

  • Niche Exploiter
  • Administrator
  • Planewalker
  • *****
  • Posts: 7244
Re: Having Problems with Weidu
« Reply #4 on: April 30, 2004, 01:42:44 AM »
Ye olde missing tilde, right in that last line there.

~override\PLANGOOD.cre /*Planetar creature file*/
Cespenar says, "Kelsey and friends be at the Pocket Plane? Ohhh yesssss!" http://www.pocketplane.net

Offline Caedwyr

  • Planewalker
  • *****
  • Posts: 433
Re: Having Problems with Weidu
« Reply #5 on: April 30, 2004, 01:43:16 AM »
Found the problem.  I was missing several tildes.  Thanks for pointing out the fact something might be commented out.  It put me on  the right track.
"Knowledge is Power.  Power Corrupts.  Study Hard.  Be Evil."  - Mikka

PnP Celestials
Geomantic Sorcerer Kit

Offline jcompton

  • Niche Exploiter
  • Administrator
  • Planewalker
  • *****
  • Posts: 7244
Re: Having Problems with Weidu
« Reply #6 on: April 30, 2004, 01:43:52 AM »
Basically, 99% of all "WTF?" WeiDU errors are missing tildes.
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)?: