- 0
This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..
Question
josecarlosfl18
Hi again to all ^_^
Here me asking for some help jejeje
A got a NPC that support to handle the Symbols (dyes)... Original one it's for L2jServer platform, but when y try to adapt it to L2jFree core i got some errors that cannot understand...
One of them are:
On the script into thats lines a got the code:
And on the com.l2jfree.gameserver.datatables.HennaTreeTable.java on thats lines i got:
public L2Henna[] getAvailableHenna(L2PcInstance player) { return _hennaTrees.get(player.getClassId().getId()); }And on the L2jServer platform in the same file i got:
public L2HennaInstance[] getAvailableHenna(ClassId classId) { List<L2HennaInstance> result = new FastList<L2HennaInstance>(); List<L2HennaInstance> henna = _hennaTrees.get(classId); if (henna == null) { // the hennatree for this class is undefined, so we give an empty list _log.warning("Hennatree for class " + classId + " is not defined !"); return new L2HennaInstance[0]; } for (L2HennaInstance temp : henna) { result.add(temp); } return result.toArray(new L2HennaInstance[result.size()]); }As the creators know, there's should be a way to adapt this to L2jFree core???. Or someone else? By the way, lines in bold are the conflict codes...
Some basic description, NPC should add or remove Dyes depend of the class and available dyes from inventory.
But due i don't know to much about the L2j core at all (in general not L2jServer, not L2jFree, L2j in general), I'm still studying... I know that every core has it's own way of work...
Waiting for a help? please ^_^! My server it's on Linux, so didn't be much trouble with that didn't?
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now