Page 3 of 3

Re: Zenkraft Item full DB

Posted: Thu Dec 07, 2023 7:41 pm
by Kryp#2026
yes pls +++++++

Re: Zenkraft Item full DB

Posted: Sun Dec 17, 2023 4:55 pm
by stefanox - Yarik
C'mon staff =) release DB

Re: Zenkraft Item full DB

Posted: Mon Dec 18, 2023 12:36 am
by Miscreant
+10

Re: Zenkraft Item full DB

Posted: Tue Dec 19, 2023 10:56 pm
by Reignwolf
+1

Re: Zenkraft Item full DB

Posted: Sun Jan 07, 2024 5:23 pm
by Bigg Dogg IOW
Pretty please with a cherry on top.

Re: Zenkraft Item full DB

Posted: Mon Jan 08, 2024 2:54 am
by gundygut
if staff won't do this an enterprising nerd could. scrape the api used by the item db then convert to zenk/loki format.

Re: Zenkraft Item full DB

Posted: Sun Feb 04, 2024 1:56 pm
by Tolbiax (Matt)
gundygut wrote: Mon Jan 08, 2024 2:54 am if staff won't do this an enterprising nerd could. scrape the api used by the item db then convert to zenk/loki format.
Would you be able to do it? :mrgreen:

Re: Zenkraft Item full DB

Posted: Mon Feb 05, 2024 1:20 am
by gundygut
Tolbiax (Matt) wrote: Sun Feb 04, 2024 1:56 pm
gundygut wrote: Mon Jan 08, 2024 2:54 am if staff won't do this an enterprising nerd could. scrape the api used by the item db then convert to zenk/loki format.
Would you be able to do it? :mrgreen:
too many projects going as-is :geek: i can give a roadmap though if someone else wants to..

step 1. scrape all item ids from

Code: Select all

https://eden-daoc.net/itm/search.php?p={NUM}
where NUM is incremented starting from 0 until no items are returned

step 2. iterate through every id to grab json from

Code: Select all

https://eden-daoc.net/itm/item.php?id={ID}
example response:

Code: Select all

{
    "object_type": "35",
    "item_type": "25",
    "level": "51",
    "quality": "100",
    "weapon_hand": "0",
    "weapon_speed": "50",
    "realm": "2",
    "required_level": 50,
    "shield_size": "0",
    "instrument_type": "0",
    "is_tradable": "1",
    "name": "Hauberk of Frigid Valor",
    "utility_single": "140.5",
    "utility": "160.5",
    "allowed_classes": ";34;",
    "bonus_types": "3,10,13,17,19,164,173,198,200,203",
    "bonus_values": "27,50,3,3,3,4,4,4,4,6",
    "proc1_type": null,
    "proc2_type": null,
    "use1_type": null,
    "use2_type": null,
    "react1_type": "41",
    "react2_type": "1",
    "passive_type": null
}
step 3. convert item json into zenk/loki item format

it'd be best if the devs would just do this themselves tbh... not a complicated ask. don't ban me bro :D

Re: Zenkraft Item full DB

Posted: Thu Feb 29, 2024 4:36 am
by gramercy9
Devs - if you are worried about 1,000,000 downloads from your server, just contact the Zenkcraft guy and the Loki guy, and give them the exported item database. Steam doesn't mind extra bandwidth for downloads. :D