Live Item DB

A place where you can talk about anything Dawn of Light or DAOC related

Moderators: Project Admin, Support Team

Live Item DB

Postby MrPickles » Thu Jul 06, 2017 1:34 pm

Looks like live made their item database public yesterday. It excludes trash loot but still loads of goodies:
Enjoy :D

http://www.darkageofcamelot.com/content ... m-database
User avatar
MrPickles
DOL Initiate
 
Posts: 18
Joined: Fri Jul 31, 2015 3:41 am

Re: Live Item DB

Postby Sharp » Thu Jul 06, 2017 1:44 pm

Looks like live made their item database public yesterday. It excludes trash loot but still loads of goodies:
Enjoy :D

http://www.darkageofcamelot.com/content ... m-database
Greetings,
Very interesting! Thank you for share this ;) (will check after job for sure!)
Regards
User avatar
Sharp
DOL Initiate
 
Posts: 17
Joined: Tue Sep 20, 2016 8:33 am

Re: Live Item DB

Postby Leodagan » Thu Jul 06, 2017 3:41 pm

I saw this during my lunch break today :D

This is a great news, and I started browsing the data, this is a Wonderful asset for DOL !

Not only this contains most equippable items but there is some other data coming with each items that could be useful to us :
  • Items comes with their Material "Id" (which is probably linked to Craft Material "Id") and a Salvage Count !
    This means we could make salvage working live-like really easily !
  • Items have "sources" data which list mob dropping the item, quests rewarding the Item or merchant selling the Item !
  • The Delve Text is embedded with each item, which will be useful to make sure Spell Effect match their description
  • Maybe other data that could be useful like icon Id, sell value, cannot be dropped, cannot be sold, etc...
We'll finally have an up to date source of Item Data without lurking ZAM, bdodaoc and other old fan-sourced websites :)
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: Live Item DB

Postby MrPickles » Thu Jul 06, 2017 7:55 pm

Looks like live made their item database public yesterday. It excludes trash loot but still loads of goodies:
Enjoy :D

http://www.darkageofcamelot.com/content ... m-database
Greetings,
Very interesting! Thank you for share this ;) (will check after job for sure!)
Regards
Been chomping at the bit all day at work to get home and start playing with this data. Why must we have day jobs :lol:
User avatar
MrPickles
DOL Initiate
 
Posts: 18
Joined: Fri Jul 31, 2015 3:41 am

Re: Live Item DB

Postby ontheDOL » Tue Jul 11, 2017 2:31 am

so, here is a little "teaser" i guess. :wink:
I parsed some of the data if anyone wants to take a look. It's a sql database with just one table with some of the data.

I will probably try to parse the whole lot when i have time to figure out parsing sub-arrays :?:

#edit, removed link, full parsed file available here http://www.dolserver.net/viewtopic.php?f=63&t=23203
Last edited by ontheDOL on Tue Jul 11, 2017 11:19 pm, edited 1 time in total.
- Unty -
Model Showroom and DOL guides
http://losojos-001-site1.btempurl.com
User avatar
ontheDOL
Developer
 
Posts: 311
Joined: Fri May 20, 2016 4:21 am
Location: Australian abroad

Re: Live Item DB

Postby Graveen » Tue Jul 11, 2017 8:16 am

In C#, you have the nuget package newtonsoft.json
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: Live Item DB

Postby ontheDOL » Tue Jul 11, 2017 9:03 pm

thanks, though i'm actually using a php script to parse the data and sql insert.. I think i've got it figured out, i'll post the completed DB in user files later when i find a host
- Unty -
Model Showroom and DOL guides
http://losojos-001-site1.btempurl.com
User avatar
ontheDOL
Developer
 
Posts: 311
Joined: Fri May 20, 2016 4:21 am
Location: Australian abroad

Re: Live Item DB

Postby Leodagan » Thu Jul 13, 2017 11:08 am

I think you can parse JSON with a YAML parser if I'm not mistaken ;)

You should try Yaml.Net for C#, I contributed to the library and it's pretty straightforward to use :)

I know that PHP can be so easy to handle some input data to forward to a database, but writing a parser in C# that only output a SQL file containing insert statement should be as easy (ADO.NET will be way harder than PHP database access...), then import the output in a database (any type of database...), and can be a fun exercise to improve C# skills :D

Tell me if you give it a try ;)
User avatar
Leodagan
Developer
 
Posts: 1350
Joined: Tue May 01, 2012 9:30 am
Website: https://daoc.freyad.net
Location: Lyon

Re: Live Item DB

Postby ontheDOL » Thu Jul 13, 2017 5:52 pm

this would have been nice a few days ago! hehe
I already finished the file with a php script, which was kinda cool to check out a little how php works.

Although i can definitely say I prefer c# ! and will check out this avenue if something like this comes up again ;)
- Unty -
Model Showroom and DOL guides
http://losojos-001-site1.btempurl.com
User avatar
ontheDOL
Developer
 
Posts: 311
Joined: Fri May 20, 2016 4:21 am
Location: Australian abroad

Re: Live Item DB

Postby Loki » Fri Jul 21, 2017 8:22 pm

I knocked something up to help with this.

Check it out.

Jay

http://www.dolserver.net/viewtopic.php?f=63&t=23207
“ If debugging is the process of removing software bugs, then programming must be the process of putting them in. ”

Join https://discord.gg/r3T2U7S Official DOL Discord Chat
User avatar
Loki
Developer
 
Posts: 468
Joined: Fri Jun 23, 2006 2:14 am
Location: uk


Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest