Jump to content


Photo

A Weidu error I don't understand


  • Please log in to reply
3 replies to this topic

#1 temnix

temnix
  • Member
  • 983 posts

Posted 14 January 2018 - 12:32 PM

In my tp2 file I get a parsing error on account of a parenthesis, but it's a perfectly ordinary use of it. I have many spell descriptions with parentheses higher up in the file, somehow this one Weidu doesn't like. Does anybody see a problem here with a fresh eye?

 

The file reads at that point:

 

...

COPY_EXISTING ~MEMENT_#.ITM~ ~override~
SAY NAME2 ~Memory Window~
SAY IDENTIFIED_DESC ~Memory Window
(Chronomancy)

Level: 6
Range: 0

...

 

The line that's giving Weidu trouble is with (Chronomancy). Here is what the error window says:

 

xxx.jpg

 

 

Edit: false alarm. Or actually true alarm, but Weidu has a habit of pointing up errors in lines when the problem may be in the previous line or several. In this case there was an extra ~ above.


Edited by temnix, 14 January 2018 - 12:35 PM.


#2 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5148 posts

Posted 14 January 2018 - 12:41 PM

You just didn't end the started ~ at anywhere. This is actually said, if you just read the very top of the window... there no single ~ there as the proper code requires two.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#3 temnix

temnix
  • Member
  • 983 posts

Posted 17 January 2018 - 01:35 PM

The explanation only says one of those tags is missing, and points to a wrong line. Yeah, I'm used to that by now.



#4 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5148 posts

Posted 17 January 2018 - 09:43 PM

The explanation only says one of those tags is missing, and points to a wrong line. Yeah, I'm used to that by now.

I am not so sure I would be so sure about that.

Why, cause the ~, why's that, well.... removal of it from this:

BEGIN ~The Imps Item additions to BGII - SoA, Tutu and BGT~ DESIGNATED 4

//placed
COPY ~Impilation/BG1items/IJ#blun.itm~ ~override~

Turns that into:

BEGIN ~The Imps Item additions to BGII - SoA, Tutu and BGT DESIGNATED 4

//placed
COPY ~Impilation/BG1items/IJ#blun.itm~ ~override~

Which will remove the effect of the DESIGNATED 4 and the COPY... which is then where it will fail at: Near the text "Impilation/" or whatever. As those become part of the placed string or the description or whatever.


Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.