Jump to content

Recommended Posts

Posted

Hello again  ... :) i learn java and i have some good ideas and i wanna share with all of you.

 

what the title said?? yeshhh we can add skill more skills at hero character not only valor/berseker etc...

 

example you can give to the hero character a skill w/e you want...

 

Let's start;

 

go to gameserver.datatables.heroskilltable.java

 

You will see that code;

 

-------------------------------------------------

 

public class HeroSkillTable

{

private static HeroSkillTable _instance;

private static L2Skill[] _heroSkills;

 

private HeroSkillTable()

{

_heroSkills = new L2Skill[5]; <<here add how many skill you add.

_heroSkills[0] = SkillTable.getInstance().getInfo(395, 1); They are the hero skills 395 is the id and the 1 the lvl of skill

_heroSkills[1] = SkillTable.getInstance().getInfo(396, 1);

_heroSkills[2] = SkillTable.getInstance().getInfo(1374, 1);

_heroSkills[3] = SkillTable.getInstance().getInfo(1375, 1);

_heroSkills[4] = SkillTable.getInstance().getInfo(1376, 1);

}

 

public static HeroSkillTable getInstance()

{

if (_instance == null)

_instance = new HeroSkillTable();

return _instance;

}

 

public static L2Skill[] getHeroSkills()

{

return _heroSkills;

}

 

public static boolean isHeroSkill(int skillid)

{

Integer[] _HeroSkillsId = new Integer[]

{

395, 396, 1374, 1375, 1376  <<--here again the id of skill

};

 

for (int id : _HeroSkillsId)

{

if (id == skillid)

return true;

}

 

return false;

}

}

 

-------------------------------------------------

 

For example i wanna add at hero character the skill a gift of queen you can add w/e you want.

 

Gift of queen skill id 4700 lvl 13, let's  make the change  ;)

 

 

public class HeroSkillTable

{

private static HeroSkillTable _instance;

private static L2Skill[] _heroSkills;

 

private HeroSkillTable()

{

_heroSkills = new L2Skill[6]; <<and here

_heroSkills[0] = SkillTable.getInstance().getInfo(395, 1);

      _heroSkills[0] = SkillTable.getInstance().getInfo(4700, 13); <<Yeshhh i add it !

_heroSkills[1] = SkillTable.getInstance().getInfo(396, 1);

_heroSkills[2] = SkillTable.getInstance().getInfo(1374, 1);

_heroSkills[3] = SkillTable.getInstance().getInfo(1375, 1);

_heroSkills[4] = SkillTable.getInstance().getInfo(1376, 1);

}

 

public static HeroSkillTable getInstance()

{

if (_instance == null)

_instance = new HeroSkillTable();

return _instance;

}

 

public static L2Skill[] getHeroSkills()

{

return _heroSkills;

}

 

public static boolean isHeroSkill(int skillid)

{

Integer[] _HeroSkillsId = new Integer[]

{

395, 396, 1374, 1375, 1376, 4700  << ofc and here

};

 

for (int id : _HeroSkillsId)

{

if (id == skillid)

return true;

}

 

return false;

}

}

 

-------------------------------------------------

 

I'm //done

 

Posted

i learn java and i have some good ideas and i wanna share with all of you.

 

with all this u are only in 5% :) ... everyone can edit :) when u create somthink after u can tell im learn :)

 

example:.... im have edit tvt event (messages and some other) and so? im know java? no no no no :P

 

Posted

 

 

with all this u are only in 5% :) ... everyone can edit :) when u create somthink after u can tell im learn :)

 

example:.... im have edit tvt event (messages and some other) and so? im know java? no no no no :P

 

that's your opinion is welcome and you know it... i make a simple modification for newbie ...like me at java ...

 

That i'm telling ..i learning... ofc i can modding .... and i will share my work in future !!

 

Bets regardz Cobra :)

 

 

Posted

that's your opinion is welcome and you know it... i make a simple modification for newbie ...like me at java ...

 

That i'm telling ..i learning... ofc i can modding .... and i will share my work in future !!

 

Bets regardz Cobra :)

 

 

i agree with you and i dont tell that u dont know java

but the forgoten has tell wright words...

i didn't learn java (ofc) but i make some modifications...

something like pvp color system...

When You Get 1000 pvp u get Chant Of Victory (this is an example)

but i dont stay to learn with book of java language

Still Waiting For New Modifications

@L2J Matrix is a company? Like L2J Free?

  • 1 month later...
Posted

@offtopic: pff You can find the right packet in another "forum" and just copy paste....That way is not a cool moddification...

 

@ontopic:I said its a newbie share beacuse cobra can do AWESOME things with java moddification...This only HIS start :P

  • 2 weeks later...
  • 3 months later...
  • 3 weeks later...
Guest
This topic is now closed to further replies.


  • Posts

    • We can help your Telegram group or channel grow fast with real, targeted Telegram members, safely and efficiently.   Our Telegram Member Add service lets you add members to Telegram group or channel from real, active communities — not bots or fakes.   With this Telegram group growth service, you’ll see results within hours, backed by clear reporting and safe automation.   ✅ What We Offer   • Done-for-you Telegram Member Add campaigns (Groups · Channels) • Targeted Telegram members from real, active users • Fast growth — up to 10K members in 24 hours • English-speaking or regional audiences (US · UK · EU) • Fully managed Telegram channel growth service with reports & analytics   💡 Why Choose Us   We don’t use spam or fake accounts. Our process safely adds members to your Telegram group or channel through verified multi-account setups, proxy rotation, and opt-out compliance. This ensures lasting growth and minimizes churn. Every campaign is managed by experts using tested Telegram infrastructure and growth systems. We also recommend combining Member Add with Telegram Mass DM for better engagement and retention after join.   🧩 Works Best For   • Businesses or communities launching new Telegram channels • Crypto, SaaS, and marketing projects needing visibility • Influencers and agencies growing multiple Telegram groups • Anyone seeking a reliable Telegram group growth service with real members 📩 To Get More Information   Telegram : @TeleLoopPulse   Website : https://telegramgrowthstudio.com/telegram-member-add.html
    • well,its SharedCreatureData.h problem.   /* 0398 */ //WCHAR m_sResurrectSpellerName[25];   this variable will cause L2server.exe crash...  
    • Custom High Five server L2insolence will open 2025-10-17 21:00 GMT+2 ! ! ! Web site: http://www.l2insolence.eu All info updates on Discord: https://discord.gg/duMjnj3y9A Last wipe was more then 1 year ago. We have custom skill, farm zones, materials for items to buy. Custom wepons, armor, jewels and more. All items in game have own stats. With custom looks. Glowing etc. Rates XP, SP: 25x Spoil and Drop: 10x Adena: 20x Server Hard Farm Enchantment Safe enchant Weapon: +20099 Safe enchant Armor: +20099 Max enchant Weapon: +20099 Max enchant Armor: +20099 Normal scrolls: 100% Blessed scrolls: 100% You can use scrolls or item enchant NPC to make +++ abd life beter. NPC Buffer There's an NPC buffer in all of our main towns: Aden, Giran and Goddard. It supplies Prophet Buffs, Songs and Dances for a small fee. Include all buff. We have custom self buffs learned with npc with custom stats. Global Gatekeeper GM Shop with normal items and custom ones, vote NPC, Event NPC, item upgrader NPC. Raid Bosses, every zone have its own boss and drops for rare mats. Olympiad The olympiad is ongoing every two weeks. Meaning if you become a hero you will have your hero status for two weeks. And hero have own custom stats on items.
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock