Jump to content
  • 0

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


ptitlaby

Question

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

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

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),


Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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.

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


  • Posts

    • Welcome to my store : https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 60.99 $ 2016 Discord Account : 10.50 $ 2017 Discord Account :4.99 $ 2018 Discord Account : 3.99 $ 2019 Discord Account : 2.99 $ 2020 Discord Account :1.99$ 2021 Discord Account :1.50$ 2022 Discord Account :0.99$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore11 Whatsapp ; +212614849119 Welcome to my store : https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 60.99 $ 2016 Discord Account : 10.50 $ 2017 Discord Account :4.99 $ 2018 Discord Account : 3.99 $ 2019 Discord Account : 2.99 $ 2020 Discord Account :1.99$ 2021 Discord Account :1.50$ 2022 Discord Account :0.99$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore11 Whatsapp ; +212614849119
    • The heavy lifting is done in the client, because while you can get away with small imperfections in the java, everything in the client must be impecable. So, if you haven't touched the client, I'd say pick the newest protocol version you can find the client editing tools and Interface.u (mandatory) / NWindow.dll (better to have it) / Engine.dll (optional) sources for. At the very least, you need the Interface.u to fix the Clan Window and enable skill enchanting on Classic/Essence versions, if you decide to use one of them instead of MAIN/LIVE.
    • Thanks for clarification. Do you think the newest clients offer solid advantages compared to the classic ones like Salvation? I'm also in the process of porting h5 to one of them just for the sake of it, so I was wondering if I should just attempt to go to the newest possible.
    • Upgrading to Salvation is exactly the same as upgrading to the newest client with the only difference being access to free-shared client editing tools and resources. I am speaking from experience. I have upgraded my HF source to one of the newest clients by myself (in terms of server side. got help with the client) and hit every single wall there was in the process. Now, I already have several multi-protocool server cores so I can easily compare different approaches to tackling the same issue, which also helped the learning process. Best way to learn would be to use this one (link below) to snoop around and figure out what has been changed in the server side (the packet structure will be different, for sure, but works for understanding/figuring the process out in general terms). https://github.com/iBezneR/L2J_SunriseProject_Purity The client side will always be the same, always the same files, only the DAT structure will be different. I personally wrote myself some parsers for the data of the DAT files from OLD -> NEW client.
  • Topics

×
×
  • Create New...