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.
 

POS,Guns, and Ammo into API please

Author
Svenjabi Xiang
Jericho Fraction
The Star Fraction
#1 - 2011-10-11 18:28:46 UTC  |  Edited by: Svenjabi Xiang
Can the API please return the ammo count in the reservoir of POS guns please? At present, it currently requires manual checking and appears to have no gameplay related reason to require it to be so. It's just a task that's annoyingly required on a periodic basis thanks to the lack of pos spam when guns activate against targets. Thankfully no POS spam, but with API, it's easy enough to see which POS needs attention and which are sufficiently stocked.

Thank you.
Ydnari
Estrale Frontiers
#2 - 2011-10-11 19:10:57 UTC
POS guns and their contents are in the assets API, but it doesn't give enough information to work out what POS structure is attached to which POS.

On the old forums CCP said that the assocation between a module and a POS at a a moon is done in some place the API can't reach, so they couldn't put the POS's ID in there, but surely all we actually need is x,y,z coordinates of any asset in space. Then we can trivially work out ourselves which moon is nearest and then go via moonID on the Starbases API to attach a particular gun or array to a POS.

So: CCP please include x,y,z coordinates in the AssetsList API for items that are in space.

--

Svenjabi Xiang
Jericho Fraction
The Star Fraction
#3 - 2011-10-11 19:26:58 UTC
Listed in the "assets in space" area of corporate assets, I don't see the ammo number, even in aggregate system-wide form, for ammo that's loaded into POS defenses. If it were, I could work out some reduction in POS needing checked. At present though, ammo loaded into POS just drops off the asset sheet entirely, at least in EveHQ, which necessitates checking every gun in every pos periodically.
Ydnari
Estrale Frontiers
#4 - 2011-10-11 19:40:12 UTC
Well that's changed from last time I looked! Seeing the same thing here.

It used to show the guns as containers with ammo in - doesn't any more.

OK - so restore the container-ness, contents, and then x,y,z coordinates!

--

Dragonaire
Here there be Dragons
#5 - 2011-10-11 21:07:20 UTC
And what would be the x, y, z of stuff in a container in the cargo hold of your ship while docked? There many reason they wouldn't add them because they can't do it for everything and that's just one them. Remember asset list isn't just stuff outside etc. But if they did drop the ammo storage of weapons at POS from Assets that does need to be added back.

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

Ydnari
Estrale Frontiers
#6 - 2011-10-11 23:30:21 UTC
Dragonaire wrote:
And what would be the x, y, z of stuff in a container in the cargo hold of your ship while docked?


Not in space, so coordinates wouldn't be on that row.

--

TorTorden
Tors shibari party
#7 - 2011-10-12 02:17:26 UTC  |  Edited by: TorTorden
Dragonaire wrote:
And what would be the x, y, z of stuff in a container in the cargo hold of your ship while docked?



Null perhaps?
Dragonaire
Here there be Dragons
#8 - 2011-10-12 04:59:22 UTC
Problem is they would need something in all of them or at min send blank columns for 99% of the stuff in Eve with either idea. Also even in the station you are in the system so you do have a set of coordinates. What makes sense is to start including the MoonID as the location which though they have said couldn't be done in the past there have been hints a few months ago that they might be making some changes that would allow them to start doing so. They use to say they couldn't tell us if it was a BPO or BPC because of where that info was kept but they did after 3-4 years finally find a way to do so Blink

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