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.
 

[SOLVED] Image server and Station id's

Author
SoC Darkord
Silentium Mortalitas
#1 - 2012-06-08 11:43:14 UTC  |  Edited by: SoC Darkord
Ok, so I'm pretty sure I know the answer but it doesn't hurt to ask... normally, but this is eve..

Anyway, probable flaming aside:

I want to grab station images (64x64, if possible), using the image server, I have the station id's (60003760 is one of them), but i can't for the life of me find them. Anywhere.

Do they just not exist? am i looking in a stupid place? are they in the data dump? (i looked there too), or do CCP just not hand them out?Evil

Offering Blackops and Covert services

 Covert bridging / Null sec camp clearing / Null sec Disruption / Anti capital / Covert fleet support

Vessper
Dark Mason Society
#2 - 2012-06-08 12:17:35 UTC
Use the data dump to get the stationTypeID and use this ID to get the image, e.g:

SELECT stationTypeID FROM staStations WHERE stationID = 60003760;

which gives 1529, then use:

https://image.eveonline.com/Render/1529_64.png

The images do have larger sizes, up to 512x512 I believe.
SoC Darkord
Silentium Mortalitas
#3 - 2012-06-08 12:20:04 UTC
ahh bril, thanks Twisted

it would be nice if station type id was handed through the API instead of the flat ID, or maybe both Roll

Back to working on my transactions module ^_^

Thanks!

Offering Blackops and Covert services

 Covert bridging / Null sec camp clearing / Null sec Disruption / Anti capital / Covert fleet support

Desmont McCallock
#4 - 2012-06-08 12:21:19 UTC  |  Edited by: Desmont McCallock
In SDE DB staStations table link the stationID to the typeID.
So in your case the image for that station from the image server is: http://image.eveonline.com/Type/1529_64.png