ffxiv-craft-opt-web
ffxiv-craft-opt-web copied to clipboard
Import from XIVDB doesn't work
Required Information
http://ffxiv-beta.lokyst.net/index.html#/crafter-attributes
Expected Behaviour
Import stats.
Actual Behaviour
Nothing, acts like it's loading something for a fraction of a second but then nothing changes.
Steps To Reproduce
Attempt to import from the attributes page.
I got it to work. It apparently requires all lcase to search. Capitalising First and or last name, causes the search to fail.
Interesting... I’ll see if it’s something I can fix, but it may just be the way the XIVDB search works. If so, I can ask them if they can fix it.
A suggestion, though I have no idea what language you're coding in and whether or not it has such a function, would be to just wrap the input from the text box in and lcase function.
Good point!
Issue still present on main website and my own personal repo.
I'm unable to reproduce this. Could you provide a specific character name and server that doesn't work?
Malboro Server - Kaina'tka Valentius (helping her with making a rotation) and i was unable to import her stats
That character does not appear on XIVDB: search
How can that be fixed? Also my user Tidus's Requiem was on there a month or so ago but no longer shows???
I don't know how XIVDB's character database is maintained. I assume you have to have a login and import your character.
~~It looks like there might be an alternative source of character data, made by the same people, but that will take time and effort to implement.~~
The alternative I found doesn't do persistent tracking of gear sets, which is required for importing the attributes of each class.
You can read more about XIVDB's character tracking here: https://xivdb.com/xivsync
It says to me that the feature is being discontinued:
https://xivdb.com/character/2354090/gareth+braine/phoenix

Thanks for the info. I'll take a look at those fan projects to see if they're a viable replacement.
Neither of those sites will provide the same information that XIVDB did. Building my own is not viable. I'll probably have to remove the character import feature.
https://xivapi.com/ Might be something to consider as a replacement
xivapi.com unfortunately does not offer the same API feature set as xivdb.com did. It doesn't track gear-sets, which means that it can only provide attributes for the active class/gear at the last logout.
Xivapi and xivdb are (or, were) maintained by the same group. With their decision to not actively track equipped gear most likely would have been brought over to the API, as they did say it was a major cost they didn't want to have to handle
Safe to say a exact replication of this feature isn't something that's readily available.
If you wanted a dirty hack, PC players can copy chat logs of glamoured gear. Parse this through a regex and API lookup for stats
