These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

CCP, fix fit exports (a.k.a. typeids > typenames)

Author
Indalecia
#1 - 2012-05-27 10:46:07 UTC
Right now, XML files produced by the "export fit" option will produce files that only contain data in the form of typenames.

This is atrocious. Why? Because when you inevitably change the typenames (for example, missile names, or module names like afterburners or microwarpdrives, and these are just examples from the past), you break all software that parses the exported data. This affects all kind of software, like EFT and Pyfa, and much more.

There's a very, very simple and elegant solution. Just provide typeIDs *in addition* to the existing data.

Thanks for reading my rant,
A frustrated developer concerned about perenniality.

https://o.smium.org/ — v0.13.5 — A browser-based fitting tool and loadout sharing platform

Etil DeLaFuente
Aliastra
Gallente Federation
#2 - 2012-05-27 10:59:05 UTC  |  Edited by: Etil DeLaFuente
and please do it in the ingame raw killmail too !

OR

make a typeName to Id api
Dragonaire
Here there be Dragons
#3 - 2012-05-27 19:04:47 UTC
Most people want the names and are always complaining because they get the typeID instead Blink but it would be nice to have both Smile One way you can solve this is to use the static data dump which does have both the names and IDs. It's what most people use to do the typeID to name conversions but no reason you can't go the other way.

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.

Indalecia
#4 - 2012-05-27 22:09:00 UTC
Dragonaire wrote:
One way you can solve this is to use the static data dump which does have both the names and IDs. It's what most people use to do the typeID to name conversions but no reason you can't go the other way.


Obviously, yes. The problem is when typenames change. For exemple, imagine you have old killmails or exported fits, that contain references to "Core Defence" rigs or "Quad Lif Fueled I Booster Rocket". When you query the DB to get the typeID of those items, you're screwed, because they have been renamed.

That's the issue with *only* having typenames.

https://o.smium.org/ — v0.13.5 — A browser-based fitting tool and loadout sharing platform