Skip to content

ERROR: READ_2DA_ENTRY_FORMER failed on variable %file_0_8%

GreenerGreener Member Posts: 430
Tonight I was reinstalling some kits to a fresh installation of BGEE and I was unable to install more than one kit before I got this error...

ERROR: [clastext.2da] -> [override] Patching Failed (COPY) (Failure("ERROR: READ_2DA_ENTRY_FORMER failed on variable %file_0_8%"))

It doesn't matter which kit or which order I install them, the first kit is fine, any subsequent kits all produce the same error, any idea how to correct this?
Cheers,

a.

Comments

  • CrevsDaakCrevsDaak Member Posts: 7,155
    @Wisp‌, any ideas?
  • GreenerGreener Member Posts: 430

    ClassID KITID LOWER DESCSTR MIXED BIO FALLEN BRIEFDESC
    Kit #1 2 38 34000 34002 34001 15881 0 31252 31252

    It appears the installation of kit #1 doubles up on the BRIEFDESC column thus creating the error? Manually deleting the duplicate entry it allows for installation of a second kit
  • CrevsDaakCrevsDaak Member Posts: 7,155
    edited August 2014
    Good catch, still, it would be good to look at the .tpa library Wisp coded, I never edited a single 2DA with WeiDU, so I am new to _that_ part of WeiDU…

    Edit: no founds. What did you put in the .tp2? Could I take a look to see what's going on?
  • GreenerGreener Member Posts: 430
    BACKUP ~Bushi Kit/Backup~
    AUTHOR ~agr33n3@gmail.com~

    BEGIN ~BUSHI~

    INCLUDE ~Bushi Kit/Lib/fl#add_kit_ee.tpa~

    ADD_KIT ~BUSHI~

    // appended to CLASWEAP.2da
    ~BUSHI 1 1 1 1 1 1 1 1~

    // appended column-wise to WEAPPROF.2da
    ~BUSHI 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 0 2 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0~

    // appended to ABCLASRQ.2da
    ~BUSHI 9 8 8 0 0 0~

    // appended to ABCLSMOD.2da
    ~BUSHI 0 0 0 0 0 0~

    // appended to ABDCDSRQ.2da
    ~BUSHI 14 0 0 0 0 0~

    // appended to ABDCSCRQ.2da
    ~BUSHI 0 0 0 0 0 0~

    // appended to ALIGNMNT.2da
    ~BUSHI 1 1 1 1 1 1 1 1 1~

    // appended to DUALCLAS.2da
    ~BUSHI 1 1 1 1 1 1~

    // path to your CLAB-style 2da file
    ~Bushi Kit/CLAB/CLABFI08.2da~

    // PC races and classes allowed to use this kit, from KITTABLE.2da
    ~K_F_D K_F_E K_F_G K_F_H K_F_HE K_F_HL K_F_HO~

    // usability flags, added to the end of the KITLIST.2da entry
    ~0x40000000 2~

    // HLA table to use; see LUABBR.2da
    ~Fi0~

    // list of starting equipment for PCs starting in ToB. Appended column-wise to 25STWEAP.2da
    ~* * HELM07 BAG24 RING30 RING31 CLCK02 BOOT01 AMUL20 BRAC04 BELT08 AROW02,40 AROW11,40 AROW10,40 POTN52,5 POTN4,2 POTN14,5 HAMM09 SW2H15 *~

    // Lower, mixed, and help kit names and descriptions, added to KITLIST.2da
    SAY ~bushi~
    SAY ~Bushi~
    SAY ~BUSHI: Bushi are masterless warriors, men without ties to a lord, temple, or monastery. They are commonly mercenaries, bandits highwaymen, or wanderers, earning their money however then can. They can be found serving samurai, protecting the court, or swelling the ranks of armies. A few may be kensai who have fallen by the way. Most, however are men of low birth who have chosen the way of the warrior to advance in the world.

    Advantages:
    - +1 bonus to Armor Class every 5 levels
    - May use Ki ability once per every 4 levels (starts at 1st level with one use).

    KI: The bushi temporarily raises his effective level by two for one turn. He temporarily gains +10 HP, +2 THAC0 and -2 to all saving throws.

    Disadvantages:
    - May not wear armour heavier than splint mail
    - May not exceed Specialization (two slots) in any weapon class
    - -2 Reputation penalty
    ~

    LAF fl#add_kit_ee STR_VAR kit_name = Bushi END

    COPY ~Bushi kit/Spells/KI.spl~ ~override~
    SAY NAME1 ~Bushi Ki~
    SAY UNIDENTIFIED_DESC ~KI: The bushi temporarily raises his effective level by two for one turn. He temporarily gains +10 HP, +2 THAC0 and -2 to all saving throws.~

    COPY ~Bushi kit/Bams/spcl152.bam~ ~override~
  • kjeronkjeron Member Posts: 2,368
    The issue is clastext.2da is different in BG:EE and BGII:EE. BGII:EE has an extra column named "Fallen Notice", which the add_kit_ee library is designed for. While missing, BG:EE still respects this column if you add it, so:
    First uninstall any kit mods or any other mod that alter's clastext.2da.
    Manually edit clastext.2da, adding the column FALLEN_NOTICE, with values:
    Ranger: 19621, Paladin: 19620, Cavalier: 32303, Inquisitor: 32304, Undead Hunter: 32305, Blackguard: 32302, everything else: -1.
    Install kit mods.
  • WispWisp Member Posts: 1,102
    Thanks for the find. Will fix.
  • WispWisp Member Posts: 1,102
    @Greener‌
    Also, using CLABFI08.2da like that is a terrible idea. Use a prefix. For your kit name, too.
  • The user and all related content has been deleted.
  • CamDawgCamDawg Member, Developer Posts: 3,438
    Trust in fl#add_kit_ee, though always check the repo for fixes to the latest bugs.
  • GreenerGreener Member Posts: 430
    I apologize I thought I was using the most updated version, I can confirm this bug no long exists with v1.0.5
Sign In or Register to comment.