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.
 

Data type wrong in SDE file.

Author
fliet99
Temple of Tuvan Orth
Guardians of Tranquility
#1 - 2017-02-18 12:58:27 UTC
Hi everyone.

I just started to learn about SDE files. I found there is something wrong with the SDE file "dgmTypeAttributes.yaml".

For example, the attributeID = 278 for typeID = 12204 in this file is 5.0 in datatype float. But according to "dgmAttributeTypes.yaml", the attributeID = 278 means requiredSkill2Level whose data type should be integer. There are also some value like this in the float type and others in the correct integer type.

Is this a bug or CCP's design for other situation? Thanks in advance.
Althalus Stenory
Flying Blacksmiths
#2 - 2017-02-21 08:22:13 UTC
dgmAttributeTypes table always had a "int" and "float" column actually, with only one being filled. We "always had to" check both and take the one that's not null. So it makes sense they have float and int data randomly in the yaml too.

Why, I don't know, I just know this is how it used to be for some years. Probably like you said: "design for other situations"

EsiPy - Python 2.7 / 3.3+ Swagger Client based on pyswagger for ESI