Jump to content

Multiple identical entries in some 2DAs


Recommended Posts

I just noticed a couple of instances with duplicate lines in some 2DA files. Not sure what the consequences are? Maybe it's even intentional?

 

Using v4

 

For example:

 

dualclas.2da

 

BARBARIAN 0 1 1 1 1 0
BARBARIAN 0 0 0 0 0 0
racethac.2da
96 CLUB 0 0 0 0 0 0 0
97 CROSSBOW 0 0 0 0 0 0 0
96 CLUB 0 0 0 0 0 0 0
WEIDU log:
// Log of Currently Installed WeiDU Mods
// The top of the file is the 'oldest' mod
// ~TP2_File~ #language_number #component_number // [subcomponent Name -> ] Component Name [ : Version]
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #10 // Remove Helmet Animations: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #60 // Weapon Animation Tweaks: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #110 // Icon Improvements: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #130 // Force All Dialogue to Pause Game: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #160 // Make Magic Shields Glow (plainab/grogerson): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #170 // Unique Icons: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #191 // Use Character Colors Instead of Item Colors -> For non-magical shields and helmets: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2010 // Separate Resist Fire/Cold Icon into Separate Icons (Angel): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1070 // Improved Multi-Player Kick-out Dialogues: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1100 // Reveal City Maps When Entering Area: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1140 // Gems and Potions Require Identification -> Gems and potions: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1150 // Shapeshifter Rebalancing: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1300 // Make Heart of Winter accessible at any level: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2020 // Two-Handed Bastard Swords: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2030 // Two-Handed Katanas: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2035 // Two-Handed Axes: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2040 // Universal Clubs: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2060 // Weapon Styles for All: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2090 // Change Experience Point Cap -> Remove Experience Cap: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2100 // Allow Thieving and Stealth in Heavy Armor: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2120 // Allow Arcane Spellcasting in Heavy Armor: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2140 // Expanded Dual-Class Options: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2151 // Wear Multiple Protection Items -> No Restrictions: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2163 // Alter Weapon Proficiency System -> IWD-Style Proficiencies with Weapon Styles: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2170 // Cast Spells from Scrolls (and Other Items) at Character Level: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2192 // Limit Ability of Storekeepers to Identify Items -> Hybrid of Both Methods: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2200 // Multi-Class Grandmastery (Weimer): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2210 // Change Grandmastery Bonuses -> True Grandmastery (Baldurdash): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2220 // Change Magically Created Weapons to Zero Weight: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2250 // Un-Nerfed Sorcerer Spell Progression Table: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2260 // Alter Mage Spell Progression Table -> Un-Nerfed Table (Blucher): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2270 // Alter Bard Spell Progression Table -> Un-Nerfed Table (Blucher): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2280 // Alter Cleric Spell Progression Table -> Un-Nerfed Table (Blucher): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2293 // Alter Druid Spell and Level Progression Tables -> Use Cleric Level Progression Changes With Un-Nerfed Druid Spell Table (Blucher): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2339 // Remove Summoning Cap for Regular Summons: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2352 // Alter Multiclass Restrictions -> Install both of the above options: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2360 // Remove Racial Restrictions for Single Classes: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2371 // Alter Dual-class Restrictions -> Allow non-humans to dual-class: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2380 // Remove Racial Restrictions for Kits: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2410 // Druids Use 3E Alignment Restrictions: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2420 // Loosen Equipment Restrictions for Cleric Multi-Classes: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2430 // Change Equipment Restrictions for Druid Multi-Classes -> Loosen Equipment Restrictions for Druid Multi-Classes: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2440 // Everyone Gets Bonus APR from Specialization: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2450 // Enforce PnP Proficiency Rules on Dual-Classed Characters: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2510 // Level-Lock Spell Scrolls (Angel): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2530 // Lightning Bolts Don't Bounce (Angel): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2999 // Max HP at Level One: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3000 // Higher HP on Level Up -> Maximum: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3008 // Allow HP Rolls Through Level 20 (Angel): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3040 // Make Bags of Holding Bottomless: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3200 // Sellable Items (Icelus): v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3205 // Stores Purchase All Item Types: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3210 // Minimum Stats Cheat: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3240 // Friendly Random Drops -> Randomize on reload: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3265 // Recoverable ammunition -> 50% chance to recover after a successful hit, vs. enemies only: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3277 // Recoverable throwing weapons -> 100% chance to recover after a successful hit, vs. enemies only: v4
// Recently Uninstalled: ~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3280 // Give Every Class/Kit Four Weapon Slots: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #10 // Remove Helmet Animations: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #60 // Weapon Animation Tweaks: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #110 // Icon Improvements: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #130 // Force All Dialogue to Pause Game: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #160 // Make Magic Shields Glow (plainab/grogerson): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #170 // Unique Icons: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #191 // Use Character Colors Instead of Item Colors -> For non-magical shields and helmets: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2010 // Separate Resist Fire/Cold Icon into Separate Icons (Angel): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1070 // Improved Multi-Player Kick-out Dialogues: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1100 // Reveal City Maps When Entering Area: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1140 // Gems and Potions Require Identification -> Gems and potions: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1150 // Shapeshifter Rebalancing: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1300 // Make Heart of Winter accessible at any level: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2020 // Two-Handed Bastard Swords: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2030 // Two-Handed Katanas: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2035 // Two-Handed Axes: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2040 // Universal Clubs: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2060 // Weapon Styles for All: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2090 // Change Experience Point Cap -> Remove Experience Cap: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2100 // Allow Thieving and Stealth in Heavy Armor: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2120 // Allow Arcane Spellcasting in Heavy Armor: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2140 // Expanded Dual-Class Options: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2151 // Wear Multiple Protection Items -> No Restrictions: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2163 // Alter Weapon Proficiency System -> IWD-Style Proficiencies with Weapon Styles: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2170 // Cast Spells from Scrolls (and Other Items) at Character Level: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2192 // Limit Ability of Storekeepers to Identify Items -> Hybrid of Both Methods: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2200 // Multi-Class Grandmastery (Weimer): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2210 // Change Grandmastery Bonuses -> True Grandmastery (Baldurdash): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2220 // Change Magically Created Weapons to Zero Weight: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2250 // Un-Nerfed Sorcerer Spell Progression Table: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2260 // Alter Mage Spell Progression Table -> Un-Nerfed Table (Blucher): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2270 // Alter Bard Spell Progression Table -> Un-Nerfed Table (Blucher): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2280 // Alter Cleric Spell Progression Table -> Un-Nerfed Table (Blucher): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2293 // Alter Druid Spell and Level Progression Tables -> Use Cleric Level Progression Changes With Un-Nerfed Druid Spell Table (Blucher): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2339 // Remove Summoning Cap for Regular Summons: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2352 // Alter Multiclass Restrictions -> Install both of the above options: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2360 // Remove Racial Restrictions for Single Classes: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2371 // Alter Dual-class Restrictions -> Allow non-humans to dual-class: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2380 // Remove Racial Restrictions for Kits: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2410 // Druids Use 3E Alignment Restrictions: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2420 // Loosen Equipment Restrictions for Cleric Multi-Classes: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2430 // Change Equipment Restrictions for Druid Multi-Classes -> Loosen Equipment Restrictions for Druid Multi-Classes: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2440 // Everyone Gets Bonus APR from Specialization: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2450 // Enforce PnP Proficiency Rules on Dual-Classed Characters: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2510 // Level-Lock Spell Scrolls (Angel): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2530 // Lightning Bolts Don't Bounce (Angel): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2999 // Max HP at Level One: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3000 // Higher HP on Level Up -> Maximum: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3008 // Allow HP Rolls Through Level 20 (Angel): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3040 // Make Bags of Holding Bottomless: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3197 // Alter Hostile Rest Spawns -> Double frequency: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3200 // Sellable Items (Icelus): v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3205 // Stores Purchase All Item Types: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3210 // Minimum Stats Cheat: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3240 // Friendly Random Drops -> Randomize on reload: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3265 // Recoverable ammunition -> 50% chance to recover after a successful hit, vs. enemies only: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3277 // Recoverable throwing weapons -> 100% chance to recover after a successful hit, vs. enemies only: v4
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3280 // Give Every Class/Kit Four Weapon Slots: v4

 

