Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead. There is no support for other server builds than the official provided by l2jserver.com
It just does not give me all the values and some of the displays are emty cells. If there is a precalculated table, plz tell me so i can fill it with the proper id's and then share for update. If it is not in a table or something, where is the calculation area so i can fix it.
its nothing custom, yet..
it does not show me dances and songs images, pet buffs, and some other. they are not properly set or missing i think. I tought they are in some kind of calculations but as i fallowed the functions they got me nowhere.
Hmm, here is another question, maybe something is already implemented which i couldn't find out.
What i need is to find the skill icon from the icon.utx
This does not helps much. Maybe something more appropriate way to find the right path.
As an example, this code does not returns me the icons of dances and songs and instead of adding another value to all the skills. Maybe something to calculate the properly is already there. Any suggestions?
private String getSkillIconNumber(int id, int level) { String formato; if (id == 4) formato = "0004"; else if (id > 9 && id < 100) formato = "00" + id; else if (id > 99 && id < 1000) formato = "0" + id; else if (id == 1517) formato = "1536"; else if (id == 1518) formato = "1537"; else if (id == 1547) formato = "0065"; else if (id == 2076) formato = "0195"; else if (id > 4550 && id < 4555) formato = "5739"; else if (id > 4698 && id < 4701) formato = "1331"; else if (id > 4701 && id < 4704) formato = "1332"; else if (id == 6049) formato = "0094"; else formato = String.valueOf(id); return formato; }
@IamOR,
This just does not solve my problem. It is only a half solution for some skills that are icons are named skillXXXX format and not just all of them. So beyond the numbers those are given in the mothod given in the tukune @h5 scheme buffer, gives me the solution for his buff in allready chosen and got the number range.
what about a skill that does not even have a skillXXXX format name?
for example:
skill Bless of Angel (id=571, lvl=from 1 to 4) that one has icon name "skill_transform_buff"
so to use this i have to use <img src=\"icon.skill_transform_buff\" ...>
with that preconditioned solution i will get nowhere close into this.
what i realy need is somehow to read skillgrp.dat from system folder in the client.
so, any solution?
i was simply thinking of a scan method to compare the first and second element from the file and if they are equal to the id and level getting the 12th element as filename string. the problem is i dont know how to make it read that file without adding it into the build and a fixed pathmae like "c:\program files\NCZ0ft\ .... \skillgrp.dat" is not a proper solution since everyone can have different installation paths.