I remember that there was some debate over the correct way of correcting it, but here's what we use for Amber (I hope that we got it right):
// The following fixes the broken kit.ids so that it can be used to detect kits properly. COPY_EXISTING ~kit.ids~ ~override/kit.ids~ REPLACE_TEXTUALLY ~0x00004000~ ~0x4000~ // TRUECLASS/MAGESCHOOL_GENERALIST REPLACE_TEXTUALLY ~0x00000040~ ~0x0040~ // MAGESCHOOL_ABJURER REPLACE_TEXTUALLY ~0x00000080~ ~0x0080~ // MAGESCHOOL_CONJURER REPLACE_TEXTUALLY ~0x00000100~ ~0x0100~ // MAGESCHOOL_DIVINER REPLACE_TEXTUALLY ~0x00000200~ ~0x0200~ // MAGESCHOOL_ENCHANTER REPLACE_TEXTUALLY ~0x00000400~ ~0x0400~ // MAGESCHOOL_ILLUSIONIST REPLACE_TEXTUALLY ~0x00000800~ ~0x0800~ // MAGESCHOOL_INVOKER REPLACE_TEXTUALLY ~0x00001000~ ~0x1000~ // MAGESCHOOL_NECROMANCER REPLACE_TEXTUALLY ~0x00002000~ ~0x2000~ // MAGESCHOOL_TRANSMUTER REPLACE_TEXTUALLY ~0x00000001~ ~0x4001~ // BERSERKER REPLACE_TEXTUALLY ~0x00000002~ ~0x4002~ // WIZARDSLAYER REPLACE_TEXTUALLY ~0x00000004~ ~0x4003~ // KENSAI REPLACE_TEXTUALLY ~0x00000008~ ~0x4004~ // CAVALIER REPLACE_TEXTUALLY ~0x00000010~ ~0x4005~ // INQUISITOR REPLACE_TEXTUALLY ~0x00000020~ ~0x4006~ // UNDEADHUNTER REPLACE_TEXTUALLY ~0x00008000~ ~0x4007~ // FERALAN REPLACE_TEXTUALLY ~0x00010000~ ~0x4008~ // STALKER REPLACE_TEXTUALLY ~0x00020000~ ~0x4009~ // BEASTMASTER REPLACE_TEXTUALLY ~0x00040000~ ~0x400A~ // ASSASIN REPLACE_TEXTUALLY ~0x00080000~ ~0x400B~ // BOUNTYHUNTER REPLACE_TEXTUALLY ~0x00100000~ ~0x400C~ // SWASHBUCKLER REPLACE_TEXTUALLY ~0x00200000~ ~0x400D~ // BLADE REPLACE_TEXTUALLY ~0x00400000~ ~0x400E~ // JESTER REPLACE_TEXTUALLY ~0x00800000~ ~0x400F~ // SKALD REPLACE_TEXTUALLY ~0x01000000~ ~0x4013~ // GODTALOS REPLACE_TEXTUALLY ~0x02000000~ ~0x4014~ // GODHELM REPLACE_TEXTUALLY ~0x04000000~ ~0x4015~ // GODLATHANDER REPLACE_TEXTUALLY ~0x08000000~ ~0x4010~ // TOTEMIC REPLACE_TEXTUALLY ~0x10000000~ ~0x4011~ // SHAPESHIFTER REPLACE_TEXTUALLY ~0x20000000~ ~0x4012~ // BEASTFRIEND REPLACE_TEXTUALLY ~0x40000000~ ~0x401F~ // BARBARIAN
We don't have any barbarian specific lines at the moment, but in regards of cleric kits I *remember* testing that this works out.
If you drop that _ALL from the class check you should only get response to single classes and kits. From IESDP:
2 FIGHTER
Detects fighters, though only single class & kits.
203 FIGHTER_ALL
Detects fighters, including single class, kits, multi-class, and dual-class.