Auto XML Public Database Package

A forum for releases and discussions on database releases by the community

Moderators: Project Admin, Support Team, Database Team

Auto XML Public Database Package

Postby Leodagan » Sat Dec 13, 2014 5:39 pm

For those that want to Load the Public Database throuh XML Auto Package provided in recent Revision (Revision 3408 - See Topic http://www.dolserver.net/viewtopic.php?f=5&t=22294)

I commited a small Experimental Export to Git : https://github.com/dol-leodagan/DOLAutoXMLPublic.git

Copy those files in your "./scripts/dbupdater/insert" directory, and all objects will be created at first launch...

If you'd like to edit some of these file for "reloading" after changes, I suggest you move some of them to "./scripts/dbupdater/replace" directory.

Be Careful when editing some of these file, there are objects that will not be able to match "duplicate", so trying to insert or replace any of these objects can and will result in duplicate (that include most linking table that aren't using a primary key, linexspell, mobs, merchantitem, npcequipement etc...)

Most Skills or Item tables should support unique fields for collision match and edit your records accordingly.

Remember even after errors Auto XML Updater will never run the same file Twice, watch for the AutoXMLUpdate Table for records of already played scripts !

This package is from Public Database version 3.1a, some data may be missing I made this quickly ;)

This is best used for a fresh Shard start !!
  • For other use case please merge your data from SQL import script and do a lot of backups and database copies...
Last edited by Leodagan on Tue Dec 16, 2014 9:48 am, edited 1 time in total.
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: Auto XML Public Database Package

Postby Eudes » Mon Dec 15, 2014 9:25 pm

Hi Leo,

I do not find any xml for the serverproperty_category, is there one somewhere in your package?

Thanks :)
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am

Re: Auto XML Public Database Package

Postby Leodagan » Tue Dec 16, 2014 6:03 am

Yes I have one with some records in the Public DB... (24)

I'll export it to update the package ;)
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: Auto XML Public Database Package

Postby Eudes » Tue Dec 16, 2014 8:02 am

Thanks! Anyway, the updater works well, really easy to import stuff in the database.
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am

Re: Auto XML Public Database Package

Postby Leodagan » Sat Dec 20, 2014 8:39 am

I updated the Git Repository with the serverproperty_category package.
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: Auto XML Public Database Package

Postby Graveen » Sun Dec 21, 2014 11:25 am

thanks, very usefull for using with DOLConfig.exe
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Auto XML Public Database Package

Postby Eudes » Mon Dec 22, 2014 10:17 am

Hello Leo,

I added serverproperty_category.xml and now the DB is ok. But, there is nothing in the DOLConfig.exe tab. For your information, most of the database fields are using Storm as name.

Thanks for your help.
Eudes
Eudes
DOL Freak
 
Posts: 561
Joined: Wed Dec 05, 2007 12:27 am

Re: Auto XML Public Database Package

Postby Leodagan » Mon Dec 22, 2014 11:47 am

Well for that part I never used DOLConfig, so I don't know what's expected in this table ;)

Anyway they should be the same as actual public DB
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon


Return to “%s” Database Releases

Who is online

Users browsing this forum: No registered users and 0 guests