msknight wrote:I meant that I changed the statistics of various mobs, etc. in the game. Easy enough with database, not with XML.
There are ways to do this, but it would take a tool to be found/made to do it specifically for L2j.
http://www.w3schools.com/xquery/default.asp
msknight wrote:For the dropcalc to be at its best and also give good management, it needs to be working on live data. If there is a serious move to take a bulk of reference data over to xml, then it will just make it too much hard work as given all I've read so far about PHP memory caching and array searching, the only way forward would be to parse the XML back in to SQL. ... which might not be possible for the larger xml files given the 30 second processing rule ... and as I've said before, I don't think it reasonable to ask people to alter that figure and risk a php program overrunning their box.
You run your dropcalc on the same sql server that runs your server? I would say that isn't very good practice

If not, then you could code a script in whatever language you want that can:
1) take in xml
2) parse it and export to sql query format
3) execute the scripts on the sql server you are using for dropcalc
Optional) to optimize this process, maybe you can just diff old xml and new xml files and parse the diff output into updates for your dropcalc tables.
In case you were wondering, I was against moving everything to XML. I wanted to do the opposite: move everything to sql, skills and all (I think so did Fulmi). The problem is that SQL is not flexible enough unless the tables are split into many. This kind of system could create some processing overhead in the server load (or when the data is reloaded), slowing load times.
@jurkis, do you only complain, disagree, or argue on the forum now? Lately that's all it's been from you.
@blacksea: please keep your sexist remarks out of the forum.