Page 2 of 4
Re: DataPack Editor
Posted: Fri Feb 14, 2014 7:07 pm
by NosBit
Nope there is nothing the wiki page you have showed haven't been touched since 2010...
Re: DataPack Editor
Posted: Fri Feb 14, 2014 7:33 pm
by siulx
Nos wrote:Nope there is nothing the wiki page you have showed haven't been touched since 2010...
well ... challenge accepted
maybe for now Its best to simple edit the XML lines for each tag the program don't recognize
Re: DataPack Editor
Posted: Fri Feb 14, 2014 9:30 pm
by UnAfraid
Should i mention that we're in the middle of huge rework of skills and that structure is about to be changed completely soon?
Re: DataPack Editor
Posted: Fri Feb 14, 2014 9:36 pm
by jurchiks
Yeah, maybe not. Might start a shitstorm.
Care to post an example skill structure in that reworked version?
Re: DataPack Editor
Posted: Fri Feb 14, 2014 10:04 pm
by siulx
well if u share more information about it, maybe I can make something that try to auto convert to the new format. still the program auto adapts to new tags and creates a log of unknown Tags.
will items / npcs / etc XML in datapack ... change soon also ? I can always pause the skills and start on other XMLs
Re: DataPack Editor
Posted: Fri Feb 14, 2014 10:17 pm
by jurchiks
NPCs shouldn't change, they were only recently made. Items might.
Re: DataPack Editor
Posted: Fri Feb 14, 2014 11:30 pm
by NosBit
jurchiks wrote:NPCs shouldn't change, they were only recently made. Items might.
Yeah npcs wont change we have whatever we need inside them if something is gonna be changed is just the custom l2j parameters that i included we kinda plan to drop them not any time soon tho.
Re: DataPack Editor
Posted: Sat Feb 15, 2014 12:55 am
by siulx
Re: DataPack Editor
Posted: Sat Feb 15, 2014 5:19 pm
by Zoey76
siulx wrote: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 ?
It won't display any errors, because XSD is not configured that way (probably is not configured at all).
The old skill design doesn't satisfy XML standards.
The <set name="" val="" /> is easy/good to parsel bulk-data, but it's really bad design.
Re: DataPack Editor
Posted: Sat Feb 15, 2014 5:26 pm
by xban1x
I presume skill structure will be changed so that parameters will be binded.
Re: DataPack Editor
Posted: Mon Feb 17, 2014 12:55 am
by Zoey76
xban1x wrote:I presume skill structure will be changed so that parameters will be binded.
Yes, it'll be changed, but I haven't decided the final structure since there are some things we don't have implemented yet.
Re: DataPack Editor
Posted: Tue Feb 18, 2014 5:33 am
by Hyrelius
Sounds interesting and this tool would be a great benefit in the war against the XML files
.
@Zoey76: so after you've decided the new structure, there'll also be a XSD file to check the skill- and other XMLs against? It's nice to be able to check a file against its structure before putting it on the server and it's relatively easy to implement, too.
Re: DataPack Editor
Posted: Tue Feb 18, 2014 8:54 am
by jurchiks
XSDs have been in l2j for a long time, haven't you discovered them already? Items and skills don't have it because of their structure, practically all other XMLs have an XSD.
Re: DataPack Editor
Posted: Tue Feb 18, 2014 11:30 am
by UnAfraid
items has xsd.
Re: DataPack Editor
Posted: Tue Feb 18, 2014 12:20 pm
by jurchiks
Well, that's not really a proper XSD, it doesn't restrict values in <set name="abc" value="anything goes here">.