DataPack Editor

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
NosBit
L2j Veteran
L2j Veteran
Posts: 314
Joined: Mon Mar 11, 2013 4:19 pm

Re: DataPack Editor

Post by NosBit »

Nope there is nothing the wiki page you have showed haven't been touched since 2010...
Image
siulx
Posts: 70
Joined: Mon Jul 20, 2009 4:36 pm

Re: DataPack Editor

Post by siulx »

Nos wrote:Nope there is nothing the wiki page you have showed haven't been touched since 2010...
well ... challenge accepted :twisted:
maybe for now Its best to simple edit the XML lines for each tag the program don't recognize
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: DataPack Editor

Post 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? :mrgreen:
Image
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: DataPack Editor

Post by jurchiks »

Yeah, maybe not. Might start a shitstorm.
Care to post an example skill structure in that reworked version?
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.
siulx
Posts: 70
Joined: Mon Jul 20, 2009 4:36 pm

Re: DataPack Editor

Post 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
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: DataPack Editor

Post by jurchiks »

NPCs shouldn't change, they were only recently made. Items might.
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.
NosBit
L2j Veteran
L2j Veteran
Posts: 314
Joined: Mon Mar 11, 2013 4:19 pm

Re: DataPack Editor

Post 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.
Image
siulx
Posts: 70
Joined: Mon Jul 20, 2009 4:36 pm

Re: DataPack Editor

Post by siulx »

Challenge accepted :P :P :P

Image

:twisted: :twisted:
Image
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: DataPack Editor

Post 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. :|
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
xban1x
L2j Veteran
L2j Veteran
Posts: 1228
Joined: Thu Jan 17, 2013 9:46 am

Re: DataPack Editor

Post by xban1x »

I presume skill structure will be changed so that parameters will be binded.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: DataPack Editor

Post 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.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.3.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
Hyrelius
Posts: 257
Joined: Thu Dec 16, 2010 5:16 am

Re: DataPack Editor

Post by Hyrelius »

Sounds interesting and this tool would be a great benefit in the war against the XML files :D.
@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.
Image
I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: DataPack Editor

Post 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.
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.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: DataPack Editor

Post by UnAfraid »

items has xsd.
Image
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: DataPack Editor

Post by jurchiks »

Well, that's not really a proper XSD, it doesn't restrict values in <set name="abc" value="anything goes here">.
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.
Post Reply