Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Ausser
Cybertech Industrials Agency
|
Posted - 2008.05.18 16:24:00 -
[1]
Today i've filed the following bug report (ticket number 57531).
I'll post it here so we can discuss/comment it.
Quote:
Ticket Number:
57531
Description:
In /eve/AllianceList.xml.aspx there is a field called 'executorCorpID'. Sometime it points to a corporation, that is not member in any alliance.
If you try to get a corp sheet for that corporation via /corp/CorporationSheet.xml.aspx?corporationID=<that corp's ID> then you get error 214 (corp is not member of alliance...).
The two cases i know about where the executor corp is not member of alliance are atm:
corpID/allyID/allyName/allyTicker 1193343443/463483671/G Thanks Alliance/GTA 1962996042/1841140249/Free Trade and Industries Coalition/FTIC
Reproduction:
klick this link:
http://api.eve-online.com/corp/CorporationSheet.xml.aspx?corporationid=1193343443
or this one:
http://api.eve-online.com/corp/CorporationSheet.xml.aspx?corporationid=1962996042
This bug is not critical. The api can be used, you just cannot get the name of the executor corporation.
Is there another way to get a corporationID -> corporationName lookup?
Any ideas, comments and thoughts are welcome :)
|
Raquel Smith
Freedom-Technologies imPure.
|
Posted - 2008.05.21 12:20:00 -
[2]
Originally by: Ausser Today i've filed the following bug report (ticket number 57531).
I'll post it here so we can discuss/comment it.
Quote:
Ticket Number:
57531
Description:
In /eve/AllianceList.xml.aspx there is a field called 'executorCorpID'. Sometime it points to a corporation, that is not member in any alliance.
If you try to get a corp sheet for that corporation via /corp/CorporationSheet.xml.aspx?corporationID=<that corp's ID> then you get error 214 (corp is not member of alliance...).
The two cases i know about where the executor corp is not member of alliance are atm:
corpID/allyID/allyName/allyTicker 1193343443/463483671/G Thanks Alliance/GTA 1962996042/1841140249/Free Trade and Industries Coalition/FTIC
Reproduction:
klick this link:
http://api.eve-online.com/corp/CorporationSheet.xml.aspx?corporationid=1193343443
or this one:
http://api.eve-online.com/corp/CorporationSheet.xml.aspx?corporationid=1962996042
This bug is not critical. The api can be used, you just cannot get the name of the executor corporation.
Is there another way to get a corporationID -> corporationName lookup?
Any ideas, comments and thoughts are welcome :)
Those corporations aren't in the list of corporations that belong to alliances:
Quote:
$ irb irb(main):001:0> require 'rubygems'; require 'reve' => true irb(main):002:0> api = Reve::API.new irb(main):003:0> alliances = api.alliances irb(main):004:0> corps = alliances.select { |alliance| alliance.member_corporations }.flatten irb(main):005:0> corps.select { |corp| corp.id == 1193343443 } => [] # Nothing in the list found with that ID irb(main):005:0> corps.select { |corp| corp.id == 1962996042 } => [] # Nothing in the list found with that ID
Is that part of the bug too?
-- Creator of The Ruby API Library |
Immersive
Immersive Technology Solutions
|
Posted - 2008.05.28 10:59:00 -
[3]
http://api.eve-online.com/eve/CharacterName.xml.aspx?ids=1193343443
Should resolve just about any entity ID to a name. Known to work for: - Characters - Corporations - Alliances - Items - Solar Systems
So it's probably a direct lookup into the eve.names database table.
|
Ausser
Cybertech Industrials Agency
|
Posted - 2008.05.30 21:57:00 -
[4]
Thanks to Immersive for the hint.
I've missed your answer here. For reference, the other thread about itemID lookup is here.
So we can look up any item names whenever we need them.
It is strange to see executor corps not to be members of their alliance. Maybe there are side effects of this we dont know about. I will let the ticket open to give our devs the chance to become aware of it.
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |