Shift+Clic Edit
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- maneco2
- Initiates
- Posts: 664
- Joined: Sat Aug 24, 2013 7:10 am
Shift+Clic Edit
I can not really edit the npc by shift + click? add drop, modify?
--
--
Last edited by maneco2 on Thu Apr 03, 2014 1:37 am, edited 1 time in total.
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Shift=Clic Edit
Yes, you can't anymore. The data was moved to XML, editing is complicated so it was dropped.
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.
- maneco2
- Initiates
- Posts: 664
- Joined: Sat Aug 24, 2013 7:10 am
Re: Shift=Clic Edit
these changes are becoming increasingly difficult to work with l2jserverjurchiks wrote:Yes, you can't anymore. The data was moved to XML, editing is complicated so it was dropped.
-
- Advanced User
- Posts: 1440
- Joined: Wed Apr 15, 2009 10:07 am
Re: Shift=Clic Edit
True, for example i dont think i can run my sql queries to make mass level changes (on siege guards, grand bosses etc.) or droplist changes anymore. Unless someone develops such a tool for xml.maneco2 wrote:these changes are becoming increasingly difficult to work with l2jserverjurchiks wrote:Yes, you can't anymore. The data was moved to XML, editing is complicated so it was dropped.
The changes might be closer to how the official server files are but it takes away all the flexibilities l2j offered.
Dont forget that one thing l2j has over official files is how easy and freely you can change aspects of the game.
- maneco2
- Initiates
- Posts: 664
- Joined: Sat Aug 24, 2013 7:10 am
Re: Shift=Clic Edit
when you use the revision of l2jserver, you always change everything before you open your server, now with XML will be much harderJMD wrote: True, for example i dont think i can run my sql queries to make mass level changes (on siege guards, grand bosses etc.) or droplist changes anymore. Unless someone develops such a tool for xml.
The changes might be closer to how the official server files are but it takes away all the flexibilities l2j offered.
Dont forget that one thing l2j has over official files is how easy and freely you can change aspects of the game.
-
- L2j Senior Developer
- Posts: 795
- Joined: Sun Aug 14, 2005 11:27 am
Re: Shift=Clic Edit
What you want to use is an editor with XQuery or XPath or soemthing like that which allows you to modify the result.JMD wrote:True, for example i dont think i can run my sql queries to make mass level changes (on siege guards, grand bosses etc.) or droplist changes anymore. Unless someone develops such a tool for xml.maneco2 wrote:these changes are becoming increasingly difficult to work with l2jserverjurchiks wrote:Yes, you can't anymore. The data was moved to XML, editing is complicated so it was dropped.
The changes might be closer to how the official server files are but it takes away all the flexibilities l2j offered.
Dont forget that one thing l2j has over official files is how easy and freely you can change aspects of the game.
http://www.w3schools.com/xpath/
http://www.w3schools.com/xquery/
Away cause of a bulding side in my place.
H5 GeoData from Nos & FBIagent
GoD Ch3 Lindvior GeoData from Nos & FBIagent
Yet another Buffer (Freya & HighFive)
Party Teleporter (Freya & HighFive)
FBIagent
H5 GeoData from Nos & FBIagent
GoD Ch3 Lindvior GeoData from Nos & FBIagent
Yet another Buffer (Freya & HighFive)
Party Teleporter (Freya & HighFive)
FBIagent
- maneco2
- Initiates
- Posts: 664
- Joined: Sat Aug 24, 2013 7:10 am
Re: Shift+Clic Edit
Elgihs: Hopefully come back as before, because in my opinion, most think it was very bad
Portugues: Tomara que volte como antes, porque na minha opinião, a maioria acho que ficou muito ruim assim
Portugues: Tomara que volte como antes, porque na minha opinião, a maioria acho que ficou muito ruim assim
- Zoey76
- L2j Inner Circle
- Posts: 7005
- Joined: Tue Aug 11, 2009 3:36 am
Re: Shift+Clic Edit
I know it's hard to mass edit stuff at the moment.
I want to make a tool for it, maybe in some time I can share an alpha version
I want to make a tool for it, maybe in some time I can share an alpha version
Powered by Eclipse 4.30 | Eclipse Temurin 21 | MariaDB 11.3.2 | L2J Server 2.6.3.0 - High Five
Join our Discord!
Join our Discord!
- maneco2
- Initiates
- Posts: 664
- Joined: Sat Aug 24, 2013 7:10 am
Re: Shift+Clic Edit
is forecast for when this will be better organized?Zoey76 wrote:I know it's hard to mass edit stuff at the moment.
I want to make a tool for it, maybe in some time I can share an alpha version
- disorder35
- Posts: 700
- Joined: Sat Aug 01, 2009 3:29 pm
-
- Posts: 238
- Joined: Tue Jan 15, 2008 8:20 am
- Location: Germany
Re: Shift+Clic Edit
Yes but take a look at the difference between the revision numbers.
The stable brunch is about 1 year older than the unstable branch.
The stable brunch is about 1 year older than the unstable branch.
-
- Posts: 257
- Joined: Thu Dec 16, 2010 5:16 am
Re: Shift+Clic Edit
As far as I know our server for example decided not to go to the latest beta at all, because the inability to mass edit things (using SQL) and the inability to edit things from inside the game is just too much - even though I personally think, that moving this static information to XML is a good idea.
Since there's no good tool to use XQuery (along with the XQuery Update interface), I don't think we will move to the upcoming revisions anytime soon. If at least the data would've been put in e.g. a BaseX-database... this way we could use BaseX XQuery (and XQuery Update) to achieve what we want. Even though using XQuery (Update) is imo more difficult than SQL, I'd still coup with it - but no such thing so far.
The only thing I can recommend to others missing all the functionality one used to have with NPCs (and their data) being in the database, is to merge selectively. This can be cumbersome, but I'd recommend to merge only certain features into your own server.
The stable branch however is pretty much outdated and probably lacks a lot of features.
Btw.: sometimes it's better to keep things in a more usable environment (e.g. database) for the sake of usability - even if XML is the better place for it. However I doubt that's an option now anymore.
Since there's no good tool to use XQuery (along with the XQuery Update interface), I don't think we will move to the upcoming revisions anytime soon. If at least the data would've been put in e.g. a BaseX-database... this way we could use BaseX XQuery (and XQuery Update) to achieve what we want. Even though using XQuery (Update) is imo more difficult than SQL, I'd still coup with it - but no such thing so far.
The only thing I can recommend to others missing all the functionality one used to have with NPCs (and their data) being in the database, is to merge selectively. This can be cumbersome, but I'd recommend to merge only certain features into your own server.
The stable branch however is pretty much outdated and probably lacks a lot of features.
Btw.: sometimes it's better to keep things in a more usable environment (e.g. database) for the sake of usability - even if XML is the better place for it. However I doubt that's an option now anymore.
I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.
- UnAfraid
- L2j Veteran
- Posts: 4199
- Joined: Mon Jul 23, 2007 4:25 pm
- Location: Bulgaria
- Contact:
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Shift+Clic Edit
He means ingame editing of character stats, obviously.
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: 257
- Joined: Thu Dec 16, 2010 5:16 am
Re: Shift+Clic Edit
@UnAfraid - hate to say that, but this is simply not true . Why are there XMLEditors such as Oxygen at all if you don't need anything but Notepad++? You essentially don't need Eclipse either - could just use Notepad (not even ++) and compile on command-line, yet you certainly don't do it this way.UnAfraid wrote:For xml editing u don't need any tool other then notepad++.
So while you certainly can do it using Notepad++, you'd be LIGHTYEARS faster if you were to have a proper editor, especially one, that validates the entered values against XSD. Besides: some XMLs don't even have a valid XSD attached to them, which is another problem for those, who don't have a programming background.
What you guys seem to be missing, is, that not everyone who develops server scripts etc. is necessarily also the one, who takes care of XML-realted work; instead - at least on our server - work is split amongst the staff. Some have the knowledge and time and hence program scripts, others manage the infrastructure, others create and edit events and manage the community and again others take care of the XMLs.
So I thought I'd use this thread, too, to say how cumbersome it is not to have a proper editor for the XMLs, which'd help with mass-editing, or not to have a proper XML-based database (e.g. BaseX). The latter would allow third-party tools, which'd make it possible to use SQL- or XUI-like CRUD operations on XML data.
So - and this was my conclusion - while I think it's great to have static data in XML files, editing them is a PITA, because no proper data source was used, but instead there are lose files, which are hard to mass-edit in any way. So it's disappointing to hear from other devs "well - noone (read: I) does really need mass-editing of ...", because this is pretty ignorant. About as ignorant as suggesting to use Notepad++ for all your XML editing needs.
Really - noone says you have to provide any kind of tool or something. I also heard Zoey is working on something related to this, which is great. But at least support some sort of taskforce, which would work on an editor for the files (even if you personally don't need such a thing).
It also is a bit annoying, that we lost ingame editing capabilities while essentially not gaining anything function-wise. Perhaps an abstraction layer for reading and writing data would've been a better solution? This way people could implement their own data access layer(s). I'd have helped with creating a SQL-layer, while Nos would've been able to concentrate on XML-related reading and writing. It should be simple, because files are read when server is loading and files should be written either on direct request by the application - or when the server is being shutdown. I mean: it's static data after all, not dynamic data where item-related things might have to be updated frequently and hence cause performance problems.
That's my uh.. 99cents.
I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.