9,1,1,0x0,6894,6895,"Go",7,7,15007,0x448,"Goblin",0,0x2,,,"Gobelin",,,,,,,,,,,,,,0xFF01FE,,,"Gobeline",,,,,,,,,,,,,,0xFF01CC,,,"Gobelin",,,,,,,,,,,,,,0xFF01CC,"NORMAL","NONE","NORMAL",0,12,5,1,0x0,16981,16980,"Fo",7,7,15007,0x448,"FelOrc",0,0x2,,,"Gangr'orc",,,,,,,,,,,,,,0xFF01FE,,,"Gangr'orque",,,,,,,,,,,,,,0xFF01CC,,,"Gangr'orc",,,,,,,,,,,,,,0xFF01CC,"NORMAL","NORMAL","NORMAL",0,
9,12,1,4140,6894,6895,"Go",1,7,15007,0x448,"Goblin",0,0x2,,,"Gobelin",,,,,,,,,,,,,,0xFF01FE,,,"Gobeline",,,,,,,,,,,,,,0xFF01CC,,,"Gobelin",,,,,,,,,,,,,,0xFF01CC,"NORMAL","NONE","NORMAL",0,12,12,1,4141,16981,16980,"Fo",7,7,15007,0x448,"FelOrc",0,0x2,,,"Gangr'orc",,,,,,,,,,,,,,0xFF01FE,,,"Gangr'orque",,,,,,,,,,,,,,0xFF01CC,,,"Gangr'orc",,,,,,,,,,,,,,0xFF01CC,"NORMAL","NORMAL","NORMAL",0,
9,1,12,1,
RACE_CHANGE_IN_PROGRESS = "Mise à jour de la race...";
RACE_INFO_GOBLIN = "Informations sur les Gobelins.";RACE_INFO_GOBLIN_FEMALE = "Informations sur les Gobelines.";RACE_INFO_FELORC = "Informations sur les Gangr'orcs.";RACE_INFO_FELORC_FEMALE = "Informations sur les Gangr'orques.";
ABILITY_INFO_BLOODELF1 = "- Compétence Enchantement améliorée.";
ABILITY_INFO_GOBLIN1 = "- Compétence Gobelins, ligne 1";ABILITY_INFO_GOBLIN2 = "- Compétence Gobelins, ligne 2";ABILITY_INFO_GOBLIN3 = "- Compétence Gobelins, ligne 3";ABILITY_INFO_GOBLIN4 = "- Compétence Gobelins, ligne 4";ABILITY_INFO_FELORC1 = "- Compétence Gangr'Orcs, ligne 1";ABILITY_INFO_FELORC2 = "- Compétence Gangr'Orcs, ligne 2";ABILITY_INFO_FELORC3 = "- Compétence Gangr'Orcs, ligne 3";ABILITY_INFO_FELORC4 = "- Compétence Gangr'Orcs, ligne 4";
MAX_RACES = 10;
MAX_RACES = 12;
["DRAENEI_MALE"] = {0.5, 0.625, 0, 0.25}, ["DRAENEI_FEMALE"] = {0.5, 0.625, 0.5, 0.75},
["GOBLIN_MALE"] = {0.5, 0.625, 0, 0.25}, ["GOBLIN_FEMALE"] = {0.5, 0.625, 0, 0.25}, ["FELORC_MALE"] = {0.5, 0.625, 0, 0.25}, ["FELORC_FEMALE"] = {0.5, 0.625, 0, 0.25},
<CheckButton name="CharacterCreateRaceButton1" inherits="CharacterCreateRaceButtonTemplate" id="1"> <Anchors> <Anchor point="TOP" relativePoint="TOP" x="-50" y="-61"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton2" inherits="CharacterCreateRaceButtonTemplate" id="2"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton1" relativePoint="BOTTOMLEFT" x="0" y="-21"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton3" inherits="CharacterCreateRaceButtonTemplate" id="3"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton2" relativePoint="BOTTOMLEFT" x="0" y="-21"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton4" inherits="CharacterCreateRaceButtonTemplate" id="4"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton3" relativePoint="BOTTOMLEFT" x="0" y="-21"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton5" inherits="CharacterCreateRaceButtonTemplate" id="5"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton4" relativePoint="BOTTOMLEFT" x="0" y="-21"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton6" inherits="CharacterCreateRaceButtonTemplate" id="6"> <Anchors> <Anchor point="TOP" relativePoint="TOP" x="50" y="-61"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton7" inherits="CharacterCreateRaceButtonTemplate" id="7"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton6" relativePoint="BOTTOMLEFT" x="0" y="-21"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton8" inherits="CharacterCreateRaceButtonTemplate" id="8"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton7" relativePoint="BOTTOMLEFT" x="0" y="-21"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton9" inherits="CharacterCreateRaceButtonTemplate" id="9"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton8" relativePoint="BOTTOMLEFT" x="0" y="-21"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton10" inherits="CharacterCreateRaceButtonTemplate" id="10"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton9" relativePoint="BOTTOMLEFT" x="0" y="-21"/> </Anchors></CheckButton>
<CheckButton name="CharacterCreateRaceButton1" inherits="CharacterCreateRaceButtonTemplate" id="1"> <Anchors> <Anchor point="TOP" relativePoint="TOP" x="-50" y="-50"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton2" inherits="CharacterCreateRaceButtonTemplate" id="2"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton1" relativePoint="BOTTOMLEFT" x="0" y="-10"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton3" inherits="CharacterCreateRaceButtonTemplate" id="3"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton2" relativePoint="BOTTOMLEFT" x="0" y="-10"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton4" inherits="CharacterCreateRaceButtonTemplate" id="4"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton3" relativePoint="BOTTOMLEFT" x="0" y="-10"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton5" inherits="CharacterCreateRaceButtonTemplate" id="5"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton4" relativePoint="BOTTOMLEFT" x="0" y="-10"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton7" inherits="CharacterCreateRaceButtonTemplate" id="7"> <Anchors> <Anchor point="TOP" relativePoint="TOP" x="50" y="-50"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton8" inherits="CharacterCreateRaceButtonTemplate" id="8"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton7" relativePoint="BOTTOMLEFT" x="0" y="-10"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton9" inherits="CharacterCreateRaceButtonTemplate" id="9"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton8" relativePoint="BOTTOMLEFT" x="0" y="-10"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton10" inherits="CharacterCreateRaceButtonTemplate" id="10"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton9" relativePoint="BOTTOMLEFT" x="0" y="-10"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton12" inherits="CharacterCreateRaceButtonTemplate" id="12"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton10" relativePoint="BOTTOMLEFT" x="0" y="-10"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton11" inherits="CharacterCreateRaceButtonTemplate" id="11"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton12" relativePoint="BOTTOMLEFT" x="0" y="-10"/> </Anchors></CheckButton><CheckButton name="CharacterCreateRaceButton6" inherits="CharacterCreateRaceButtonTemplate" id="6"> <Anchors> <Anchor point="TOPLEFT" relativeTo="CharacterCreateRaceButton5" relativePoint="BOTTOMLEFT" x="0" y="-10"/> </Anchors></CheckButton>
enum Races{ RACE_HUMAN = 1, RACE_ORC = 2, RACE_DWARF = 3, RACE_NIGHTELF = 4, RACE_UNDEAD_PLAYER = 5, RACE_TAUREN = 6, RACE_GNOME = 7, RACE_TROLL = 8, //RACE_GOBLIN = 9, RACE_BLOODELF = 10, RACE_DRAENEI = 11, //RACE_FEL_ORC = 12, //RACE_NAGA = 13, //RACE_BROKEN = 14, //RACE_SKELETON = 15, //RACE_VRYKUL = 16, //RACE_TUSKARR = 17, //RACE_FOREST_TROLL = 18, //RACE_TAUNKA = 19, //RACE_NORTHREND_SKELETON = 20, //RACE_ICE_TROLL = 21};
enum Races{ RACE_HUMAN = 1, RACE_ORC = 2, RACE_DWARF = 3, RACE_NIGHTELF = 4, RACE_UNDEAD_PLAYER = 5, RACE_TAUREN = 6, RACE_GNOME = 7, RACE_TROLL = 8, RACE_GOBLIN = 9, RACE_BLOODELF = 10, RACE_DRAENEI = 11, RACE_FEL_ORC = 12, //RACE_NAGA = 13, //RACE_BROKEN = 14, //RACE_SKELETON = 15, //RACE_VRYKUL = 16, //RACE_TUSKARR = 17, //RACE_FOREST_TROLL = 18, //RACE_TAUNKA = 19, //RACE_NORTHREND_SKELETON = 20, //RACE_ICE_TROLL = 21};
#define MAX_RACES 12
#define MAX_RACES 13
#define RACEMASK_ALL_PLAYABLE ((1<<(RACE_HUMAN-1)) |(1<<(RACE_ORC-1)) |(1<<(RACE_DWARF-1)) | (1<<(RACE_NIGHTELF-1))|(1<<(RACE_UNDEAD_PLAYER-1))|(1<<(RACE_TAUREN-1)) | (1<<(RACE_GNOME-1)) |(1<<(RACE_TROLL-1)) |(1<<(RACE_BLOODELF-1))| (1<<(RACE_DRAENEI-1)) )
#define RACEMASK_ALL_PLAYABLE ((1<<(RACE_HUMAN-1)) |(1<<(RACE_ORC-1)) |(1<<(RACE_DWARF-1)) | (1<<(RACE_NIGHTELF-1))|(1<<(RACE_UNDEAD_PLAYER-1))|(1<<(RACE_TAUREN-1)) | (1<<(RACE_GNOME-1)) |(1<<(RACE_TROLL-1)) |(1<<(RACE_GOBLIN-1))| (1<<(RACE_BLOODELF-1))|(1<<(RACE_DRAENEI-1)) |(1<<(RACE_FEL_ORC-1)) )
SET @NEW_RACE = 9; -- ID of adding race.SET @NEW_CLASS = 1; -- ID of class of the new race.SET @COPY_RACE = 1; -- ID of the race where we copy datas.DELETE FROM `playercreateinfo_spell` WHERE race = @NEW_RACE AND class = @NEW_CLASS ;INSERT INTO `playercreateinfo_spell` (`race`, `class`, `Spell`, `Note`)SELECT @NEW_RACE, @NEW_CLASS, `Spell`, `Note` FROM `playercreateinfo_spell` WHERE race = @COPY_RACE AND class = @NEW_CLASS;
SET @NEW_RACE = 12; -- ID of adding race.SET @NEW_CLASS = 1; -- ID of class of the new race.SET @COPY_RACE = 2; -- ID of the race where we copy datas.DELETE FROM `playercreateinfo_spell` WHERE race = @NEW_RACE AND class = @NEW_CLASS ;INSERT INTO `playercreateinfo_spell` (`race`, `class`, `Spell`, `Note`)SELECT @NEW_RACE, @NEW_CLASS, `Spell`, `Note` FROM `playercreateinfo_spell` WHERE race = @COPY_RACE AND class = @NEW_CLASS;
SET @NEW_RACE = 9; -- ID of adding race.SET @NEW_CLASS = 1; -- ID of class of the new race.SET @COPY_RACE = 1; -- ID of the race where we copy datas.DELETE FROM `playercreateinfo_action` WHERE race = @NEW_RACE AND class = @NEW_CLASS ;INSERT INTO `playercreateinfo_action` (`race`, `class`, `button`, `action`, `type`)SELECT @NEW_RACE, @NEW_CLASS, `button`, `action`, `type` FROM `playercreateinfo_action` WHERE race = @COPY_RACE AND class = @NEW_CLASS;
SET @NEW_RACE = 12; -- ID of adding race.SET @NEW_CLASS = 1; -- ID of class of the new race.SET @COPY_RACE = 2; -- ID of the race where we copy datas.DELETE FROM `playercreateinfo_action` WHERE race = @NEW_RACE AND class = @NEW_CLASS ;INSERT INTO `playercreateinfo_action` (`race`, `class`, `button`, `action`, `type`)SELECT @NEW_RACE, @NEW_CLASS, `button`, `action`, `type` FROM `playercreateinfo_action` WHERE race = @COPY_RACE AND class = @NEW_CLASS;
INSERT INTO `playercreateinfo` (`race`, `class`, `map`, `zone`, `position_x`, `position_y`, `position_z`) VALUES ('9','1','0','12','-8949.95','-132.493','83.5312');
INSERT INTO `playercreateinfo` (`race`, `class`, `map`, `zone`, `position_x`, `position_y`, `position_z`) VALUES ('12','1','1','14','-618.518','-4251.67','38.718');
SET @NEW_RACE = 9; -- ID of adding race.SET @NEW_CLASS = 1; -- ID of class of the new race.SET @COPY_RACE = 1; -- ID of the race where we copy datas.DELETE FROM `player_levelstats` WHERE race = @NEW_RACE AND class = @NEW_CLASS ;INSERT INTO `player_levelstats` (`race`, `class`, `level`, `str`, `agi`, `sta`, `inte`, `spi`)SELECT @NEW_RACE, @NEW_CLASS, `level`, `str`, `agi`, `sta`, `inte`, `spi` FROM `player_levelstats` WHERE race = @COPY_RACE AND class = @NEW_CLASS;
SET @NEW_RACE = 12; -- ID of adding race.SET @NEW_CLASS = 1; -- ID of class of the new race.SET @COPY_RACE = 2; -- ID of the race where we copy datas.DELETE FROM `player_levelstats` WHERE race = @NEW_RACE AND class = @NEW_CLASS ;INSERT INTO `player_levelstats` (`race`, `class`, `level`, `str`, `agi`, `sta`, `inte`, `spi`)SELECT @NEW_RACE, @NEW_CLASS, `level`, `str`, `agi`, `sta`, `inte`, `spi` FROM `player_levelstats` WHERE race = @COPY_RACE AND class = @NEW_CLASS;
380,9,1,0,0,38,39,40,0,49778,-1,-1,6948,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,9891,9892,10141,-1,2380,-1,-1,6418,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,7,8,-1,17,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,381,9,1,1,0,38,39,40,0,49778,-1,-1,6948,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,9891,9892,10141,-1,2380,-1,-1,6418,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,7,8,-1,17,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,382,12,1,0,0,6125,139,140,6948,12282,0,-1,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,9995,9988,9992,6418,22291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,7,8,0,17,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,383,12,1,1,0,6125,139,140,6948,12282,0,-1,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,9995,9988,9992,6418,22291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,7,8,0,17,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,
590,98,668,1101,0,,,1,0,0x2,0,0,,,
IDRace : 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 1 0 0 0 1 0 0 1 1 0 1
IDRace : 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 1 0 1 0 1 0 0 1 1 0 1
590,98,668,1357,0,,,1,0,0x2,0,0,,,
IDRace : 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 1 0 0 1 0 0 0 1 0 0 1 1 0 1
40,98,1101,1535,0x80,0x0,0,0x0,
72,19,1100,690,0x1,0x0,0,0,0x0,0x0,3100,-42000,4000,0,0x111,6,0x11,0x0,469,1.0,0.25,7,5,,,"Hurlevent",,,,,,,,,,,,,,0xFF01FE,,,"Cette capitale de l’Alliance est l’un des derniers bastions de la puissance des humains. Elle est gouvernée par le roi Varian Wrynn, revenu après une disparition mystérieuse.",,,,,,,,,,,,,,0xFF01FE,
1100, 690, 0x1, 0x0,[...] 3100, -42000, 4000,0,Races 1 | Races 2 | Races 3 | Races 4 | Rep for races 1 | Rep for races 2 | Rep for races 3 ...
Sorry? but I have an error/Too many races! Update MAX_RACESBut I have Max_races 12