| Author |
Thread Statistics | Show CCP posts - 5 post(s) |
|

CCP Prism X
C C P C C P Alliance
467

|
Posted - 2012.01.03 10:23:00 -
[1] - Quote
I promised a resolution from itemID to (x,y,z) coordinates at Fan Fest 2011 and have yet to deliver. My shame would make the Marquis de Sade blush.  I've just started resolving API defects again now so stuff is finally happening.
It will probably end up under both /char/ and /corp/ as characters might want to query the location of anchored containers or whatnot. Input on a similar form to the CharacterName call, a CSL of IDs.
This is all pending approval from other parties who might think that this data should not be exposed to the players at large. I doubt that as we did discuss this on FF11 but I'd rather announce the caveat as it is better to be safe than sorry. Also, I'm not sure on my available QA resources at the moment so deployment might be delayed. ~ CCP Prism X EVE Database Developer If anything in this post was informative or could be considered as 'good news' to you - chances are you've misread it. |
|
|

CCP Prism X
C C P C C P Alliance
480

|
Posted - 2012.01.05 15:32:00 -
[2] - Quote
I guess an example would be something like:
api.eveonline.com/corp/Locations.xml.aspx?keyID=1&vCode=snakeHunting&ids=1,2,3
And the return would be something on the form of (with stuff stripped out to please the forums): row itemID="1" itemName="DOOM POS" x="1984109842498" y="540899461984" z="19074984051" row itemID="2" itemName="DOOM POS MODULE 1" x="1984109842398" y="540899461984" z="19074984151" row itemID="3" itemName="DOOM POS MODULE 2" x="1984109842798" y="540899461984" z="19074983951"
As long as the associated corpID of the key is the owner of these items. Otherwise you'd just get the ID returned with empty fields and did someone the favour of caching his data.
The character counterpart would be quite similar, but only work for stuff owned by that character. One might infer that this gives you access back to translating shipIDs to their names.. and that is correct. As long as they are yours ofc.
And by all means bring in your own suggestions. I don't have endless time to finish this so the sooner the better.  ~ CCP Prism X EVE Database Developer If anything in this post was informative or could be considered as 'good news' to you - chances are you've misread it. |
|
|

CCP Prism X
C C P C C P Alliance
481

|
Posted - 2012.01.06 08:33:00 -
[3] - Quote
Quote:Is itemName the actual name of the object in space such as "My POS Structure" or is it going to be 'factory default' of "Corporate Hangar Array"? An items name is his actual name, what you refer to as "factory default" I call "type name". 
Quote:Can the option of excluding the IDs on the URI provide all items out in space? Absolutely not.
Quote:If an ids is given to an object that is not in space - Would anything be returned? - Is the itemName the in-game name of the item, such as a ship name? Something will be returned, yes. Otherwise you couldn't get names of docked ships belonging to the key. How that will be handled I have yet to decide. If returning all coordinates as 0 does incurr some overhead I haven't anticipated already then that will probably be it. I don't really see a very useful usecase for querying the coordinates of ships anyways, caching will cause them to be pretty damn inaccurate if it is moving. Blah blah blah, next question!
Quote:Don't know if it's possible but some people might find it useful have both the general name like "Corporate Hanger Array" and their alias/name for it. It is of course possible. However I wont do that, we already have a weird way of getting the typeName from CharacterName and people should not be querying static stuff over the wire (with the exception of mobile apps who might have too limited storage to keep their own type information). There is no way of getting an itemID to query the location of without getting the typeID back and there's no point for me to embiggen the return set for some weird special case. 
Think that should cover all questions.
On a more serious note it is very dark, cold and slushy over here in Iceland. ~ CCP Prism X EVE Database Developer If anything in this post was informative or could be considered as 'good news' to you - chances are you've misread it. |
|
|

CCP Prism X
C C P C C P Alliance
481

|
Posted - 2012.01.06 09:54:00 -
[4] - Quote
How about what? There's nothing wrong with a types name being a part or the entirity of an items name. We're also not going to be changing any rules regarding what you can and cannot rename.
What's the confusion here? ~ CCP Prism X EVE Database Developer If anything in this post was informative or could be considered as 'good news' to you - chances are you've misread it. |
|
|

CCP Prism X
C C P C C P Alliance
481

|
Posted - 2012.01.06 11:29:00 -
[5] - Quote
Correct, if you cannot rename the item you'll be stuck with the default name. You wouldn't be able to differentiate between them in the client either by just looking at them (except by position, which you'll get returned to you albeit in a less visual form). ~ CCP Prism X EVE Database Developer If anything in this post was informative or could be considered as 'good news' to you - chances are you've misread it. |
|
| |
|