|
Author |
Thread Statistics | Show CCP posts - 2 post(s) |
Cibeureum
|
Posted - 2010.11.15 23:11:00 -
[1]
I think I've found a bug...
I'm trying to get Industry jobs and the corp version always seems to fail with the following error (vb.net):
Run-time exception thrown : System.OverflowException - Value was either too large or too small for an Int32.
Here's my super basic code:
Dim industry Dim apiNew As EveAI.Live.EveApi = New EveAI.Live.EveApi(api_UserID, APIKey, api_CharID) industry = apiNew.GetCorporationIndustryJobs
this fails every time with the above error. However, if I change to character industry, it works fine and returns a list of objects as expected.
Dim industry Dim apiNew As EveAI.Live.EveApi = New EveAI.Live.EveApi(api_UserID, APIKey, api_CharID) industry = apiNew.GetCharacterIndustryJobs
Can someone confirm/deny that the CORP industry api pull works?
As a note, after these errors, i went to the ccp api webpage and put in the same api authentication info and it was able to retrieve the corp industry jobs.
http://api.eveonline.com//corp/IndustryJobs.xml.aspx?userID=xxxx&apikey=xxxxx&characterID=xxxx
thanks all
and thanks again to Amida Ta for the library!!
|
Cibeureum
|
Posted - 2010.11.17 08:59:00 -
[2]
Quote:
Without even having a stacktrace I cannot locate the error (and I cannot reproduce it myself). If you want to help me retrieve the xml file as you already did and find out which of the xml entities have a size that would not fit into an Int32 (which ones are bigger than 2147483648).
See, if i was smart... that's what i would of done instead of banging my head against the wall trying different solutions (including attemping to get xml directly from ccp with horrible results!!)
Great idea Amida!! I'll do this asap and let you know
:) |
Cibeureum
|
Posted - 2010.11.17 12:02:00 -
[3]
Edited by: Cibeureum on 17/11/2010 12:03:20 found the offending fields!!
containerID outputLocationID
could be others, but those seem to be the 2 i've seen so far.
These need to be changed to handle 64 bit int's.
thx again,
Cib. |
Cibeureum
|
Posted - 2010.11.18 20:48:00 -
[4]
confirming that i can now load corp industry w/ the 64 bit int changes
hurray!
lots of love Amida!!
|
Cibeureum
|
Posted - 2010.11.21 02:12:00 -
[5]
documentation here:
http://wiki.eve-id.net/EveAI
And this is not an open source library, so unless you use some 3rd party tools (i think someone said refactor or something?) yer outta luck
|
Cibeureum
|
Posted - 2010.11.21 02:16:00 -
[6]
A question on the eve-central api...
I'm able to pull productStatistics, which seems to reference the marketstat_xml api.
However, what i really want is the list of orders, which is the quicklook.
does anyone know if this is available? I can't seem to find a method/function (whatever its called) to do this :(
thx
|
Cibeureum
|
Posted - 2010.11.23 21:57:00 -
[7]
Hi Amida Ta,
Any plans to implement the eve-central/eve-metrics api to return actual market orders?
eve-central is the quicklook xml
thx!
|
Cibeureum
|
Posted - 2010.12.22 22:01:00 -
[8]
I'm having an error thrown (due to my poor err. handling) for a char_asset...
It seems to be dying on Type.Name for typeID 3532 & 3581.
anyone have any idea what these are?!
btw: i just added the new dll's
thx |
|
|
|