DataPack Editor
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 70
- Joined: Mon Jul 20, 2009 4:36 pm
DataPack Editor
Current Status :
- Edit Skills / Items / NPCs (xml files)
- Create NPC from wizard.
- Simple Search.
- Edit/Assign Spawns of NPCs (Parcial)
To do :
- Create Items from wizard.
- Create Skills from wizard.
- Advanced Search.
- Add Templates to wizards
- Edit NPCs HTML depending on type
- Support for skillTrees, multisell, buylist etc...
- Edit Skills / Items / NPCs (xml files)
- Create NPC from wizard.
- Simple Search.
- Edit/Assign Spawns of NPCs (Parcial)
To do :
- Create Items from wizard.
- Create Skills from wizard.
- Advanced Search.
- Add Templates to wizards
- Edit NPCs HTML depending on type
- Support for skillTrees, multisell, buylist etc...
Last edited by siulx on Fri Mar 07, 2014 5:26 pm, edited 2 times in total.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: DataPack Editor
Eclipse has XML editing tools, though they can be sluggish for large files, particularly in syntax highlighting.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 70
- Joined: Mon Jul 20, 2009 4:36 pm
Re: DataPack Editor
You still have to edit in text ? or it does provide some king of GUI ?jurchiks wrote:Eclipse has XML editing tools, though they can be sluggish for large files, particularly in syntax highlighting.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
Re: DataPack Editor
Its text editor but at least it has auto complete and highlighting, formatting, validating.siulx wrote:You still have to edit in text ? or it does provide some king of GUI ?jurchiks wrote:Eclipse has XML editing tools, though they can be sluggish for large files, particularly in syntax highlighting.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: DataPack Editor
It's Eclipse, obviously it has a GUI.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 70
- Joined: Mon Jul 20, 2009 4:36 pm
Re: DataPack Editor
well what I mean by GUI was edit xml without touch the text, and by validation I mean by "property can have that value"
for example : <target race_id="1" /> <!-- Undead -->
Cant be : <target race_id="Undead" /> <!-- Undead -->
So i guess theres nothing
for example : <target race_id="1" /> <!-- Undead -->
Cant be : <target race_id="Undead" /> <!-- Undead -->
So i guess theres nothing
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: DataPack Editor
For skills no, there is no XSD because the structure is too fucked up, everything can be anything since it's all <set name="x" value="y">.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 70
- Joined: Mon Jul 20, 2009 4:36 pm
Re: DataPack Editor
Can sameone help me with this part ? skills can have 2 affectRange ? the order of "set" is relevant ?
<skill id="1181" levels="3" name="Flame Strike">
<table name="#effectPoints"> -204 -243 -285 </table>
<table name="#magicLvl"> 20 25 30 </table>
<table name="#mpConsume"> 23 27 32 </table>
<table name="#mpInitialConsume"> 6 7 8 </table>
<table name="#power"> 13 14 14 </table>
<set name="affectLimit" val="5-12" />
<set name="affectRange" val="200" />
<set name="castRange" val="500" />
<set name="effectPoint" val="#effectPoints" />
<set name="effectRange" val="1000" />
<set name="element" val="0" /> <!-- Fire -->
<set name="elementPower" val="20" />
<set name="hitTime" val="4000" />
<set name="icon" val="icon.skill1181" />
<set name="isMagic" val="1" /> <!-- Magic Skill -->
<set name="magicLvl" val="#magicLvl" />
<set name="mpConsume" val="#mpConsume" />
<set name="mpInitialConsume" val="#mpInitialConsume" />
<set name="operateType" val="A1" />
<set name="power" val="#power" />
<set name="reuseDelay" val="4000" />
<set name="targetType" val="AREA" />
<for>
<effect name="MagicalAttack" />
</for>
</skill>
<skill id="1181" levels="3" name="Flame Strike">
<table name="#effectPoints"> -204 -243 -285 </table>
<table name="#magicLvl"> 20 25 30 </table>
<table name="#mpConsume"> 23 27 32 </table>
<table name="#mpInitialConsume"> 6 7 8 </table>
<table name="#power"> 13 14 14 </table>
<set name="affectLimit" val="5-12" />
<set name="affectRange" val="200" />
<set name="castRange" val="500" />
<set name="effectPoint" val="#effectPoints" />
<set name="effectRange" val="1000" />
<set name="element" val="0" /> <!-- Fire -->
<set name="elementPower" val="20" />
<set name="hitTime" val="4000" />
<set name="icon" val="icon.skill1181" />
<set name="isMagic" val="1" /> <!-- Magic Skill -->
<set name="magicLvl" val="#magicLvl" />
<set name="mpConsume" val="#mpConsume" />
<set name="mpInitialConsume" val="#mpInitialConsume" />
<set name="operateType" val="A1" />
<set name="power" val="#power" />
<set name="reuseDelay" val="4000" />
<set name="targetType" val="AREA" />
<for>
<effect name="MagicalAttack" />
</for>
</skill>
-
- L2j Veteran
- Posts: 855
- Joined: Mon May 03, 2010 8:38 am
- Location: France
Re: DataPack Editor
effectRange and affectRange is different
affectRange = Effecting area of the skill, in radius.
effectRange = How far the skill affect the target
affectRange = Effecting area of the skill, in radius.
effectRange = How far the skill affect the target
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: DataPack Editor
effectRange should have been called skillRange. It's not like the effect ends when the target goes a certain distance away from the caster.
If there was a range for the effect and not the skill then it should be like <effect range="xyz">.
But anyway, the naming of many things sucks in l2j, that's just how it is. The author knows what it is and doesn't care about anyone else.
If there was a range for the effect and not the skill then it should be like <effect range="xyz">.
But anyway, the naming of many things sucks in l2j, that's just how it is. The author knows what it is and doesn't care about anyone else.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- L2j Veteran
- Posts: 1228
- Joined: Thu Jan 17, 2013 9:46 am
Re: DataPack Editor
We name stuff accordingly to our believes. And since when range is described as "xyz" ?jurchiks wrote:effectRange should have been called skillRange. It's not like the effect ends when the target goes a certain distance away from the caster.
If there was a range for the effect and not the skill then it should be like <effect range="xyz">.
But anyway, the naming of many things sucks in l2j, that's just how it is. The author knows what it is and doesn't care about anyone else.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: DataPack Editor
xyz = value, obviously.
Your beliefs don't describe the reality well enough then.
I'd even go as far as to say: "proper variable naming is an art."
Your beliefs don't describe the reality well enough then.
I'd even go as far as to say: "proper variable naming is an art."
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 70
- Joined: Mon Jul 20, 2009 4:36 pm
Re: DataPack Editor
Sorry, I most be tired... I dint notice the diference between them XD affectRange, effectRange
anyway if I find "Set" with the same name its a xml error right ?
anyway if I find "Set" with the same name its a xml error right ?
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: DataPack Editor
Yes, there should be no duplicate names.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 70
- Joined: Mon Jul 20, 2009 4:36 pm
Re: DataPack Editor
sorry to be annoying,
Is there any document more recent then this one ? --> http://www.l2jserver.com/wiki/Skills
I found alot of things that are not there like :
<enchant7for> / <enchant7pveEffects> / <selfEffects> / <endEffects> / <channelingEffects>
Is there any document more recent then this one ? --> http://www.l2jserver.com/wiki/Skills
I found alot of things that are not there like :
<enchant7for> / <enchant7pveEffects> / <selfEffects> / <endEffects> / <channelingEffects>