Jump to content
  • 0

[Requesting Help] Problem when I try to implant a Skill


Question

Posted

Hello men.

 

I'm working on a L2J Gracia part 2 Server. I use the Datapack revision number 5987

 

Lately, I tried to implant 80+ skills like Protection of Rune /Alignment / Elemental

 

After making one skill (Protection of Rune) , I wanted to implant it . So I updated the skill_tree table in order to add it for all players who are 81+ (cost only One SP, it's just a test) but the NPC say "There is no other skills to learn"

 

So i tried to add the skill manually with the //add_skill command. I got the system message "Error : no such skill exists"

 

I restarted the server, I checked my xml files, and everything seems to work I don't have any Error logs in the Gameserver Console when I start it

 

So I wonder what I did wrong or what I've forgotten

 

 

Thanks a lot for your help, I hope I'm in the right section

 

Ptitlaby

9 answers to this question

Recommended Posts

  • 0
Posted

Ok, Here is the xml :

 

<skill id="755" levels="1" name="Protection of Rune">
  <set name="operateType" val="OP_PASSIVE"/>
  <set name="skillType" val="BUFF"/>
  <set name="target" val="TARGET_SELF"/>
   <for>
    <mul order="0x30" stat="mDef" val="1.15"/>
    <effect name="ChanceSkillTrigger" time="10" val="0" triggeredId="5556" chanceType="ON_ATTACKED" activationChance="10"/>
  </for>
</skill>

 

And Here is the skill_trees table

 

 

This skill launch the trigger skill 5556, I give it to you too

 

<skill id="5556" levels="1" name="Protection of Rune">
  <set name="operateType" val="OP_PASSIVE"/>
  <set name="skillType" val="BUFF"/>
  <set name="target" val="TARGET_SELF"/>
   <for>
    <add order="0x40" stat="fireVuln" val="20"/>
<add order="0x40" stat="waterVuln" val="20"/>
<add order="0x40" stat="windVuln" val="20"/>
<add order="0x40" stat="earthVuln" val="20"/>
<add order="0x40" stat="holyVuln" val="20"/>
<add order="0x40" stat="darkVuln" val="20"/>
<add order="0x40" stat="mDef" val="1000""/>
   </for>
</skill>

 

And the SQL table . I put only the end of the table because the file is too long, you could see the whole table here

 

DROP TABLE IF EXISTS `skill_trees`;
CREATE TABLE `skill_trees` (
  `class_id` int(10) unsigned NOT NULL default '0',
  `skill_id` int(10) unsigned NOT NULL default '0',
  `level` int(10) unsigned NOT NULL default '0',
  `name` varchar(40) NOT NULL default '',
  `sp` int(10) unsigned NOT NULL default '0',
  `min_level` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY (`class_id`,`skill_id`,`level`)
);

-- GLOSSARY FOR CLASS ID'S (Created by Mr_Pleb_Mgoo), Updated by DJ MELERIX

-- HUMANS
-- 0=Human Fighter        | 1=Warrior       | 2=Gladiator        | 3=Warlord  | 4=Human Knight   | 5=Paladin
-- 6=Dark Avenger         | 7=Rogue         | 8=Treasure Hunter  | 9=Hawkeye  | 10=Human Mystic  | 11=Wizard
-- 12=Sorcerer/ss         | 13=Necromancer  | 14=Warlock         | 15=Cleric  | 16=Bishop        | 17=Prophet

-- ELVES
-- 18=Elven Fighter       | 19=Elven Knight   | 20=Temple Knight  | 21=Swordsinger   | 22=Elven Scout
-- 23=Plains Walker       | 24=Silver Ranger  | 25=Elven Mystic   | 26=Elven Wizard  | 27=SpellSinger
-- 28=Elemental Summoner  | 29=Elven Oracle   | 30=Elven Elder

-- DARK ELVES
-- 31=Dark Fighter        | 32=Palus Knight     | 33=Shillien Knight  | 34=BladeDancer  | 35=Assassin
-- 36=Abyss Walker        | 37=Phantom Ranger   | 38=Dark Mystic      | 39=Dark Wizard  | 40=SpellHowler
-- 41=Phantom Summoner    | 42=Shillien Oracle  | 43=Shillien Elder

-- ORCS
-- 44=Orc Fighter         | 45=Orc Raider  | 46=Destroyer  | 47=Monk  | 48=Tyrant  | 49=Orc Mystic  | 50=Orc Shaman
-- 51=Overlord            | 52=Warcryer

-- DWARVES
-- 53=Dwarven Fighter     | 54=Scavenger  | 55=Bounty Hunter  | 56=Artisan  | 57=Warsmith

-- HUMANS 3rd Professions
-- 88=Duelist             | 89=DreadNought  | 90=Phoenix Knight  | 91=Hell Knight  | 92=Sagittarius  | 93=Adventurer
-- 94=ArchMage            | 95=Soultaker    | 96=Arcana Lord     | 97=Cardinal     | 98=HieroPhant

-- ELVES 3rd Professions
-- 99=Evas Templar        | 100=Sword Muse  | 101=Wind Rider  | 102=Moonlight Sentinel  | 103=Mystic Muse
-- 104=Elemental Master   | 105=Evas Saint

-- DARK ELVES 3rd Professions
-- 106=Shillien Templar   | 107=Spectral Dancer  | 108=Ghost Hunter  | 109=Ghost Sentinel  | 110=Storm Screamer
-- 111=Spectral Master    | 112=Shillien Saint

-- ORCS 3rd Professions
-- 113=Titan              | 114=Grand Khavatari  | 115=Dominator  | 116=Doomcryer

-- DWARVES 3rd Professions
-- 117=Fortune Seeker     | 118=Maestro

-- KAMAELS
-- 123=Male Soldier       | 124=Female Soldier       | 125=Trooper     | 126=Warder       | 127=Berserker
-- 128=Male Soul Breaker  | 129=Female Soul Breaker  | 130=Arbalester  | 131=Doombringer  | 132=Male Soul Hound
-- 133=Female Soul Hound  | 134=Trickster            | 135=Inspector   | 136=Judicator



-- Protection of Rune (Test)
(88,755,1,'Protection of Rune',160,81),
(89,755,1,'Protection of Rune',160,81),
(90,755,1,'Protection of Rune',160,81),
(91,755,1,'Protection of Rune',160,81),
(92,755,1,'Protection of Rune',160,81),
(93,755,1,'Protection of Rune',160,81),
(94,755,1,'Protection of Rune',160,81),
(95,755,1,'Protection of Rune',160,81),
(96,755,1,'Protection of Rune',160,81),
(97,755,1,'Protection of Rune',160,81),
(98,755,1,'Protection of Rune',160,81),
(99,755,1,'Protection of Rune',160,81),
(100,755,1,'Protection of Rune',160,81),
(101,755,1,'Protection of Rune',160,81),
(102,755,1,'Protection of Rune',160,81),
(103,755,1,'Protection of Rune',160,81),
(104,755,1,'Protection of Rune',160,81),
(105,755,1,'Protection of Rune',160,81),
(106,755,1,'Protection of Rune',160,81),
(107,755,1,'Protection of Rune',160,81),
(108,755,1,'Protection of Rune',160,81),
(109,755,1,'Protection of Rune',160,81),
(110,755,1,'Protection of Rune',160,81),
(111,755,1,'Protection of Rune',160,81),
(112,755,1,'Protection of Rune',160,81),
(113,755,1,'Protection of Rune',160,81),
(114,755,1,'Protection of Rune',160,81),
(115,755,1,'Protection of Rune',160,81),
(116,755,1,'Protection of Rune',160,81),
(117,755,1,'Protection of Rune',160,81),
(118,755,1,'Protection of Rune',160,81),
(119,755,1,'Protection of Rune',160,81),
(120,755,1,'Protection of Rune',160,81),
(121,755,1,'Protection of Rune',160,81),
(122,755,1,'Protection of Rune',160,81),
(123,755,1,'Protection of Rune',160,81),
(124,755,1,'Protection of Rune',160,81),
(125,755,1,'Protection of Rune',160,81),
(126,755,1,'Protection of Rune',160,81),
(127,755,1,'Protection of Rune',160,81),
(128,755,1,'Protection of Rune',160,81),
(129,755,1,'Protection of Rune',160,81),
(130,755,1,'Protection of Rune',160,81),
(131,755,1,'Protection of Rune',160,81),
(132,755,1,'Protection of Rune',160,81),
(133,755,1,'Protection of Rune',160,81),
(134,755,1,'Protection of Rune',160,81),
(135,755,1,'Protection of Rune',160,81),
(136,755,1,'Protection of Rune',160,81),


  • 0
Posted

It has to work 100%.I wonder where your error is.. Humm.. Check you skill_trees again if they are there. Also,it has to add it even without skill trees with //add_skill 755 .. You sure XML is in the /skill/ folder? To be sure , go IG and press ALT+G then type the skill name , use Search SKILL and if it finds it .. No probs but if it don't check everything again.No way ,it has to add it.

  • 0
Posted

why you want do it??? i think its not necessary.... put in the gm shop or in some mobs to drop the books for lvl 81 skills... the player give double click on the books and learn the skills.

  • 0
Posted

There is the problem, books don't work anymore and I'm still searching why, I did a "back up" erasing all my work but there is no new effect

  • 0
Posted

LoL how your datapack is 5987 if the last stable datapack is the 5290 and the last core stable version is 5288 (or gamesaver 1.2.11 loginserver 1.2.0)????? In this versions the skills lvl 81 are working with the books. The last unstable datapack is 5907 i think you are wrong or Im fool.

  • 0
Posted

There is n o problem, and a friend found my error today :  I use "name=chantetriggerskill" and this command doesn't exist with the Core I use, I made a custom mix with Gracia Final Core

 

Thanks all for your help, I close the topic

Guest
This topic is now closed to further replies.


×
×
  • Create New...