hello guys i am having a problem with the clan skill list , i have an npc where i have some features reagrouped, one of these features is learn clan skills, when i press learn skills it show the list well, but when i try to push some skill to learn the window dissappear without errors in the console, this is the little code that i use for it:
else if (actualCommand.equalsIgnoreCase("learnclanskills"))
{
if (!checkLeaderConditions(player))
{
return;
}
L2VillageMasterInstance.showPledgeSkillList(player);
}
and the condition:
private static boolean checkLeaderConditions(L2PcInstance activeChar)
{
if (!activeChar.isClanLeader())
{
activeChar.sendMessage("Only clan leader can use that function.");
return false;
}
return true;
}
the npc show the skill list well but i cant select any skill because the window dissappear without errors....what i forgot? thanks in advance...
i found the solution, i will answer me:
the problem was the instancetype of my npc Script i changed the extender from L2Npc to L2NpcInstance and worked.
Xmas Wolf Chariot Mount | Lineage 2 Mod
Celebrate the holiday spirit in Lineage 2 with this festive Xmas Wolf Chariot Mount! Created for protocol 166, this unique modification features majestic wolf mounts with holiday-themed harnesses pulling a decorative chariot.
If you have questions or want to add this updated skill to your game, feel free to contact me via Skype or Discord.
Download or in Discord Client Dev channel https://discord.gg/XdCb9dmTtf
06/12/2024 21:00 GMT +2
High Five - PvP server x45 - Aria Victoria Style 2004
NPC Buffer & Enchanted NPC Buffer.
Global Gatekeeper.
Clan Hall Teleports & Clan GM Shop (-20%).
Offline Shop.
GM shop up to B Grade.
Auto Farm system.
TvT - CTF - DM - Party Farm - Event Boss
Craftable Hero Weapon.
Instances Solo and Party, weekly and daily.
No kamael.
More informations can be found on our website including a "how to connect" greek guide
Valkyria is based on aCis
https://l2valkyria.com
Question
b0rto
hello guys i am having a problem with the clan skill list , i have an npc where i have some features reagrouped, one of these features is learn clan skills, when i press learn skills it show the list well, but when i try to push some skill to learn the window dissappear without errors in the console, this is the little code that i use for it:
and the condition:
the npc show the skill list well but i cant select any skill because the window dissappear without errors....what i forgot? thanks in advance...
i found the solution, i will answer me:
the problem was the instancetype of my npc Script i changed the extender from L2Npc to L2NpcInstance and worked.
Edited by b0rto1 answer to this question
Recommended Posts