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.
 

Advise to coders pulling EVE's XML files

Author
NickyYo
modro
The Initiative.
#1 - 2012-05-07 20:00:44 UTC  |  Edited by: NickyYo
After a day of being confused to why my script was producing duplicated entries, i accidently discovered that the XML file entries are all random on the first call.

So if you are using the attribute refID as a marker for when pulling XML data beaware that the first call is random while the second call is in order; this is why it took me so long to find out the bug :(

..

Dragonaire
Here there be Dragons
#2 - 2012-05-08 07:33:34 UTC
Just remember it coming from CCP's DB and they don't use 'order by' on most of the SQL queries so like most DBs there isn't any ordering of the result set it's returned in the order they are found.

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