Сообщений: 15
Тем: 5
Зарегистрирован: May 2020
Репутация:
0
Хочу добавить новую профессию. Работаю с датапаком, вбиваю новую профессию в classList.xml, скилы в classSkillTree.xml, кнопку на получение профы в human_fighter.htm.
Проблема возникает в classList.xml. Профами заняты id с первого по 57, и с 88 по 136. И теперь самое интересное. При использовании id с 58 по 87 вместо профы выдается трансформа в монстра хилера. Профа при этом не меняется. А при использовании id выше 136 вообще ловишь ошибку сервера. Подскажите, как с этим быть? Нужна именно новая профа, а не редактирование старой.
Сообщений: 95
Тем: 4
Зарегистрирован: May 2015
Репутация:
754
В сурсе найди файл, нечто похожее на ClassId.
ClassId
Код: fighter(0, false, Race.human, null, null, 1, null),
warrior(1, false, Race.human, fighter, null, 2, null),
gladiator(2, false, Race.human, warrior, null, 3, ClassType2.Warrior),
warlord(3, false, Race.human, warrior, null, 3, ClassType2.Warrior),
knight(4, false, Race.human, fighter, null, 2, null),
paladin(5, false, Race.human, knight, null, 3, ClassType2.Knight),
darkAvenger(6, false, Race.human, knight, null, 3, ClassType2.Knight),
rogue(7, false, Race.human, fighter, null, 2, null),
treasureHunter(8, false, Race.human, rogue, null, 3, ClassType2.Rogue),
hawkeye(9, false, Race.human, rogue, null, 3, ClassType2.Rogue),
mage(10, true, Race.human, null, null, 1, null),
wizard(11, true, Race.human, mage, null, 2, null),
sorceror(12, true, Race.human, wizard, null, 3, ClassType2.Wizard),
necromancer(13, true, Race.human, wizard, null, 3, ClassType2.Wizard),
warlock(14, true, Race.human, wizard, null, 3, ClassType2.Summoner),
cleric(15, true, Race.human, mage, null, 2, null),
bishop(16, true, Race.human, cleric, null, 3, ClassType2.Healer),
prophet(17, true, Race.human, cleric, null, 3, ClassType2.Enchanter),
elvenFighter(18, false, Race.elf, null, null, 1, null),
elvenKnight(19, false, Race.elf, elvenFighter, null, 2, null),
templeKnight(20, false, Race.elf, elvenKnight, null, 3, ClassType2.Knight),
swordSinger(21, false, Race.elf, elvenKnight, null, 3, ClassType2.Enchanter),
elvenScout(22, false, Race.elf, elvenFighter, null, 2, null),
plainsWalker(23, false, Race.elf, elvenScout, null, 3, ClassType2.Rogue),
silverRanger(24, false, Race.elf, elvenScout, null, 3, ClassType2.Rogue),
elvenMage(25, true, Race.elf, null, null, 1, null),
elvenWizard(26, true, Race.elf, elvenMage, null, 2, null),
spellsinger(27, true, Race.elf, elvenWizard, null, 3, ClassType2.Wizard),
elementalSummoner(28, true, Race.elf, elvenWizard, null, 3, ClassType2.Summoner),
oracle(29, true, Race.elf, elvenMage, null, 2, null),
elder(30, true, Race.elf, oracle, null, 3, ClassType2.Healer),
darkFighter(31, false, Race.darkelf, null, null, 1, null),
palusKnight(32, false, Race.darkelf, darkFighter, null, 2, null),
shillienKnight(33, false, Race.darkelf, palusKnight, null, 3, ClassType2.Knight),
bladedancer(34, false, Race.darkelf, palusKnight, null, 3, ClassType2.Enchanter),
assassin(35, false, Race.darkelf, darkFighter, null, 2, null),
abyssWalker(36, false, Race.darkelf, assassin, null, 3, ClassType2.Rogue),
phantomRanger(37, false, Race.darkelf, assassin, null, 3, ClassType2.Rogue),
darkMage(38, true, Race.darkelf, null, null, 1, null),
darkWizard(39, true, Race.darkelf, darkMage, null, 2, null),
spellhowler(40, true, Race.darkelf, darkWizard, null, 3, ClassType2.Wizard),
phantomSummoner(41, true, Race.darkelf, darkWizard, null, 3, ClassType2.Summoner),
shillienOracle(42, true, Race.darkelf, darkMage, null, 2, null),
shillienElder(43, true, Race.darkelf, shillienOracle, null, 3, ClassType2.Healer),
orcFighter(44, false, Race.orc, null, null, 1, null),
orcRaider(45, false, Race.orc, orcFighter, null, 2, null),
destroyer(46, false, Race.orc, orcRaider, null, 3, ClassType2.Warrior),
orcMonk(47, false, Race.orc, orcFighter, null, 2, null),
tyrant(48, false, Race.orc, orcMonk, null, 3, ClassType2.Warrior),
orcMage(49, true, Race.orc, null, null, 1, null),
orcShaman(50, true, Race.orc, orcMage, null, 2, null),
overlord(51, true, Race.orc, orcShaman, null, 3, ClassType2.Enchanter),
warcryer(52, true, Race.orc, orcShaman, null, 3, ClassType2.Enchanter),
dwarvenFighter(53, false, Race.dwarf, null, null, 1, null),
scavenger(54, false, Race.dwarf, dwarvenFighter, null, 2, null),
bountyHunter(55, false, Race.dwarf, scavenger, null, 3, ClassType2.Warrior),
artisan(56, false, Race.dwarf, dwarvenFighter, null, 2, null),
warsmith(57, false, Race.dwarf, artisan, null, 3, ClassType2.Warrior),
/*
* Dummy Entries (id's already in decimal format)
* btw FU NCSoft for the amount of work you put me
* through to do this!!
* <START>
*/
dummyEntry1(58, false, null, null, null, 0, null),
dummyEntry2(59, false, null, null, null, 0, null),
dummyEntry3(60, false, null, null, null, 0, null),
dummyEntry4(61, false, null, null, null, 0, null),
dummyEntry5(62, false, null, null, null, 0, null),
dummyEntry6(63, false, null, null, null, 0, null),
dummyEntry7(64, false, null, null, null, 0, null),
dummyEntry8(65, false, null, null, null, 0, null),
dummyEntry9(66, false, null, null, null, 0, null),
dummyEntry10(67, false, null, null, null, 0, null),
dummyEntry11(68, false, null, null, null, 0, null),
dummyEntry12(69, false, null, null, null, 0, null),
dummyEntry13(70, false, null, null, null, 0, null),
dummyEntry14(71, false, null, null, null, 0, null),
dummyEntry15(72, false, null, null, null, 0, null),
dummyEntry16(73, false, null, null, null, 0, null),
dummyEntry17(74, false, null, null, null, 0, null),
dummyEntry18(75, false, null, null, null, 0, null),
dummyEntry19(76, false, null, null, null, 0, null),
dummyEntry20(77, false, null, null, null, 0, null),
dummyEntry21(78, false, null, null, null, 0, null),
dummyEntry22(79, false, null, null, null, 0, null),
dummyEntry23(80, false, null, null, null, 0, null),
dummyEntry24(81, false, null, null, null, 0, null),
dummyEntry25(82, false, null, null, null, 0, null),
dummyEntry26(83, false, null, null, null, 0, null),
dummyEntry27(84, false, null, null, null, 0, null),
dummyEntry28(85, false, null, null, null, 0, null),
dummyEntry29(86, false, null, null, null, 0, null),
dummyEntry30(87, false, null, null, null, 0, null),
/*
* <END>
* Of Dummy entries
*/
duelist(88, false, Race.human, gladiator, null, 4, ClassType2.Warrior),
dreadnought(89, false, Race.human, warlord, null, 4, ClassType2.Warrior),
phoenixKnight(90, false, Race.human, paladin, null, 4, ClassType2.Knight),
hellKnight(91, false, Race.human, darkAvenger, null, 4, ClassType2.Knight),
sagittarius(92, false, Race.human, hawkeye, null, 4, ClassType2.Rogue),
adventurer(93, false, Race.human, treasureHunter, null, 4, ClassType2.Rogue),
archmage(94, true, Race.human, sorceror, null, 4, ClassType2.Wizard),
soultaker(95, true, Race.human, necromancer, null, 4, ClassType2.Wizard),
arcanaLord(96, true, Race.human, warlock, null, 4, ClassType2.Summoner),
cardinal(97, true, Race.human, bishop, null, 4, ClassType2.Healer),
hierophant(98, true, Race.human, prophet, null, 4, ClassType2.Enchanter),
evaTemplar(99, false, Race.elf, templeKnight, null, 4, ClassType2.Knight),
swordMuse(100, false, Race.elf, swordSinger, null, 4, ClassType2.Enchanter),
windRider(101, false, Race.elf, plainsWalker, null, 4, ClassType2.Rogue),
moonlightSentinel(102, false, Race.elf, silverRanger, null, 4, ClassType2.Rogue),
mysticMuse(103, true, Race.elf, spellsinger, null, 4, ClassType2.Wizard),
elementalMaster(104, true, Race.elf, elementalSummoner, null, 4, ClassType2.Summoner),
evaSaint(105, true, Race.elf, elder, null, 4, ClassType2.Healer),
shillienTemplar(106, false, Race.darkelf, shillienKnight, null, 4, ClassType2.Knight),
spectralDancer(107, false, Race.darkelf, bladedancer, null, 4, ClassType2.Enchanter),
ghostHunter(108, false, Race.darkelf, abyssWalker, null, 4, ClassType2.Rogue),
ghostSentinel(109, false, Race.darkelf, phantomRanger, null, 4, ClassType2.Rogue),
stormScreamer(110, true, Race.darkelf, spellhowler, null, 4, ClassType2.Wizard),
spectralMaster(111, true, Race.darkelf, phantomSummoner, null, 4, ClassType2.Summoner),
shillienSaint(112, true, Race.darkelf, shillienElder, null, 4, ClassType2.Healer),
titan(113, false, Race.orc, destroyer, null, 4, ClassType2.Warrior),
grandKhauatari(114, false, Race.orc, tyrant, null, 4, ClassType2.Warrior),
dominator(115, true, Race.orc, overlord, null, 4, ClassType2.Enchanter),
doomcryer(116, true, Race.orc, warcryer, null, 4, ClassType2.Enchanter),
fortuneSeeker(117, false, Race.dwarf, bountyHunter, null, 4, ClassType2.Warrior),
maestro(118, false, Race.dwarf, warsmith, null, 4, ClassType2.Warrior),
dummyEntry31(119, false, null, null, null, 0, null),
dummyEntry32(120, false, null, null, null, 0, null),
dummyEntry33(121, false, null, null, null, 0, null),
dummyEntry34(122, false, null, null, null, 0, null),
/**
* Kamael
*/
maleSoldier(123, false, Race.kamael, null, null, 1, null),
femaleSoldier(124, false, Race.kamael, null, null, 1, null),
trooper(125, false, Race.kamael, maleSoldier, null, 2, null),
warder(126, false, Race.kamael, femaleSoldier, null, 2, null),
berserker(127, false, Race.kamael, trooper, null, 3, ClassType2.Warrior),
maleSoulbreaker(128, false, Race.kamael, trooper, null, 3, ClassType2.Warrior),
femaleSoulbreaker(129, false, Race.kamael, warder, null, 3, ClassType2.Warrior),
arbalester(130, false, Race.kamael, warder, null, 3, ClassType2.Rogue),
doombringer(131, false, Race.kamael, berserker, null, 4, ClassType2.Warrior),
maleSoulhound(132, false, Race.kamael, maleSoulbreaker, null, 4, ClassType2.Warrior),
femaleSoulhound(133, false, Race.kamael, femaleSoulbreaker, null, 4, ClassType2.Warrior),
trickster(134, false, Race.kamael, arbalester, null, 4, ClassType2.Rogue),
inspector(135, false, Race.kamael, trooper, warder, 3, ClassType2.Enchanter),
judicator(136, false, Race.kamael, inspector, null, 4, ClassType2.Enchanter);
Сообщений: 15
Тем: 5
Зарегистрирован: May 2020
Репутация:
0
05-21-2020, 03:03 PM
(Сообщение последний раз редактировалось: 05-21-2020, 06:12 PM JohnSmith.)
Уже правил этот файл, вообще уже кучу всего поменял, но результата нет.
Сообщений: 2,846
Тем: 34
Зарегистрирован: Mar 2012
Репутация:
19,998
Lorn Написал:В сурсе найди файл, нечто похожее на ClassId.
ClassId
Код: fighter(0, false, Race.human, null, null, 1, null),
warrior(1, false, Race.human, fighter, null, 2, null),
gladiator(2, false, Race.human, warrior, null, 3, ClassType2.Warrior),
warlord(3, false, Race.human, warrior, null, 3, ClassType2.Warrior),
knight(4, false, Race.human, fighter, null, 2, null),
paladin(5, false, Race.human, knight, null, 3, ClassType2.Knight),
darkAvenger(6, false, Race.human, knight, null, 3, ClassType2.Knight),
rogue(7, false, Race.human, fighter, null, 2, null),
treasureHunter(8, false, Race.human, rogue, null, 3, ClassType2.Rogue),
hawkeye(9, false, Race.human, rogue, null, 3, ClassType2.Rogue),
mage(10, true, Race.human, null, null, 1, null),
wizard(11, true, Race.human, mage, null, 2, null),
sorceror(12, true, Race.human, wizard, null, 3, ClassType2.Wizard),
necromancer(13, true, Race.human, wizard, null, 3, ClassType2.Wizard),
warlock(14, true, Race.human, wizard, null, 3, ClassType2.Summoner),
cleric(15, true, Race.human, mage, null, 2, null),
bishop(16, true, Race.human, cleric, null, 3, ClassType2.Healer),
prophet(17, true, Race.human, cleric, null, 3, ClassType2.Enchanter),
elvenFighter(18, false, Race.elf, null, null, 1, null),
elvenKnight(19, false, Race.elf, elvenFighter, null, 2, null),
templeKnight(20, false, Race.elf, elvenKnight, null, 3, ClassType2.Knight),
swordSinger(21, false, Race.elf, elvenKnight, null, 3, ClassType2.Enchanter),
elvenScout(22, false, Race.elf, elvenFighter, null, 2, null),
plainsWalker(23, false, Race.elf, elvenScout, null, 3, ClassType2.Rogue),
silverRanger(24, false, Race.elf, elvenScout, null, 3, ClassType2.Rogue),
elvenMage(25, true, Race.elf, null, null, 1, null),
elvenWizard(26, true, Race.elf, elvenMage, null, 2, null),
spellsinger(27, true, Race.elf, elvenWizard, null, 3, ClassType2.Wizard),
elementalSummoner(28, true, Race.elf, elvenWizard, null, 3, ClassType2.Summoner),
oracle(29, true, Race.elf, elvenMage, null, 2, null),
elder(30, true, Race.elf, oracle, null, 3, ClassType2.Healer),
darkFighter(31, false, Race.darkelf, null, null, 1, null),
palusKnight(32, false, Race.darkelf, darkFighter, null, 2, null),
shillienKnight(33, false, Race.darkelf, palusKnight, null, 3, ClassType2.Knight),
bladedancer(34, false, Race.darkelf, palusKnight, null, 3, ClassType2.Enchanter),
assassin(35, false, Race.darkelf, darkFighter, null, 2, null),
abyssWalker(36, false, Race.darkelf, assassin, null, 3, ClassType2.Rogue),
phantomRanger(37, false, Race.darkelf, assassin, null, 3, ClassType2.Rogue),
darkMage(38, true, Race.darkelf, null, null, 1, null),
darkWizard(39, true, Race.darkelf, darkMage, null, 2, null),
spellhowler(40, true, Race.darkelf, darkWizard, null, 3, ClassType2.Wizard),
phantomSummoner(41, true, Race.darkelf, darkWizard, null, 3, ClassType2.Summoner),
shillienOracle(42, true, Race.darkelf, darkMage, null, 2, null),
shillienElder(43, true, Race.darkelf, shillienOracle, null, 3, ClassType2.Healer),
orcFighter(44, false, Race.orc, null, null, 1, null),
orcRaider(45, false, Race.orc, orcFighter, null, 2, null),
destroyer(46, false, Race.orc, orcRaider, null, 3, ClassType2.Warrior),
orcMonk(47, false, Race.orc, orcFighter, null, 2, null),
tyrant(48, false, Race.orc, orcMonk, null, 3, ClassType2.Warrior),
orcMage(49, true, Race.orc, null, null, 1, null),
orcShaman(50, true, Race.orc, orcMage, null, 2, null),
overlord(51, true, Race.orc, orcShaman, null, 3, ClassType2.Enchanter),
warcryer(52, true, Race.orc, orcShaman, null, 3, ClassType2.Enchanter),
dwarvenFighter(53, false, Race.dwarf, null, null, 1, null),
scavenger(54, false, Race.dwarf, dwarvenFighter, null, 2, null),
bountyHunter(55, false, Race.dwarf, scavenger, null, 3, ClassType2.Warrior),
artisan(56, false, Race.dwarf, dwarvenFighter, null, 2, null),
warsmith(57, false, Race.dwarf, artisan, null, 3, ClassType2.Warrior),
/*
* Dummy Entries (id's already in decimal format)
* btw FU NCSoft for the amount of work you put me
* through to do this!!
* <START>
*/
dummyEntry1(58, false, null, null, null, 0, null),
dummyEntry2(59, false, null, null, null, 0, null),
dummyEntry3(60, false, null, null, null, 0, null),
dummyEntry4(61, false, null, null, null, 0, null),
dummyEntry5(62, false, null, null, null, 0, null),
dummyEntry6(63, false, null, null, null, 0, null),
dummyEntry7(64, false, null, null, null, 0, null),
dummyEntry8(65, false, null, null, null, 0, null),
dummyEntry9(66, false, null, null, null, 0, null),
dummyEntry10(67, false, null, null, null, 0, null),
dummyEntry11(68, false, null, null, null, 0, null),
dummyEntry12(69, false, null, null, null, 0, null),
dummyEntry13(70, false, null, null, null, 0, null),
dummyEntry14(71, false, null, null, null, 0, null),
dummyEntry15(72, false, null, null, null, 0, null),
dummyEntry16(73, false, null, null, null, 0, null),
dummyEntry17(74, false, null, null, null, 0, null),
dummyEntry18(75, false, null, null, null, 0, null),
dummyEntry19(76, false, null, null, null, 0, null),
dummyEntry20(77, false, null, null, null, 0, null),
dummyEntry21(78, false, null, null, null, 0, null),
dummyEntry22(79, false, null, null, null, 0, null),
dummyEntry23(80, false, null, null, null, 0, null),
dummyEntry24(81, false, null, null, null, 0, null),
dummyEntry25(82, false, null, null, null, 0, null),
dummyEntry26(83, false, null, null, null, 0, null),
dummyEntry27(84, false, null, null, null, 0, null),
dummyEntry28(85, false, null, null, null, 0, null),
dummyEntry29(86, false, null, null, null, 0, null),
dummyEntry30(87, false, null, null, null, 0, null),
/*
* <END>
* Of Dummy entries
*/
duelist(88, false, Race.human, gladiator, null, 4, ClassType2.Warrior),
dreadnought(89, false, Race.human, warlord, null, 4, ClassType2.Warrior),
phoenixKnight(90, false, Race.human, paladin, null, 4, ClassType2.Knight),
hellKnight(91, false, Race.human, darkAvenger, null, 4, ClassType2.Knight),
sagittarius(92, false, Race.human, hawkeye, null, 4, ClassType2.Rogue),
adventurer(93, false, Race.human, treasureHunter, null, 4, ClassType2.Rogue),
archmage(94, true, Race.human, sorceror, null, 4, ClassType2.Wizard),
soultaker(95, true, Race.human, necromancer, null, 4, ClassType2.Wizard),
arcanaLord(96, true, Race.human, warlock, null, 4, ClassType2.Summoner),
cardinal(97, true, Race.human, bishop, null, 4, ClassType2.Healer),
hierophant(98, true, Race.human, prophet, null, 4, ClassType2.Enchanter),
evaTemplar(99, false, Race.elf, templeKnight, null, 4, ClassType2.Knight),
swordMuse(100, false, Race.elf, swordSinger, null, 4, ClassType2.Enchanter),
windRider(101, false, Race.elf, plainsWalker, null, 4, ClassType2.Rogue),
moonlightSentinel(102, false, Race.elf, silverRanger, null, 4, ClassType2.Rogue),
mysticMuse(103, true, Race.elf, spellsinger, null, 4, ClassType2.Wizard),
elementalMaster(104, true, Race.elf, elementalSummoner, null, 4, ClassType2.Summoner),
evaSaint(105, true, Race.elf, elder, null, 4, ClassType2.Healer),
shillienTemplar(106, false, Race.darkelf, shillienKnight, null, 4, ClassType2.Knight),
spectralDancer(107, false, Race.darkelf, bladedancer, null, 4, ClassType2.Enchanter),
ghostHunter(108, false, Race.darkelf, abyssWalker, null, 4, ClassType2.Rogue),
ghostSentinel(109, false, Race.darkelf, phantomRanger, null, 4, ClassType2.Rogue),
stormScreamer(110, true, Race.darkelf, spellhowler, null, 4, ClassType2.Wizard),
spectralMaster(111, true, Race.darkelf, phantomSummoner, null, 4, ClassType2.Summoner),
shillienSaint(112, true, Race.darkelf, shillienElder, null, 4, ClassType2.Healer),
titan(113, false, Race.orc, destroyer, null, 4, ClassType2.Warrior),
grandKhauatari(114, false, Race.orc, tyrant, null, 4, ClassType2.Warrior),
dominator(115, true, Race.orc, overlord, null, 4, ClassType2.Enchanter),
doomcryer(116, true, Race.orc, warcryer, null, 4, ClassType2.Enchanter),
fortuneSeeker(117, false, Race.dwarf, bountyHunter, null, 4, ClassType2.Warrior),
maestro(118, false, Race.dwarf, warsmith, null, 4, ClassType2.Warrior),
dummyEntry31(119, false, null, null, null, 0, null),
dummyEntry32(120, false, null, null, null, 0, null),
dummyEntry33(121, false, null, null, null, 0, null),
dummyEntry34(122, false, null, null, null, 0, null),
/**
* Kamael
*/
maleSoldier(123, false, Race.kamael, null, null, 1, null),
femaleSoldier(124, false, Race.kamael, null, null, 1, null),
trooper(125, false, Race.kamael, maleSoldier, null, 2, null),
warder(126, false, Race.kamael, femaleSoldier, null, 2, null),
berserker(127, false, Race.kamael, trooper, null, 3, ClassType2.Warrior),
maleSoulbreaker(128, false, Race.kamael, trooper, null, 3, ClassType2.Warrior),
femaleSoulbreaker(129, false, Race.kamael, warder, null, 3, ClassType2.Warrior),
arbalester(130, false, Race.kamael, warder, null, 3, ClassType2.Rogue),
doombringer(131, false, Race.kamael, berserker, null, 4, ClassType2.Warrior),
maleSoulhound(132, false, Race.kamael, maleSoulbreaker, null, 4, ClassType2.Warrior),
femaleSoulhound(133, false, Race.kamael, femaleSoulbreaker, null, 4, ClassType2.Warrior),
trickster(134, false, Race.kamael, arbalester, null, 4, ClassType2.Rogue),
inspector(135, false, Race.kamael, trooper, warder, 3, ClassType2.Enchanter),
judicator(136, false, Race.kamael, inspector, null, 4, ClassType2.Enchanter);
Природа настолько очистилась, что старики-пердуны вновь вернулись на зг? :Olen':
Сообщений: 42
Тем: 0
Зарегистрирован: Nov 2013
Репутация:
75
JohnSmith Написал:Хочу добавить новую профессию. Работаю с датапаком, вбиваю новую профессию в classList.xml, скилы в classSkillTree.xml, кнопку на получение профы в human_fighter.htm.
Проблема возникает в classList.xml. Профами заняты id с первого по 57, и с 88 по 136. И теперь самое интересное. При использовании id с 58 по 87 вместо профы выдается трансформа в монстра хилера. Профа при этом не меняется. А при использовании id выше 136 вообще ловишь ошибку сервера. Подскажите, как с этим быть? Нужна именно новая профа, а не редактирование старой.
https://forum.zone-game.info/showpost.ph...stcount=24
Сообщений: 95
Тем: 4
Зарегистрирован: May 2015
Репутация:
754
helly Написал:Природа настолько очистилась, что старики-пердуны вновь вернулись на зг? :Olen': А мы никуда и не уходили)
|