01-25-2012, 08:53 PM
сборка maddev401
исходный char_templates.sql
INSERT INTO `char_templates` (`ClassId`,`ClassName`,`RaceId`,`parent`,`level`,...
(0,'Human Fighter',0,255,0,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(1,'Warrior',0,0,1,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(2,'Gladiator',0,1,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(3,'Warlord',0,1,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(4,'Human Knight',0,0,1,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(5,'Paladin',0,4,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(6,'Dark Avenger',0,4,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(7,'Rogue',0,0,1,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(8,'Treasure Hunter',0,7,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(9,'Hawkeye',0,7,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(10,'Human Mage',0,255,0,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(11,'Human Wizard',0,10,1,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(12,'Sorcerer',0,11,2,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(13,'Necromancer',0,11,2,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(14,'Warlock',0,11,2,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(15,'Cleric',0,10,1,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(16,'Bishop',0,15,2,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(17,'Human Prophet',0,15,2,22,27,21,41,20,39,2,48,7,54,303,333,28,...
......
отредактировал char_templates.sql:
INSERT INTO `char_templates` (`ClassId`,`ClassName`,`RaceId`,`parent`,`level`,...
(0,'Human Fighter',0,255,0,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,...
(1,'Voin1',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(2,'Voin2',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(3,'Voin3',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(4,'Voin4',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(5,'Voin5',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(6,'Voin6',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(7,'Voin7',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(8,'Voin8',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(9,'Voin9',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(10,'Human Mage',0,255,0,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,...
(11,'Mag1',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(12,'Mag2',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(13,'Mag3',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(14,'Mag4',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(15,'Mag5',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(16,'Mag6',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(17,'Voin10',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
.......
поставил нпс: раздатчика проф.
начинаю играть Human Fighter'ом.
если беру профу Voin1 - все в порядке.
если беру профу Voin10 - меняется скин воина на скин мага.
Подскажите, как решить проблему?
П.С.
в PlayerClass.java для Voin10 поправил:
Voin10(human, Fighter, Second),
в class_list.sql для Voin10 поправил:
('Voin10',17,0,0),
в ClassId.java для Voin10 поправил:
Voin10(17, false, Race.human, fighter, null, 1),
в CharTemplateTable.java тоже поправил
исходный char_templates.sql
INSERT INTO `char_templates` (`ClassId`,`ClassName`,`RaceId`,`parent`,`level`,...
(0,'Human Fighter',0,255,0,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(1,'Warrior',0,0,1,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(2,'Gladiator',0,1,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(3,'Warlord',0,1,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(4,'Human Knight',0,0,1,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(5,'Paladin',0,4,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(6,'Dark Avenger',0,4,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(7,'Rogue',0,0,1,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(8,'Treasure Hunter',0,7,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(9,'Hawkeye',0,7,2,40,43,30,21,11,25,4,72,3,47,330,213,33,44,33,115,80,...
(10,'Human Mage',0,255,0,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(11,'Human Wizard',0,10,1,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(12,'Sorcerer',0,11,2,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(13,'Necromancer',0,11,2,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(14,'Warlock',0,11,2,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(15,'Cleric',0,10,1,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(16,'Bishop',0,15,2,22,27,21,41,20,39,2,48,7,54,303,333,28,40,28,...
(17,'Human Prophet',0,15,2,22,27,21,41,20,39,2,48,7,54,303,333,28,...
......
отредактировал char_templates.sql:
INSERT INTO `char_templates` (`ClassId`,`ClassName`,`RaceId`,`parent`,`level`,...
(0,'Human Fighter',0,255,0,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,...
(1,'Voin1',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(2,'Voin2',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(3,'Voin3',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(4,'Voin4',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(5,'Voin5',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(6,'Voin6',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(7,'Voin7',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(8,'Voin8',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(9,'Voin9',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
(10,'Human Mage',0,255,0,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,...
(11,'Mag1',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(12,'Mag2',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(13,'Mag3',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(14,'Mag4',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(15,'Mag5',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(16,'Mag6',0,10,1,22,27,21,41,20,39,100,1,101,1,303,333,28,40,28,120,78,...
(17,'Voin10',0,0,1,40,43,30,21,11,25,100,1,100,1,330,213,33,44,33,115,80,...
.......
поставил нпс: раздатчика проф.
начинаю играть Human Fighter'ом.
если беру профу Voin1 - все в порядке.
если беру профу Voin10 - меняется скин воина на скин мага.
Подскажите, как решить проблему?
П.С.
в PlayerClass.java для Voin10 поправил:
Voin10(human, Fighter, Second),
в class_list.sql для Voin10 поправил:
('Voin10',17,0,0),
в ClassId.java для Voin10 поправил:
Voin10(17, false, Race.human, fighter, null, 1),
в CharTemplateTable.java тоже поправил