Jump to content


Photo

Weidu bug? Weidu tells me wrong info, fail installing...

Weidu bug

  • Please log in to reply
5 replies to this topic

#1 Gel87

Gel87
  • Member
  • 190 posts

Posted 02 March 2017 - 02:56 PM

Hello,

 

Im trying to install a pretty simple Kit(Skeleton Warrior).

 

But weidu fails to read it, and stops installation.

 

 

Weidu bug:

[GELKITSW/SETUP-GELKITSW.TP2] PARSE ERROR at line 16 column 1-7
Near Text: ADD_KIT
GLR parse error
 
[GELKITSW/SETUP-GELKITSW.TP2]  ERROR at line 16 column 1-7
Near Text: ADD_KIT
Parsing.Parse_error
ERROR: parsing [GELKITSW/SETUP-GELKITSW.TP2]: Parsing.Parse_error
ERROR: problem parsing TP file [GELKITSW/SETUP-GELKITSW.TP2]: Parsing.Parse_error
 
FATAL ERROR: Parsing.Parse_error
 
it also say: In state 36 i ecspected one fo theese tokens:
[2] ~~
 

 

 
My kit.tp2 file(i have never encountered a problem with the ADD_KIT function as that is as copy and paste as it gets...:
Spoiler

BACKUP "GELKITSW/backup"
AUTHOR Gel87
 
VERSION "v1.0.0001"
LANGUAGE ~English~ ~GELKITSW/tras/english~ ~GELKITSW/tras/English/english.tra~
BEGIN "Add GELKITSW kit for Skeleton Warrior"
 
INCLUDE "GELKITSW/fl#add_kit_ee.tpa"
 
 
COPY ~GELKITSW/Portraits~
     ~GELKITSW/GELLUS1.2DA~ ~override/LUSGELU.2DA~
     ~GELKITSW/GESCLA.2DA~ ~override~
 
 
ADD_KIT ~GELKITSW~
 //~GELKITSW                1           1           1           1           1           1           1           1~
 //11                               T   S           F   Q             S S
 //10                               W   C           L   U             W I
 //9        BG1p-          *B L S   O   I   W       A   A             O N
 //8        roffs          *A O H   H   M   A       I   R C   S       R G
 //7        L S  '        M*S N O   A   I   R     H L   T R L H     2 D L 2                 E E E E E E E E E E E
 //6        _ _       S   I*T G R   N K T D H     A M   E O O O     H A E W E E E E E E E E X X X X X X X X X X X
 //5        S S   S B P   S*A S T   D A A A A   S L O   R S N R   S A N W E X X X X X X X X T T T T T T T T T T T
 //4        W W   P L I   S*R W S   E T R G M C P B R M S S G T D L N D E A T T T T T T T T R R R R R R R R R R R
 //3        O O B E U K A I*D O W A D A W G M L E E N A T B B B A I D S A P R R R R R R R R A A A A A A A A A A A
 //2        R R O A N E X L*S R O X S N A E E U A R I C A O O O R N E H P O A A A A A A A A 1 1 1 1 1 1 1 1 1 1 2
 //1        D D W R T D E E*W D R E W A K R R B R D N E F W W W T G D I O N 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0
  ~GELKITSW 5 5 5 5 5 5 5 3 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 5 5 5 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
  ~GELKITSW                14       17       13       14       7       4~
  ~GELKITSW                0       0       0       0       0       0~
  ~GELKITSW                13       15      0       14       0       0~
  ~GELKITSW                17       15      0       14       0       0~
  ~GELKITSW                1       1       1       1       1       1       1       1       1~
  ~GELKITSW                1       1       1       1       1       1~
  ~GELKITSW/GESCLA.2da~
  ~K_F_H   K_F_E   K_F_HE~
  ~0x00000001       2~
  ~SGELU~
  ~* * * BAG05 * * * BAG31 * * * BAG02I * * BAG06D * CLCK05 * BAG03I *~
  SAY ~skeleton warrior~ // this is the all-lower case version of the kit-name, TRA'ified strings are also accepted.
  SAY ~Skeleton Warrior~ // this is the capitalized name of the kit.
  SAY ~SKELETON WARRIOR: The Skeleton Warrior is a fighter who can achieve the highest profience in any class except sling, but do however prefer 2 handed wepons and bows. He got good resists and every skeleton immunities, but may not wear any metal armor.
 
Advantages:
- All the immunities of skeleton
- Starts with 2 profience at 2 handed wepons
- Start with 1 Thaco and AC bonus
- Can achieve grandmastery in bows
- Resists: 100 poison, 60 cold, 40 slashing, 50 piercing, 60 missle, 50 magic.
- Extra albilities: Called Shot, Animate Dead, Summon Dread Wolf, Summon Vampiric Wolf, Horror
- Extra HLA's: Globe of Bones, Greater Evasion, Skeleton Twin, Summon Skeleton Monster(else fighter class HLA)
 
Dissadvantages:
- May not wear any Metal Armor.
- 50% less experience gained
- 20% less HP
- Not free of choise when it comes to helmets or headgears
 
Globe of bones: (HLA)
Summon Skeleton Monster  (HLA)
Called Shot:  (Gained at level 1, 6 and 12)
Animate Dead:  (Gained at level 6 & 15)
Horror: (Gained at level 5, 10 and 15)
Summon Dread Wolf:  (Gained at level 5)
Summon Vampiric Wolf:  (Gained at level 10 and 15)~
 
LAF fl#add_kit_ee // launch_action_function start
  INT_VAR
    briefdesc = RESOLVE_STR_REF (~Skeleton Warrior, a fearsome fighter~)
  STR_VAR
    kit_name = ~GELKITSW~
    clswpbon = ~1 0 1~
    numwslot = ~4~
    clascolr = ~35 67 67 25 80~
    clsrcreq = ~1 1 1 0 0 0 0~
    clasthac = ~3~
END 
 
 
     
BEGIN "Second component aka GELMW2"
 
//Part 2 (Skeleton Helmet)
COPY ~GELKITSW/GELSW00.itm~ ~override/GELSW00.itm~
  SAY NAME1 @1
  SAY NAME2 @1
  SAY UNIDENTIFIED_DESC @2
  SAY DESC @2
 
//Part 2 (Summon Skeleton Helmet)
COPY ~GELKITSW/GELSW00.spl~ ~override/GELSW00.spl~
  SAY NAME1 @3
  SAY NAME2 @3
  SAY UNIDENTIFIED_DESC @4
  SAY DESC @4
 
//Part 2 (Animate Dead)
COPY ~GELKITSW/GELSW01.spl~ ~override/GELSW01.SPL~
  SAY NAME1 @5
  SAY NAME2 @5
  SAY UNIDENTIFIED_DESC @6
  SAY DESC @6
 
//Part 2 (Called Shot)
COPY ~GELKITSW/GELSW02.spl~ ~override/GELSW02.spl~
  SAY NAME1 @7
  SAY NAME2 @7
  SAY UNIDENTIFIED_DESC @8
  SAY DESC @8
 
//Part 2 (Horror)
COPY ~GELKITSW/GELSW03.spl~ ~override/GELSW03.spl~
  SAY NAME1 @9
  SAY NAME2 @9
  SAY UNIDENTIFIED_DESC @10
  SAY DESC @10
 
//Part 2 (Summon Dread Wolf)
COPY ~GELKITSW/GELSW04.spl~ ~override/GELSW04.spl~
  SAY NAME1 @11
  SAY NAME2 @11
  SAY UNIDENTIFIED_DESC @12
  SAY DESC @12
 
//Part 2 (Summon Vampire Wolf)
COPY ~GELKITSW/GELSW05.spl~ ~override/GELSW05.spl~
  SAY NAME1 @13
  SAY NAME2 @13
  SAY UNIDENTIFIED_DESC @14
  SAY DESC @14
 
//Part 2 (Globe of Bones)
COPY ~GELKITSW/GELSW06.spl~ ~override/GELSW06.spl~
  SAY NAME1 @15
  SAY NAME2 @15
  SAY UNIDENTIFIED_DESC @16
  SAY DESC @16
 
//Part 2 (Summon Skeleton Monster)
COPY ~GELKITSW/GELSW07.spl~ ~override/GELSW07.spl~
  SAY NAME1 @17
  SAY NAME2 @17
  SAY UNIDENTIFIED_DESC @18
  SAY DESC @18
 

 

 

Plz need help, i got stucked on other kit, now tryed to make another more simple one and it totally fails again O_o And i dont get why...


Edited by Gel87, 02 March 2017 - 03:01 PM.


#2 Gel87

Gel87
  • Member
  • 190 posts

Posted 02 March 2017 - 03:02 PM

Im sry there seems to be a bug with forum now, so that when i edited the spoiler dupicates itself...

 

FFS:

 

Found the fault, i had written:

COPY  ~GELKITSW/Portraits~

 

Instead of:

COPY ~GELKITSW/Portraits~ ~override~

 

Now i got this bug, cant find out either xD

[GELKITSW/SETUP-GELKITSW.TP2] PARSE ERROR at line 54 column 1-5
Near Text: SAY
GLR parse error
 
[GELKITSW/SETUP-GELKITSW.TP2]  ERROR at line 54 column 1-5
Near Text: SAY
Parsing.Parse_error
ERROR: parsing [GELKITSW/SETUP-GELKITSW.TP2]: Parsing.Parse_error
ERROR: problem parsing TP file [GELKITSW/SETUP-GELKITSW.TP2]: Parsing.Parse_error
 
FATAL ERROR: Parsing.Parse_error
 
I have even checked with cntr + F function, and it looks correct xD What am i missing out on? :) 

