|
Author |
Thread Statistics | Show CCP posts - 2 post(s) |
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.03 04:35:00 -
[1]
It appears as if CorporationSheet requires a UserID/Key here. the EVE Api allows for a corporationID only call to retrieve the show-info of the corp sheet. If this is not the case, then why does this fail?
Quote: EveAI.Live.Corporation.CorporationSheetApi c = new EveAI.Live.Corporation.CorporationSheetApi(); c.CorporationID = this.CorporationID; c.UpdateData();
I get this failure on c.UpdateData()
Quote: at EveAI.Live.Corporation.CorporationSheetApi.get_DefaultPersistFileName() at EveAI.Live.EveApiBase.get_PersistFileName() at EveAI.Live.EveApiBase.UpdateData(UpdateCharaceristics updateCharacteristics) at EveAI.Live.EveApiBase.UpdateData() at libevedata.EVECorporation.GetCorporationSheet(EveApiDaemonItem eadi)
Thanks for a good API so far!
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.05 05:32:00 -
[2]
Also, EveAI.Live.Market requires a ProductType for any access. I don't wish to use the DataReader portion of the code (as i already have these written and integrated into my application). Is it possible to get an overload of this method w/ just the long[] for the typeID and regionID's?
Thanks,
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.14 17:26:00 -
[3]
I coulda sworn i saw a post about the format in the standings XML changing. I just can't find it anymore. It either is a bug or a ninja change they added in.
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.17 03:12:00 -
[4]
Thanks for the release. I was waiting (patiently) for the corporation roles :)
However, I did find a bug. You are attempting to pull the CorporationRoles RoleIDs in as a Int32, these are actually UInt64's. the process fails on characters with the higher numbered IDs.
also, any headway w/ the authentication-less CorporationSheet (similar to the CharacterSheet that doesn't require any id/key). and lastly, any way to pull Market information w/o using the StaticDataDataReader? Seems a bit of a waste since i have the IDs i want to pull already.
Thanks!
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.26 04:54:00 -
[5]
StarbaseListApi references ItemID with a Int32.
LocationID and TypeID are also 32, however, i don't think they're causing a failure.
(Found with a newly anchored POS).
I've asked before, but heard nothing, CorporationSheet allows no API key. Is it possible to implement this?
Thanks,
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.28 04:53:00 -
[6]
There is also EveAI.Live.Generic.SkillTreeApi.
This returns a List<Skill> which you can use for a similar purpose without a character setting. The reason this loops is simply that you can't embed a typed list of known items when you don't know the items that exist.
An enum could have been created which would have allowed you to cast a int to a "Skill", but that would have to be updated for every new skill added. this way it is fully generic and no mods have to be made, ever.
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.12.01 04:29:00 -
[7]
Originally by: Amida Ta
Originally by: Modescond StarbaseListApi references ItemID with a Int32.
LocationID and TypeID are also 32, however, i don't think they're causing a failure.
(Found with a newly anchored POS).
I've asked before, but heard nothing, CorporationSheet allows no API key. Is it possible to implement this?
Thanks for the ItemID report. I'll change this to Int64 for the next version. CCP said LocationID ist save to be 32bit and TypeID is 32bit anyways.
I'm unsure about your CorporationSheet problem. It should allow to use an API key. Could you please describe your problem in more detail?
CorporationSheet as it is implemented in EveAI requires an APIKey, however, CCP does not require this. I tried calling it with a NULL AuthenticationData, but it fails as this object is required. This is critical as i simply have a list of CorporationIDs, but no matching keys. (Providing a KEY returns YOUR corp info only).
Thanks,
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.12.02 15:35:00 -
[8]
Originally by: Amida Ta
Originally by: Modescond CorporationSheet as it is implemented in EveAI requires an APIKey, however, CCP does not require this. I tried calling it with a NULL AuthenticationData, but it fails as this object is required. This is critical as i simply have a list of CorporationIDs, but no matching keys. (Providing a KEY returns YOUR corp info only).
Thanks,
What was the result when supplying your (aka your personal) authentication data AND specifying a (foreign) CorpID? I tried that a while ago and it seemed to work. But maybe they changed that.
I have been supplying it with just a corporationID and no user/apiKey at all actually.
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.12.07 21:07:00 -
[9]
New Int32 Bug:
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at EveAI.Live.Corporation.StarbaseListApi.ProcessXmlData(XmlNode resultNode, Boolean clearExistingData) at EveAI.Live.EveApiBase.UpdateDataInternal(String data, XmlDocument& document, Boolean liveData, Boolean ignoreCacheDate) at EveAI.Live.EveApiBase.UpdateDataFromWeb() at EveAI.Live.EveApiBase.UpdateData(UpdateCharaceristics updateCharacteristics) at EveAI.Live.EveApiBase.UpdateData()
Any news on this -->
EveAI.Live.Corporation.CorporationSheetApi c = new EveAI.Live.Corporation.CorporationSheetApi(); c.CorporationID = <some valid CorpID here>; //c.UpdateData(); //This causes a NULL Pointer error.
Also, Noctis is missing from the built in CSV libs and causes an error when we try to do market lookups. Can we get an overload for the Market APIs that only takes the long[] instead of the ProductType[] ?
Thanks,
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.12.09 21:58:00 -
[10]
Originally by: Amida Ta EveAI Live Version 1.4.0 has been released! Anybody who reported error please test if this error still exist.
- Updated static data to Incursion 1.0
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.4.0.zip
This changes the StarbaseApi ItemID to a Int64, however, AuthenticationData.StarbaseID is an Int32.
This code class allows CorporationSheet to be run w/o any AUthenticationData object. This fixes the issue I mentioned prior.
public class MyCorporationSheetApi : EveAI.Live.Corporation.CorporationSheetApi { protected override string DefaultPersistFileName { get { if (this.CorporationID != 0 && this.AuthenticationData == null) return string.Concat(base.GetType().Name, ".", this.CorporationID, base.Configuration.CacheFileExtension); return base.DefaultPersistFileName; } } protected override string UploadData { get { if (this.CorporationID != 0 && this.AuthenticationData == null) return string.Concat("version=", this.ApiVersion, "&corporationID=", this.CorporationID); return base.UploadData; } } }
|
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.12.17 01:52:00 -
[11]
1) Please add support for AccountStatus.Offers
Sample XML
Quote:
<result> <userID>123456789</userID> <paidUntil>2010-12-24 14:56:22</paidUntil> <createDate>2008-06-23 08:24:00</createDate> <logonCount>1913</logonCount> <logonMinutes>237904</logonMinutes> <rowset name="Offers" key="offerID" columns="offerID,offeredDate,from,to,ISK"> <Offer offerID="0" offeredDate="2010-12-17 01:43:00" from="Jane Doe" to="Jeff Doe" ISK="7000000000.0000" /> </rowset> </result>
2) This only affects developers, but the StandingApi you have marked as deprecated, it is not. CCP removed half of the functionality and put it into contacts. The Standing API is the only method you can use to get the standings NPC corporations have TO you.
Thanks,
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2011.02.21 15:36:00 -
[12]
AccountStatus.GameTimeCodeOffers works perfectly. Thanks!
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2011.06.23 01:40:00 -
[13]
Also, another oddity i noticed is that the 904 error recently added has an invalid cachedUntil time. The cachedUntil is the timestamp of the PRIOR successful run of said call.
Please fix. Thanks,
Modescond
|
|
|
|