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.
Previous page12
 

ContainerID?

First post
Author
CCP Prism X
C C P
C C P Alliance
#21 - 2012-01-27 16:21:59 UTC
That is correct, items can only be located in valid locations, thus you can assume that any parent object is a valid location.
However, not all locations have items located in them, but if that's of no interest to you then I do not see a problem.
Painkillaz
Caldari Provisions
Caldari State
#22 - 2012-01-27 16:32:51 UTC
CCP Prism X wrote:
That is correct, items can only be located in valid locations, thus you can assume that any parent object is a valid location.
However, not all locations have items located in them, but if that's of no interest to you then I do not see a problem.



hmm I see your point of having an assembled container(i.e. station container) without any items in them.


that would end up with 3 possible ends

1- 1 unassembled container
2- 1 assembled container - nothing inside
3- 1 assembled container - something inside


1 - no search is needed since its unassembled and no name have been provided since unassembled containers cannot be named.
2 & 3 - following logic could be applied:

is it a container(y/n) -> lookup itemID to check if its a container.
Jercy Fravowitz
School of Applied Knowledge
Caldari State
#23 - 2012-01-27 16:36:01 UTC
CCP Prism X wrote:
If the containerID is on the range of 60m to 61m (not inclusvive) then that is static npc station you should be able to find in the SDE, so no need to query for that name. If it's on the range of 61 million to 64 million that's a player controlled station so the conquerableStationList call should provide you with all the names you need there.
*cough*

> select count(*),min(s.stationID),max(s.stationID) from cru110.staStations s, eve.apiStations a where s.stationID=a.stationID and s.stationName != a.stationName;
| 53 | 60014861 | 60014928 |
Dragonaire
Here there be Dragons
#24 - 2012-01-27 17:24:15 UTC
Quote:
| 53 | 60014861 | 60014928 |
The conquerable stations which are in ConquerableStationList with all of the other Outposts. Think of them like Outposts that CCP built and turned over to the players Blink

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

Emma Royd
Maddled Gommerils
#25 - 2012-01-27 17:42:06 UTC
wow, what started out a little question has turned into a threadnaught :) I'll have a look at some of the suggestions, and see if I can get them to work.

thx

Emma
Previous page12