Edited by Gel87, 02 March 2017 - 03:16 PM.


#3 The Imp

The Imp

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

  • Member
  • 5150 posts

Posted 02 March 2017 - 03:09 PM

You quoted the first line out after the ADD_KIT ~blah~
//~GELKITSW 1 1 1 1 1 1 1 1~
So it tries to insert this:
~GELKITSW 5 5 5 5 5 5 5 3 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 5 5 5 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
Into that space...
...and it can't.


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.


#4 Gel87

Gel87
  • Member
  • 190 posts

Posted 02 March 2017 - 03:33 PM

You quoted the first line out after the ADD_KIT ~blah~
//~GELKITSW 1 1 1 1 1 1 1 1~
So it tries to insert this:
~GELKITSW 5 5 5 5 5 5 5 3 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 3 5 5 5 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~
Into that space...
...and it can't.

 

Wow thanks a lot^^ 

I thought i dident need them xD 
It fixed the issue ;) 



#5 The Imp

The Imp

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

  • Member
  • 5150 posts

Posted 02 March 2017 - 04:11 PM

I thought i dident need them xD 
Ah, a human with a skeleton, let's see... I bet it will be ok even without it. :devil:

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.


#6 Gel87

Gel87
  • Member
  • 190 posts

Posted 02 March 2017 - 10:52 PM

<blockquote class='ipsBlockquote'data-author="The Imp" data-cid="593501" data-time="1488499904"><p>
<blockquote class='ipsBlockquote'data-author="Gel87" data-cid="593498"><p>I thought i dident need them xD </p></blockquote>Ah, a human with a skeleton, let's see... I bet it will be ok even without it. :devil:</p></blockquote>

Haha Yes i guess so :P

The kit is now done, had forgot to add a skill on clab table but mixed xD

Skeletons are nice to use since They display All wepons :-) and at least 1 helmet style :P