Link to comment

Identical aren't an actual problem, but a point can be made that one should have multiple ! But as it also seems that you have multiple different ones too, that usually tells of an actual problem.

The Barbarian is a special case, as there's the fighter kit, and the non fighter class. But they shouldn't have the same KIT name... as the other is not actual kit and thus the dualclass.2da shouldn't actually have an entry ! Nor should any non fighter-cleric-mage-thief-druid-ranger classed kit have any entry. They have it cause the weidu's function commands to have, but they shouldn't...

Edited by Jarno Mikkola
Link to comment

Tweaks does have a guard against duping the barbarian and wildmage entries in dualclas.2da, but I have had problems with the \b regexp matcher before. I can tighten that up a bit and see if it helps.

 

racethac is only handled by the IWD/BG profs and I may have some touching up to do there.

Link to comment

Tweaks does have a guard against duping the barbarian and wildmage entries in dualclas.2da, but I have had problems with the \b regexp matcher before. I can tighten that up a bit and see if it helps.

You are using the fix format you made...

 

COPY_EXISTING ~kit.ids~ ~override~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(TRUECLASS[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4000 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(BERSERKER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4001 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(WIZARDSLAYER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4002 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(KENSAI[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4003 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(CAVALIER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4004 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(INQUISITOR[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4005 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(UNDEADHUNTER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4006 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(MAGESCHOOL_ABJURER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x0040 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(MAGESCHOOL_CONJURER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x0080 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(MAGESCHOOL_DIVINER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x0100 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(MAGESCHOOL_ENCHANTER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x0200 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(MAGESCHOOL_ILLUSIONIST[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x0400 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(MAGESCHOOL_INVOKER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x0800 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(MAGESCHOOL_NECROMANCER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x1000 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(MAGESCHOOL_TRANSMUTER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x2000 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(MAGESCHOOL_GENERALIST[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4000 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(FERALAN[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4007 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(STALKER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4008 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(BEASTMASTER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4009 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(ASSASIN[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x400A \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(BOUNTYHUNTER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x400B \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(SWASHBUCKLER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x400C \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(BLADE[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x400D \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(JESTER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x400E \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(SKALD[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x400F \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(GODTALOS[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4013 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(GODHELM[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4014 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(GODLATHANDER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4015 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(TOTEMIC[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4010 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(SHAPESHIFTER[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4011 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(BEASTFRIEND[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x4012 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(BARBARIAN[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x40000000 \1~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(WILDMAGE[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~0x80000000 \1~

BUT_ONLY

 

APPEND ~kit.ids~ ~0x4000 TRUECLASS~ UNLESS ~^.+[ %TAB%]TRUECLASS[ %TAB%%LNL%%MNL%%WNL%]+~

APPEND ~kit.ids~ ~0x40000000 BARBARIAN~ UNLESS ~^.+[ %TAB%]BARBARIAN[ %TAB%%LNL%%MNL%%WNL%]+~

APPEND ~kit.ids~ ~0x80000000 WILDMAGE~ UNLESS ~^.+[ %TAB%]WILDMAGE[ %TAB%%LNL%%MNL%%WNL%]+~

 

...won't you ?

Link to comment

That's utterly irrelevant to the bug at hand but yes, it's been using that since the betas.

Right, so the /master/cdtweaks/setup-cdtweaks.tp2 line number 5484 does not look like this then:

 

APPEND ~dualclas.2da~ ~BARBARIAN 0 1 1 1 1 0~

UNLESS ~\bBARBARIAN\b~

 

But like it does in the above:

 

COPY_EXISTING ~dualclas.ids~ ~override~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(BARBARIAN[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~BARBARIAN 0 1 1 1 1 0~

UNLESS ~^.+[ %TAB%]BARBARIAN 0 1 1 1 1 0~

BUT_ONLY

 

APPEND ~dualclas.ids~ ~BARBARIAN 0 1 1 1 1 0~ UNLESS ~^.+[ %TAB%]BARBARIAN[ %TAB%%LNL%%MNL%%WNL%]+~

 

Yeah... ?!? Or whatever it should look alike.

Edited by Jarno Mikkola
Link to comment

 

That's utterly irrelevant to the bug at hand but yes, it's been using that since the betas.

Right, so the /master/cdtweaks/setup-cdtweaks.tp2 line number 5484 does not look like this then:

 

APPEND ~dualclas.2da~ ~BARBARIAN 0 1 1 1 1 0~

UNLESS ~\bBARBARIAN\b~

 

This is the current code, yes. I suspect the \b is not matching as it should.

 

But like it does in the above:

 

COPY_EXISTING ~dualclas.ids~ ~override~

REPLACE_TEXTUALLY ~^.+[ %TAB%]\(BARBARIAN[ %TAB%%LNL%%MNL%%WNL%]+\)~ ~BARBARIAN 0 1 1 1 1 0~

UNLESS ~^.+[ %TAB%]BARBARIAN 0 1 1 1 1 0~

BUT_ONLY

 

APPEND ~dualclas.ids~ ~BARBARIAN 0 1 1 1 1 0~ UNLESS ~^.+[ %TAB%]BARBARIAN[ %TAB%%LNL%%MNL%%WNL%]+~

 

Yeah... ?!? Or whatever it should look alike.

 

The regexp used to fix kit.ids is not relevant to the regexp to patch dualclas.2da. The target files themselves are different--most notably the kit name is in a different column--so the regexps must also be different.

Link to comment

The regexp used to fix kit.ids is not relevant to the regexp to patch dualclas.2da. The target files themselves are different--most notably the kit name is in a different column--so the regexps must also be different.

Yeah, about that, it doesn't need to, as you are replacing the whole line if it exists, and if it doesn't, then you just append the file. Which the simple \b can't do, but the REPLACE_ can, and yes, the append's UNLESS needs to be a bit more precise ... but that's why I put the whatever phrase there.
Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...