ffxiv-craft-opt-web icon indicating copy to clipboard operation
ffxiv-craft-opt-web copied to clipboard

Import from XIVDB doesn't work

Open cdmichaelb opened this issue 7 years ago • 17 comments

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.

cdmichaelb avatar Mar 16 '18 02:03 cdmichaelb

I got it to work. It apparently requires all lcase to search. Capitalising First and or last name, causes the search to fail.

cdmichaelb avatar Mar 16 '18 02:03 cdmichaelb

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.

doxxx avatar Mar 16 '18 02:03 doxxx

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.

cdmichaelb avatar Mar 16 '18 03:03 cdmichaelb

Good point!

doxxx avatar Mar 16 '18 14:03 doxxx

Issue still present on main website and my own personal repo.

pkminer30 avatar Dec 03 '18 22:12 pkminer30

I'm unable to reproduce this. Could you provide a specific character name and server that doesn't work?

doxxx avatar Dec 04 '18 00:12 doxxx

Malboro Server - Kaina'tka Valentius (helping her with making a rotation) and i was unable to import her stats

pkminer30 avatar Dec 04 '18 00:12 pkminer30

That character does not appear on XIVDB: search

doxxx avatar Dec 04 '18 00:12 doxxx

How can that be fixed? Also my user Tidus's Requiem was on there a month or so ago but no longer shows???

pkminer30 avatar Dec 04 '18 00:12 pkminer30

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.

doxxx avatar Dec 04 '18 00:12 doxxx

You can read more about XIVDB's character tracking here: https://xivdb.com/xivsync

doxxx avatar Dec 04 '18 00:12 doxxx

It says to me that the feature is being discontinued: https://xivdb.com/character/2354090/gareth+braine/phoenix image

Karakuro avatar Dec 06 '18 15:12 Karakuro

Thanks for the info. I'll take a look at those fan projects to see if they're a viable replacement.

doxxx avatar Dec 07 '18 02:12 doxxx

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.

doxxx avatar Dec 07 '18 02:12 doxxx

https://xivapi.com/ Might be something to consider as a replacement

Twinki14 avatar Jan 13 '19 12:01 Twinki14

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.

doxxx avatar Jan 13 '19 23:01 doxxx

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 image

Scrxtchy avatar Feb 07 '19 07:02 Scrxtchy