Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 .. 26 :: [one page] |
|
Author |
Thread Statistics | Show CCP posts - 2 post(s) |

Amida Ta
|
Posted - 2007.12.08 02:14:00 -
[1]
Had some time to fiddle around a bit and here is the result:
A .Net 2.0 class library to easily access the EVE APIs named EveAI Live.
Using the library is very simple e.g.: EveApi api = new EveApi (); List<Alliance> alliances = api.GetAllianceData ();
This is version 0.1 Preview. Feel free to use it and if you like it send some ISK to me. The Archive come with a small example application that simply displays the retrieved data.
EveAI.Live 0.1 Preview
Please note that not everything is working because the library is already prepared for the EVE API 2 which is not active yet.
|

Amida Ta
|
Posted - 2007.12.16 15:42:00 -
[2]
Edited by: Amida Ta on 16/12/2007 15:43:01 EveAI.Live 0.2 Preview has been released. It is mostly feature complete and contains the entire Eve v2 API (minus a few problems - see below).
It comes together with a test application that can query most of the v2 APIs and displays an object-oriented result view.
EveAI.Live 0.2 Preview
Unfortunatelly I don't have access to a reasonably big set of results for: KillLog, StarbaseDetail and StarbaseList APIs, so these are only halfway finished and completely untested. Please supply some DataFiles if possible.
With this version the default cache directory changed to Application Data\EveAI
|

Vincent Liftor
|
Posted - 2007.12.17 04:26:00 -
[3]
Tried to download the EveAI 0.2 preview but I'm getting an error trying to expand the EveAI.Core.dll file. The specific error is: 0x80004005: Unspecified error. Helpful, huh?
|

Amida Ta
|
Posted - 2007.12.17 07:39:00 -
[4]
Edited by: Amida Ta on 17/12/2007 07:45:49
Originally by: Vincent Liftor Tried to download the EveAI 0.2 preview but I'm getting an error trying to expand the EveAI.Core.dll file. The specific error is: 0x80004005: Unspecified error. Helpful, huh?
Thanks for the info. Just tried and it seems that the file became corrupt on eve-files...
|

Amida Ta
|
Posted - 2007.12.17 08:05:00 -
[5]
Edited by: Amida Ta on 17/12/2007 08:06:26
Originally by: Amida Ta Edited by: Amida Ta on 17/12/2007 07:45:49
Originally by: Vincent Liftor Tried to download the EveAI 0.2 preview but I'm getting an error trying to expand the EveAI.Core.dll file. The specific error is: 0x80004005: Unspecified error. Helpful, huh?
Thanks for the info. Just tried and it seems that the file became corrupt on eve-files...
Something is really fishy with eve-files. Tried to upload again and the file again became corrupted. Now I reduced the compression of the ZIP-file and everything seems to work -> Very strange...
Working URL is (replaced the old one): EveAI.Live 0.2 Preview
|

Gremrod
Minmatar DEEzNUTS-DzN
|
Posted - 2007.12.17 21:53:00 -
[6]
I love it. Big time saver. I was getting ready to write my own wrapper when I found EveAI Live.
I was trying to figure one thing out though about the eve api. The map api how do we get region names, anyone know? I can see a regionid in the xml but nothing to relate that id to for the region name. I think I am over looking something.
Any help would be great.
|

Amida Ta
|
Posted - 2007.12.18 23:07:00 -
[7]
For which API? The manual region lookup is not yet implemented. But you can simply browse the objects to get the region data. E.g. if you have the SovereignityData you will get the Region name with: sov.SolarSystem.Region.Name
|

Amida Ta
|
Posted - 2007.12.19 23:07:00 -
[8]
Additional info is available here: http://wiki.eve-dev.net/EveAI
|

Etherna
|
Posted - 2007.12.20 04:56:00 -
[9]
Good work! :) and as Gremrod was saying, it's indeed a big time saver.
Now I can check at work how my sales are going without having to manually download/read the XML every couple of hours :).
|

Skolima
|
Posted - 2007.12.20 11:12:00 -
[10]
I'm still getting a "corrupted zip file" error when trying to extract the 0.2 Preview.
|
|

Amida Ta
|
Posted - 2007.12.20 16:50:00 -
[11]
Originally by: Skolima I'm still getting a "corrupted zip file" error when trying to extract the 0.2 Preview.
Works for me. Maybe try to delete your cache.
|

La Dudette
|
Posted - 2007.12.31 12:45:00 -
[12]
Hi there!
First of all, this is a great effort and very useful. A quick question around starbases details though:
The method GetCorporationStarbaseDetail() does not take a starbase ID as parameter. How do you intend it to be used?
I have not got round to using the method yet, awaiting director flag, but will want to soonish. I can then help you complete the POS API if you want.
|

Amida Ta
|
Posted - 2008.01.05 17:48:00 -
[13]
EveAI.Live 0.9 Preview has been released. It is basically feature complete and contains the entire Eve v2 API (minus a few problems - see below).
It comes together with a test application that can query most of the v2 APIs and displays an object-oriented result view.
EveAI.Live 0.9 Preview
I'm still missing XML files for: KillLog, StarbaseDetail and StarbaseList APIs, so KillLog and StarbaseList is untested and StarbaseDetail is incomplete. Please supply some DataFiles if possible.
|

Amida Ta
|
Posted - 2008.01.05 17:49:00 -
[14]
Originally by: La Dudette Hi there!
First of all, this is a great effort and very useful. A quick question around starbases details though:
The method GetCorporationStarbaseDetail() does not take a starbase ID as parameter. How do you intend it to be used?
I have not got round to using the method yet, awaiting director flag, but will want to soonish. I can then help you complete the POS API if you want.
That would be nice, however currently there is no method of specifying the starbaseID, as I have no data to test it.
|

Xaroth Brook
Minmatar BIG Ka-Tet
|
Posted - 2008.01.06 01:29:00 -
[15]
Seeing as I don't have time to test this right now (as there's no source to fiddle with and this work puter doesn't do .net 2.0) (stupid terminals). How is the caching done, one generic file, or numerous files, and if so, what's the confinement of em (I'm trying to get some ideas of building a cache server for myself since I tend to swap places quite a bit)
It was like a baby, it landed on my lap and was helpless and totally defenseless. Then I shot it and bragged about it on a killboard.
|

Amida Ta
|
Posted - 2008.01.06 13:49:00 -
[16]
Originally by: Xaroth Brook Seeing as I don't have time to test this right now (as there's no source to fiddle with and this work puter doesn't do .net 2.0) (stupid terminals). How is the caching done, one generic file, or numerous files, and if so, what's the confinement of em (I'm trying to get some ideas of building a cache server for myself since I tend to swap places quite a bit)
You can configure the cache directory to your linkings. Default is the application settings directory (Also see the link to eve-dev a few posts up). The cache files are very similar to the original files that the server sends except query information gets coded in and some additional fields are added (like Timezone offsets and stuff).
|

La Dudette
|
Posted - 2008.01.06 20:20:00 -
[17]
Ok, moved to 0.9 from 0.2 and I now get errors. When checking LastErrors as follows:
if (api.LastErrors.Count > 0) { throw new Exception(api.LastErrors[0].ToString()); }
I persistently get "ClientMissingCacheFile". I deleted the EveAI directory in application data, same result.
In your test application, when viewing alliance membership I got this:
************** Exception Text ************** System.OverflowException: Value was either too large or too small for an Int32. at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at EveAI.Live.Corporation.MemberTrackingApi.ProcessXMLData(XmlNode resultNode, Boolean clearExistingData) at EveAI.Live.Utility.EveApiBase.UpdateDataInternal(String data, XmlDocument& document, Boolean liveData, Boolean ignoreCacheDate) at EveAI.Live.Utility.EveApiBase.UpdateDataFromWeb()
I hope this helps!
|

La Dudette
|
Posted - 2008.01.06 20:21:00 -
[18]
I forgot to add: this is a great project, and very useful. I am still waiting for director roles, I will get you anonymized starbase sample files as soon as I can.
Shout if I can help in any other way.
|

Sister Madeline
|
Posted - 2008.01.07 11:21:00 -
[19]
Also, if you try to look at one char's character sheet, then try to do the same for another character on the same account you will get the other char's sheet info, as it's saying "NotUpdatedCacheActive"
While at the same time i do see that the charactersheet file is named 'properly'.
I tested this, if you supply an erroneous api key it will still return the 'proper' info, as such bypassing api security.. it might be useful to use encryption for this.
|

Amida Ta
|
Posted - 2008.01.07 20:37:00 -
[20]
Edited by: Amida Ta on 07/01/2008 20:42:43
Originally by: Sister Madeline Also, if you try to look at one char's character sheet, then try to do the same for another character on the same account you will get the other char's sheet info, as it's saying "NotUpdatedCacheActive"
While at the same time i do see that the charactersheet file is named 'properly'.
This should be fixed in the next release. The memory cache was not properly invalidated.
Originally by: Sister Madeline
I tested this, if you supply an erroneous api key it will still return the 'proper' info, as such bypassing api security.. it might be useful to use encryption for this.
This is by design. It will return cached data if it can retrieve it. The data is stored in your user profile, so it is save in your profile. And if anybody can fully access your computer account then there is no sense in using encryption either because you could easily bypass it.
|
|

Amida Ta
|
Posted - 2008.01.07 20:45:00 -
[21]
Originally by: La Dudette
I persistently get "ClientMissingCacheFile". I deleted the EveAI directory in application data, same result. (Quick edit: I probably misunderstood how the error handling is supposed to work. Do you want us to check api.Result first and then errors? And if the results is not Error, the "errors" are not really errors?)
This is by design. You should now only need to check the Result. Errors just contains various information about what went wrong internally (e.g. that no Cachfile is existing or that it has an invalid structure and so on).
|

Amida Ta
|
Posted - 2008.01.07 23:17:00 -
[22]
Just uploaded a small update (Version 0.9.1):
EveAI.Live 0.9.1 Preview
|

La Dudette
|
Posted - 2008.01.09 10:44:00 -
[23]
Great - I dropped this in, and I can now retrieve member details and the starbase list without errors.
I sent you another mail with the correct URL of a starbase detail sample - I hope this will help.
One other thing: to calculate accurately the amount of fuel remaining in a starbase, and also for user information, I need the cachedUntil value from the messages. Is there any way you can expose that as a property, say, LastCachedUntil on the API class?
Many thanks! LD
|

Amida Ta
|
Posted - 2008.01.09 22:36:00 -
[24]
Edited by: Amida Ta on 09/01/2008 22:41:04 Ok, the details should now work, too. I also added a LastUpdateTime property (Last API update in local time), however I don't like those Last* properties altogether in the simple mode API (the complex one had this for ages). It might be interesting to add a property like remaining time for the starbase-resources anyways.
EveAI.Live 0.9.2 Preview
Some other small changes as well, but you'll see ;)
|

La Dudette
|
Posted - 2008.01.09 23:57:00 -
[25]
Ok, dropped this in too.. am I mistaken or do I have to check the error code against 5 different possible error conditions everytime I call the API now? :P
As it stands, I still won't be able to use the starbase details API - I can't specify the starbase I want the details for. What I need to do is:
1. Get the starbase list 2. Go through the list, get the details for each tower (this will probably have to be a parameter for CorporationStarbaseDetails
Also, you are right about the last updated.. in fact, the value that will actually be necessary is the cachedUntil that CCP supplies - because that indicates when they last updated the API results from the actual game engine. There is no way you or I can derive that, it has to be passed on.
Thx for those continuing fast responses :)
|

Amida Ta
|
Posted - 2008.01.10 08:06:00 -
[26]
Originally by: La Dudette Ok, dropped this in too.. am I mistaken or do I have to check the error code against 5 different possible error conditions everytime I call the API now? :P
There is a flag called Error that you can check the bits for that is true for every error (if (error & ErrorFlags.Error) )
Originally by: La Dudette
As it stands, I still won't be able to use the starbase details API - I can't specify the starbase I want the details for. What I need to do is:
1. Get the starbase list 2. Go through the list, get the details for each tower (this will probably have to be a parameter for CorporationStarbaseDetails
Other than limitations on server side caching I don't see why this wouldn't currently work. You can set the ID with StarbaseID in the AuthenticationData (Use Advanced in the Test client)
Originally by: La Dudette
Also, you are right about the last updated.. in fact, the value that will actually be necessary is the cachedUntil that CCP supplies - because that indicates when they last updated the API results from the actual game engine. There is no way you or I can derive that, it has to be passed on.
Thx for those continuing fast responses :)
Can you explain why you believe cachedUntil will help in that situation? Afaik the current implementation is correct and will give you the correct server update time (however converted to local system time). If you work with the complex mode API there is a ClientUtcTimeOffset and Server UtcTimeOffset property to get more information. However you don't really need that because you can determine the ClientUtcTimeOffset from DateTime.
|

La Dudette
|
Posted - 2008.01.11 17:53:00 -
[27]
Great! I now have everything working that I wanted to work. I'm still fiddling with trying to get moon information (the moon names of a POS), but will try to sort that out later.
As for the cache status. As I understand it, the cachedUntil for starbases indicates until when the API server will cache information before asking the game servers, e.g.:
API client <-> API server <-> Game server
From the cachedUntil, I want to compute when the API server queried the game server, because I know the timeout is 6 hours. So I take cachedUntil - 6 and use that.
What do you think?
|

La Dudette
|
Posted - 2008.01.14 00:10:00 -
[28]
I have release the first version of my tool using EveAI Live.
Thread
Many thanks Amida! Credit duly given.
|

Amida Ta
|
Posted - 2008.01.14 21:59:00 -
[29]
Another small update: This time some love goes to CharacterSheet and SkillInTraining which now contain most of the basic formulas like total skillpoints, time required to learn skills, total attributes and so on... EveAI.Live 0.9.3 Preview
|

La Dudette
|
Posted - 2008.01.16 11:58:00 -
[30]
I have not yet had the time to upgrade, alas...
However, I recently noticed that on some API calls the locations do not get resolved. For example, the solar system names on calls to the asset API are not resolved - the location is only resolved when it is a station.
Similar, the moon names on starbases.
I currently work around by shipping with my own moon identifier list. Is the plan that the API will provide only the IDs, or will it fully resolve? Either way is fine, but would be good to know :)
Many thanks.
|
|

Amida Ta
|
Posted - 2008.01.19 11:59:00 -
[31]
Well the problem is that I don't have any stations with my API-Testcharacter, so it's hard to tell which values I'll always receive. Second problem ist: The functionallity is alread implemented. However the data needed for the moon-info is huge (celestials table from the static data) so I'm not embedding it into the core dll. However there is a mechanism to use the data from an external file (I'll upload the file to eve-files):
EveAI.Live full static data
In code you need to do:
api = new EveApi (1, "", 1, 1000, false); // false is important EveAI.DataCore core = new EveAI.DataCore (); EveAI.DataReader reader = new EveAI.DataReader (core, Environment.CurrentDirectory); // Set directory for EveAI.Data.zip reader.Read (EveAI.DataTypes.BasicMapData | EveAI.DataTypes.Products); api.EveApiCore = core;
The reader.Read specifies which data to read. If you call it without parameters it will read all data (however this will take some time). You need
- DataTypes.BasicMapData, DataTypes.Products basically for everything
- DataTypes.Celestials for Moon data
- DataTypes.Production for Assembly Line data
- DataTypes.Names for names (most names can be determined without this)
New Version: EveAI.Live 0.9.4 Preview
P.S. You could delete some data from the static data if you don't need it (especially dbo_mapCelestialStatistics.csv which saves over 18MB alone)
|

Iown Ewe
|
Posted - 2008.01.24 11:17:00 -
[32]
No source code?
|

Amida Ta
|
Posted - 2008.01.24 16:59:00 -
[33]
Originally by: Iown Ewe No source code?
No, currently not. But feel free to look at the code using Reflector or a similar application.
|

Kaska102
Caldari
|
Posted - 2008.01.25 05:37:00 -
[34]
Edited by: Kaska102 on 25/01/2008 05:37:28 Iown, If you want to look at some C# sourcecode on how to do this, some other guys and I have put together something similar to this, it's open source and hosted on google code: http://oldforums.eveonline.com/?a=topic&threadID=688556
|

La Dudette
|
Posted - 2008.01.26 21:39:00 -
[35]
Hi Amida.. any chance of adding that cachedUntil property?
Thx
|

La Dudette
|
Posted - 2008.01.27 16:27:00 -
[36]
I've got a further problem now, actually.
Calling the API a few times today, files are not being retrieved. To be precise: accountdataapi, alliancedataapi, conquerablestations and corporationsheetapi work.
All others are still dated 19/01/2007 in the cache folder after calling the API. Any idea what might be happening?
I checked the eve API through a public test interface, and there's nothing wrong with it.
|

Amida Ta
|
Posted - 2008.01.28 17:55:00 -
[37]
Originally by: La Dudette Hi Amida.. any chance of adding that cachedUntil property?
Thx
cachedUntil will not help you. It has nothing to do with the time the data was updated on the server. It contains the time at which the client is allowed to make the next request. You can use LastUpdateTime to get the most accurate available info.
|

Amida Ta
|
Posted - 2008.01.28 18:01:00 -
[38]
Edited by: Amida Ta on 28/01/2008 18:05:41
Originally by: La Dudette Edited by: La Dudette on 27/01/2008 17:13:16 I've got a further problem now, actually.
Calling the API a few times today, files are not being retrieved. To be precise: accountdataapi, alliancedataapi, conquerablestations and corporationsheetapi work. All others are still dated 19/01/2007 in the cache folder after calling the API. Any idea what might be happening?
Edit: I found out what happened. I used my limited API key this time. However, while the cache files were still there, instead of giving me an error saying authentication level not high enough, it just returned the cached data. When I deleted the files I got the error as intended.
This is the default setting for the Api. It will try the cache first, if that fails it will try to load from the web and if that fails it will fallback to the cache as last resort.
You may want to use the "advanced mode" api and just call it directly instead of through the static EveApi class. Example:
AuthenticationData auth = new AuthenticationData (); auth.UserID = 4683469;
StarbaseListApi starbaseApi = new StarbaseListApi (); starbaseApi.AuthenticationData = auth;
EveApiBase.UpdateResult result = starbaseApi.UpdateData (EveApiBase.UpdateCharaceristics.OnlineCached);
Using UpdateCharaceristics.OnlineCached will prevent the last line fallback and just return an error if the cache is invalid/expired and new data cannot be retrieved from the web. You also get a lot more information from the individual Apis.
|

Amida Ta
|
Posted - 2008.01.29 10:13:00 -
[39]
EveAI.Live 0.9.5 Preview
0.9.5 is live. It adds some convenience functions to the Starbase details api like required fuel and time the starbase can stay online/reinforced with its current contents.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.02.05 07:51:00 -
[40]
New version is out: EveAI.Live 0.9.6 Preview
With this version the libraries are digitally signed and thus strong-named which makes it basically impossible to modify the assemblies without knowing about the modification. This will enhance the security of applications using EveAI.
|
|

Xaroth Brook
Minmatar BIG Ka-Tet
|
Posted - 2008.02.25 10:48:00 -
[41]
Any chance you can check if it compiles to Mono 1.2.5+ ? that way I can start making some more advanced cronjobs for my own char stuffs
It was like a baby, it landed on my lap and was helpless and totally defenseless. Then I shot it and bragged about it on a killboard.
|

Bleu Meurtre
|
Posted - 2008.02.28 23:11:00 -
[42]
Edited by: Bleu Meurtre on 28/02/2008 23:13:00 I have begun work on an app using the EveAI Live api set. however, I am getting errors on connection (ClientMissingCacheFile) and need to know if you have error documentation and what it means, or perhaps documentation on the api itself.
I have been running your test app and it seems to work fine so far as an example, and I have looked inside it via reflector, but I dont really see anything that tells me what the errors refer to.
Thanks!
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.02.29 07:53:00 -
[43]
Originally by: Xaroth Brook Any chance you can check if it compiles to Mono 1.2.5+ ? that way I can start making some more advanced cronjobs for my own char stuffs
It works well with Mono 1.2.6 (including the demo app). The library will probably work with any mono version that is more than a few years old.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.02.29 08:00:00 -
[44]
Originally by: Bleu Meurtre Edited by: Bleu Meurtre on 28/02/2008 23:13:00 I have begun work on an app using the EveAI Live api set. however, I am getting errors on connection (ClientMissingCacheFile) and need to know if you have error documentation and what it means, or perhaps documentation on the api itself.
I have been running your test app and it seems to work fine so far as an example, and I have looked inside it via reflector, but I dont really see anything that tells me what the errors refer to.
Thanks!
Yes, the documentation is a "little" bit short ;) To check for errors you should use LastUpdateResult property of the EveAPI class (if you are using the EveAPI class). It will tell you if (and how) the update succeded. The LastErrors property that you have been looking at reveals what happened internally (e.g. in your case that there was no (valid) cachefile available). You usually do not need to use that property.
|

KOMMAP
Caldari Mazuto Combine
|
Posted - 2008.03.01 14:32:00 -
[45]
Hello Amida Ta, Thank you for your perfect framework. Could you please to add http proxy support (Net.WebProxy class)? It will be very helpfull for everyone who using this framework from behind the proxy.
|

Bleu Meurtre
|
Posted - 2008.03.02 08:16:00 -
[46]
Originally by: Amida Ta
Originally by: Bleu Meurtre Edited by: Bleu Meurtre on 28/02/2008 23:13:00 I have begun work on an app using the EveAI Live api set. however, I am getting errors on connection (ClientMissingCacheFile) and need to know if you have error documentation and what it means, or perhaps documentation on the api itself.
I have been running your test app and it seems to work fine so far as an example, and I have looked inside it via reflector, but I dont really see anything that tells me what the errors refer to.
Thanks!
Yes, the documentation is a "little" bit short ;) To check for errors you should use LastUpdateResult property of the EveAPI class (if you are using the EveAPI class). It will tell you if (and how) the update succeded. The LastErrors property that you have been looking at reveals what happened internally (e.g. in your case that there was no (valid) cachefile available). You usually do not need to use that property.
Thanks for the info, and I am using that prop from that class. However, it just returns a 4. When I pipe out the .Error to a string, it says not updated. How do these errors work?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.03.03 23:18:00 -
[47]
Originally by: Bleu Meurtre
Originally by: Amida Ta
Originally by: Bleu Meurtre Edited by: Bleu Meurtre on 28/02/2008 23:13:00 I have begun work on an app using the EveAI Live api set. however, I am getting errors on connection (ClientMissingCacheFile) and need to know if you have error documentation and what it means, or perhaps documentation on the api itself.
I have been running your test app and it seems to work fine so far as an example, and I have looked inside it via reflector, but I dont really see anything that tells me what the errors refer to.
Thanks!
Yes, the documentation is a "little" bit short ;) To check for errors you should use LastUpdateResult property of the EveAPI class (if you are using the EveAPI class). It will tell you if (and how) the update succeded. The LastErrors property that you have been looking at reveals what happened internally (e.g. in your case that there was no (valid) cachefile available). You usually do not need to use that property.
Thanks for the info, and I am using that prop from that class. However, it just returns a 4. When I pipe out the .Error to a string, it says not updated. How do these errors work?
Hmm, which programing language do you use? LastUpdateResult returns a UpdateResult enum value. And a value of 4 would be UpdateResult.ErrorFromOnlineAuthenticationFailed which means that some of your login data (your api key or userid is incorrect or missing)
|

Bleu Meurtre
|
Posted - 2008.03.04 03:49:00 -
[48]
Originally by: Amida Ta
Originally by: Bleu Meurtre
Originally by: Amida Ta
Originally by: Bleu Meurtre Edited by: Bleu Meurtre on 28/02/2008 23:13:00 I have begun work on an app using the EveAI Live api set. however, I am getting errors on connection (ClientMissingCacheFile) and need to know if you have error documentation and what it means, or perhaps documentation on the api itself.
I have been running your test app and it seems to work fine so far as an example, and I have looked inside it via reflector, but I dont really see anything that tells me what the errors refer to.
Thanks!
Yes, the documentation is a "little" bit short ;) To check for errors you should use LastUpdateResult property of the EveAPI class (if you are using the EveAPI class). It will tell you if (and how) the update succeded. The LastErrors property that you have been looking at reveals what happened internally (e.g. in your case that there was no (valid) cachefile available). You usually do not need to use that property.
Thanks for the info, and I am using that prop from that class. However, it just returns a 4. When I pipe out the .Error to a string, it says not updated. How do these errors work?
Hmm, which programing language do you use? LastUpdateResult returns a UpdateResult enum value. And a value of 4 would be UpdateResult.ErrorFromOnlineAuthenticationFailed which means that some of your login data (your api key or userid is incorrect or missing)
VB.net 2005. I am getting the error "ErrorFromOnlineInternalServerError"
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.03.06 09:10:00 -
[49]
Edited by: Amida Ta on 06/03/2008 09:10:50 Edited by: Amida Ta on 06/03/2008 09:10:08
Originally by: KOMMAP Hello Amida Ta, Thank you for your perfect framework. Could you please to add http proxy support (Net.WebProxy class)? It will be very helpfull for everyone who using this framework from behind the proxy.
Just uploaded EveAI.Live 0.9.7 Preview with Proxy support (Proxy property for both the EveApi Class and the "complex mode" Api Classes)
|

Bleu Meurtre
|
Posted - 2008.03.06 14:18:00 -
[50]
I have been scanning through the api's as I am looking for a way to gather current pricing information on items in a characters asset list. Is there a way to gather that information? For example, I would like to, by item type, gather the average selling and buying price by Region or System.
Did I miss it or is it not there? If it is not there, is it possible to add?
|
|

telinette
|
Posted - 2008.03.09 22:56:00 -
[51]
Hello, i m using EveAI dll to make corporation website :)
i'have done this
List<EveAI.Live.Corporation.MemberTrackingEntry> MembersList = api.GetCorporationMemberTracking(); lsMembers.DataSource = api.GetCorporationMemberTracking(); lsMembers.DataBind();
work as well i juste got a problem with accent encoding
on MemberTrackingEntry.Title i got "Magnifique D+¬esse des +«les"
I have define UTF-8 on my web config but still change nothing ( <globalization fileEncoding="UTF-8"/>)
In debug mode the "GetCorporationMemberTracking" send me wrong character, so i thing it's too late for work on it)
Any idea to fix accent ?
(using C# / VS 2008 / FrameWork 3.5 / windows XP pro)
Rgds,
Tely
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.03.11 23:30:00 -
[52]
Originally by: telinette Hello, i m using EveAI dll to make corporation website :)
i'have done this
List<EveAI.Live.Corporation.MemberTrackingEntry> MembersList = api.GetCorporationMemberTracking(); lsMembers.DataSource = api.GetCorporationMemberTracking(); lsMembers.DataBind();
work as well i juste got a problem with accent encoding
on MemberTrackingEntry.Title i got "Magnifique D+¬esse des +«les"
I have define UTF-8 on my web config but still change nothing ( <globalization fileEncoding="UTF-8"/>)
In debug mode the "GetCorporationMemberTracking" send me wrong character, so i thing it's too late for work on it)
Any idea to fix accent ?
(using C# / VS 2008 / FrameWork 3.5 / windows XP pro)
Rgds,
Tely
Hmm - I don't have any data to test this (in my corp all people only have standard ASCII character names.
Just uploaded EveAI.Live 0.9.8 Preview that probably should fix the issue, but not tested at all, so please tell me if it works.
|

telynette
Hedion University
|
Posted - 2008.03.15 13:32:00 -
[53]
Yeah that working well !
Thank a lot
|

TeliaA
Imperial Academy
|
Posted - 2008.03.18 13:40:00 -
[54]
Edited by: TeliaA on 18/03/2008 13:42:12 solved already
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.03.18 13:43:00 -
[55]
Originally by: Bleu Meurtre I have been scanning through the api's as I am looking for a way to gather current pricing information on items in a characters asset list. Is there a way to gather that information? For example, I would like to, by item type, gather the average selling and buying price by Region or System.
Did I miss it or is it not there? If it is not there, is it possible to add?
It's possible to add this, however this is not part of the official APIs but supplied by third-party sites. For security considerations EveAI.Live only makes direct web-connections to CCP sites and nowhere else, so I'm not going to add that directly into the library.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.03.23 08:55:00 -
[56]
Unless somebody has some more suggestions for EveAI.Live the next version of the library will be version 1.0.
|

Tak nTar
Center for Advanced Studies
|
Posted - 2008.03.24 11:20:00 -
[57]
Thx, this lib is a great help for me ! To add another solution for me as trader, I would like to read all the goods at the different locations to organize my trade. Is that possible with the "GetCharacterAssets"-function ? Or is that a function only for chars in corporations ? And if not, do you have an idea, how I can solve that for a char in a NPC-corp? Thx in advance,
Tak
|

Rico Darksun
Canadian Assault Network
|
Posted - 2008.03.29 21:22:00 -
[58]
I'm using the latest version 0.9.8 and I am running into null exceptions generated by the "UpdateData" method:
objCharSheetAPI = new EveAI.Live.Character.CharacterSheetApi(); objCharSheetAPI.AuthenticationData = inAPI.Authentication;
numApiResult = objCharSheetAPI.UpdateData(EveApiBase.UpdateCharaceristics.Default);
The last line generates an error:
System.NullReferenceException was caught Message="Object reference not set to an instance of an object." Source="EveAI.Live" StackTrace: at EveAI.Live.Character.CharacterSheetApi.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)
Looking at the Character Sheet API object, it seems that it is hitting this when trying to parse the skills, they are the only thing empty. This had been working perfectly fine for several days and just showed up in recent tests.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.03.30 11:18:00 -
[59]
It seems that EVE currently has severe problems serving the API data. I cannot get the skill tree AT ALL. And the reason it failed for you is because the skill level information is just missing from the current API calls.
I tried some more robust parsing. However there is nothing intelligent that you can do in this case. I could just fill up values with nulls, which will also likely break using Applications using EveAI. So lets hope the API works correctly soon...
|

Dakmarid Darksun
Perkone
|
Posted - 2008.04.06 16:26:00 -
[60]
Previously, all the skill ids were getting automatically resolved to their names. Now this is not happening in the CharacterSheet API and SkillInTraining API. Is this due to XML changes, or was this not implemented and I was just being spoiled by pulling this through the EveAI API before?
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.04.06 17:09:00 -
[61]
Originally by: Dakmarid Darksun Previously, all the skill ids were getting automatically resolved to their names. Now this is not happening in the CharacterSheet API and SkillInTraining API. Is this due to XML changes, or was this not implemented and I was just being spoiled by pulling this through the EveAI API before?
I'm not sure if I understand your question correctly: This is a function that EveAI delivers and has been from the beginning on. CCP returns only IDs for the most part, not complete objects.
|

Dakmarid Darksun
Perkone
|
Posted - 2008.04.06 18:22:00 -
[62]
For instance I do the following: (I have removed some code for simplicity's sake)
CharacterSheetApi charAPI = new CharacterSheetApi(); CharacterSheet charUpdate = new CharacterSheet(); charAPI.UpdateData(); charUpdate = charAPI.Data; foreach (CharacterSheet.LearnedSkill skill in charUpdate.Skills) { lSkills.Add(skill.ToString()); }
Previous to the API meltdown two weeks ago, this returned the names of all the skills and their associated levels (i.e. "Drones 2").
Now this just returns the Skill Id # and the level. Looking within the CharacterSheet object, within the Skills property, each individual Skill object is null. Am I using the API properly, or is this not the appropriate way to access this information?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.04.08 15:29:00 -
[63]
Originally by: Dakmarid Darksun For instance I do the following: (I have removed some code for simplicity's sake)
CharacterSheetApi charAPI = new CharacterSheetApi(); CharacterSheet charUpdate = new CharacterSheet(); charAPI.UpdateData(); charUpdate = charAPI.Data; foreach (CharacterSheet.LearnedSkill skill in charUpdate.Skills) { lSkills.Add(skill.ToString()); }
Previous to the API meltdown two weeks ago, this returned the names of all the skills and their associated levels (i.e. "Drones 2").
Now this just returns the Skill Id # and the level. Looking within the CharacterSheet object, within the Skills property, each individual Skill object is null. Am I using the API properly, or is this not the appropriate way to access this information?
OK I understand your problem now ;)
EveAI has two different methods of usage: "Simple mode" and "Complex mode". In Simple mode everything is done for you.
EveApi api = new EveApi ("userID", ...) CharacterSheet charUpdate = api.GetCharacterSheet (); foreach (CharacterSheet.LearnedSkill skill in charUpdate.Skills) { lSkills.Add(skill.ToString()); }
However this means that EveAI might drag in Data from the static data files as well as make multiple calls to the CCP APIs. I would recommend that unless you need some very special features you use the simple mode.
In complex mode you have to resolve this yourself. You can use the ResolveLiveReferences method of the CharacterSheetApi to do that (you need to pass a SkillTreeApi object to that method)
|

Dakmarid Darksun
Perkone
|
Posted - 2008.04.08 15:52:00 -
[64]
Ah ok. I was using the simple mode but swapped for the complex to be able to error handle a bit better.
I suppose this is why documentation is a good thing 
I will definitely use your suggestion.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.04.12 12:20:00 -
[65]
Originally by: Dakmarid Darksun Edited by: Dakmarid Darksun on 08/04/2008 15:59:42 Ah ok. I was using the simple mode but swapped for the complex to be able to error handle a bit better.
I suppose this is why documentation is a good thing 
If I should have some spare time I will try to write some docs. Especially the "complex mode" is surely completely non-self-explanatory ;) However till I wrote the library I didn't have any time to ;)
Originally by: Dakmarid Darksun
EDIT: ResolveLiveReferences(EveApiBase[] resolveAPIs) how is this used?
You have to pass a "new EveApiBase[] {skillTree}" Array that contains a single (already updated) SkillTreeAPI object. You could also do that in your own code. Its just a few lines in that case.
|

Takashi Kurosawa
Fallen Nova Giant Space Amoeba
|
Posted - 2008.04.15 18:17:00 -
[66]
Originally by: Amida Ta
You can configure the cache directory to your linkings. Default is the application settings directory (Also see the link to eve-dev a few posts up). The cache files are very similar to the original files that the server sends except query information gets coded in and some additional fields are added (like Timezone offsets and stuff).
How do I change the cache directory?
I'm currently using simple mode, but I have a feeling that complex mode is required to change it from the default? Could you give a quick example of how to use complex mode? I'm just looking to get a list of characters on an account and their charactersheets. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.04.17 22:04:00 -
[67]
Here is an example:
CharacterSheetApi charAPI = new CharacterSheetApi(); charAPI.Configuration.BaseDirectory = "c:\someDirectory\"; charAPI.UpdateData(); CharacterSheet charUpdate = charAPI.Data;
|

Aelena Thraant
Shadows of the Dead R0ADKILL
|
Posted - 2008.05.08 19:11:00 -
[68]
I'm trying to fix an issue with Corpulent not working with the pos api anymore after something with the newer patch. The developer has stopped developing it so I don't know a lot of what is going on with his code, but I found that the part that fails is the call to your library.
EveApi sbaseApi = new EveApi(numericId, apiKey, charId); sbaseApi.Authentication.StarbaseID = entry.ItemID; EveAI.Live.Corporation.Starbase apiStarbase = sbaseApi.GetCorporationStarbaseDetail();
the error I get is {"Object reference not set to an instance of an object."}System.Exception {System.NullReferenceException}
Using your sample tool I also get the same error. doing the starbase deatail section. Since I can't find your source code, I have no way to debug it to see what is going on. This is with with the 0.9.6 version. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.05.09 11:34:00 -
[69]
Cannot really test this as my corp has no starbases :( I assume you do have sufficient rights to get the starbase details...
|

Aelena Thraant
Shadows of the Dead R0ADKILL
|
Posted - 2008.05.09 12:14:00 -
[70]
Originally by: Amida Ta Cannot really test this as my corp has no starbases :( I assume you do have sufficient rights to get the starbase details...
Yes... I have director
I'm willing to test it if you want to make a special debug version for me to run or something. |
|

Elly Gartner
Caldari Stellar Research Incorporated DEFI4NT
|
Posted - 2008.05.18 12:43:00 -
[71]
Browsing through the web a bit, I found the following bug that might be the cause of the bug inside the EveAI library: Corresponding libeveapi bug. Fixing this would be very much appreciated, as I'd really like to be able to use corpulent. :)
|

Lovarthis
|
Posted - 2008.05.20 21:12:00 -
[72]
Nicely done. The convenience of having the static data packaged into the API and having everything structured into components is just what I wanted to see. Thanks very much for doing this work.
Something that I could really use is the incorporation of all identifiers into the instances that they identify. For example, I'm trying to lookup prices in eve-central using product type identifiers. If I have an EveAI.Product.ProductType I have lots of wonderful information - except for the original type identifier.
Thanks again for the good work.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.05.26 07:41:00 -
[73]
Edited by: Amida Ta on 26/05/2008 07:43:17
Originally by: Elly Gartner Browsing through the web a bit, I found the following bug that might be the cause of the bug inside the EveAI library: Corresponding libeveapi bug. Fixing this would be very much appreciated, as I'd really like to be able to use corpulent. :)
The problem in EveAI is likely the same. Just try: EveAI.Live 0.9.9 Preview Didn't test, but this may fix the problem.
|

Serrano Balthar
Black Nova Corp Band of Brothers
|
Posted - 2008.05.27 10:25:00 -
[74]
i'm really intrested in you'r api, but i start in c# and have somes trouble ot make it work fine, could you provide a source for a sample, or for the test executable ???
thanks. ----------- Igvar Thorn arn ! |

Aelena Thraant
Shadows of the Dead R0ADKILL
|
Posted - 2008.05.29 15:57:00 -
[75]
Originally by: Amida Ta Edited by: Amida Ta on 26/05/2008 07:43:17
Originally by: Elly Gartner Browsing through the web a bit, I found the following bug that might be the cause of the bug inside the EveAI library: Corresponding libeveapi bug. Fixing this would be very much appreciated, as I'd really like to be able to use corpulent. :)
The problem in EveAI is likely the same. Just try: EveAI.Live 0.9.9 Preview Didn't test, but this may fix the problem.
It does... Thanks |

Callis Iqnatius
AlfaCorp
|
Posted - 2008.05.29 20:46:00 -
[76]
without sounding like a noob.......
how do i put
List<Alliance> alliances = api.GetAllianceData();
into a 'Tree View' thing???
i guess not sounding like a noob is out :P ...............................................................................................................................
|

Callis Iqnatius
AlfaCorp
|
Posted - 2008.05.29 21:46:00 -
[77]
ok i have worked out how to get the list into a list box. (well at least it compiles :P)
but when i type in my API details i get
Unable to cast object of type 'System.Windows.Forms..TextBox' to type System.IConvertible)
the code for the login bit is
UserID = Convert.ToInt32(UserIDTB); CharacterID = Convert.ToInt32(CharacterIDTB); ApiKey = Convert.ToString(APIkeyTB);
EveApi api = new EveApi(UserID, ApiKey, CharacterID);
List<Alliance> alliances = api.GetAllianceData(); foreach (Alliance a in alliances) { lstAlliance.Items.Add(a.Name); }
any ideas???
...............................................................................................................................
|

Tiberius Xavier
Eternity INC. Project Alice.
|
Posted - 2008.05.29 21:55:00 -
[78]
Originally by: Callis Iqnatius ok i have worked out how to get the list into a list box. (well at least it compiles :P)
but when i type in my API details i get
Unable to cast object of type 'System.Windows.Forms..TextBox' to type System.IConvertible)
the code for the login bit is
UserID = Convert.ToInt32(UserIDTB); CharacterID = Convert.ToInt32(CharacterIDTB); ApiKey = Convert.ToString(APIkeyTB);
EveApi api = new EveApi(UserID, ApiKey, CharacterID);
List<Alliance> alliances = api.GetAllianceData(); foreach (Alliance a in alliances) { lstAlliance.Items.Add(a.Name); }
any ideas???
You need to extract from the control. Add .Text to all your sources. UserID = Convert.ToInt32(UserIDTB.Text); CharacterID = Convert.ToInt32(CharacterIDTB.Text); ApiKey = Convert.ToString(APIkeyTB.Text);
Side question, is this API OpenSource?
|

Callis Iqnatius
AlfaCorp
|
Posted - 2008.05.29 22:39:00 -
[79]
Originally by: Tiberius Xavier
Originally by: Callis Iqnatius ok i have worked out how to get the list into a list box. (well at least it compiles :P)
but when i type in my API details i get
Unable to cast object of type 'System.Windows.Forms..TextBox' to type System.IConvertible)
the code for the login bit is
UserID = Convert.ToInt32(UserIDTB); CharacterID = Convert.ToInt32(CharacterIDTB); ApiKey = Convert.ToString(APIkeyTB);
EveApi api = new EveApi(UserID, ApiKey, CharacterID);
List<Alliance> alliances = api.GetAllianceData(); foreach (Alliance a in alliances) { lstAlliance.Items.Add(a.Name); }
any ideas???
You need to extract from the control. Add .Text to all your sources. UserID = Convert.ToInt32(UserIDTB.Text); CharacterID = Convert.ToInt32(CharacterIDTB.Text); ApiKey = Convert.ToString(APIkeyTB.Text);
Side question, is this API OpenSource?
ahh thx dude that fixed the problem!!
and as far as what i am writing is concerned yer i will be shearing my project and code (not that it will be any gd) not shore about the API tho :P ...............................................................................................................................
|

Callis Iqnatius
AlfaCorp
|
Posted - 2008.05.29 23:39:00 -
[80]
ok sorry to be a pain hear ppl.. but this seems to be the only place to find the answers i need:P
is there an easy way to find out the 'List<Alliance>' bit in
List<Alliance> alliances = api.GetAllianceData();
for other API calls??? such as
api.GetCorporationStarbaseList()
i know im a lil over my head hear:P was just wondering if u guys could point me in the direction of the rubber rings ;P |
|

Callis Iqnatius
AlfaCorp
|
Posted - 2008.05.30 00:00:00 -
[81]
ok think im getting there....
List<EveAI.Live.Corporation.Starbase> starbaseList = api.GetCorporationStarbaseList();
works up till the 'api.GetCorporationStarbaseList()' this was copied from the wiki so i know its correct.... any one know what i have done wrong?? ...............................................................................................................................
|

Tiberius Xavier
Eternity INC. Project Alice.
|
Posted - 2008.05.30 01:14:00 -
[82]
Originally by: Callis Iqnatius
and as far as what i am writing is concerned yer i will be shearing my project and code (not that it will be any gd) not shore about the API tho :P
LOL. Let me rephrase my question. I'm not familiar with this API. I use libeveapi which I had to manually patch to work for my apps, and I was wondering if this particular API is open source. If it is open source, I may consider porting a current app over.
Originally by: Callis Iqnatius ok think im getting there....
List<EveAI.Live.Corporation.Starbase> starbaseList = api.GetCorporationStarbaseList();
works up till the 'api.GetCorporationStarbaseList()' this was copied from the wiki so i know its correct.... any one know what i have done wrong??
Again, I am not familiar with this API. Moreover, you are not being very descriptive the issue. How does it not work?
One possiblity is how did you construct the api object? It seems this library wants the userId, ApiKey and characterId up front in the constructor (which is deficient for what I need) The particular call you are making requires a full director key to acquire any data (for security reasons obviously).
|

Callis Iqnatius
AlfaCorp
|
Posted - 2008.05.30 13:05:00 -
[83]
from what i can tell.... when i use the line
EveApi api = new EveApi(UserID, ApiKey, CharacterID);
it grabs the data and Caches it.
then all i need to do is call the data i want.... which thinking about it doesn't make all that much sense but there you go :P
it worked with the alliance call
List<Alliance> alliances = api.GetAllianceData(); but that was copped directly from then wiki Linkage
the error i get the the line
List<EveAI.Live.Corporation.Starbase> starbaseList = api.GetCorporationStarbaseDetail();
is
C:\Documents and Settings\creature\My Documents\Visual Studio 2005\EVE Projects\EVEPOS V2.0\EVEPOS V2.0\Form1.cs(33,66): error CS0029: Cannot implicitly convert type 'EveAI.Live.Corporation.Starbase' to 'System.Collections.Generic.List<EveAI.Live.Corporation.Starbase>'
dose that make any sense?
...............................................................................................................................
|

Tiberius Xavier
Eternity INC. Project Alice.
|
Posted - 2008.05.30 13:43:00 -
[84]
Originally by: Callis Iqnatius from what i can tell.... when i use the line
EveApi api = new EveApi(UserID, ApiKey, CharacterID);
it grabs the data and Caches it.
then all i need to do is call the data i want.... which thinking about it doesn't make all that much sense but there you go :P
it worked with the alliance call
List<Alliance> alliances = api.GetAllianceData(); but that was copped directly from then wiki Linkage
the error i get the the line
List<EveAI.Live.Corporation.Starbase> starbaseList = api.GetCorporationStarbaseDetail();
is
C:\Documents and Settings\creature\My Documents\Visual Studio 2005\EVE Projects\EVEPOS V2.0\EVEPOS V2.0\Form1.cs(33,66): error CS0029: Cannot implicitly convert type 'EveAI.Live.Corporation.Starbase' to 'System.Collections.Generic.List<EveAI.Live.Corporation.Starbase>'
dose that make any sense?
Check what the return type from api.GetCorporationStarbaseDetail() because the error suggests that it does not return a List of Starbase. |

Callis Iqnatius
AlfaCorp
|
Posted - 2008.05.30 15:00:00 -
[85]
Originally by: Tiberius Xavier
Originally by: Callis Iqnatius from what i can tell.... when i use the line
EveApi api = new EveApi(UserID, ApiKey, CharacterID);
it grabs the data and Caches it.
then all i need to do is call the data i want.... which thinking about it doesn't make all that much sense but there you go :P
it worked with the alliance call
List<Alliance> alliances = api.GetAllianceData(); but that was copped directly from then wiki Linkage
the error i get the the line
List<EveAI.Live.Corporation.Starbase> starbaseList = api.GetCorporationStarbaseDetail();
is
C:\Documents and Settings\creature\My Documents\Visual Studio 2005\EVE Projects\EVEPOS V2.0\EVEPOS V2.0\Form1.cs(33,66): error CS0029: Cannot implicitly convert type 'EveAI.Live.Corporation.Starbase' to 'System.Collections.Generic.List<EveAI.Live.Corporation.Starbase>'
dose that make any sense?
Check what the return type from api.GetCorporationStarbaseDetail() because the error suggests that it does not return a List of Starbase.
would love to as sooon as i work out how..... ...............................................................................................................................
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.05.31 10:22:00 -
[86]
Originally by: Callis Iqnatius
Originally by: Tiberius Xavier
Originally by: Callis Iqnatius from what i can tell.... when i use the line
EveApi api = new EveApi(UserID, ApiKey, CharacterID);
it grabs the data and Caches it.
then all i need to do is call the data i want.... which thinking about it doesn't make all that much sense but there you go :P
it worked with the alliance call
List<Alliance> alliances = api.GetAllianceData(); but that was copped directly from then wiki Linkage
the error i get the the line
List<EveAI.Live.Corporation.Starbase> starbaseList = api.GetCorporationStarbaseDetail();
is
C:\Documents and Settings\creature\My Documents\Visual Studio 2005\EVE Projects\EVEPOS V2.0\EVEPOS V2.0\Form1.cs(33,66): error CS0029: Cannot implicitly convert type 'EveAI.Live.Corporation.Starbase' to 'System.Collections.Generic.List<EveAI.Live.Corporation.Starbase>'
dose that make any sense?
Check what the return type from api.GetCorporationStarbaseDetail() because the error suggests that it does not return a List of Starbase.
would love to as sooon as i work out how.....
What tool/application do you use for development? Usually your tool should tell you what the return type of a method call is. In the case of GetCorporationStarbaseDetail() it will return a Starbase object (No list of Starbase Objects, just one single object). Just saw you seem to be using VS 2005? Then just hover with the mouse over the method name and it will tell you the return type. As an alternative you can use the class browser.
|

Xaroth Brook
BIG
|
Posted - 2008.05.31 10:24:00 -
[87]
Quote:
the error i get the the line
List<EveAI.Live.Corporation.Starbase> starbaseList = api.GetCorporationStarbaseDetail();
is
C:\Documents and Settings\creature\My Documents\Visual Studio 2005\EVE Projects\EVEPOS V2.0\EVEPOS V2.0\Form1.cs(33,66): error CS0029: Cannot implicitly convert type 'EveAI.Live.Corporation.Starbase' to 'System.Collections.Generic.List<EveAI.Live.Corporation.Starbase>'
dose that make any sense?
object o = api.GetCorporationStarbaseDetail();
Type t = o.GetType();
t then contains the type of what's returned, you can use a Console.WriteLine or MessageBox.Show to display the type of what got returned. (or insert a breakpoint at the o.GetType() line.)
It was like a baby, it landed on my lap and was helpless and totally defenseless. Then I shot it and bragged about it on a killboard.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.05.31 10:29:00 -
[88]
Originally by: Tiberius Xavier
Originally by: Callis Iqnatius
and as far as what i am writing is concerned yer i will be shearing my project and code (not that it will be any gd) not shore about the API tho :P
LOL. Let me rephrase my question. I'm not familiar with this API. I use libeveapi which I had to manually patch to work for my apps, and I was wondering if this particular API is open source. If it is open source, I may consider porting a current app over.
No, it is not open source. However feel free to look at the source using reflector or a similar tool.
Originally by: Tiberius Xavier
Originally by: Callis Iqnatius ok think im getting there....
List<EveAI.Live.Corporation.Starbase> starbaseList = api.GetCorporationStarbaseList();
works up till the 'api.GetCorporationStarbaseList()' this was copied from the wiki so i know its correct.... any one know what i have done wrong??
Again, I am not familiar with this API. Moreover, you are not being very descriptive the issue. How does it not work?
One possiblity is how did you construct the api object? It seems this library wants the userId, ApiKey and characterId up front in the constructor (which is deficient for what I need) The particular call you are making requires a full director key to acquire any data (for security reasons obviously).
There are two modes in EveAI. Simple and complex mode. Complex is harder to understand (as I didn't have time to write any doc yet). Simple is geared towards making multiple calls with same credentials. However you can change the credentials at runtime and you could also simply construct multiple api objects.
|

Tiberius Xavier
Eternity INC. Project Alice.
|
Posted - 2008.05.31 21:33:00 -
[89]
Originally by: Amida Ta
No, it is not open source. However feel free to look at the source using reflector or a similar tool.
There are two modes in EveAI. Simple and complex mode. Complex is harder to understand (as I didn't have time to write any doc yet). Simple is geared towards making multiple calls with same credentials. However you can change the credentials at runtime and you could also simply construct multiple api objects.
Thanks for the feedback Amida Ta.
Well I need a little more transparency for the apps I write. Although your library seems robust and well maintained, I think I will be more confortable with another direction. I just hate having to reduplicate effort but that seems like the only way I can be certain of controlling the entire developement.
|

Elly Gartner
Stellar Research Incorporated DEFI4NT
|
Posted - 2008.06.01 08:25:00 -
[90]
Originally by: Amida Ta Edited by: Amida Ta on 26/05/2008 07:43:17
Originally by: Elly Gartner Browsing through the web a bit, I found the following bug that might be the cause of the bug inside the EveAI library: Corresponding libeveapi bug. Fixing this would be very much appreciated, as I'd really like to be able to use corpulent. :)
The problem in EveAI is likely the same. Just try: EveAI.Live 0.9.9 Preview Didn't test, but this may fix the problem.
Yup, that fixes it :)
Thanks!
Elly Gartner
|
|

Lovarthis
|
Posted - 2008.06.02 21:18:00 -
[91]
Originally by: Amida Ta No, it is not open source. However feel free to look at the source using reflector or a similar tool.
I don't understand the licensing of the libraries. Courtesy of Reflector, I have a private copy of the library sources and I've made additions and modifications that I need for my application (as I requested earlier in this thread). I'd like to share my application with others, but don't want to violate your rights as original author.
Are you permitting such modifications under any circumstances? Do you ever plan to go open source? Do you ever plan to simply release the rights to the sources so others can run with this?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.06.03 06:34:00 -
[92]
Originally by: Lovarthis
Originally by: Amida Ta No, it is not open source. However feel free to look at the source using reflector or a similar tool.
I don't understand the licensing of the libraries. Courtesy of Reflector, I have a private copy of the library sources and I've made additions and modifications that I need for my application (as I requested earlier in this thread). I'd like to share my application with others, but don't want to violate your rights as original author.
Are you permitting such modifications under any circumstances? Do you ever plan to go open source? Do you ever plan to simply release the rights to the sources so others can run with this?
I'm not happy with adding Id's to the objects directly. The idea behind the core is to get a real Object-oriented system and not just an object-encapsulated datatable/database. On the other hand I can understand your requirement. I hacked something up that you may try: EveAI.Live 0.9.10 Preview In that version DataCore has a method public int GetIdForObject (object eveAiObject) that will return the id-value for (nearly) any object that is part of DataCore. It's likely not really performant. But I assume you don't need that to do a few lookups on the web.
And I might Open Source it at some point in time. But it is not currently planned (will do it in case I should abandon the project).
|

Lovarthis
|
Posted - 2008.06.03 12:45:00 -
[93]
I appreciate the quick reply and the temporarily hacked (?) library, but "strange women lying in ponds distributing swords is no basis for a system of government". It looks like I get to reinvent this particular wheel. Which is a terrible shame. The libraries are a fine bit of work, but don't make the mistake that I did years ago of holding your creation so close to the vest that you smother its usefulness. Get it out there. Let others add to its usefulness. Let it become a community resource.
The value of having IDs in the data is that the IDs are a fundamental notion in the EVE data. Integration with any other EVE data source must be through either their static IDs or through some other invented identifier notion. If I were only using the data that you are making available, I'd be golden. However, I'm integrating with eve-central.com, which requires IDs. Any other source that I integrate with (e.g. CCP's data service directly when they add functions that you do not support) would produce the same requirement.
One means of including the IDs would be to override GetHashCode on all classes that have identifiers. I believe that's a valid use of that standard function.
(FYI, I'll be away from the web for the next two days)
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.06.03 17:39:00 -
[94]
Originally by: Lovarthis I appreciate the quick reply and the temporarily hacked (?) library, but "strange women lying in ponds distributing swords is no basis for a system of government". It looks like I get to reinvent this particular wheel. Which is a terrible shame. The libraries are a fine bit of work, but don't make the mistake that I did years ago of holding your creation so close to the vest that you smother its usefulness. Get it out there. Let others add to its usefulness. Let it become a community resource.
I'm fine with adding the functionallity as it is now. If it is useful this is by no means "temporary". (Hack is a term commonly used amongst programmers for a quickly coded solution).
Originally by: Lovarthis
The value of having IDs in the data is that the IDs are a fundamental notion in the EVE data. Integration with any other EVE data source must be through either their static IDs or through some other invented identifier notion. If I were only using the data that you are making available, I'd be golden. However, I'm integrating with eve-central.com, which requires IDs. Any other source that I integrate with (e.g. CCP's data service directly when they add functions that you do not support) would produce the same requirement.
As I said I can understand your requirement. However in the library the ID is not stored within the objects for good reasons (you can completely freely change the data using normal object-oriented methods). Imho the current solution to call a method to return the ID in case you really need it seems totally acceptable. And as long as you don't plan to use that method several thousand times per second you shouldn't get a problem with speed either. (The library is generally tuned towards perf, but this one will not be)
Originally by: Lovarthis
One means of including the IDs would be to override GetHashCode on all classes that have identifiers. I believe that's a valid use of that standard function. (FYI, I'll be away from the web for the next two days)
That may be possible, however I don't really like it. The problem is that you would have to assign dummy IDs for user/application-created objects. Right now the method I wrote will return -1 if you call it for an object that is not part of EVEs static data pool. However for GetHashCode you obviously shouldn't return -1 for different objects.
|

Baline Aegis
Tau Ceti Federation
|
Posted - 2008.06.08 19:50:00 -
[95]
http://wiki.eve-id.net/EveAI What is "common use" license, please ?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.06.09 21:14:00 -
[96]
Originally by: Baline Aegis http://wiki.eve-id.net/EveAI What is "common use" license, please ?
Feel free to use it for your project, but currently the source is not available.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.06.09 21:18:00 -
[97]
By the way. Two "simple" diagrams for EveAI Live (EveAI Core is missing, because then the diagrams would be REALLY large ;)
Simple mode:
Full mode:
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.06.27 07:42:00 -
[98]
Version 0.9.11 has been released. It adds support for retrieving Market data from Eve Central. http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_0.9.11.zip
Usage is very simple. E.g.:
using EveAI.Live.Market MarketApi marketApi = new EveCentralMarketApi (); ProductStatistics p = marketApi.GetProductStatistics (product); Console.WriteLine (p.Product " + ": " + p.BuyOrders.Median);
The sample application als has a tab added that demonstrates this. There is also an GetProductStatistics overload that takes more parameters (region, multiple products, multiple regions, minimum Quantity)
|

Nerith Gorn
|
Posted - 2008.06.27 13:04:00 -
[99]
var sheets = new List<CharacterSheet>();
var api = new EveApi(characters.UserID, characters.ApiKey, characters.CharID);
sheets.Add(api.GetCharacterSheet());
Above snippet results in an exception
System.NullReferenceException was unhandled by user code Message="Object reference not set to an instance of an object." Source="EveAI.Live" StackTrace: at EveAI.Live.Character.CharacterSheetApi.ResolveLiveReferences(EveApiBase[] resolveApis) at EveAI.Live.EveApi.UpdateEveApi(EveApiBase api, EveApiBase resolveApi, Boolean resolve) at EveAI.Live.EveApi.UpdateEveApi(EveApiBase api, EveApiBase resolveApi) at EveAI.Live.EveApi.GetCharacterSheet() at Dashboard.Data.EveAPI.EveInfo.GetCharacterSheets() in C:\Users\Graeme\Documents\Visual Studio 2008\Projects\EveBusinessDashboard\Dashboard.Data\EveAPI\EveInfo.cs:line 20 at Dashboard.UI.Preferences.ListView_Initialized(Object sender, EventArgs e) in C:\Users\Graeme\Documents\Visual Studio 2008\Projects\EveBusinessDashboard\Dashboard.UI\Preferences.xaml.cs:line 36 at System.Windows.FrameworkElement.RaiseInitialized(EventPrivateKey key, EventArgs e) at System.Windows.FrameworkElement.OnInitialized(EventArgs e) at System.Windows.FrameworkElement.TryFireInitialized() at System.Windows.FrameworkElement.EndInit() at System.Windows.Controls.ItemsControl.EndInit() at System.Windows.Markup.BamlRecordReader.ElementEndInit(Object& element) InnerException:
Question: Is there a way of setting the base url to point to another webservice rather than the CCP server for testing purposes?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.06.27 13:34:00 -
[100]
Originally by: Nerith Gorn Edited by: Nerith Gorn on 27/06/2008 13:20:21
var sheets = new List<CharacterSheet>();
var api = new EveApi(characters.UserID, characters.ApiKey, characters.CharID);
sheets.Add(api.GetCharacterSheet());
Above snippet results in an exception
System.NullReferenceException was unhandled by user code Message="Object reference not set to an instance of an object." Source="EveAI.Live" StackTrace: at EveAI.Live.Character.CharacterSheetApi.ResolveLiveReferences(EveApiBase[] resolveApis) at EveAI.Live.EveApi.UpdateEveApi(EveApiBase api, EveApiBase resolveApi, Boolean resolve) at EveAI.Live.EveApi.UpdateEveApi(EveApiBase api, EveApiBase resolveApi) at EveAI.Live.EveApi.GetCharacterSheet() at Dashboard.Data.EveAPI.EveInfo.GetCharacterSheets() in <long path>\EveInfo.cs:line 20 at Dashboard.UI.Preferences.ListView_Initialized(Object sender, EventArgs e) in <long path>\Preferences.xaml.cs:line 36 at System.Windows.FrameworkElement.RaiseInitialized(EventPrivateKey key, EventArgs e) at System.Windows.FrameworkElement.OnInitialized(EventArgs e) at System.Windows.FrameworkElement.TryFireInitialized() at System.Windows.FrameworkElement.EndInit() at System.Windows.Controls.ItemsControl.EndInit() at System.Windows.Markup.BamlRecordReader.ElementEndInit(Object& element) InnerException:
Question: Is there a way of setting the base url to point to another webservice rather than the CCP server for testing purposes?
My assumption is that you pass null for characters.ApiKey instead of the ApiKey.
You can set the url with the static: EveApiBase.Configuration.BaseAddress however this is not recommended ;)
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.06.30 20:48:00 -
[101]
Version 0.9.12 has been released. It adds support for most of the factional warfare APIs.
http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_0.9.12.zip
Unfortunatelly as I do not take part in factional warfare I cannot get the data for the char based char/FacWarStats.xml.aspx and corp based corp/FacWarStats.xml.aspx. Would be nice if somebody could supply a sample.
The demo application has been updated, too.
Please note: The occupacy map currently fails with an exception because there is a stupidity in the API that will hopefully get fixed (on the servers) very soon. If not I will add a workaround for it...
|

Nerith Gorn
Salamander Salvage and Custom Rigging
|
Posted - 2008.07.02 11:52:00 -
[102]
Edited by: Nerith Gorn on 02/07/2008 12:02:51 You may want to do a rebuild of EveAI.Core.dll
The Eve.Data.Core.zip file in your project is missing the following files dbo_eveGraphics.csv dbo_eveNames.csv dbo_agtAgents.csv dbo_mapDenormalize.csv
There is a logic error in your DataReader.Read() method, this.ReadNpcCorporations(); is reliant on this.ReadNames() being called first but the the only call to this.ReadNames() is optional.
|

blubber dubba
|
Posted - 2008.07.02 15:55:00 -
[103]
hi,
great API, but I'm to stupid to use it?
EveApi api = new EveApi();
returns in: "{"Specified argument was out of the range of valid values.\r\nParameter name: apiKey"}"
EveApi api = new EveApi (UserID, ApiKey, CharacterID); Maybe work.. but I don't have the Character Id.. how do i get it work? I would like read out my balance from Character X.
Thanks a lot for help
about licensing:  http://www.gskinner.com/blog/archives/2008/07/source_code_lic_1.html
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.07.02 16:23:00 -
[104]
Originally by: Nerith Gorn Edited by: Nerith Gorn on 02/07/2008 13:06:20 Edited by: Nerith Gorn on 02/07/2008 12:02:51 You may want to do a rebuild of EveAI.Core.dll
The Eve.Data.Core.zip file in your project is missing the following files dbo_eveGraphics.csv dbo_eveNames.csv dbo_agtAgents.csv dbo_mapDenormalize.csv
The file dbo_invTypes.csv uses "#TRUE#" and "#FALSE#" for the published column but your method ReadBool uses a case sensitive comparison to "true" to set the Published property.
There is a logic error in your DataReader.Read() method, this.ReadNpcCorporations(); is reliant on this.ReadNames() being called first but the the only call to this.ReadNames() is optional.
I'd also like to add my voice to please open source this and give it a proper licence.
1) It is by design that Eve.Data.Core.zip is missing some tables. This is to reduce the size of the assemblies. The data mentioned is not needed for most cases. In case you need it you can get the data from http://wiki.eve-id.net/EveAI (or see the first post in this thread). It is sufficient to copy the EveAI.Data.zip into the Application Directory. Then the data will be automatically used.
2) dbo_invTypes.csv uses "#TRUE#". Thanks for spotting this error. Seems to have happened with the last data update. I'll correct this for the next version.
3) There is a logic error in your DataReader.Read() method. This is by design, too. You can opt to not load the string table (if you want to save memory and don't need it). By default the names will be read if available.
4) Have been thinking about open sourcing it, we'll see.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.07.02 16:38:00 -
[105]
First one is a bug that I introduced with last version :( Added some parameter checks, but seems to be one too much ;)
For reading your balance you need your characterID. You can get your characterID e.g. from the AccountEntries API. For using this you can just pass 0 for your characterID (maybe I should add another overload without characterID ;)
Originally by: blubber dubba hi,
great API, but I'm to stupid to use it?
EveApi api = new EveApi();
returns in: "{"Specified argument was out of the range of valid values.\r\nParameter name: apiKey"}"
EveApi api = new EveApi (UserID, ApiKey, CharacterID); Maybe work.. but I don't have the Character Id.. how do i get it work? I would like read out my balance from Character X.
Thanks a lot for help
about licensing:  http://www.gskinner.com/blog/archives/2008/07/source_code_lic_1.html
|

blubber dubba
|
Posted - 2008.07.02 16:46:00 -
[106]
Okay thx :)
Originally by: Amida Ta First one is a bug that I introduced with last version :( Added some parameter checks, but seems to be one too much ;)
For reading your balance you need your characterID. You can get your characterID e.g. from the AccountEntries API. For using this you can just pass 0 for your characterID (maybe I should add another overload without characterID ;)
Originally by: blubber dubba hi,
great API, but I'm to stupid to use it?
EveApi api = new EveApi();
returns in: "{"Specified argument was out of the range of valid values.\r\nParameter name: apiKey"}"
EveApi api = new EveApi (UserID, ApiKey, CharacterID); Maybe work.. but I don't have the Character Id.. how do i get it work? I would like read out my balance from Character X.
Thanks a lot for help
about licensing:  http://www.gskinner.com/blog/archives/2008/07/source_code_lic_1.html
|

Nerith Gorn
Salamander Salvage and Custom Rigging
|
Posted - 2008.07.03 08:31:00 -
[107]
Originally by: Amida Ta
1) It is by design that Eve.Data.Core.zip is missing some tables. This is to reduce the size of the assemblies. The data mentioned is not needed for most cases. In case you need it you can get the data from http://wiki.eve-id.net/EveAI (or see the first post in this thread). It is sufficient to copy the EveAI.Data.zip into the Application Directory. Then the data will be automatically used.
Then can you add in a custom exception because getting a NullObjectException when you do new DataCore(); required me to disassemble the code to find out what was wrong.
|

Alfred Spangler
First Caldari Regiment
|
Posted - 2008.07.03 12:03:00 -
[108]
Can someone please upload the latest release to egoshare.com or some other host, eve files is not working for me atm.
Thank you, A.S.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.07.04 08:50:00 -
[109]
Originally by: Nerith Gorn
Originally by: Amida Ta
1) It is by design that Eve.Data.Core.zip is missing some tables. This is to reduce the size of the assemblies. The data mentioned is not needed for most cases. In case you need it you can get the data from http://wiki.eve-id.net/EveAI (or see the first post in this thread). It is sufficient to copy the EveAI.Data.zip into the Application Directory. Then the data will be automatically used.
Then can you add in a custom exception because getting a NullObjectException when you do new DataCore(); required me to disassemble the code to find out what was wrong.
Getting an internal exception is not "as designed". Could you tell me what you did to get it (or give me a stacktrace)? It just shouldn't fill fields where data isn't available (set to null) but shouldn't raise any exception.
|

Alfred Spangler
First Caldari Regiment
|
Posted - 2008.07.06 00:47:00 -
[110]
Thank you very much for your great library Amida,it works great so far. 
The Question: Is there a way to get a ProductType by its TypeID , for use with the evecentral api?
EveAI.DataCore.FindProductType always returns null to me.
I want to do something like this:
ProductType product ; DataCore dataCore = new DataCore(); product = dataCore.FindProductType(4027);
product is null after that. (4027 being the ID of a Fleeting Propulsion Inhibitor I, just as an example)
Thanks for reading 
|
|

Arous Drephius
Alpha Research Group
|
Posted - 2008.07.06 10:21:00 -
[111]
Edited by: Arous Drephius on 06/07/2008 10:21:36 Is it just me being stupid, but I can't seem to get the test application to run. On Vista I get the standard (and completely useless) "Program stopped working" dialog, and on XP I get the "Program encountered a problem and needs to close...Send/Don't send" dialog. This happens as soon as I launch the app.
Edit: Yes, I have the .NET framework installed. Other .NET apps run fine.
|

Alfred Spangler
First Caldari Regiment
|
Posted - 2008.07.06 11:25:00 -
[112]
Originally by: Arous Drephius Edited by: Arous Drephius on 06/07/2008 10:21:36 Is it just me being stupid, but I can't seem to get the test application to run. On Vista I get the standard (and completely useless) "Program stopped working" dialog, and on XP I get the "Program encountered a problem and needs to close...Send/Don't send" dialog. This happens as soon as I launch the app.
Edit: Yes, I have the .NET framework installed. Other .NET apps run fine.
You are not alone  The Test Application does simply nothing for me on XP SP3, no matter if I run it from explorer or from command line.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.07.06 11:36:00 -
[113]
Originally by: Arous Drephius Edited by: Arous Drephius on 06/07/2008 10:21:36 Is it just me being stupid, but I can't seem to get the test application to run. On Vista I get the standard (and completely useless) "Program stopped working" dialog, and on XP I get the "Program encountered a problem and needs to close...Send/Don't send" dialog. This happens as soon as I launch the app.
Edit: Yes, I have the .NET framework installed. Other .NET apps run fine.
UUps my mistake
Version 0.9.13 fixes the problem.
http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_0.9.13.zip
I'm still looking for samlples for personal and corp warfare stats: Unfortunatelly as I do not take part in factional warfare I cannot get the data for the char based char/FacWarStats.xml.aspx and corp based corp/FacWarStats.xml.aspx. Would be nice if somebody could supply a sample.
|

Alfred Spangler
First Caldari Regiment
|
Posted - 2008.07.06 11:57:00 -
[114]
Originally by: Amida Ta
I'm still looking for samlples for personal and corp warfare stats: Unfortunatelly as I do not take part in factional warfare I cannot get the data for the char based char/FacWarStats.xml.aspx and corp based corp/FacWarStats.xml.aspx. Would be nice if somebody could supply a sample.
If you can give me a pointer how to get the files, I'm happy to provide you with samples.
Regards,A.S.
|

JimBob666
Minmatar Solstice Systems Development Concourse Un-Natural Selection
|
Posted - 2008.07.06 15:03:00 -
[115]
Hiya. First of all, thanx for the EveAI, im finding it very useful :)
Anyway, im trying to get the "GetCorporationStarbaseDetail()" method to work with no luck so far.
Is this part still under development, or am I just being a noob :P
If it does work, can someone please throw in some example code of how you would find out the fuel levels of a particular POS.
Thanx in advance. JIM ------------------------
I need a new sig :( |

Arous Drephius
Alpha Research Group
|
Posted - 2008.07.06 18:06:00 -
[116]
Edited by: Arous Drephius on 06/07/2008 18:07:31 char/FacWarStats.xml.aspx corp/FacWarStats.xml.aspx
Enjoy :)
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.07.06 21:04:00 -
[117]
Version 0.9.14 adds experimental support for the character and corporation faction statistics. You/your corp needs to be enlisted for factions wars to get any data. As I'm not I could not do any tests. So just hoping this works ;)
http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_0.9.14.zip
|

Arous Drephius
Alpha Research Group
|
Posted - 2008.07.07 07:37:00 -
[118]
The test application seems to work fine displaying the faction stats for me.
|

JimBob666
Minmatar Solstice Systems Development Concourse Un-Natural Selection
|
Posted - 2008.07.18 17:51:00 -
[119]
Originally by: JimBob666 Hiya. First of all, thanx for the EveAI, im finding it very useful :)
Anyway, im trying to get the "GetCorporationStarbaseDetail()" method to work with no luck so far.
Is this part still under development, or am I just being a noob :P
If it does work, can someone please throw in some example code of how you would find out the fuel levels of a particular POS.
Thanx in advance. JIM
BUMP! Still looking to find out if getting information on a particular starbase works or is under construction!!!
JIM ------------------------
I need a new sig :( |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.07.19 09:58:00 -
[120]
Edited by: Amida Ta on 19/07/2008 09:59:29
Originally by: JimBob666
Originally by: JimBob666 Hiya. First of all, thanx for the EveAI, im finding it very useful :)
Anyway, im trying to get the "GetCorporationStarbaseDetail()" method to work with no luck so far.
Is this part still under development, or am I just being a noob :P
If it does work, can someone please throw in some example code of how you would find out the fuel levels of a particular POS.
Thanx in advance. JIM
BUMP! Still looking to find out if getting information on a particular starbase works or is under construction!!!
JIM
Could you tell me where your problem is? I don't use the API myself, but I know that others do, so it should work. You just need to set the StarbaseID of the Authentication property of the EveAi object to the requested starbase and then call the API.
Edit: Does it work in the sample Application for your? There you set the StarbaseID in the Advanced dialog...
|
|

JimBob666
Minmatar Solstice Systems Development Concourse Un-Natural Selection
|
Posted - 2008.07.19 15:43:00 -
[121]
Ahh thank you very much!!!
I understand now. I was thinking that you would need to pass in a starbase id when calling the get method or something like that. Didnt realise it had to be set through the Authentication part.
Will have a play around and see, seems simple enough now tho :)
Thanx again!
JIM ------------------------
I need a new sig :( |

Anne Sapyx
Gallente Insurgent New Eden Tribe Systematic-Chaos
|
Posted - 2008.09.25 14:50:00 -
[122]
How can I use the EveAI.Live.Generic.CharacterNameLookupApi? and EveAI.Live.Generic.CharacterIDLookupApi?
Ty.
Elite, is quite simply, the best game ever made. http://www.iancgbell.clara.net/elite/index.htm |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.09.29 21:32:00 -
[123]
Edited by: Amida Ta on 29/09/2008 21:32:51
Originally by: Anne Sapyx
How can I use the EveAI.Live.Generic.CharacterNameLookupApi? and EveAI.Live.Generic.CharacterIDLookupApi?
Ty.
Haven't tested this, but it should work:
CharacterNameLookupApi namelookup = new CharacterNameLookupApi (); namelookup.CharacterIDsToLookup.Add (1234567); namelookup.CharacterIDsToLookup.Add (2345678); namelookup.UpdateData (); String charName1 = namelookup.FindEntry (1234567); String charName2 = namelookup.FindEntry (2345678);
|

Anne Sapyx
Gallente Insurgent New Eden Tribe Systematic-Chaos
|
Posted - 2008.09.30 10:38:00 -
[124]
Edited by: Anne Sapyx on 30/09/2008 10:39:37 Private Sub BtnLookUp1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnLookUp1.Click If TxtCharID.TextLength <> 0 Then Dim namelookup As CharacterNameLookupApi = New CharacterNameLookupApi()
namelookup.CharacterIDsToLookup.Add(CInt(TxtCharID.Text)) namelookup.UpdateData()
LabCharName.Text = namelookup.FindEntry(TxtCharID.Text) End If
it is Ok for CharacterNameLookupApi --------------------------------
but
Private Sub BtnLookUp2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnLookUp2.Click If TxtCharName.TextLength <> 0 Then Dim idlookup As CharacterIDLookupApi = New CharacterIDLookupApi()
idlookup.CharacterNamesToLookup.Add(TxtCharName.Text) idlookup.UpdateData()
LabCharID.Text = idlookup.FindEntry(TxtCharName.Text) End If End Sub
for CharacterIDLookupApi , returns -1. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.09.30 16:22:00 -
[125]
Edited by: Amida Ta on 30/09/2008 16:21:52 This is a problem with EveAI. Will fix it for the next version.
|

Dangrou
Caldari Holy Grail Constructiion
|
Posted - 2008.10.06 15:51:00 -
[126]
Hi
first off thanks for this - its fantastic (even if i am struggling)
second i have some VERY basic .net skills so i dont know if my lack of knowledfe of .net or EveAI is the problem here
I CAN do this: Dim api3 As New EveApi Dim myskilllist As New List(Of Skill)
myskilllist = api3.GetSkillTree Me.GridView1.DataSource = myskilllist Me.GridView1.DataBind()
This returns a full list of all skills BUT please can somebody explain how i get back a list of a characters learned skills
Thanks
|

Malrock
Caldari Mea Culpa Enigma The Nexus Alliance
|
Posted - 2008.10.12 08:51:00 -
[127]
Hello.
There is a bug in .GetCharacterAccountBalance(0).Balance, it returns 4 292 529.2969 while the amount is much more higher, the xml from api is;
<?xml version="1.0" encoding="UTF-8"?><eveapi version="2"><currentTime>10/11/2008 10:05:15 PM</currentTime><result><rowset name="accounts" key="accountID" columns="accountID,accountKey,balance"><row accountID="xxx" accountKey="1000" balance="429252929.69" /></rowset></result><cachedUntil>10/11/2008 10:20:15 PM</cachedUntil><utcTimeDifference>00:00:00</utcTimeDifference><cacheVersion>0.9.10.0</cacheVersion></eveapi>
Give us a visit. |

Alfred Spangler
Achmed Fleet
|
Posted - 2008.10.19 22:20:00 -
[128]
Hi Amida Ta! I finally got time to play with your great API lib again 
To the point: On rare occasions I get a null reference on the Type from the GetCharacterAssets(), I havent nailed it down to a specific asset yet. [Fake Edit:] I have nailed it down now: It's a freakin' Apotheosis, TypeID 29266. I guess its time we get a new data dump . I don't know if you can work around that. 
And just to be sure: Do you cache queries to Eve Central via the EveCentralMarketApi? Or am I hammering them to death right now?
Regards, A.S.
|

Dangrou
Caldari Holy Grail Constructiion
|
Posted - 2008.10.20 10:22:00 -
[129]
Hi - you obviously know how to use the api and given lack of posts was hoping that you might be able to give me a quick pointer to my question post earlier (3 posts up?)
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.10.21 12:13:00 -
[130]
Originally by: Malrock Hello.
There is a bug in .GetCharacterAccountBalance(0).Balance, it returns 4 292 529.2969 while the amount is much more higher, the xml from api is;
<?xml version="1.0" encoding="UTF-8"?><eveapi version="2"><currentTime>10/11/2008 10:05:15 PM</currentTime><result><rowset name="accounts" key="accountID" columns="accountID,accountKey,balance"><row accountID="xxx" accountKey="1000" balance="429252929.69" /></rowset></result><cachedUntil>10/11/2008 10:20:15 PM</cachedUntil><utcTimeDifference>00:00:00</utcTimeDifference><cacheVersion>0.9.10.0</cacheVersion></eveapi>
Seems like CCP changed this. I will update the API accordingly. Already fixed an will be included in the next version.
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.10.21 12:21:00 -
[131]
Originally by: Alfred Spangler Hi Amida Ta! I finally got time to play with your great API lib again 
To the point: On rare occasions I get a null reference on the Type from the GetCharacterAssets(), I havent nailed it down to a specific asset yet. [Fake Edit:] I have nailed it down now: It's a freakin' Apotheosis, TypeID 29266. I guess its time we get a new data dump . I don't know if you can work around that. 
The problem currently is that the static data in EveAI is very old (Pre-Empyrean Age). And I don't have the time currently to convert the new format into something that I can easily use for EveAI. In fact I have been working on a scheme to read the static data directly from the game which means always up-to-date data. However it's not finished yet. If anybody wants to help I would need the static data dump converted to the sql create format it had before. There it is important that the format has ONE create table and then n inserts, otherwise my import app will not read it correctly.
As an alternative I could also use the old CSV format.
So if anybody wants to help I would be very happy ;)
Originally by: Alfred Spangler
And just to be sure: Do you cache queries to Eve Central via the EveCentralMarketApi? Or am I hammering them to death right now?
Regards, A.S.
As soon as you call GetProductStatistics no more caching occurs. Whenever you call that function a query is made on Eve Central. You can read the result as often as you like, but on the next call of GetProductStatistics a new Call to Eve Central will be made.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.10.21 12:27:00 -
[132]
Originally by: Dangrou Hi
first off thanks for this - its fantastic (even if i am struggling)
second i have some VERY basic .net skills so i dont know if my lack of knowledfe of .net or EveAI is the problem here
I CAN do this: Dim api3 As New EveApi Dim myskilllist As New List(Of Skill)
myskilllist = api3.GetSkillTree Me.GridView1.DataSource = myskilllist Me.GridView1.DataBind()
This returns a full list of all skills BUT please can somebody explain how i get back a list of a characters learned skills
Thanks
The SkillTree is the Entire Skilltree in Eve and has nothing to do with your character.
To get the skills of your character you have to use (have not used VB in some time ;)
Dim api3 As New EveApi(_userid_, _apiKey_, _characterID_) Dim character As CharacterSheet
character = api3.GetCharacterSheet Me.GridView1.DataSource = character.Skills Me.GridView1.DataBind() |

Dangrou
Caldari Holy Grail Constructiion
|
Posted - 2008.10.22 12:52:00 -
[133]
Originally by: Amida Ta
The SkillTree is the Entire Skilltree in Eve and has nothing to do with your character.
To get the skills of your character you have to use (have not used VB in some time ;)
Dim api3 As New EveApi(_userid_, _apiKey_, _characterID_) Dim character As CharacterSheet
character = api3.GetCharacterSheet Me.GridView1.DataSource = character.Skills Me.GridView1.DataBind()
Thank you I realised after using your code that i wasnt laying out my code correctly - was actually getting instance not set to object error and couldnt see where it was going wrong - but given your code i worked back and found my error
thanks again
|

Alfred Spangler
Achmed Fleet
|
Posted - 2008.11.02 02:24:00 -
[134]
Edited by: Alfred Spangler on 02/11/2008 02:24:28 I get some strange behaviour with the EveCentralMarketApi. When I do something like this
EveCentralMarketApi mApi = new EveCentralMarketApi(); mApi.EveApiCore = new EveAI.DataCore(); ProductStatistics productStatistics = mApi.GetProductStatistics(someProductType);
I get a null reference on productStatistics.Product and 0.0 values for all the TradeQuotes. Its the same if I use the DataCore from a new EveApi(), but not when I use the DataCore of a new EveApi(*Api Credentials here*).
Can you enlighten me on that? I need to use the EveCentralMarketApi without an "initialized" EveApi.
Regards, A.S.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.11.03 23:07:00 -
[135]
Originally by: Alfred Spangler Edited by: Alfred Spangler on 02/11/2008 11:28:30 I get some strange behaviour with the EveCentralMarketApi. When I do something like this
EveCentralMarketApi mApi = new EveCentralMarketApi(); mApi.EveApiCore = new EveAI.DataCore(); ProductStatistics productStatistics = mApi.GetProductStatistics(someProductType);
I get a null reference on productStatistics.Product and 0.0 values for all the TradeQuotes. Its the same if I use the DataCore from a new EveApi(), but not when I use the DataCore of a new EveApi(*Api Credentials here*).
Can you enlighten me on that? I need to use the EveCentralMarketApi without an "initialized" EveApi.
[Edit] The problem seems to be related to the EveApiCore.GetIdForObject() function... its doesnt return proper values on a new EveAI.DataCore(), plus it doesnt return proper values when I do something like
ProductType type = someAssetOrOrderFromTheApi.Type; dataCore.GetIdForObject(type);
but it returns proper values if I use someAssetOrOrderFromTheApi.Type as a parameter, which is, as you might have guessed, some asset or market order retrieved by a GetCharacterAssets() or GetCharacterMarketOrders() call.
By default it creates an empty core dataset which is why you get null-ref exceptions. If you like you can initialize it manually from the data that is embedded in the core by calling something like: DataCore core = new DataCore (); DataReader reader = new DataReader (core); reader.Read (DataTypes.BasicMapData | DataTypes.Products);
reader.Read will read the static data from internal datafiles. In that case it will read everything relating to Map and Products.
Originally by: Alfred Spangler
And on a laste note: What exactly do you need from the new data dumps for your import functions? One create table plus inserts per file, one file per table?
Regards, A.S.
I would need exactly that: One file per table containing one create table followed by one insert per data item.
|

Evelyne Drumm
|
Posted - 2008.11.05 18:13:00 -
[136]
Hi can someone give me a quick bit of help with vb 2008. How do i pass the auth data to the dll? and to then send some data to a text box would i text1.text = api.getxxx.
TIA
|

Alfred Spangler
Achmed Fleet
|
Posted - 2008.11.05 21:32:00 -
[137]
Thanks for that your answers Amida, now I get it.
Originally by: Amida Ta
I would need exactly that: One file per table containing one create table followed by one insert per data item.
I will definitly get onto that on the weekend. I desperately want some fresh data 
Originally by: Evelyne Drumm Hi can someone give me a quick bit of help with vb 2008. How do i pass the auth data to the dll? and to then send some data to a text box would i text1.text = api.getxxx.
TIA
First, add the Api .dlls to your project as a reference. You can pass the api credentials to the api on instantiation of the EveApi class, although I'm sure you could even do that later on. My VB is a bit rusty, but it should work like that:
Quote: using EveAi.Live Dim eveApi As EveApi = New EveApi(userID, apiKey, characterID)
Most (all?) Get-methods of the Api give you a reference to some EveAi-specific object, like a character sheet, list of assets, etc. So, to show your corpname in a textbox you can do:
Quote: using EveAi.Live using EveAI.Live.Character Dim eveApi As EveApi = New EveApi(userID, apiKey, characterID) Dim characterSheet = eveApi.GetCharacterSheet() text1.Text = characterSheet.CorporationName
Voilß, your corpname in your textbox. Magic! 
Regards, A.S.
P.S.: Amida, what about a XML comment file? Would make some things make more sense... like... more intellisense  I could do with a german one, I might even do some translation on it... ok I'm probably lying about the translation part 
|

Evelyne Drumm
|
Posted - 2008.11.05 22:59:00 -
[138]
Edited by: Evelyne Drumm on 05/11/2008 23:01:04
Quote: using EveAi.Live Dim eveApi As EveApi = New EveApi(userID, apiKey, characterID)
im getting "Error 'EveAI.Live' is a namespace and cannot be used as an expression" for the first line when i put the code in a button_click sub
|

Xaroth Brook
Minmatar BIG Libertas Fidelitas
|
Posted - 2008.11.06 08:41:00 -
[139]
Originally by: Amida Ta
The problem currently is that the static data in EveAI is very old (Pre-Empyrean Age). And I don't have the time currently to convert the new format into something that I can easily use for EveAI. In fact I have been working on a scheme to read the static data directly from the game which means always up-to-date data. However it's not finished yet.
why not use db4o for storing your data, it might not be a 100% performance thing but it has some really nice features (like client/server built in, for auto-update support), plus you don't have to do any mapping between database/objects since db4o does this all for you.
It was like a baby, it landed on my lap and was helpless and totally defenseless. Then I shot it and bragged about it on a killboard.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.11.06 22:32:00 -
[140]
Originally by: Xaroth Brook
Originally by: Amida Ta
The problem currently is that the static data in EveAI is very old (Pre-Empyrean Age). And I don't have the time currently to convert the new format into something that I can easily use for EveAI. In fact I have been working on a scheme to read the static data directly from the game which means always up-to-date data. However it's not finished yet.
why not use db4o for storing your data, it might not be a 100% performance thing but it has some really nice features (like client/server built in, for auto-update support), plus you don't have to do any mapping between database/objects since db4o does this all for you.
I already thought about that. But plain db4o itself is already as big as the entire EveAI.Live CONTAINING most of the Eve static data. If you then add the database for db4o it becomes bigger than anybody would like a library or even an entire application to be.
|
|

Evelyne Drumm
|
Posted - 2008.11.07 00:06:00 -
[141]
Quote: using EveAi.Live using EveAI.Live.Character Dim eveApi As EveApi = New EveApi(userID, apiKey, characterID) Dim characterSheet = eveApi.GetCharacterSheet() text1.Text = characterSheet.CorporationName
Voilß, your corpname in your textbox. Magic! 
Regards, A.S.
I am now getting an error: Nullrefrenceexception was unhandled, Object reference not set to an instance of an object.
Error occuring on line 4 "dim char......"
Imports EveAI.Live Imports EveAI.Live.Character Dim eveApi As EveApi = New EveApi("myuserid", "myapikey") Dim characterSheet = eveApi.GetCharacterSheet TextBox1.Text = characterSheet.Name
Any ideas? Sorry to be a pain. Tia
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.11.07 09:58:00 -
[142]
Originally by: Evelyne Drumm Edited by: Evelyne Drumm on 07/11/2008 00:18:51
Quote: using EveAi.Live using EveAI.Live.Character Dim eveApi As EveApi = New EveApi(userID, apiKey, characterID) Dim characterSheet = eveApi.GetCharacterSheet() text1.Text = characterSheet.CorporationName
Voilß, your corpname in your textbox. Magic! 
Regards, A.S.
I am now getting an error: Nullrefrenceexception was unhandled, Object reference not set to an instance of an object.
Error occuring on line 4 "dim char......"
Imports EveAI.Live Imports EveAI.Live.Character Dim eveApi As EveApi = New EveApi("myuserid", "myapikey") Dim characterSheet = eveApi.GetCharacterSheet() TextBox1.Text = characterSheet.Name
Any ideas? Sorry to be a pain. Tia
Afaik it should be Dim characterSheet as CharacterSheet = eveApi.GetCharacterSheet() Also you forgot your characterID in the line above. And I hope you replaced those "myapikey" with your real key ;)
|

Evelyne Drumm
|
Posted - 2008.11.07 13:08:00 -
[143]
Many thanks for the help. Im now stuck on getting the wallet transactions :S
i want to import it to a text box for the min, so i wrote:
Dim eveApi As EveApi = New EveApi("userid", "apikey", "charid") text1.text = eveApi.GetCharacterWalletTransactions.ToString
But its not working, Any more ideas :D
TIA
|

Alfred Spangler
Achmed Fleet
|
Posted - 2008.11.09 16:38:00 -
[144]
After reading the patchnote, I gather there will be new data dumps with the QR expansion. So I'll wait until these are released, before converting them to the format Amida Ta needs.
Regards,A.S.
|

Evelyne Drumm
|
Posted - 2008.11.10 00:03:00 -
[145]
When i try eveApi.LastUpdateResult.ToString its always giving me unkown. Any ideas why that is? I can see its accessing the api from the online api log, so why would it always return unkown
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.11.20 00:40:00 -
[146]
Version 0.9.16 has been released. It adds support for most of the new APIs (basically everything except the medals stuff). It should also fix all errors that appeared because CCP "fixed" their previous errors in the APIs like multiplying stuff and things like that. Unfortunatelly the static data is still very ancient and I haven't got any new data. I'm mostly able to read cachefiles, but a) they do not contain all the data that is part of the static data dumps and b) I still haven't got any clear answer from CCP if it would be ok to use/embed them in the API library.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_0.9.16.zip
As always it comes with the testapp to see the new APIs in action.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.11.21 09:24:00 -
[147]
Originally by: Alfred Spangler After reading the patchnote, I gather there will be new data dumps with the QR expansion. So I'll wait until these are released, before converting them to the format Amida Ta needs.
The format that I use is CSV. One file per table. First line is omitted (ideally a description) Then one line per dataset. (Separated by $ and Strings surrounded with "", but I could change this easily)
I have a converter from the old SQL-format into the CSV, so I could also use that. |

Evelyne Drumm
|
Posted - 2008.11.21 16:25:00 -
[148]
Is it possible to change the amount of transactions eveApi.GetCharacterWalletTransactions retreives? Its only going back 1 month.
Tia |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.11.22 01:14:00 -
[149]
Originally by: Evelyne Drumm Is it possible to change the amount of transactions eveApi.GetCharacterWalletTransactions retreives? Its only going back 1 month.
Tia
That is likely restricted by the CCPs API. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.11.22 01:18:00 -
[150]
Version 0.9.17 has been released. It adds everything that has been missing from the previous version. Now all API calls are supported again (added the three Medal-based ones) Also TADAAA: ALL static data has been updated and is now on line with the current Eve static data export.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_0.9.17.zip
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.11.25 00:21:00 -
[151]
EveAI Live Version 1.0.0 has been released!
Changes since last version:
- Support for the brand-new ServerStatus API
- Includes static object names by default
- More robust internals
- Cachefiles will be kept valid between EveAI Versions unless it is neccessary to replace them
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.0.0.zip
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.11.25 11:58:00 -
[152]
EveAI Live Version 1.0.1 has been released!
Changes since last version:
- Hotfix last second introduced bug :(
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.0.1.zip
|

Dantes Revenge
Caldari
|
Posted - 2008.11.25 18:24:00 -
[153]
Edited by: Dantes Revenge on 25/11/2008 18:24:43
Excellent but one minor thing 
Is it possible to have some documentation zipped with it so we know what calls we can make. It's great having the Wiki page but a .txt file list (format below) is all that's really required rather than go searching a web page for them all.
{dll to use} Name.of.call(parameters, needed) :brief description.
You have to make it a bit easier for us dumb programmers 
Thanks for the great work. -- There's a simple difference between kinky and perverted. Kinky is using a feather to get her in the mood. Perverted is using the whole chicken. All this has happened before and will happen again |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.11.27 00:27:00 -
[154]
Originally by: Dantes Revenge Edited by: Dantes Revenge on 25/11/2008 18:24:43
Excellent but one minor thing 
Is it possible to have some documentation zipped with it so we know what calls we can make. It's great having the Wiki page but a .txt file list (format below) is all that's really required rather than go searching a web page for them all.
{dll to use} Name.of.call(parameters, needed) :brief description.
You have to make it a bit easier for us dumb programmers 
Thanks for the great work.
Well... Documentation... Sure... (Hides and vanished) No really: I know in this area EveAI Live is severely lacking. Am happy to take any user-contributions. I hope I find the time to at least explain the basics...
|

Dangrou
Caldari Holy Grail Constructiion
|
Posted - 2008.11.28 11:19:00 -
[155]
I know its not EveAI live BUT does anyone have any .net code to grab the user information from the in game board?
|

Etil DeLaFuente
Obsidian Inc. KIA Alliance
|
Posted - 2008.11.29 12:01:00 -
[156]
Any chance to get it open source ? (not like i can't use reflector anyway ;) )
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.12.02 09:08:00 -
[157]
Originally by: Etil DeLaFuente Any chance to get it open source ? (not like i can't use reflector anyway ;) )
I currently see not much sense in open sourcing it . I will do so if I ever loose interest in developing it further. Till then feel free to use reflector to look at the internals. 
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2008.12.02 17:33:00 -
[158]
EveAI Live Version 1.0.2 has been released!
Changes since last version:
- Fix some small errors in the static data (Booleans and some Doubles were incorrectly saved)
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.0.2.zip
|

Commander Ashik
Minmatar Forging Industries Einherjar Alliance
|
Posted - 2008.12.31 05:06:00 -
[159]
How do I get it to grab the names of all the characters on the account with just the UserID and APIkey?
|

Borun Tal
Minmatar Virtual Rock Industries
|
Posted - 2008.12.31 18:15:00 -
[160]
Edited by: Borun Tal on 31/12/2008 18:16:59 I'm sure this has been asked and I've just missed it in this thread, but has your API been tested with the lastest .Net Compact framework? I'm thinking about building a couple helper apps for Windows Mobile 6.x...
Thanks, and thanks for creating this great API! :)
Edit: also, how current is the Core static data? I'm not familiar with how often CCP updates the core data, so I'm curious if 1.0.2 has the latest QR updates...
|
|

John'eh
|
Posted - 2009.01.05 16:14:00 -
[161]
Where is the source code?
All I can find are binaries, and my anti virus flags them as a danger.
|

TeliaA
|
Posted - 2009.01.12 19:48:00 -
[162]
Edited by: TeliaA on 12/01/2009 19:48:54
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.01.12 19:50:00 -
[163]
Originally by: Borun Tal Edited by: Borun Tal on 31/12/2008 18:16:59 I'm sure this has been asked and I've just missed it in this thread, but has your API been tested with the lastest .Net Compact framework? I'm thinking about building a couple helper apps for Windows Mobile 6.x...
Thanks, and thanks for creating this great API! :)
Edit: also, how current is the Core static data? I'm not familiar with how often CCP updates the core data, so I'm curious if 1.0.2 has the latest QR updates...
Haven't tested it with .Net Compact, but the APIs I use are pretty standard, so I assume it might work.
The static data is current as of the current CCP static data update.
|

TeliaA
|
Posted - 2009.01.12 19:52:00 -
[164]
Edited by: TeliaA on 12/01/2009 19:52:17
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.01.12 19:53:00 -
[165]
Originally by: John'eh Where is the source code?
All I can find are binaries, and my anti virus flags them as a danger.
Which anti virus program do you use? As I said in postings before: Feel free to look at the application using Reflector.
|

GLotsapot
Amarr UNAS Corp
|
Posted - 2009.01.17 00:24:00 -
[166]
First, congrats on the EveAI 1.0.2 release. I used to use the libeveapi .NET API, but alas it hasn't been updated in a year and several function are now obsolete. It's source is open, but I didn't wanna have to take on a dead project.
Secondly, you have a problem with your Live.EveApi.GetCorporationStarbaseList() caching. My account has 2 characters, one with access to a POS, and the other one doesn't, both in different corperations. When I set the character I'm using to the first character with the station (Authentication.CharacterID = 12345) and get the starbases (GetCorporationStarbaseList) I can foreach through the list with no issues. If I then set it to the other character (without the POS) and get the list, I get the first characters station list returned. (and yes, I am destroying the object that holds the POS list before re-requesting.
If I run it again for JUST the character without the station, I still get the other list. If I run it again, BUT this time delete the cache, it returns nothing like it should.
If you would like, I can send you the code for ya to look at as it is a working example of it not working that may help you out. I would also have no issue sending my cache files for your reference. Just send me an evemail with an email address I can send to. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.01.19 22:50:00 -
[167]
Edited by: Amida Ta on 19/01/2009 22:51:20 I tried, but cannot really reproduce your problems (on the other hand my starbase lists are always empty, so not good to test). The best way of using EveAI is to create ONE EveApi Object per character (and not change the authentication details later to another character). Could you test that? If it works I'll release a new version that fixes the resource usage (now every EveApi Object recreates the static data in case you don't manually specify it).
And what did you mean by "If I run it again for JUST the character without the station, I still get the other list."? Even if restarting your application you get that effect? The cachefile should look like StarbaseListApi.12345678 where 12345678 is the characterID, so it should not mix up at the file level cache (EveAI also has two level memory caches that might be the cause)
|

Sodrus Muir
|
Posted - 2009.01.22 14:25:00 -
[168]
Originally by: Anne Sapyx
but
Private Sub BtnLookUp2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnLookUp2.Click If TxtCharName.TextLength <> 0 Then Dim idlookup As CharacterIDLookupApi = New CharacterIDLookupApi()
idlookup.CharacterNamesToLookup.Add(TxtCharName.Text) idlookup.UpdateData()
LabCharID.Text = idlookup.FindEntry(TxtCharName.Text) End If End Sub
for CharacterIDLookupApi , returns -1.
I'm still getting this issue. Has this been resolved?
|

von Susla
|
Posted - 2009.01.23 13:01:00 -
[169]
Code:
Quote: /*i use wrong auth data here*/ EveApi api = new EveApi(1,'a',1); CorporationSheet corp = api.GetCorporationSheet();
Result: System.NullReferenceException was unhandled
Amida Ta, could you make special exception for case "wrong authentication data"?
|

Leyawiin
|
Posted - 2009.01.23 18:27:00 -
[170]
Originally by: GLotsapot First, congrats on the EveAI 1.0.2 release. I used to use the libeveapi .NET API, but alas it hasn't been updated in a year and several function are now obsolete. It's source is open, but I didn't wanna have to take on a dead project.
Not to hijack the thread or anything: I've just joined the libeveapi project and hope to start contributing. Any feedback on its current state is highly appreciated :). (Please use the google code page for that. Thanks :)) |
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.01.26 00:46:00 -
[171]
Originally by: Sodrus Muir
Originally by: Anne Sapyx
but
Private Sub BtnLookUp2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnLookUp2.Click If TxtCharName.TextLength <> 0 Then Dim idlookup As CharacterIDLookupApi = New CharacterIDLookupApi()
idlookup.CharacterNamesToLookup.Add(TxtCharName.Text) idlookup.UpdateData()
LabCharID.Text = idlookup.FindEntry(TxtCharName.Text) End If End Sub
for CharacterIDLookupApi , returns -1.
I'm still getting this issue. Has this been resolved?
Confirmed bug. Seems CCP changed something with this api again. Fixed for next version 1.0.3. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.01.26 00:47:00 -
[172]
Originally by: von Susla Code:
Quote: /*i use wrong auth data here*/ EveApi api = new EveApi(1,'a',1); CorporationSheet corp = api.GetCorporationSheet();
Result: System.NullReferenceException was unhandled
Amida Ta, could you make special exception for case "wrong authentication data"?
Fixed for next version 1.0.3. The LastError should already contain AuthenticationError so you know the Authentication failed. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.01.26 00:50:00 -
[173]
EveAI Live Version 1.0.3 has been released!
Changes since last version:
- Fix two bugs reported on the forum.
- Generic hardening of some API functions (additional parameter checks).
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.0.3.zip |

von Susla
|
Posted - 2009.01.26 09:24:00 -
[174]
Edited by: von Susla on 26/01/2009 09:25:03 Edited by: von Susla on 26/01/2009 09:24:33 Code: EveApi api = new EveApi(1,1,'wrong auth data'); CorporationSheet corp = api.GetCorporationSheet(); if(api.LastErrors.Count>0){ StringBuilder resultMsg = new StringBuilder(); foreach(EveApiError error in api.LastErrors){ resultMsg.AppendLine(error.ToString()); } MessageBox.Show(resultMsg.ToString()); }
Result: "ClientMissingCacheFile AuthenticationFailure ClientMissingCacheFile"
Expected result: "AuthenticationFailure"
|

von Susla
|
Posted - 2009.01.26 09:33:00 -
[175]
Prerequisites: delete cache files
Code: CorporationSheet corp = api.GetCorporationSheet();
Result: files in cache AllianceDataApi.xml CorporationSheetApi.<some numbers>.xml
Expected result: CorporationSheetApi.<some numbers>.xml
Question: For what need AllianceDataApi.xml?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.01.26 17:20:00 -
[176]
Originally by: von Susla Edited by: von Susla on 26/01/2009 09:25:03 Edited by: von Susla on 26/01/2009 09:24:33 Code: EveApi api = new EveApi(1,1,'wrong auth data'); CorporationSheet corp = api.GetCorporationSheet(); if(api.LastErrors.Count>0){ StringBuilder resultMsg = new StringBuilder(); foreach(EveApiError error in api.LastErrors){ resultMsg.AppendLine(error.ToString()); } MessageBox.Show(resultMsg.ToString()); }
Result: "ClientMissingCacheFile AuthenticationFailure ClientMissingCacheFile"
Expected result: "AuthenticationFailure"
This is correct by design. If you are only interested in the global result use LastUpdateResult property. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.01.26 17:26:00 -
[177]
Originally by: von Susla Prerequisites: delete cache files
Code: CorporationSheet corp = api.GetCorporationSheet();
Result: files in cache AllianceDataApi.xml CorporationSheetApi.<some numbers>.xml
Expected result: CorporationSheetApi.<some numbers>.xml
Question: For what need AllianceDataApi.xml?
The CorporationSheet contains Information about the Alliance that this corporation is in (e.g. the name of the alliance). This is not part of the EVE Online CorporationSheet.aspx. There are several Apis where EveAI.Live will have to do several queries to the Eve Server to get all relevant data. If you wish to exactly control that you have to use the "complex mode API", aka use the *Api Classes directly. The "simple mode" will always do that automatically for you. |

GLotsapot
Amarr UNAS Corp
|
Posted - 2009.01.31 06:35:00 -
[178]
Originally by: Amida Ta Edited by: Amida Ta on 19/01/2009 22:51:20 I tried, but cannot really reproduce your problems (on the other hand my starbase lists are always empty, so not good to test). The best way of using EveAI is to create ONE EveApi Object per character (and not change the authentication details later to another character). Could you test that? If it works I'll release a new version that fixes the resource usage (now every EveApi Object recreates the static data in case you don't manually specify it).
And what did you mean by "If I run it again for JUST the character without the station, I still get the other list."? Even if restarting your application you get that effect? The cachefile should look like StarbaseListApi.12345678 where 12345678 is the characterID, so it should not mix up at the file level cache (EveAI also has two level memory caches that might be the cause)
Confirmed that if I create a new AveAPI per character that I don't have the problem anymore. I don't like this approach personally though as it makes using the foreach method of the Lists useless to loop through.
To further explain: Character1 is a director of corp, and we have 1 POS Character2 is a normal pilot in a corp, and therefor cannot get POS data
Create an EveAPI with a characterid and fullapikey
Step 1: Set the Authentication.CharacterID = Character1's id, and set the Authentication.StarbaseID = 0 Step 2: Dim oStarbaseList As New List(Of Live.Corporation.StarbaseListEntry) Step 3: oStarbaseList = api.GetCorporationStarbaseList()
This populates oStarbaseList without issues at all.... so far so good.
Do Step 1 again, but but this time set the Authentication.CharacterID to the second characters ID Step 2 give me a nice blank list as it should Step 3 does a couple things 1. It generates 3 LastErrors: ClientMissingCacheFile, AuthenticationCharacterMustBeDirectorOrCEO, and ClientMissingCacheFile 2. Populates oStarbaseList with the starbase list of Character1
Now I expect the 1st part to generate those errors cause the character doesn't have access to get that data, and therefore cannot get/create that data, but the oStarbaseList should *NOT* get re-populated with the other characters starbase list.
|

Dalmarog
|
Posted - 2009.01.31 11:41:00 -
[179]
Edited by: Dalmarog on 31/01/2009 11:45:10 hi guys, can someone explain me how i can read out all my characters with this eve api? i dont know how to make the connection to the xml file... i want to use basic...
hope you can help me...
thx |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.04 08:40:00 -
[180]
Originally by: Dalmarog Edited by: Dalmarog on 31/01/2009 11:45:10 hi guys, can someone explain me how i can read out all my characters with this eve api? i dont know how to make the connection to the xml file... i want to use basic...
hope you can help me...
thx
Something like:
EveApi api = new EveApi (userid, apikey); something = api.GetAccountEntries (); |
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.04 08:53:00 -
[181]
Originally by: GLotsapot
Confirmed that if I create a new AveAPI per character that I don't have the problem anymore. I don't like this approach personally though as it makes using the foreach method of the Lists useless to loop through.
I do not see how this will affect using foreach. Instead of using foreach for loop-change-loopagain you are using if for loop-createnew-loopagain.
Originally by: GLotsapot
1. It generates 3 LastErrors: ClientMissingCacheFile, AuthenticationCharacterMustBeDirectorOrCEO, and ClientMissingCacheFile 2. Populates oStarbaseList with the starbase list of Character1
Now I expect the 1st part to generate those errors cause the character doesn't have access to get that data, and therefore cannot get/create that data, but the oStarbaseList should *NOT* get re-populated with the other characters starbase list.
Well as already said this is by design. Although I admit that in this particular case it is likely very unintuitive. I'm thinking about changing that for a future version. The problem here is that EveAI (when and only when using the simple EveApi class) will ALWAYS try to return the "most" correct data. And in this case it cannot retrieve correct data from the server (or the diskcache) which results in it handling the old memory-cached data as the most correct one. Especially for the case with insufficient user rights this may not make much sense. |

Woef
|
Posted - 2009.02.07 05:29:00 -
[182]
I'm having trouble to figure out how to get the prices from Eve-Central. I have the following code in VB.NET: Imports EveAI.Live Imports EveAI.Live.Market
Private Sub btnAssets_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAssets.Click
Dim api3 As New EveApi(userid, "apikey", charid) Dim market As New EveCentralMarketApi Dim marketitem As EveAI.Product.ProductType Dim marketp = New ProductStatistics
Dim assets = api3.GetCharacterAssets
For i = 0 To assets.Count - 1 marketitem = (assets(i).Type) marketp = market.GetProductStatistics(marketitem) <-- this gives NullReference ItemPrice = marketding.BuyOrders.Median Next i End Sub
But it keeps giving me NullReference Exceptions, and i can't figure out what's wrong myself. It'd be appreciated if somebody could show/explain what i'm doing wrong. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.12 01:12:00 -
[183]
Originally by: Woef
But it keeps giving me NullReference Exceptions, and i can't figure out what's wrong myself. It'd be appreciated if somebody could show/explain what i'm doing wrong.
I think Eve-Central will not return anything (which results in a null-ref) for several objects for which it doesn't have any data. Best bet is to try with something that is guaranteed to be available (like Veldspar)
|

QWERTY Deluxe
|
Posted - 2009.02.13 18:36:00 -
[184]
the values in KillLog.KillLogVictim are empty. whats wrong ?` is there a fix ?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.14 12:40:00 -
[185]
EveAI Live Version 1.0.4 has been released!
Changes since last version:
- Fixed a newly introduced bug that prevented filling of the victim in Killlogs
- First tiny bits of documentation in XMLDoc format
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.0.4.zip |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.14 12:40:00 -
[186]
Originally by: QWERTY Deluxe the values in KillLog.KillLogVictim are empty. whats wrong ?` is there a fix ?
Fixed with last version ;) Thanks for the report! |

Admiralis Deluxe
|
Posted - 2009.02.16 16:46:00 -
[187]
i tryed to create a new instance from class EveApi. but now, i have a char, with charid > int32. can u plz male it to int 64 ? bigtx
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.16 20:04:00 -
[188]
Originally by: Admiralis Deluxe i tryed to create a new instance from class EveApi. but now, i have a char, with charid > int32. can u plz male it to int 64 ? bigtx
charID already is an Int64 (and has always been or at least for a very long time). Could you post the code line that is failing?
|

Admiralis Deluxe
|
Posted - 2009.02.17 08:40:00 -
[189]
Sorry, the exeption is not, by creating a new eveapi instance. it¦s by calling the corp sheet.
EveApi CharAPI = new EveApi(UID, ApiKey, characterID); CorporationSheet CorpSheet = CharAPI.GetCorporationSheet(); //error
http://s6b.directupload.net/images/090217/udzeqes3.jpg
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.17 12:22:00 -
[190]
Edited by: Amida Ta on 17/02/2009 12:22:59 EveAI Live Version 1.1.0 has been released!
Changes since last version:
- Changed CharacterIDs, CorporationIDs and AllianceIDs (and all IDs that reference to them) to Int64. THIS IS A POTENTIALLY BREAKING CHANGE. If you do not use the objects, but refer to these IDs you might get compile errors after upgrading. You will have to update your application to work on Int64 for these IDs as well if you are directly using IDs.
- Updated several other fields from Int32 to Int64 that might overflow in the future.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.0.zip
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.17 12:28:00 -
[191]
Originally by: Admiralis Deluxe Sorry, the exeption is not, by creating a new eveapi instance. it¦s by calling the corp sheet.
EveApi CharAPI = new EveApi(UID, ApiKey, characterID); CorporationSheet CorpSheet = CharAPI.GetCorporationSheet(); //error
http://s6b.directupload.net/images/090217/udzeqes3.jpg
Well it seems the problem was that your corp likely has a executor with an ID > Int32 (maybe you ;). This was causing the parsing errors. Unfortunatelly the fix was rather extensive... But it's fixed in v1.1
|

Admiralis Deluxe
|
Posted - 2009.02.17 14:32:00 -
[192]
well done mate!
|

Gally Millenia
|
Posted - 2009.02.18 12:55:00 -
[193]
Thanks Amida Ta for this awesome tool.
By any chance, would it be possible to implements methods like Sort() for CharacterSheet.LearnedSkills to be able to sort a list of skills by level, by skillname, and so on ?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.20 21:51:00 -
[194]
Originally by: Gally Millenia Edited by: Gally Millenia on 18/02/2009 15:11:15 Thanks Amida Ta for this awesome tool.
By any chance, would it be possible to implements overrided methods like Sort() for CharacterSheet.LearnedSkills to be able to sort a list of skills by level, by skillname, and so on ?
Sorting should be a one-liner in the code like Skills.Sort(delegate(LearnedSkill s1, LearnedSkill s2) { return s1.Level.CompareTo(s2.Level); }); And there are next to infinite possibilities, so I'm not convinced it makes sense to put that into the library...
|

Nazza VonBraun
W2K1 Corp
|
Posted - 2009.02.21 16:30:00 -
[195]
Astounding work, Amida. Really wonderful.
|

Woef
|
Posted - 2009.02.22 02:21:00 -
[196]
Originally by: Amida Ta Edited by: Amida Ta on 12/02/2009 01:33:55
Originally by: Woef
But it keeps giving me NullReference Exceptions, and i can't figure out what's wrong myself. It'd be appreciated if somebody could show/explain what i'm doing wrong.
This will happen if Eve-Central will not return anything (which results in a null-ref) due to internal Eve-Central errors or timeouts.
Still can't get it to work, no matter what item. It's more like the error's occuring right before grabbing the prices. It's probably some VB-newbie mistake, but i just can't find what. Anybody has some working VB-example for me?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.22 10:57:00 -
[197]
Originally by: Woef
Originally by: Amida Ta Edited by: Amida Ta on 12/02/2009 01:33:55
Originally by: Woef
But it keeps giving me NullReference Exceptions, and i can't figure out what's wrong myself. It'd be appreciated if somebody could show/explain what i'm doing wrong.
This will happen if Eve-Central will not return anything (which results in a null-ref) due to internal Eve-Central errors or timeouts.
Still can't get it to work, no matter what item. It's more like the error's occuring right before grabbing the prices. It's probably some VB-newbie mistake, but i just can't find what. Anybody has some working VB-example for me?
Well on first sight I cannot see any error. But how many assets do you have? I'm pretty sure Eve-Central doesn't want or allow you to hammer their server with tons of queries (and your code might do hundereds or even thousands). To find out you should try to do a single (type) query to find out if that works. Also check the ErrorOccured property which will be true if an error has occured during the retrieval of the Result from the server.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.22 11:09:00 -
[198]
Originally by: Woef I'm having trouble to figure out how to get the prices from Eve-Central. I have the following code in VB.NET: Imports EveAI.Live Imports EveAI.Live.Market
Private Sub btnAssets_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAssets.Click
Dim api3 As New EveApi(userid, "apikey", charid) Dim market As New EveCentralMarketApi Dim marketitem As EveAI.Product.ProductType Dim marketp = New ProductStatistics
Dim assets = api3.GetCharacterAssets
For i = 0 To assets.Count - 1 marketitem = (assets(i).Type) marketp = market.GetProductStatistics(marketitem) <-- this gives NullReference ItemPrice = marketding.BuyOrders.Median Next i End Sub
But it keeps giving me NullReference Exceptions, and i can't figure out what's wrong myself. It'd be appreciated if somebody could show/explain what i'm doing wrong.
UUps I think i found the error. You need to set EveApiCore first. I'll add an exception in the next version if somebody forgets doing that. For you add the following line: Dim api3 As New EveApi(userid, "apikey", charid) Dim market As New EveCentralMarketApi market.EveApiCore = api3.EveApiCore
|

John'eh
Center for Advanced Studies
|
Posted - 2009.02.23 02:23:00 -
[199]
Edited by: John''eh on 23/02/2009 02:27:50 I just did some debugging of the raw MSIL - reflector does not give you everything so I chose to look at the raw .net assembly - and it looks like my network traces with wireshark confirm that this library contains code that collects api keys.
I could be wrong, but since its not Open Source, I cant confirm this by looking at the code and I have no other way to confirm, however if you released the code everybody could check and confirm either that I'm wrong - and if so sorry (but I really doubt I'm wrong) - or that I'm right. Either way honesty is best, and I think you should release the code.
Till then, I suggest people stop using this unless they want to release the code. I don't trust it, and I have no reason to. Nobody does. - John'eh |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.23 08:26:00 -
[200]
Originally by: John'eh Edited by: John''eh on 23/02/2009 02:27:50 I just did some debugging of the raw MSIL - reflector does not give you everything so I chose to look at the raw .net assembly - and it looks like my network traces with wireshark confirm that this library contains code that collects api keys. I could be wrong, but since its not Open Source, I cant confirm this by looking at the code and I have no other way to confirm, however if you released the code everybody could check and confirm either that I'm wrong - and if so sorry (but I really doubt I'm wrong) - or that I'm right. Either way honesty is best, and I think you should release the code.
Till then, I suggest people stop using this unless they want to release the code. I don't trust it, and I have no reason to. Nobody does. - John'eh
I HATE PEOPLE LIKE YOU. SPREADING LIES AND FUD. You know you are plainly lying and I know you are lying. You probably never even used reflector at all. Reflector does give you the exact contents of the assembly but if you like look at the IL directly, no problem. JUST tell for everybody WHERE you found ANY trace of what you are talking about (give us an offset or method name from IL, anybody could easily check that). You can't do that? WOW what wonder! If you like to you can even make a .Net application profile forbidding any connection to anything else that the CCP servers (it would result in an application crash if it then tries to connect to anything else) and the application still works because it DOES NOT MAKE any connections to any keylogging server or anything like that.
If you don't like it not being open source and don't trust me or are too lazy to look at the application using reflector then don't use the library. Simple as that. But don't spread lies.
I was actually thinking again about making it open source last week when doing the latest updates. But with your post I'm surely not going to do it now. It would drive me mad if an a*hole like you would get his hands at my library which I have developed in countless hours and could even branch it.
|
|

John'eh
Center for Advanced Studies
|
Posted - 2009.02.23 13:44:00 -
[201]
Originally by: Amida Ta
I HATE PEOPLE LIKE YOU.
I bet you do; You just expect people to trust you instead of attempting to verify things themselves.
Originally by: Amida Ta
You know you are plainly lying and I know you are lying. You probably never even used reflector at all. Reflector does give you the exact contents of the assembly but if you like look at the IL directly, no problem.
Actually, not everything. The version I have is the free one, since I'm not about to pay money for the unlocked version. Maybe you have a different version, but no saying I am lying does not make it so.
Originally by: Amida Ta
If you like to you can even make a .Net application profile forbidding any connection to anything else that the CCP servers (it would result in an application crash if it then tries to connect to anything else) and the application still works because it DOES NOT MAKE any connections to any keylogging server or anything like that.
Why should I have to do all that? Besides, its very easy to just catch such the exception created by that error condition in code and make the code work as if it was not just cought in the act.
Originally by: Amida Ta
If you don't like it not being open source and don't trust me or are too lazy to look at the application using reflector then don't use the library. Simple as that. But don't spread lies.
Its not about me, and your attempts to make my claims look invalid by simply calling me lazy instead of actually denying this and defending yourself only put you in a bad light. I'm trying to help protect people from people that attempt to infect there computer or steal API keys, and I never would have looked so deep into the codes actions if my anti virus - AVAST - had not flagged it as a danger. Its not just me saying this is an issue.
Originally by: Amida Ta
I was actually thinking again about making it open source last week when doing the latest updates. But with your post I'm surely not going to do it now. It would drive me mad if an a*hole like you would get his hands at my library which I have developed in countless hours and could even branch it.
There are actually several versions of reflector; And no it does not give you everything. Your BS (I dont mean battleship) excuse about forking maks no sense given that your original code was a fork of another code base, as well. I feel that you dont want to show the code because you know that if you do, you will be found out. Of course I could be wrong, but without sources to use I cant recompile binaries and check hashes of the binary to make sure that the source you release is the source used to compile the binary downloads you provided..
I really do think its best you give up the source. - John'eh |

QWERTY Deluxe
|
Posted - 2009.02.23 15:06:00 -
[202]
cool down guys :-)
@John'eh if you dont want to use non public source, try other dlls or write your own. Or just use wireshark to track your network traffic and trust.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.23 17:45:00 -
[203]
Originally by: John'eh
Originally by: Amida Ta
I HATE PEOPLE LIKE YOU.
I bet you do; You just expect people to trust you instead of attempting to verify things themselves.
I have never done so and I never will. I enurage anybody to test and verify. But you obviously did neither and are just trying to badmouth something.
Originally by: John'eh
Originally by: Amida Ta
If you don't like it not being open source and don't trust me or are too lazy to look at the application using reflector then don't use the library. Simple as that. But don't spread lies.
Its not about me, and your attempts to make my claims look invalid by simply calling me lazy instead of actually denying this and defending yourself only put you in a bad light. I'm trying to help protect people from people that attempt to infect there computer or steal API keys, and I never would have looked so deep into the codes actions if my anti virus - AVAST - had not flagged it as a danger. Its not just me saying this is an issue.
It is just you. And AVAST? Just another lie from you. Anybody can easily check that out: http://www.virustotal.com/de/analisis/a1e8de1bb9e9f54a8d5d4466466de729 And what does AVAST say: NO VIRUS
Everybody can easily see you are lying. Above is the proove for the virus scanner and the proove for no problems in the IL is just as simple: As long as you don't write even the method you want to have found from looking at the IL (which would take you 2 sec to write here and everybody could verify within 30 seconds) it is clear you are lying and nothing more.
|

Riasoje
Caldari
|
Posted - 2009.02.23 18:40:00 -
[204]
To 'confirm' the OP's latest point, I too have scanned the available source (with ESET Nod32 v 3.0.684 & v4.0 BETA), it show's as clear...
@John'eh, This is only a pathetic attempt to force Amida Ta to make his/her source code available, he/she has stated that that is not the intention currently. Stop badgering, and certainly stop doing it in this fasion, it will acheive nothing. I would like to see the source code for this project too, but not because I think it is stealing anything from my machine, just purely so I can learn from it, this was certainly the wrong way to go about it.
Now, IF you have proof that this package is dodgy, please post your proof, it will then be verified by other people and you will have done us a favour, otherwise please move along as there is obviously nothing for you to see here...
If shortcuts worked, they wouldn't be shortcuts... |

John'eh
Center for Advanced Studies
|
Posted - 2009.02.24 03:10:00 -
[205]
Originally by: Riasoje To 'confirm' the OP's latest point, I too have scanned the available source (with ESET Nod32 v 3.0.684 & v4.0 BETA), it show's as clear...
How did you get the source if its not open source? It sounds to me like you may be an alt; As we all know people break out the alts when they know they are cornered and have nobody else to defend them and I hate to say this but I don't know you and I don't know you are not an alt. Nobody else is defending her.
Originally by: Riasoje
I would like to see the source code for this project too, but not because I think it is stealing anything from my machine, just purely so I can learn from it, this was certainly the wrong way to go about it.
You say you have checked the source, and then you say you do not have the source.. Respectfully, I find it hard to belive you are not an alt when you say one thing and then contradict yourself in the very same post. Cant keep your lie straight, can you? I understand, you tried to be two people and failed epically.
If everybody looks at my posts in this thread, I noticed that the download set off my Anti virus a while ago; Maybe the signature has changed since then, maybe my post coused her to reset the download to something without it. I do not know. I only know that if I download the binaries now I do not detect that the download is the same as what I had before; The MD5 hashes are now different.
As far as "proof" the fact that the files have been changed only helps my case; My countries laws make it illegal to upload of otherwise give out technical information relating to trojan horses or other viruses that are already in the wild, so I am not able to give the information that I have; Still I feel I helped all of you by bringing this up, so you should be thanking me instead of listening to the alt-fest that suddenly sprung up.
Dont use this library until it has been open sourced. I dont trust it, and I say this to protect people, not to promote anything as anybody can see I have not said to use anything else or anything like that, only said to protect yourself. - John'eh |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.24 09:35:00 -
[206]
Edited by: Amida Ta on 24/02/2009 09:43:23
Originally by: John'eh More bull****
from an alt in a newb corp.
BTW: The downloads are hosted on Eve-Files (And even the old versions are all still there). Its not possible to change a download there after it is uploaded. Check the files, check the dates. Another of your lies proven!
But wait. Yes, probably Chribba is my alt, too!
|
|

Chribba
Otherworld Enterprises Otherworld Empire
|
Posted - 2009.02.24 11:24:00 -
[207]
Upon download of ZIP archives, you are presented with a MD5 hash of the file (as it was when uplaoded). If the hash of the file you downloaded is not the same I suggest you trash the download and try again (it could be corrupt and manipulated on mirrors that are out of my control), however if such a thing happends please contact me directly on support|at|eve-files.com with said information and I'll look into it.
And while it's not fullproof, EVE-Files does scan and monitor files using AV/AM software. And for all other doubtful cases - do make use of virustotal.com, it pretty much clear most doubts imo. As far as EveAI goes, the latest version appears clean, just as all previous versions (ofc this doesn't give a 100% guarantee of anything, but still...).
Secure 3rd party service |
|

Riasoje
Caldari
|
Posted - 2009.02.24 12:16:00 -
[208]
Originally by: John'eh
Originally by: Riasoje To 'confirm' the OP's latest point, I too have scanned the available source (with ESET Nod32 v 3.0.684 & v4.0 BETA), it show's as clear...
You say you have checked the source, and then you say you do not have the source..
Please read what I wrote, it does not say 'the source code', by 'available source' I mean the download from the 'source' links in this thread, maybe I should have made that more clear for you 
Originally by: John'eh How did you get the source if its not open source? It sounds to me like you may be an alt; As we all know people break out the alts when they know they are cornered and have nobody else to defend them and I hate to say this but I don't know you and I don't know you are not an alt. Nobody else is defending her.
I don't know you either, all I can tell you is that I am not an alt of Amida Ta, I have absolutely no affiliation with him/her. I had not even heard the name until I happened across the eve-dev project for EveAI.
Originally by: John'eh failed epically.
nope, you failed to understand my meaning, which admitedly could be because I didn't dumb it down enough for you.
Originally by: John'eh My countries laws make it illegal to upload of otherwise give out technical information relating to trojan horses or other viruses that are already in the wild, so I am not able to give the information that I have;
So, going by what you say, you are not allowed to mention that the offending code is at line ## in file ----.--, I find this borderline ridiculous... If you want to 'protect' us, then this is all that it will take.
In closing;
I am just another player, who is using the EveAI library provided by Amida Ta, I am not an alt of Amida Ta, feel free to look me up in game. Please provide proof of your claim or move on, my gut feeling is that you're some how affiliated to an alternative project and are trying to discredit this one, I may be wrong, frankly I don't care, just stop trolling & bashing someone because he/she doesn't want to share his/her toys with you ok, Amida is not obligated to release the source code, I hope eventually it is released, but NOT to discredit your apparent 'findings'...
If shortcuts worked, they wouldn't be shortcuts... |

Vessper
Indicium Technologies
|
Posted - 2009.02.24 13:54:00 -
[209]
Originally by: John'eh As far as "proof" the fact that the files have been changed only helps my case; My countries laws make it illegal to upload of otherwise give out technical information relating to trojan horses or other viruses that are already in the wild, so I am not able to give the information that I have; Still I feel I helped all of you by bringing this up, so you should be thanking me instead of listening to the alt-fest that suddenly sprung up.
Dont use this library until it has been open sourced. I dont trust it, and I say this to protect people, not to promote anything as anybody can see I have not said to use anything else or anything like that, only said to protect yourself.
So far, you have not helped with anything. If you seriously want to help out the developer community I suggest you stop with the lame excuses and post whatever evidence you claim to have found. Just coming into the thread and trying to discredit Amida's work without sufficient evidence just smacks of desperation and attention-seeking (I noticed a similar post in this thread).
And no, your word is not proof. Give details of the code classes and methods which you think are at fault and any remote IP adresses/DNS names that are involved. If there is any truth to your findings then you won't mind having all this confirmed, irrespective of these so-called "laws" in your country.
- - -
EveHQ Character App | Item Database |
|

CCP Navigator
C C P CCP

|
Posted - 2009.02.24 16:22:00 -
[210]
Guys and Girls,
Please refrain from accusing the creator of crimes to which you have no proof.
As with EVEmon, EFT or any other community tool - if you are unsure if it is safe or not then feel free not to use it.
Amida Ta has been receiving praise from multiple different people for this tool and it seems that a vast majority are more than satisfied. Please do not derail this thread with trolling and baseless accusations.
Let me reiterate - if you are unsure of the validity or safety of any community tool then simply do not use it.
Navigator Senior Community Representative CCP Games, Email |
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.02.25 21:17:00 -
[211]
EveAI Live Version 1.1.1 has been released!
Changes since last version:
- Hotfix for a (undocumented??) change on Eve Central that made the EveAI.Live Marketapis fail.
- Added a sanity check for using the Market APIs.
- Added more Documentation. Most of the important Classes and Methods now have XML-Doc comments.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.1.zip ____________________________________________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# a |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.03 08:24:00 -
[212]
Please note that CCP has currently disabled implants in the charactersheet (see this post). SkillInTrainingAPI (and every data in there) is unaffected. ____________________________________________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# a |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.12 16:09:00 -
[213]
EveAI Live Version 1.1.2 has been released!
Changes since last version:
- Add Character Skill Queue API
- Add Market API for Eve Metrics
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.2.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Ash Donai
|
Posted - 2009.03.14 23:29:00 -
[214]
Thanks for the time you put into this Amida Ta! I clearly need some basic C# training, if anyone who's reading this could recommend a good path for a nooblet, I'd much appreciate it.
Meanwhile, I would like to extract the quantity for a specific item at a particular station and I am having some difficulty to conceptualize what needs to be done. Specifically I would like to end up with the quantity for each mineral at a particular station.
I pulled the assets via List<Asset> AshAssets = Ash.GetCharacterAssets(); and I am thinking that the next step would be to use AshAssets.FindAll to pull the data for the station I am interested in, and then proceed to extract the minerals?
Alternatively I could create a mineral object and extract the data that way somehow?
The generic lists are killing me. I'd just brute force my way by iterating through the list if(AshAssets[n].TypeID == 36) for example, but there has to be a better way to pull out the minerals. That's the type of C# stuff I need to learn, and Google provides information overload.
|

Salina Simmons
|
Posted - 2009.03.15 23:37:00 -
[215]
At first, great job Amida Ta!
i have a question regarding the TransactionEntry list. How do i get the information about which wallet division or account key was used for a specific corporation transaction?
Thanks in advance.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.16 16:54:00 -
[216]
Originally by: Salina Simmons At first, great job Amida Ta!
i have a question regarding the TransactionEntry list. How do i get the information about which wallet division or account key was used for a specific corporation transaction?
Thanks in advance.
If you are talkig about the test application it is under: Advanced Settings/Authentication/AccountKey In the Api it is eveApi.Authentication.AccountKey _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.16 16:59:00 -
[217]
Originally by: Ash Donai Thanks for the time you put into this Amida Ta! I clearly need some basic C# training, if anyone who's reading this could recommend a good path for a nooblet, I'd much appreciate it.
Meanwhile, I would like to extract the quantity for a specific item at a particular station and I am having some difficulty to conceptualize what needs to be done. Specifically I would like to end up with the quantity for each mineral at a particular station.
I pulled the assets via List<Asset> AshAssets = Ash.GetCharacterAssets(); and I am thinking that the next step would be to use AshAssets.FindAll to pull the data for the station I am interested in, and then proceed to extract the minerals?
Alternatively I could create a mineral object and extract the data that way somehow?
The generic lists are killing me. I'd just brute force my way by iterating through the list if(AshAssets[n].TypeID == 36) for example, but there has to be a better way to pull out the minerals. That's the type of C# stuff I need to learn, and Google provides information overload.
The if is pretty much how you would do it. If you have .Net 3+ you could also write shorter something like: IEnumerable<Asset> allTrits = AshAssets.Where(asset => asset.TypeID == 36); _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.18 15:32:00 -
[218]
EveAI Live Version 1.1.3 has been released!
Changes since last version:
- Updated static data to Apocrypha
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.3.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Rannoc
KINGS OF EDEN Sev3rance
|
Posted - 2009.03.19 15:42:00 -
[219]
Hi Amida, Any chance of you posting the source to "Test EveAI Live.exe" as an example on how to use your API?
Thanks, --R
|

KrustyDerClown
|
Posted - 2009.03.21 21:35:00 -
[220]
Edited by: KrustyDerClown on 21/03/2009 21:40:35 @Rannoc: It is realy easy. Just include the Namsespcae of EveAI in your Applications. It hanels all the types and methodes. Learning by doing is the best way to learn how it works.
empl:
using EveAI; using EveAI.Live; // Includes the Namespace
Eve.Authentication.UserID = CharDatas.MyUserID; Eve.Authentication.ApiKey = CharDatas.MyApiKey; Eve.Authentication.CharacterID = CharDatas.MyCharID; // Autentificate with the API
EveAI.Live.Character.SkillInTraining CurSkill = Eve.GetCharacterSkillInTraining(); // Define the Var with the spec. type to get the current Skill in Training. The Var. CurSkill now includes the parameters for the Skills like the Boni, Skillpointinformations etc.
So ty it and you will find it out :D
|
|

Feargus Nostrum
|
Posted - 2009.03.22 01:02:00 -
[221]
Ok, have been playing around with this (and WinForms in C#) for the last couple of days, and I've hit a snag. I was trying to grab the character sheet using v1.1.0, and this would cause my app to become non-responsive. So I tried something that looked simpler, SkillInTraining, and was able to get that info down. So I tried the test app, and plugged in all the keys and stuff, and again, I could get the SkillInTraining info, but not the CharacterSheet, because it would hang (using the test app). So I looked in the cache dir and sure enough, all the xml files appeared to be there.
So next step, get me the v1.1.3 and see if that fixes it. But now, neither my app nor the test app appear to be able to get the SkillInTraining info (they both hang, unresponsive). But again, the xml files are in the cache dir.
I will say that I don't expect mine to work well, because this is thrown together to learn the lib and such, but with the test app mirroring my problems I'm curious to see what it is that I'm doing wrong. Has anyone else had this problem, or any ideas what I might be able to do to correct it?
Some Notes: I am using the simple mode ( Eveapi = new Eveapi(userID, ApiKey, charID), and am able to get the account info in my app and the test app (things like char name and ID). |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.22 01:36:00 -
[222]
Originally by: Feargus Nostrum Edited by: Feargus Nostrum on 22/03/2009 01:11:59 Ok, have been playing around with this (and WinForms in C#) for the last couple of days, and I've hit a snag. I was trying to grab the character sheet using v1.1.0, and this would cause my app to become non-responsive.
I've just tried again myself and it seems to work ok for me. The testapp is currently not using threading, so it is expected to "hang" while it retrieves the data from the eve server. Depending on your computer, your internet connection and the load of the eve api server this may take some time (for me this is usually unnoticable, but from time to time it seems to hang for a few seconds).
_________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Feargus Nostrum
|
Posted - 2009.03.22 02:15:00 -
[223]
OK, feeling of ******ation right now. I left the test app going, and after about 25sec I alt tab to something else then alt tabbed back, and it had worked, and will now happily grab it from the cache for my app. I cleared out the cache and had a go with my app, and just left it, and it took a decent while, but it did work. However, our internet here is rather slow atm, so maybe that's affecting it, and it is running in Debug mode. Hopefully it will sort itself out on my end in the near future.
|

KrustyDerClown
|
Posted - 2009.03.24 18:19:00 -
[224]
It's true that it takes a while but then it runs cause you filter from cached datas.
If you have Problems or other questions ask me @ ICQ 147104376 :D
|

Xaroth Brook
Minmatar BIG Libertas Fidelitas
|
Posted - 2009.03.24 22:49:00 -
[225]
Any chance that the way the cache works can be manipulated, like definable delegates where you can use your own caching storage (be it serializing to xml, using db4o or whatever) .. that way it might be usable for developers to replace their own implementation with EveAI without having to re-write their systems.
this may even be expanded for other sections (EveAI.Data ? )
It was like a baby, it landed on my lap and was helpless and totally defenseless. Then I shot it and bragged about it on a killboard.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.24 23:51:00 -
[226]
Originally by: Xaroth Brook Any chance that the way the cache works can be manipulated, like definable delegates where you can use your own caching storage (be it serializing to xml, using db4o or whatever) .. that way it might be usable for developers to replace their own implementation with EveAI without having to re-write their systems.
Sounds somewhat interesting, but I'm not really seeing the advantage. EveAI.Live currently has two caches, a memory cache and a file cache. Both can be application contolled. You can build your own caching mechanism in front of it. However then you will have a problem if multiple applications run on the machine that all use the apis because they would possibly use different caches and thus invalidating each other.
Originally by: Xaroth Brook
this may even be expanded for other sections (EveAI.Data ? )
EveAI.Data does have a mechanism to be filled from various data sources, however it's not the part of the api that I'm currently making particulary public. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Klazeme
|
Posted - 2009.03.25 17:25:00 -
[227]
Hi,
This is a really useful library, keep up the good work!
I do however have a request.
The market journal from the api ( /char/WalletTransactions.xml.aspx ) by default returns the most recent 1000 entries. It is however possible to ask it to earlier entries,in blocks of 1000 by calling it with the optional parameter beforeTransID
As a trader I can easily have over 1000 buy/sell transactions in a day on one character and am losing entries all the time.
Any chance you can provide us with a way to request this data.
(More info on http://wiki.eve-id.net/APIv2_Char_JournalEntries_XML in the journal walking section near the bottom. Both the journalEntries.xml and walletTransactions.xml files have the same parameter)
Thanks in advance.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.25 23:57:00 -
[228]
Originally by: Klazeme The market journal from the api ( /char/WalletTransactions.xml.aspx ) by default returns the most recent 1000 entries. It is however possible to ask it to earlier entries,in blocks of 1000 by calling it with the optional parameter beforeTransID
Any chance you can provide us with a way to request this data.
The complex mode API already has this ability since the very begining. However it seems that a bug stopped it from working correctly. Moreover the EveApi class had no support for it at all. I fixed the bug and made a change to EveApi: EveApi will now by default retrieve all available data. It also has a new property IgnoreMultiPartRequests which will disable this behaviour. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.26 00:07:00 -
[229]
EveAI Live Version 1.1.4 has been released!
Changes since last version:
- Fixed a bug that prevented multi-part requests to work (for Journal and Transactions).
- Changed EveApi to retrieve all data from multi-part requests by default.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.4.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Feargus Nostrum
|
Posted - 2009.03.26 00:58:00 -
[230]
Righto, so got it all working, and am playing around with it now. I noticed that there is a facility to retrieve character portraits (CharacterImage class), but have been unable to find a similar facility for Corp Logos. First off, is there a similar system for logos that I'm being dumb and not seeing? If there isn't, is there a way to use the information in the CorporationSheet.LogoGraphic to get/recreate the graphic? I noticed that it has an ID (for the whole graphic, as well as the parts and colours), and have wondered if there is a way to use this somehow?
Any help is greatly appreciated.
|
|

Klazeme
|
Posted - 2009.03.26 08:29:00 -
[231]
Originally by: Amida Ta I fixed the bug and made a change to EveApi: EveApi will now by default retrieve all available data. It also has a new property IgnoreMultiPartRequests which will disable this behaviour.
Wonderful! Getting all the data I need now.
There may still be a slight bug as I noticed I always get an exact multiple of 1000 entries. Possibly the last request that should normally have less than 1000 is not being returned?
Not that it matters as they will be very old. (a week or two weeks depending on which API reference you read)
PS: a small isk donation will be on its way to you soon (as soon as I have some funds not invested in orders) as a thank you. 
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.26 09:36:00 -
[232]
Originally by: Klazeme
There may still be a slight bug as I noticed I always get an exact multiple of 1000 entries. Possibly the last request that should normally have less than 1000 is not being returned?
No, thats correct. It seems if you are limited by the week the last dataset will always be a complete dataset (1000 entries) even if you get more than a week through that.
Originally by: Klazeme
PS: a small isk donation will be on its way to you soon (as soon as I have some funds not invested in orders) as a thank you. 
Looking forward to that. I think it would be the first donation ever that I get for EveAI.Live. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Commander Ashik
Minmatar We See Dead People Visions of Warfare
|
Posted - 2009.03.29 17:00:00 -
[233]
How can I translate the .xml file into a .html file for easy reading?
|

Tonto Auri
Vhero' Multipurpose Corp
|
Posted - 2009.03.29 18:39:00 -
[234]
Originally by: Commander Ashik How can I translate the .xml file into a .html file for easy reading?
You can. It would be a good practice in XSLT for you :P -- Thanks CCP for cu |

Aelena Thraant
The White Aces
|
Posted - 2009.03.30 04:36:00 -
[235]
I think there is a problem with the GetCharacterSkillQueue in 1.14
Here is the call I'm using
Quote: EveApi api = new EveApi(Row.ID, Row.APIKey, Row.CharID); List<SkillInTraining> Queue = api.GetCharacterSkillQueue();
However other then the Current server time everything is -1 or NaN
I ran the GetCharacterSheet() method just to make sure my key info is correct and it pulls up fine.
EVE Killboard and Forum Hosting Service: MyEVEKb |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.30 08:11:00 -
[236]
Originally by: Aelena Thraant I think there is a problem with the GetCharacterSkillQueue in 1.14
Seems as if CCP did change the API without notice again. Will fix that asap. Thanks for the info... _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.30 08:12:00 -
[237]
EveAI Live Version 1.1.5 has been released!
Changes since last version:
- Hotfix for a (undocumented?) change on the Skill Queue API.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.5.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Talenram
|
Posted - 2009.03.30 21:39:00 -
[238]
I've been banging my head against this for a while. I want to get information about Agents out of EveAI.Core and I can't get it to work. From page 5 Amida Ta posted this code:
DataCore core = new DataCore (); DataReader reader = new DataReader (core); reader.Read (DataTypes.BasicMapData | DataTypes.Products);
The second line is invalid with the message "Cannot create an instance of the abstract class or interface 'EveAI.DataReader'". Could anyone help me out by pointing out how to actually get this to work? I know that i should use DataTypes.Agents in the third line, but I can't get the reader to point at the core.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.03.31 22:09:00 -
[239]
Originally by: Talenram
DataCore core = new DataCore (); DataReader reader = new DataReader (core); reader.Read (DataTypes.BasicMapData | DataTypes.Products);
Because of some changes you have to use: DataReader reader = new StaticDataDataReader (core);
Please note that you usually shouldn't need to initialize that by yourself. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Talenram
|
Posted - 2009.04.02 03:18:00 -
[240]
Turns out the agent information isn't contained in the EveAI.Core.dll file, thus the root of most of my problems. So now I have two options:
I'm stuck trying to figure out how to modify the .dll (can't get VCS to resolve the EveAI.DataDecoder reference, since it seems to me that this is a reference to the .dll itself).
Or I need to figure out how to get the code to become aware of the additional (although outdated) EveAI.Data.zip file.
Any help would be appreciated.
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.04.02 23:51:00 -
[241]
Originally by: Talenram
Or I need to figure out how to get the code to become aware of the additional (although outdated) EveAI.Data.zip file.
Any help would be appreciated.
I just updated the EveAI.Data.zip file, so it should now contain the most current data from Apocrypha. Second you just specify the data file in the constructor: x = new StaticDataDataReader (dataCore, dataDirectory) The dataDirectory should be the directory where you put the EveAI.Data.zip file. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Talenram
|
Posted - 2009.04.03 02:18:00 -
[242]
I've tried almost every configuration of reading the data I can, but I keep getting exceptions every time I try to read data. My code follows:
DataCore data = new DataCore(); DataReader reader = new StaticDataDataReader(data, @"C:\"); reader.Read();
The EveAI.Data.Zip is in C:\. I've tried changing reader to StaticDataDataReader. I've tried giving Read() specific DataTypes, such as DataTypes.Agents and I still get exceptions. The exception code follows:
System.Collections.Generic.KeyNotFoundException was unhandled Message="The given key was not present in the dictionary." Source="mscorlib" StackTrace: at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at EveAI.StaticDataDataReader.ReadAgents() at EveAI.DataReader.Read(DataTypes typesToRead) at EveAI.DataReader.Read() at ConsoleApplication1.Program.Main(String[] args) in ...\Program.cs:line 39 at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException:
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.04.03 09:17:00 -
[243]
I believe this problem was already fixed in an internal version some time ago that has not be released yet. Problem was that the official static data contains some inconsistencies in it's latest drop (*sigh*). _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.04.03 09:30:00 -
[244]
I put a version that has a workaround for the data inconsistency up to: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.5b.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Talenram
|
Posted - 2009.04.04 00:46:00 -
[245]
That fixed things up pretty well. A comment and a request, though.
The first entry in the agtAgents file is
10$19$1000137$60012739$1$0$10
This 10 is not a valid agentID, and I can't locate an agent with a corporationID of 1000137 and a stationID of 60012739 so I assume this entry is just totally invalid and can be ignored.
As for my request, is there any way you could add the Corporation information to the Agent and/or Station? The information is in the data, it's just not available through the API that I've been able to locate. I could probably hack something together using a lookup table of all the station names and what corporation they belong to, but this seems inelegant.
Thanks for the work you've put into this project, Amida Ta, and sorry for the grief. :-)
|

Arous Drephius
Perkone
|
Posted - 2009.04.04 18:59:00 -
[246]
I'm having a problem getting the CharacterNameLookupApi class to work properly. Here's my code:
EveAI.Live.Generic.CharacterNameLookupApi lookup = new EveAI.Live.Generic.CharacterNameLookupApi(); foreach (Alliance.MemberCorporation corp in all.MemberCorporations) { lookup.CharacterIDsToLookup.Add(corp.CorporationID); } lookup.UpdateData(EveApiBase.UpdateCharaceristics.OnlineOnly);
I get an ArgumentOutOfRangeException with the last line. What am I doing wrong?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.04.07 21:56:00 -
[247]
Originally by: Arous Drephius I'm having a problem getting the CharacterNameLookupApi class to work properly. Here's my code: I get an ArgumentOutOfRangeException with the last line. What am I doing wrong?
This seems to be another undocumented API change. Will be fixed for the next version. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Sam McMinus
|
Posted - 2009.04.10 01:16:00 -
[248]
I'm curious if there is a way to link the Silo's output from CorporationAssets to the CorporationStarbaseDetails so i can see what silo's are anchored around what towers.
for example, i'd like to be able to see Silo 1 contains Platinum and is anchored on Starbase at Jita - Planet 1 - Moon 6.
(yes the above is just an example of the style of output i am trying to get)
is this even possible with the current API?
|

Commander Ashik
Minmatar We See Dead People Visions of Warfare
|
Posted - 2009.04.10 22:33:00 -
[249]
How to get corp logos using C#:
1. Get Corpid by using the corpsheet api: EveApi api = new EveApi(USERID, "APIKEY", CHARID); CorporationSheet corpSheet = api.GetCorporationSheet();
2. Create a new picturebox
3. Under InitializeComponent(); in your code, add:
pictureBox1.ImageLocation = "http://assets.evsco.net:8080/thumb.php?type=corp&id=" + corpSheet.CorporationID.ToString() +"&size=WHATEVERSIZEYOUWANT";
3(Cont'd). pictureBox1 can be changed to whatever you named your pictureBox.
|

Arous Drephius
Perkone
|
Posted - 2009.04.14 11:07:00 -
[250]
Any ETA on a fix for the API changes? I really need to get my app working.
|
|

Wodeki
|
Posted - 2009.04.16 14:27:00 -
[251]
I am writing an app in C# and I was hoping to cache the market data obtained using the EveAI library in a CSV format, however I am having trouble reconstructing some of the objects back from strings because some of their data members are read only. For instance, a MarketOrder's Expires, ExpiresLocalTime and VolumeSold are read only.
Additonally, a MarketOrder owns a Station and and Type which are more complex classes which can not easily be reconstructed from strings. Is there any way for me to serialize and parse the data obtained from the EveAPI library? Your library is outstanding and I am really looking forward to using it more fully.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.04.16 18:45:00 -
[252]
Originally by: Wodeki I am writing an app in C# and I was hoping to cache the market data obtained using the EveAI library in a CSV format, however I am having trouble reconstructing some of the objects back from strings because some of their data members are read only. For instance, a MarketOrder's Expires, ExpiresLocalTime and VolumeSold are read only.
Additonally, a MarketOrder owns a Station and and Type which are more complex classes which can not easily be reconstructed from strings. Is there any way for me to serialize and parse the data obtained from the EveAPI library? Your library is outstanding and I am really looking forward to using it more fully.
1) You don't need to reconstruct the readonly properties. They are just for convenience and calculated from the other properties.
2) You can fill those objects from their IDs with something like: api.EveApiCore.FindProductType (someTypeID) or api.EveApiCore.FindStation (someTypeID) _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.04.16 18:50:00 -
[253]
Originally by: Arous Drephius Any ETA on a fix for the API changes? I really need to get my app working.
Sorry for the delay. I am somewhat unhappy with the User/ID query as a whole because it currently (possibly) creates too much cache files. However I haven't got enough time to fix this now (will be a somewhat larger change).
So meanwhile here is a version that fixes your problem: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.5c.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Wodeki
|
Posted - 2009.04.17 03:26:00 -
[254]
I really appreciate the fast turn around with answering my questions! I am also curious as to why GetCorporationWalletJournal() and GetCorporationWalletTransactions() seem to always return empty lists. To rule out any issues that I may have with my own code, I am using your test app to verify that I have my settings correct. It is in the test app that I receive no data. What are the AccountKey and StarbaseID parameters used for under the Authentication object? Are these somehow related to the fact that I am not receiving any data? Do I ever need to supply the CorporationID as the CharacterID when retrieving any of the data, or will it always be the CharacterID within the corporation that should be used? Thanks in advance!
|

Jack Tau
Caldari Coalition of Nations DEFI4NT
|
Posted - 2009.04.17 15:16:00 -
[255]
Just wanted to say, brilliant job on the API. Your hard work is much appreciated! prism-x lurves CON Enkidu Production Manager |

Jadin Lazarin
Caldari Cassus Beli Ethereal Dawn
|
Posted - 2009.04.17 17:07:00 -
[256]
Any chance of making these libraries COM accessable so I can reference them from with excel vba ?
|

Wodeki
|
Posted - 2009.04.17 19:45:00 -
[257]
Originally by: Wodeki I really appreciate the fast turn around with answering my questions! I am also curious as to why GetCorporationWalletJournal() and GetCorporationWalletTransactions() seem to always return empty lists. To rule out any issues that I may have with my own code, I am using your test app to verify that I have my settings correct. It is in the test app that I receive no data. What are the AccountKey and StarbaseID parameters used for under the Authentication object? Are these somehow related to the fact that I am not receiving any data? Do I ever need to supply the CorporationID as the CharacterID when retrieving any of the data, or will it always be the CharacterID within the corporation that should be used? Thanks in advance!
Nevermind. I realized that you need to instantiate a new EveApi when switching accounts. It is not sufficient to just set the Authentication.CharacterID, Authentication.UserID, and Authentication.ApiKey data members and then invoke the methods again to get the data.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.04.18 17:21:00 -
[258]
Edited by: Amida Ta on 18/04/2009 17:26:28 EveAI Live Version 1.1.6 has been released!
Changes since last version:
- Static data updated to Apocrypha 1.1.
- Contains Hotfixes for reported issues that have been previously released.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.6.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Mehan Qualson
|
Posted - 2009.04.18 19:44:00 -
[259]
404 Error.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.04.18 20:05:00 -
[260]
Hopefully fixed _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

Betty Rhage
|
Posted - 2009.04.19 18:28:00 -
[261]
Where do I get the source code? I cant find it anywhere in the download :(
|

Talenram
|
Posted - 2009.04.19 19:25:00 -
[262]
Originally by: Betty Rhage Where do I get the source code? I cant find it anywhere in the download :(
Read the thread. There is no source. You can deconstruct the .dll files if you want the source.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.04.21 07:28:00 -
[263]
Edited by: Amida Ta on 21/04/2009 07:29:21 BTW: Forgot one important point for the last release: There has been some work to run EveAI.Live in Partial-Trusted-Environments. EveAI.Live now successfully runs as part of Cloud Applications e.g. on Windows Azure.
P.S. For this scenario only the memory cache is currently possible. So you have to deactivate file-caches. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Wodeki
|
Posted - 2009.04.22 18:54:00 -
[264]
I am using the api GetCharacterAssets(). I am walking the list of assets and organizing each of the assets into regions, solar systems and stations. For my corporation's assets, many of the items are located in an office Hanager. The asset for the office does not have the Location class populated. I have tried using both the simple api as well as loading all of the static data reading the EveAI.Data.zip file, but each of the following calls below return null.
eveApi.EveApiCore.FindCelestial(asset.LocationID); eveApi.EveApiCore.FindRegion(asset.LocationID); eveApi.EveApiCore.FindSolarSystem(asset.LocationID); eveApi.EveApiCore.FindStation(asset.LocationID);
The office asset has a LocationID of 66010865. What is the best way to figure out what kind of location this is? Am I using the wrong API to find the corresponding location? |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.04.22 22:23:00 -
[265]
Have a look at this description: http://wiki.eve-id.net/APIv2_Corp_AssetList_XML I might add that as auto-resolution mechanism in EveAI, too. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Wodeki
|
Posted - 2009.04.23 13:21:00 -
[266]
Originally by: Amida Ta Have a look at this description: http://wiki.eve-id.net/APIv2_Corp_AssetList_XML I might add that as auto-resolution mechanism in EveAI, too.
This worked great! Thanks very much. I would have never figured that out on my own. It would certainly be handy if the API would do this natively, but certainly not a biggie.
|

Wodeki
|
Posted - 2009.04.29 15:39:00 -
[267]
I decided to switch over to using all of the advanced APIs instead of using the simple Eve API. However I noticed right away that the advanced API does not resolve the ProductType or Station (Location) information in any of the results returned, unlike the simple API.
EveApi.GetCharacterMarketOrders(); <- returns MarketOrder with Type and Station set
CharacterMarketOrderApi.UpdateData(); CharacterMarketOrderApi.Data; <- returns MarketOrder with Type and Station set to null
This is also true for transactions, journal entries, etc. I do not see any way through the API to set the DataCore so the information can be populated automatically, as it is done in the EveCentralMarketApi. I do not need the all of the data from EveAI.Data.zip, just the basic map and product data that comes from the dll.
I must be missing something simple, but I'm currently at a loss.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.04.29 15:55:00 -
[268]
Edited by: Amida Ta on 29/04/2009 15:57:19 You either have to do it "by hand" or you can use the methods ResolveCoreReferences and ResolveLiveReferences to get the Object-Forms
CharacterMarketOrderApi.UpdateData(); CharacterMarketOrderApi.Data; <- returns MarketOrder with Type and Station set to null CharacterMarketOrderApi.ResolveCoreReferences (dataCore); _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Wodeki
|
Posted - 2009.04.29 17:35:00 -
[269]
Edited by: Wodeki on 29/04/2009 17:44:17 Amida, this is working great now -- thanks! JournalEntries however still do not have their WalletTransferType (TransferType data member) resolved correctly. My DataCore is being initialized with:
EveAI.DataCore dataCore = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(EveAI.DataTypes.BasicMapData | EveAI.DataTypes.Products);
Is there a different DataType that the DataCore needs to be initialized with? Do I need the read the full EveAI.Data.zip to get this data? I noticed that the DataCore itself does not have a "FindWalletTransferType" method. Thanks in advance.
EDIT: Nevermind. I just realized there exists a WalletTransferTypeApi.
|

Sgt Oddbodge
|
Posted - 2009.05.11 13:16:00 -
[270]
Hello... nice work btw.. having fun with this.
i have the industrial jobs working ok. List<IndustryJob> ijob = api.GetCharacterIndustryJobs();
i would like the invent and copy jobs (well all science/research) available as well..
how do i get a list of research jobs ? what have i blatanly missed ?
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.05.13 07:22:00 -
[271]
You get all jobs from that api (production, research...) _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Wodeki
|
Posted - 2009.05.20 15:36:00 -
[272]
Edited by: Wodeki on 20/05/2009 15:39:42
|

Andrey Skorpion
|
Posted - 2009.05.20 17:16:00 -
[273]
Edited by: Andrey Skorpion on 20/05/2009 17:19:41 Hello guys!
I wonder how can i have a Characters list only having userID and APIkey.
EveApi api = new EveApi ( 9999, "asdaofvho1234789vsdf");
from here how can i retrieve the list of the character in that account? and how can i handle them?
@Edit is there a little guide on how to use EveAI as library?that help you build programs, or give you examples on how to use methods.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.05.20 17:38:00 -
[274]
Originally by: Andrey Skorpion Edited by: Andrey Skorpion on 20/05/2009 17:19:41 Hello guys!
I wonder how can i have a Characters list only having userID and APIkey.
EveApi api = new EveApi ( 9999, "asdaofvho1234789vsdf");
from here how can i retrieve the list of the character in that account? and how can i handle them?
Something like: var accounts = api.GetAccountEntries ();
There is some info on the first topic of the thread (on eve-dev) _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Kathryna Gorevic
|
Posted - 2009.05.21 08:35:00 -
[275]
Edited by: Kathryna Gorevic on 21/05/2009 08:35:49 Ok guys, now i have learned how to manage with api a litle; but i still have a huge problem:
-> After i open the API, with userID, apikey, and characterID, he cache somehow all data that i get from any GetXXX function, and when i run the same program he always give me back the same information. How can i update those information from the Eve Web Server?
For example: TimeSpan tempo; List<SkillInTraining> coda;
coda = api.GetCharacterSkillQueue();
tempo = coda[0].TrainingEnd.Subtract(coda[0].TrainingStart);
MessageBox(tempo.TotalSeconds.ToString());
This code, yesterday give me 20000 seconds, and today give me the same amount, but that character never stop learning that skill.
|

Yaghi
|
Posted - 2009.05.21 17:37:00 -
[276]
Hi, is there anyway to convert a string e.g. "Depleted Uranium L" to it's ID? I found this: Public Function GetIdForObject(ByVal eveAiObject As Object) As Integer but i don't know how to create the eveAiObject in VB. Can u give me some help, or is there a better way to do it?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.05.21 23:31:00 -
[277]
Originally by: Kathryna Gorevic
-> After i open the API, with userID, apikey, and characterID, he cache somehow all data that i get from any GetXXX function, and when i run the same program he always give me back the same information. How can i update those information from the Eve Web Server?
I want to find a way to bypass the time that i have to wait before they refresh automatically the current information on cache.
The caching period is forced by the eve servers. You could deactivate the automatic caching in EveAI.Live but you sill wouldn't get new information any earlier. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.05.21 23:36:00 -
[278]
Originally by: Yaghi Hi, is there anyway to convert a string e.g. "Depleted Uranium L" to it's ID? I found this: Public Function GetIdForObject(ByVal eveAiObject As Object) As Integer but i don't know how to create the eveAiObject in VB. Can u give me some help, or is there a better way to do it?
You cannot create that object yourself. You will have to use an existing one. ProductType type = api.EveApiCore.ProductTypes.Find (...); // Check for name equality here _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Andrey Skorpion
|
Posted - 2009.05.25 17:20:00 -
[279]
How can i check if the api gived to me by the user (using textboxes) are correct or not?
i mean if someone give me:
UserID: 1 ApiKey: 1
how can i verify if the EveServer accept the connection with those parameters? |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.05.26 06:50:00 -
[280]
Originally by: Andrey Skorpion How can i check if the api gived to me by the user (using textboxes) are correct or not?
i mean if someone give me:
UserID: 1 ApiKey: 1
how can i verify if the EveServer accept the connection with those parameters?
Just make an API call with them and observe the error return values. |
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.06.04 06:53:00 -
[281]
Edited by: Amida Ta on 04/06/2009 06:53:26 EveAI Live Version 1.1.6b has been released!
Changes since last version:
- Full data added for Celestial statistics in the DataCore (check if the type is a NaturalObjectCelestial which has statistics). Discussed and requested in another thread.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.6b.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Quantar Raalsken
Gallente
|
Posted - 2009.06.04 12:34:00 -
[282]
Originally by: Amida Ta Edited by: Amida Ta on 04/06/2009 06:53:26 EveAI Live Version 1.1.6b has been released!
Changes since last version:
- Full data added for Celestial statistics in the DataCore (check if the type is a NaturalObjectCelestial which has statistics). Discussed and requested in another thread.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.6b.zip
  
======= Homeworld Hamachi Network
|

Professor McCopy
|
Posted - 2009.06.18 21:57:00 -
[283]
Thanks for the great lib Amida. I have been using EveAI for a little while and have been trying to familiarize myself with it. I have one question though. When using complex mode, a skill api call will return with Skill set to null. This is not a problem with simple mode. "How do you get that specific data while using complex mode?
Dim SkillQueue As New EveAI.Live.Character.CharacterSkillQueueApi SkillQueue.AuthenticationData = API.Authentication SkillQueue.UpdateData()
Just wondering since I am kinda stuck on this. Everything else seems to be fine.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.06.18 22:41:00 -
[284]
Originally by: Professor McCopy Thanks for the great lib Amida. I have been using EveAI for a little while and have been trying to familiarize myself with it. I have one question though. When using complex mode, a skill api call will return with Skill set to null. This is not a problem with simple mode. "How do you get that specific data while using complex mode?
Dim SkillQueue As New EveAI.Live.Character.CharacterSkillQueueApi SkillQueue.AuthenticationData = API.Authentication SkillQueue.UpdateData()
Just wondering since I am kinda stuck on this. Everything else seems to be fine.
In complex mode this won't happen automatically. Look at this post to find your how you can use EveAI without doing it yourself: http://www.eveonline.com/ingameboard.asp?a=topic&threadID=654430&page=9#267 |

EOH Tomw
Gallente Eve Online Hold'Em ISK Six
|
Posted - 2009.06.19 03:48:00 -
[285]
CorporationStarbaseList
I am trying to get the MOON and Moonnames from this but they dont seem to be avaliable anyway i try. Would like to keep what Plant and Moon the poses are located at. i can get everything else to work but that.
Any help would be much appericated.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.06.19 10:13:00 -
[286]
Originally by: EOH Tomw
Moon name is currently Blank. I have downloaded the EveAI.Data.zip and tried reading it in but i get a file not found error while trying that.
You have to specify the directory only for the StaticDataDataReader. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

EOH Tomw
Gallente Eve Online Hold'Em ISK Six
|
Posted - 2009.06.19 11:24:00 -
[287]
Originally by: Amida Ta Edited by: Amida Ta on 19/06/2009 10:18:08
Originally by: EOH Tomw
Moon name is currently Blank. I have downloaded the EveAI.Data.zip and tried reading it in but i get a file not found error while trying that.
You have to specify the directory only for the StaticDataDataReader.
Moonnames should be available even without the complete EveAI.Data.zip. Is the MoonID correct? (Can't test because my corp does not have any POSses).
There is a moon ID listed when i ask for that.
I have tryed useing the CoreData using the following to no availe to get the moon info.
Dim core As New EveAI.DataCore() Dim reader As New EveAI.DataDecoder.DataDecoderDataReader(core, "C:\temp\") reader.Read(EveAI.DataTypes.Celestials)
Dim reader2 As EveAI.DataReader reader2.Read() Then i tryed this
reader2.Core.FindCelestial(item2.MoonID)
If you wana meat up in game i can give you an apikey you can use to test with.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.06.19 14:25:00 -
[288]
Originally by: EOH Tomw
Dim core As New EveAI.DataCore() Dim reader As New EveAI.DataDecoder.DataDecoderDataReader(core, "C:\temp\") reader.Read(EveAI.DataTypes.Celestials)
You need to use the StaticDataDataReader, not a DataDecoderDataReader. Other than that you also might need to pass more types to the reader.Read (to try don't specify any which will load everything) _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.06.19 14:36:00 -
[289]
EveAI Live Version 1.1.6c has been released!
Changes since last version:
- Custom request for an addition. Thanks for the ISK!
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.6c.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

JuicyCakes
|
Posted - 2009.06.22 03:32:00 -
[290]
Hi,
Quick question about caching. Lets say my app uses the EveAI to pull Jump data (cache interval is 1 hour) at 21:00:00. Then the app tries to pull updated Jump data at 22:00:00. At 22:00:00 exact, will the app get new data or cached data? I guess what I'm trying to ask is are the cachUntil timestamps inclusive or exclusive?
I also prefer to disable caching on the client side and just ask the server for updated data every hour. Is there an API call in EveAI to do that? I looked at the EveApi but couldn't find any relevant members.
Thanks, James |
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.06.22 16:42:00 -
[291]
Originally by: JuicyCakes Quick question about caching. Lets say my app uses the EveAI to pull Jump data (cache interval is 1 hour) at 21:00:00. Then the app tries to pull updated Jump data at 22:00:00. At 22:00:00 exact, will the app get new data or cached data? I guess what I'm trying to ask is are the cachUntil timestamps inclusive or exclusive?
To be honest I don't know. But I don't think it is relevant either. Just assume it is inclusive and wait that one second.
Originally by: JuicyCakes
I also prefer to disable caching on the client side and just ask the server for updated data every hour. Is there an API call in EveAI to do that? I looked at the EveApi but couldn't find any relevant members.
In the simple mode all caching is completely transparent. In complex mode (using the *Api classes directly) you can contol memory and file based caches exactly (IgnoreMemoryCache, PersistData). |

JuicyCakes
|
Posted - 2009.06.22 20:30:00 -
[292]
Thank you for that info.
The inclusive/exclusiveness is important to me, as I'm planning to run this program for extended durations (> 10 days at a time). At that duration, there will be noticeable drifts in start/end times.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.06.23 15:17:00 -
[293]
I still don't get where your problem is, even if you could run your application for centuries... If you want the most current data (I guess thats what you want) just update as soon as allowed. |

Wodeki
|
Posted - 2009.07.08 18:18:00 -
[294]
Is there any way to determine the researched ME/PE levels of a blueprint if you own the item? The Blueprint object does not seem to contain this information, although I do know that it is contained within the game. I am not certain if the Eve API even supports passing this information.
|

TeliaA
|
Posted - 2009.07.08 20:51:00 -
[295]
Edited by: TeliaA on 08/07/2009 20:51:21
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.07.08 20:52:00 -
[296]
EveAI Live Version 1.1.7 has been released!
Changes since last version:
- Updated the static data to Aprocrypha 1.3.1
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.7.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

EOH Tomw
Gallente Eve Online Hold'Em ISK Six
|
Posted - 2009.07.10 19:30:00 -
[297]
So next up on my questions and awnsers list is Items in Wormholes. The systems have Names and Planets and Moons. When pulling my starbase list i am getting a few with no moon names. I know they released the wormwhole info but cant seem to find it in the eveai library. Point me in the right direction on master of the API...
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.07.11 16:06:00 -
[298]
I'm not sure if I understand your problem? You are missing moon data within wormholes? And in what case? When using the full EveAI.Data.zip file? Please note that this is only somewhat supported.
I just checked and it seems the data is in there. I'll upload a new version 1.3.1 for it anyways, but I somehow doubt this will solve your problem. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Rivercuomo
|
Posted - 2009.07.13 05:24:00 -
[299]
Is there some kind of documentation with this? As I am very new to c# and OO in general.
I don't understand how to grab corporation wallet info. I played around with it and got the character sheet, and corporation info to come up, but how do I get journal info? |

Osku Rei
Caldari Knights of the Old Empire AAA Citizens
|
Posted - 2009.07.13 16:31:00 -
[300]
hey all, can someone help me with getting the details of a starbase (pos) I have a directors API and i am able to get the list of pos's that the corp has and display in a datagrid
however when i try to get the details of a pos is comes back with an error, this is my code
StarbaseDetail starbaseDetail = EveApi.GetStarbaseDetail(Account ID, Char ID, "Full Api", Starbase ID); Console.WriteLine("usageFlags: {0} deployFlags: {1}", starbaseDetail.UsageFlags, starbaseDetail.DeployFlags);
foreach (StarbaseDetail.FuelListItem fli in starbaseDetail.FuelList) { dataGridView2.DataSource = starbaseDetail.FuelList; } }
the Account ID etc are just to represent the data ( o i dont post his full api on the forms :) )
it highlights the first line and gives a "NullReferenceException was unhandled" error
can someone point me in the right direction, either here or contact me ingame on this char
thanks Travian - Free webbased MMO/RPG >>LINK<<< - If you get to 75 or more population ill give you some resources + help :D(uk6) |
|

Osku Rei
Caldari Knights of the Old Empire AAA Citizens
|
Posted - 2009.07.13 19:18:00 -
[301]
nvm i think i posted in the wrong topic :S Travian - Free webbased MMO/RPG >>LINK<<< - If you get to 75 or more population ill give you some resources + help :D(uk6) |

Osku Rei
Caldari Knights of the Old Empire AAA Citizens
|
Posted - 2009.07.15 23:20:00 -
[302]
actually my question still stands, how do i get and display the starbaselist, theres so many different methods, im guessing its StarbaseListEnrty ?? Travian - Free webbased MMO/RPG >>LINK<<< - If you get to 75 or more population ill give you some resources + help :D(uk6) |

Xiola Umbar
Minmatar Iron Dragon Industries
|
Posted - 2009.07.16 08:14:00 -
[303]
Originally by: Wodeki Is there any way to determine the researched ME/PE levels of a blueprint if you own the item? The Blueprint object does not seem to contain this information, although I do know that it is contained within the game. I am not certain if the Eve API even supports passing this information.
This.
I'm loving the look of this framework, but I need detailed blueprint info for the app I've started to write. Is it available via the framework?
Many thanks for your hard work btw.
|

Xiola Umbar
Minmatar Iron Dragon Industries
|
Posted - 2009.07.16 20:25:00 -
[304]
Hi all,
I'm a bit confused by the whole core data thing...can someone explain please.
For example, I've successfully loaded a DataCore object into memory that holds all my product types, which is fine. I can see all the product types in there, and it's all good.
I've now loaded all my assets for my character, and I want to compare the two, but the Product Type objects within the Data Core don't seem to have a TypeId visible, so how do I match them?
I've read through this whole thread but can't seem to find an answer - can anyone help?
Many thanks XU
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.07.16 22:58:00 -
[305]
Originally by: Xiola Umbar
I've now loaded all my assets for my character, and I want to compare the two, but the Product Type objects within the Data Core don't seem to have a TypeId visible, so how do I match them?
I've read through this whole thread but can't seem to find an answer - can anyone help?
Many thanks XU
Call FindProductType (typeID) on the datacore object and you will get the object you are looking for... BTW: you shouldn't need to use that. If you get a TypeID back then the resulting object should also have a Type property that directly gives you the type. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Gekkoh
Caldari Rule of Five The Junta
|
Posted - 2009.07.18 03:47:00 -
[306]
Originally by: Amida Ta
Originally by: Yaghi Hi, is there anyway to convert a string e.g. "Depleted Uranium L" to it's ID? I found this: Public Function GetIdForObject(ByVal eveAiObject As Object) As Integer but i don't know how to create the eveAiObject in VB. Can u give me some help, or is there a better way to do it?
You cannot create that object yourself. You will have to use an existing one. ProductType type = api.EveApiCore.ProductTypes.Find (...); // Check for name equality here
I can't seem to use Find, as I get this error:
Error2'System.Collections.Generic.ICollection<EveAI.Product.ProductType>' does not contain a definition for 'Find' and no extension method 'Find' accepting a first argument of type 'System.Collections.Generic.ICollection<EveAI.Product.ProductType>' could be found (are you missing a using directive or an assembly reference?)
Basically, what I want to do is get the id with the name string. I *think* I can do that with First() and FirstOrDefault(), but I'm still trying to make that work.
|

Gekkoh
Caldari Rule of Five The Junta
|
Posted - 2009.07.18 04:00:00 -
[307]
Ha! As usual, I frustrate myself trying to figure it out so long that I finally go and ask a question, only to then quickly solve it afterward.
Here is an example to find the id of a charon: ProductType prod = api.EveApiCore.ProductTypes.FirstOrDefault(ProductType => ProductType.Name == "Charon"); int id = api.EveApiCore.GetIdForObject(prod);
Thanks for all your work on this API. While I do wish I could see the source to learn from, I can't exactly complain since you've made this available in the first place. 
|

Ray McCormack
hirr
|
Posted - 2009.07.18 11:31:00 -
[308]
Originally by: Gekkoh While I do wish I could see the source to learn from
Reflector
| Petition Ray McCormack! |

Kane Plekkel
We Are The Walrus
|
Posted - 2009.07.29 21:58:00 -
[309]
Hiya guys. I've just started using EveAI and I'm having a bit of trouble accessing market info. Here's what I have, very basic project so far:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net.NetworkInformation; using EveAI.Live; using EveAI.Live.Market;
EveAI.DataCore dataCore = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(EveAI.DataTypes.Products); EveCentralMarketApi marketApi = new EveCentralMarketApi(dataCore);
EveAI.Product.ProductType product = dataCore.FindProductType(34);
ProductStatistics p = marketApi.GetProductStatistics(product);
Console.WriteLine(marketApi.LastWebUpdateException); Console.ReadLine();
Console.WriteLine(p.Product); Console.WriteLine(p.BuyOrders.Median); Console.ReadLine();
Now, GetProductStatistics is gathering an error upon execution, and I printed the exception to see what it is. Here's what came up:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 38.113.114.184:80 at ... lots of Socket calls...
So i decided to put the ip in my browser, and came up with a page saying "the site you're looking for isn't here yet" or something similar. Now, is this really the case, or am I doing something wrong? I find it hard to believe that this is the case or I think I'd be seeing a ton of "wtf mah programz borked!!!" threads...
Help would be much appreciated, thanks.
|

Kane Plekkel
We Are The Walrus
|
Posted - 2009.07.29 23:53:00 -
[310]
Ah wait, it seems i somehow have port 80 blocked...any ideas on opening this up? I've gone to my router and opened _EVERY_ port, using DMZ, to my laptop, and still not getting through. I'm not sure how to open it for all programs beyond that.
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.07.31 16:24:00 -
[311]
Edited by: Amida Ta on 31/07/2009 16:27:31 Edited by: Amida Ta on 31/07/2009 16:24:25 Port 80 is HTTP. I'm pretty sure they don't block that. My assumption would be that you somehow got a wrong IP resolution or eve-central changed their IP recently and it did not yet propagate for you (should solve itself very soon in that case).
BTW: I just tested with the EveAI Testapp and for me it seems to work. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Kane Plekkel
We Are The Walrus
|
Posted - 2009.08.01 01:06:00 -
[312]
Yeah I figure I'll give it a try in a couple weeks, as I have some stuff coming up soon that will be taking most of my time. So i'll probably post back here with those results.
|

Gekkoh
Caldari Rule of Five The Junta
|
Posted - 2009.08.01 04:39:00 -
[313]
Is there some way to access the data that comes from the table invTypeReactions in the data dump?
I could just hard code it into my app, but since I'm doing this as a learning experience (and to make some isk ) I'd rather grab that data from EveAI if possible.
Thanks!
|

yani Ledliv
The Tentacle
|
Posted - 2009.08.09 00:13:00 -
[314]
Hi Tnx for a great api. I am able to use the EveCentralMarketApi and get market data from all regions, but when I try to get some from one spesific region, it just returns values with price like 0. So: am I missing something?
using System; using System.Collections.Generic;
using EveAI.Live; using EveAI.Live.Market; using EveAI.Map;
static class TestMod { public static void GetMarketStats() { int productID = 34; // Testcode, 34=Tritanium int regionID = 10000002; // Testcode, 10000002=The forge EveAI.DataCore dataCore = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(EveAI.DataTypes.Products); EveCentralMarketApi marketApi = new EveCentralMarketApi(dataCore); System.Collections.Generic.List<EveAI.Product.ProductType> products = new System.Collections.Generic.List<EveAI.Product.ProductType>(); EveAI.Product.ProductType product = new EveAI.Product.ProductType(); product = dataCore.FindProductType(productID); products.Add(product); Console.WriteLine("Getting Eve-Central market stat for: " + product.Name.ToString); // Need to reasign core and reader to be able to get region dataCore = new EveAI.DataCore(); reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(EveAI.DataTypes.BasicMapData); EveAI.Map.Region region = default(EveAI.Map.Region); region = dataCore.FindRegion(regionID); // Just test if we was able to get a region if (region.Name.Length > 0) { Console.WriteLine("Region " + region.Name + " is loaded"); } else { Console.WriteLine("Region is NOT loaded"); } System.Collections.Generic.List<EveAI.Live.Market.ProductStatistics> eveCentralProductPrices = new System.Collections.Generic.List<EveAI.Live.Market.ProductStatistics>(); // Get EveCentral values for all regions eveCentralProductPrices = marketApi.GetProductStatistics(products); // Loop products to get prices ProductStatistics ProdStat = new ProductStatistics(); foreach (var ProdStat in eveCentralProductPrices) { // Got prices? if (ProdStat.SellOrders.Median != 0) { Console.WriteLine("All regions: Got a price for " + product.Name); } else { Console.WriteLine("All regions: Did NOT get a price for " + product.Name); } } // Get EveCentral values for one region eveCentralProductPrices = marketApi.GetProductStatistics(products, region); // Loop products to get prices foreach (var ProdStat in eveCentralProductPrices) { // Got prices? if (ProdStat.SellOrders.Median != 0) { Console.WriteLine(region.Name + ": Got a price for " + product.Name); } else { Console.WriteLine(region.Name + ": Did NOT get a price for " + product.Name); } }
Console.ReadLine(); } }
|

Wodeki
|
Posted - 2009.08.13 13:32:00 -
[315]
Is there any way to determine the researched ME/PE levels of a blueprint if you own the item?
|

Vexo M
m3 Corp
|
Posted - 2009.08.14 03:06:00 -
[316]
Perhaps I've missed it, but as far as I can tell, there is no way to look up whether an agent is a locator agent or not from within EveAI. The data is exposed in the agtConfig table of the data-dump (specifically the presence of a row with k=agent.LocateCharacterService.enabled for that agentID). It would seem fairly trivial to add a boolean value to EveAI.Agent indicating whether or not the agent is locator-enabled. Any chance of getting this added?
|

Gehnster
Gallente RED SUN RISING
|
Posted - 2009.08.24 20:26:00 -
[317]
Greetings,
I am thinking of using your lib but I had a couple questions. Why not update the wiki page with all your lib can do? :) http://wiki.eve-id.net/EveAI
When I was first looking for a lib i found three, i was at first not going to look at it since the wiki wasn't very up-to-date and the first post for this thread listed the 1.1 static data as the latest.
Also, what exactly is the license you are using to release this? The wiki says Common-Use, but that could be a number of things. Link to a specific one maybe? :)
Finally, why not actually provide the source code? I know people are saying you can just use a tool to get to it, and you even said it yourself, but still? Why not just make it easier for everyone to provide it then for us to use the tool to get to it.
Thanks. :)
|

Ijam
|
Posted - 2009.08.25 17:19:00 -
[318]
Hi,
I have just started to use this library and I seem to be falling over at the first hurdle...
Any API call I make after the initial constructor for the EveApi gives me three errors:
ClientMissingCacheFile AuthenticationCharacterDoesNotBelongToAccount ClientMissingCacheFile
I know that my UserID and API key is correct as I use the same details in other apps.
Am I initialising the API wrong somehow?
Here is the code I am using...
// Limited EveApi api = new EveApi(12345, "dfgjhdfghjfghjfghjfgjhgfjhgfjhfgjhfgjh"); CharacterSheet charSheet = api.GetCharacterSheet();
if (api.LastErrors.Count() == 0) { Console.WriteLine("Got stuff!"); } else { Console.WriteLine("Error!"); } // endif
Thanks in advance...
|

Gehnster
Gallente RED SUN RISING
|
Posted - 2009.08.25 19:01:00 -
[319]
I've not used it yet, but my guess is you need to let the api know which character you want the info from. Even if you only have one character on your account, it probably doesn't just pull the character list and make the first one listed your default.
|

Ijam
|
Posted - 2009.08.25 22:32:00 -
[320]
Ok, I got it! I needed to use the "AccountEntries" method to return all of my chars and get the CharID to pass in to the EveApi constructor.
Could have done with that on the wiki...
|
|

Wodeki
|
Posted - 2009.09.02 13:33:00 -
[321]
Could you please update the API to include the latest patch updates? These include the new small, medium and large rigging BPO and items. Thanks!!!
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.09.04 11:41:00 -
[322]
EveAI Live Version 1.1.8 has been released!
Changes since last version:
- Updated the static data to Aprocrypha 1.5
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.8.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.09.07 07:29:00 -
[323]
EveAI Live Version 1.1.9 has been released!
Changes since last version:
- Updated market API support for Eve Metrics 2
- Some more documentation
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.9.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Polyphony
Dirty Labs
|
Posted - 2009.09.08 04:09:00 -
[324]
Edited by: Polyphony on 08/09/2009 04:14:36 Hi,
Thanks for writing this AI. It has been very useful so far.
Below is a code snippet I'm using to return Eve Central data, but I can't get the function return me a specific product (Zealot) for a specific region (The Forge). The value comes back with all prices at 0.0. If I remove the region from the function, the market info returns. Any idea what I'm doing wrong?
Also, is it possible to have a collection (for each record coming from Eve-Central) in the ProductStatistics type?
EveAI.DataCore dcProduct = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dcProduct); reader.Read(EveAI.DataTypes.Products); EveAI.Product.ProductType product = dcProduct.FindProductType(12003);
EveAI.DataCore dcMap = new EveAI.DataCore(); reader = new EveAI.StaticDataDataReader(dcMap); reader.Read(EveAI.DataTypes.BasicMapData); EveAI.Map.Region mapTheForge = dcMap.FindRegion(10000002);
EveAI.DataCore dcMarket = new EveAI.DataCore(); EveCentralMarketApi marketApi = new EveCentralMarketApi(dcProduct);
ProductStatistics p = marketApi.GetProductStatistics(product, mapTheForge);
|

THE R3APER
Pilots Of Honour Aeternus.
|
Posted - 2009.09.26 16:53:00 -
[325]
I'm a budding programmer making a tool to do various things, one thing at a time. I am using VB.net due to it's simplistic nature. Yes I tried starting with c#...
My question is, in your sig you say this can be used with VB.net, but all examples are written in c# making it hard for me to learn how to access the API information. Does anyone have examples of how to use this API in VB.net? I'd like to stick to one language for now.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.09.28 00:01:00 -
[326]
Well the sample code I wrote is C# only. But on this thread there should be several small VB.Net snippets that may help you a bit. Other than that the API itself is relatively simple (just call methods on the EveApi Class). It shouldn't be very hard to figure out how to do that to VB. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Saint Lazarus
Tri-Mining Corp Rising Phoenix Alliance
|
Posted - 2009.10.20 11:53:00 -
[327]
Originally by: Ijam Ok, I got it! I needed to use the "AccountEntries" method to return all of my chars and get the CharID to pass in to the EveApi constructor.
Could have done with that on the wiki...
Anyone mind explaining exactly how this is done? (using c#) -----------------
My EvE Comic
|

Salina Simmons
|
Posted - 2009.10.20 21:43:00 -
[328]
Hi Amida,
great work again. I'm working with EvEAi since 6 months and everthing went well so far. Yesterday i discovered, that there is something wrong. More precisely in a few rare cases i have a problem with the api.GetCorporationWalletTransactions method. Here a short part of my code for a better explanation:
... foreach (CorporationAccount CAccount in CorpWalletlist) { .. api.Authentication.AccountKey = CAccount.Key; List<TransactionEntry> TEntryList = api.GetCorporationWalletTransactions(); .. foreach (TransactionEntry TEntry in TEntryList) { cmd.CommandText = "INSERT INTO ...+TEntry.TransactionID+..+CAccount.Key+CAccount.Description ... } .. }
As you can see, i "walk" through the different corporation accounts and fill the database with each transaction which was booked over the associated account. The point is now, that works in 99.9% of all cases, but unfortunately not in all cases. Over the last months i've collected a few thousand transactions and in a few rare cases i have a problem with the allocation of the wallet key and the wallet description. In this cases my database tells me, that these transactions are booked over the acount key 1003 (with the right description for the account 1003). But i'm sure, that i never did such orders ingame. I also checked that ingame and with other tools and the result is ever the same. These transactions are booked over the account 1004. I'm a little bit confused, because at the moment i have no explanation for that. Another interesting point is, i have a problem with these two fields (key and desription) only. Every other field like TransactionID, ClientID, Quantitiy, StationID and so on is correct.
Do you have an idea why that could happen? A few minutes ago i checked the version of the eveai.live.dll and i saw, that i still used the old version 1.1.4. I changed the reference to the new version 1.1.9. Could that be the reason? Is there anything known like that?
Regards, Salina
|

Salina Simmons
|
Posted - 2009.10.21 18:31:00 -
[329]
Here some aditional informations regarding this case. I spoke with my corpmates which are using my program too. Some have problems - which means they also have transaction entries with a wrong account key in the database - and some have not. For instance i have a transaction in my database with a wrong account key and may corpmates have the same transaction in their database, but with the correct account key.
I hope i did not make a mistake in my code, but i can't see anything that could lead to that problem.
|

Salina Simmons
|
Posted - 2009.10.21 19:05:00 -
[330]
I told you the wrong account key in my first post. The transactions in my databse with a wrong account key always have the account key which comes after the right one. Over 90% of our transactions were booked over the account key 1002. A transaction with a wrong account key always has the account key 1003.
|
|

Salina Simmons
|
Posted - 2009.10.21 20:24:00 -
[331]
Since 1.1.4 the simple api mode also supports multipart requests. That means if i have more than 1000 transactions in one week and i make a single simple api call, i get the complete list with all transactionsentries from one week (and the EvEApi do the "walking" in the background). Right?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.10.24 19:29:00 -
[332]
Yes. You should get the entire list. Maybe thats part of the problem here. I couldn't make up much until now, but that could be a reason. Does your application take that into consideration? Could you try to disable multi part requests and see if the problem is still there? (Just set api.IgnoreMultiPartRequests = true) _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.10.24 20:00:00 -
[333]
Edited by: Amida Ta on 24/10/2009 20:15:04 Edited by: Amida Ta on 24/10/2009 20:02:04
Originally by: Salina Simmons I told you the wrong account key in my first post. The transactions in my databse with a wrong account key always have the account key which comes after the right one. Over 90% of our transactions were booked over the account key 1002. A transaction with a wrong account key always has the account key 1003.
Could you clarify that. If the account key is 1003 is the wrong transaction then duplicated (means the same exists for 1002 and 1003) or is it just one with a wrong 1003 account key (instead of 1002). _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Salina Simmons
|
Posted - 2009.10.25 14:39:00 -
[334]
The transaction with the wrong account key exists only for the 1003 account. I go through the accounts from 1000 up to 1006 and call the GetCorporationWalletTransactions method for each single account in exactly that order. Because of that (the TransactionID is my primary key in the database) i do not have any transactions in the database with the same TransactionID and different account keys. The point is, when i call the method and the account key is set to 1003 sometimes i get transactions which were booked ingame over the account 1002. But due to that fact that i have these entries in my database, i am sure i do not get these transactions when i call the method where the account key is set to 1002, which happened before i call the method where the account key is set to 1003.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.10.26 11:32:00 -
[335]
Edited by: Amida Ta on 26/10/2009 11:34:56 Thanks for the info. So this means that both cases would be possible. As a workaround you could try to create a new api object for every call (use the one with the constructor that doesn't create the static data otherwise this will be extremely slow). I'm pretty sure that if there really was a problem with EveAI this would solve it.
BTW: Using TransactionID as primary database ID is risky. CCP stated a few times that there is absolutely no guarantee that TransactionIDs are unique or stay the same between multiple calls to the API. They are only guaranteed to be unique for a single retrieval. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Salina Simmons
|
Posted - 2009.10.26 11:44:00 -
[336]
Ok, thanks so far for your help. I will try that and i will give you a short report if it works.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.10.26 11:51:00 -
[337]
You might also think about using the "complex mode" API if you only need a few apis. Here is an example:
CorporationWalletTransactionApi corpWalletTransaction = new CorporationWalletTransactionApi (); corpWalletTransaction.AuthenticationData = yourAuthenticationData corpWalletTransaction.Authentication.AccountKey = CAccount.Key corpWalletTransaction.PersistData = false; // Disable creating cache files EveApiBase.UpdateResult result = corpWalletTransaction.UpdateData (UpdateCharaceristics.OnlineOnly); // This disables all caching reading which you likely won't need in your case List<TransactionEntry> TEntryList = corpWalletTransaction.Data; _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Kepuh Harjo
|
Posted - 2009.10.31 19:29:00 -
[338]
Hi all,
hoping someone can help me. I'm just starting out with eveAI.
My enviro is server 2008 r2/IIS 7/Visual Web Dev. Express 2008.
I have a very basic page that just binds the results of 'getaccountentries' to a gridview. if i browse this in the dev. app it shows up great.
My problem is once i copy/deploy to IIS. I get this error:
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
in the stack trace i see the following additional line: EveAI.Live.EveApiConfiguration..cctor() +27
From what I can research, this has to do with the the default location of the cache data.
Has anyone seen this before, or know how to change this default location, etc... ?
Thanks!
Kep
|

Oban Macallan
|
Posted - 2009.10.31 19:50:00 -
[339]
Edited by: Oban Macallan on 31/10/2009 19:50:39 Sorry, this should of been posted as Kepuh Harjo... This forum posting is very odd.
Heres my code:
Imports eveai.Live Imports eveai.Live.Market
Dim userid As Long = xxx Dim apikey As String = "xxx" Dim charid As Long = xxx
Dim eveApi As EveApi = New EveApi(userid, apikey, charid) Dim AccountEntries = eveApi.GetAccountEntries
Gridview1.AutoGenerateColumns = True Gridview1.DataSource = AccountEntries Gridview1.DataBind()
How can I add code to change the default location of the cache?
Cheers
|

Kepuh Harjo
Minmatar
|
Posted - 2009.11.01 16:32:00 -
[340]
Update
Ok, i figured out how to set default characters in the forums, yay :)
also, I found where server 2008 keeps the cache file. I used the standalone app that comes w/ the api.
cache location: C:\Users\user\AppData\Roaming\EveAI\Cache
I've added 'everyone' with full control to the EveAI folder but still no luck :(
|
|

Kepuh Harjo
Minmatar
|
Posted - 2009.11.01 16:56:00 -
[341]
Edited by: Kepuh Harjo on 01/11/2009 17:02:16 Sorry for the multiple posts, and also sorry as this is more IIS/Server 2008 related then eveai directly. But who knows, perhaps this can help someone else.
Victory!!!! of sorts... I changed the user identity of the applicationpool that the site runs under (giant security hole here!!!!!)
I set it to run as administrator :)
and it works.
now to try to lock it down, pick a diff. user
--------------------------- I've changed the identity of the app pool to network service and it seems to work ok. This is much better then admin :)
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.03 17:10:00 -
[342]
Hi,
are you using the latest version. There were some security problems when running in limited security environments (like a webserver), however I thought I already solved them (for me the library runs fine in a security relevant mode). But I'll make some adjustments for the next version that hopefully also catches your problems so you don't need that ugly workaround anymore. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Kepuh Harjo
Minmatar
|
Posted - 2009.11.04 17:38:00 -
[343]
Hi Amida,
thx for the response and all the work on the api!
I am using the latest version, yes. Or at least I believe I am. I downloaded from either this thread or the wiki that lists all the api's.
As for fixing the problem... I'm not really sure you can in my case as its a webserver issue more then your code.
Unless you can dynamically identify a working directory that the IIS user has access to, and point the cache files there rather then the standard location (which the webserver user does not have access to)
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.05 10:53:00 -
[344]
Originally by: Kepuh Harjo
As for fixing the problem... I'm not really sure you can in my case as its a webserver issue more then your code.
Unless you can dynamically identify a working directory that the IIS user has access to, and point the cache files there rather then the standard location (which the webserver user does not have access to)
The library is (or should be) able to dynamically identify if it does not have physical drive access. In that case it disables HDD caching by default and will only do memory caching. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.05 11:00:00 -
[345]
EveAI Live Version 1.1.10 will very soon been released!
Changes since last version:
- Important POSSIBLE BREAKING CHANGE: The default cache directory is changed to the LocalAppData directory instead of the RoamingAppData directory! Old cache files will not be deleted automatically.
- Some internal hardening, possible fix for certain limited-trust scenarios
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.10.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Cheesestick Charlie
|
Posted - 2009.11.07 15:31:00 -
[346]
Hi Amida, or anyone else who can help.
First...thanks for making this. It makes using the the Eve API and markets MUCH easier!
Now I assume this is really easy, but I just started using EveAI and don't know how to do it. I'm trying to make a tree list of market items, like it is in the Eve market, seperated into categories so you can browse through it. Specifically, just a list of blueprints (I can figure that one out myself). However, I can't find how to seperate items up into the market categories....
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.11 02:10:00 -
[347]
I'm not sure I understand your question. There is no direct support for creating tree lists in the library or are you looking for something else? _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Al'kanree
|
Posted - 2009.11.12 10:28:00 -
[348]
Hi i have some question.
If i use getalliancedata, i can get the corporations of my alliance ( i get the corporateid of each corporation).
But is it possible to find some basic info on these corporations. Example ( name, shortname, etc).
And do you think also, if it's possible to find the standing alliance somewhere. I can get the standing corporation but not the standing alliance.
|

Salina Simmons
|
Posted - 2009.11.12 11:54:00 -
[349]
Originally by: Cheesestick Charlie Hi Amida, or anyone else who can help.
First...thanks for making this. It makes using the the Eve API and markets MUCH easier!
Now I assume this is really easy, but I just started using EveAI and don't know how to do it. I'm trying to make a tree list of market items, like it is in the Eve market, seperated into categories so you can browse through it. Specifically, just a list of blueprints (I can figure that one out myself). However, I can't find how to seperate items up into the market categories....
You can use the EveAi.Core.dll to get the market categories:
1. Add a reference to the EveAi.Core.dll to your project
2. Add the following code and "play" with it :)
EveAI.DataCore core = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(core); reader.Read(EveAI.DataTypes.BasicMapData | EveAI.DataTypes.Products); EveAI.Product.ProductType Producttype = new EveAI.Product.ProductType(); Producttype = reader.Core.FindProductType(ProducttypeID);
string Product_GroupName = Producttype.MarketGroup.Name; string Product_Parentgroup = Producttype.MarketGroup.ParentGroup.Name;
I hope that is, what you are looking for.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.12 17:03:00 -
[350]
Originally by: Salina Simmons EveAI.DataCore core = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(core); reader.Read(EveAI.DataTypes.BasicMapData | EveAI.DataTypes.Products); EveAI.Product.ProductType Producttype = new EveAI.Product.ProductType(); Producttype = reader.Core.FindProductType(ProducttypeID);
string Product_GroupName = Producttype.MarketGroup.Name; string Product_Parentgroup = Producttype.MarketGroup.ParentGroup.Name;
I hope that is, what you are looking for.
If you are looking for that you can even get it easier:
EveApi api = new EveApi(); EveAI.DataCore core = api.EveApiCore;
_________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

Two step
Amarr Aperture Harmonics
|
Posted - 2009.11.13 02:43:00 -
[351]
I am getting an error with eve-central market querries:
************** Exception Text ************** EveAI.Live.Market.MarketException: Invalid Eve-Central response structure. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt) at EveAI.Live.Market.EveCentralMarketApi.ReadTradeQuoteXml(XmlNode node) at EveAI.Live.Market.EveCentralMarketApi.ReadProductStatistics(String xmlText) --- End of inner exception stack trace --- at EveAI.Live.Market.EveCentralMarketApi.ReadProductStatistics(String xmlText) at EveAI.Live.Market.EveCentralMarketApi.GetProductStatistics(List`1 products, List`1 regions, TimeSpan time, Int64 minQuantity) at EveAI.Live.Market.MarketApi.GetProductStatistics(ProductType product) at Test.TestForm.selectMarketType_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m) at System.Windows.Forms.ComboBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.14 00:22:00 -
[352]
Thanks for the report. Eve Central changed their response structure and did not care to modify the version number. Is already fixed for the next EveAI.Live version. If anybody needs this urgently please write and I'll release an immediate update. Otherwise will be part of the next version. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Two step
Amarr Aperture Harmonics
|
Posted - 2009.11.14 04:08:00 -
[353]
Originally by: Amida Ta Thanks for the report. Eve Central changed their response structure and did not care to modify the version number. Is already fixed for the next EveAI.Live version. If anybody needs this urgently please write and I'll release an immediate update. Otherwise will be part of the next version.
I'd really like to get a fixed version ASAP, the tool I wrote is not working because of this bug...
|

Blue Deepocean
Gallente Deep Core Heavy Industries
|
Posted - 2009.11.14 14:34:00 -
[354]
I personally do have a completely different question: Is it possible to retrieve the age of a character through the api? I searched inside the api for two hours now an couldn't find any hint of a function like this. So i thought it would be a good idea if I asked here. Should there indeed be no such function i would be really greatful if one of the EveAI devs could implement it. Blue isn't only a color. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.14 14:57:00 -
[355]
EveAI Live Version 1.1.10c has been released!
Changes since last version:
- Added workaround for bug or unannounced change in Eve Central
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.10c.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.14 15:03:00 -
[356]
Originally by: Blue Deepocean I personally do have a completely different question: Is it possible to retrieve the age of a character through the api? I searched inside the api for two hours now an couldn't find any hint of a function like this. So i thought it would be a good idea if I asked here. Should there indeed be no such function i would be really greatful if one of the EveAI devs could implement it.
No there isn't because CCP doesn't supply that data. If you want to have it you will have to ask CCP and hope they add it to the API sometime. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Two step
Amarr Aperture Harmonics
|
Posted - 2009.11.15 00:56:00 -
[357]
Awesome, the new version fixed the eve-central issue completely. Thanks for the quick turnaround on it.
|

Sidrat Flush
Caldari Life is Experience New Eden Hardware Emporium
|
Posted - 2009.11.15 22:14:00 -
[358]
Mr thicko here. Wouldn't mind getting into this and would love to use your library set, however....
Do they have to go somewhere special? If so where?
Eve-online Industrial Organiser thread full batch manufacturing
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.16 13:04:00 -
[359]
Originally by: Sidrat Flush Mr thicko here. Wouldn't mind getting into this and would love to use your library set, however....
Do they have to go somewhere special? If so where?
I'm not sure what you mean. Are you asking where you should put the library files (.dlls)? In that case there are multiple possibilies. But I would strongly suggest you just copy them to the same directory as your application. Then everything will work right out of the box and not interfere with anything else. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Feneath
|
Posted - 2009.11.16 13:35:00 -
[360]
Edited by: Feneath on 16/11/2009 13:36:08 Hi there
First I would like to say this is a nice tool, you saved me a lot of time and I love the functionality you have.
There are a couple of pieces of data I would like to get to in the static set. You have protected methods for them but no public methods namely the Categories and Group tables. Would it be possible to get access to those in the next release please.
I know you have probably been asked this many times, but would you be interested in opening up the source or maybe taking on a fellow dev to help with the project? I have a few ideas that I believe would make the interface even better than it already is.
Thanks for the hard work :) |
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.16 21:44:00 -
[361]
Edited by: Amida Ta on 16/11/2009 22:07:43 I guess you are talking about DataCore. I'll make them available for the next version there.
BTW: If you have any ideas just write them and I may implement them if they make sense. But some things are design decisions, so I'd rather not change them (e.g. having TRUE Objects without IDs). _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Muesli Reep
|
Posted - 2009.11.18 00:11:00 -
[362]
Hi,
I'm trying to retrieve market data but I want to be able to use the item name and not its id to look it up. So I browsed a bit in this thread and found some info I wanted but when implementing I get an "ArgumentException was unhandled".
This is wat I'm using:
EveApi api = new EveApi(); EveAI.DataCore dataCore = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(EveAI.DataTypes.Products); EveCentralMarketApi marketApi = new EveCentralMarketApi(dataCore); EveAI.Product.ProductType product = dataCore.FindProductType(api.EveApiCore.GetIdForObject(api.EveApiCore.ProductTypes.Equals("Tritanium"))); ProductStatistics p = marketApi.GetProductStatistics(product);
I'm not sure what I'm doing wrong so any help would be much appreciated 
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.18 14:53:00 -
[363]
api.EveApiCore.ProductTypes.Equals("Tritanium") is surely not doing what you are trying to do. In fact it will always just return FALSE as a result.
I think you want to do: EveAI.Product.ProductType product = api.EveApiCore.ProductTypes.Find (p=>p.Name == "Tritanium"); _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Muesli Reep
|
Posted - 2009.11.18 16:57:00 -
[364]
Yes thats what I need , but if I use it as follows:
Quote: EveApi api = new EveApi(); EveAI.DataCore dataCore = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(EveAI.DataTypes.Products);
EveAI.Product.ProductType product = api.EveApiCore.ProductTypes.Find(p=>p.Name == "Tritanium");
EveCentralMarketApi marketApi = new EveCentralMarketApi(dataCore);
ProductStatistics pStat = marketApi.GetProductStatistics(product);
label2.Text = pStat.Product.ToString(); label3.Text = pStat.BuyOrders.Median.ToString();
I cant use the .Find() method.
Quote: 'System.Collections.Generic.ICollection<EveAI.Product.ProductType>' does not contain a definition for 'Find' and no extension method 'Find' accepting a first argument of type 'System.Collections.Generic.ICollection<EveAI.Product.ProductType>' could be found (are you missing a using directive or an assembly reference?)
I googled a bit and I cant see if I'm missing a reference or not.
Im using .Net 3.5 C# with EveAI_Live_1.1.10c
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.19 00:48:00 -
[365]
Edited by: Amida Ta on 19/11/2009 00:52:30 Oh, its an ICollection<T> that doesn't have find. (Did not test that before) Then you have to use something from ICollection<T>. First or Single seems to be what you want. http://msdn.microsoft.com/de-de/library/y2fx0ty0.aspx
EveAI.Product.ProductType product = api.EveApiCore.ProductTypes.Single (p=>p.Name == "Tritanium"); _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.25 18:31:00 -
[366]
EveAI Live Version 1.2 PRE1 has been released!
This is a PRERELEASE version for Dominion. It contains breaking changes and some things might not work against the current API server. This version allows planning for updates for the Eve Dominion Release, for all other cases use the last available EveAI.Live version.
There is no guarantee that there won't be other breaking changes till the 1.2release
Notable changes since last version:
Updated static Data to Eve Dominion StarbaseDetailApi: ClaimSovereignty property removed MapSovereigntyApi is renamed to SovereigntyApi MapSovereigntyEntry is renamed to SovereigntyEntry SovereigntyStatus: Completely new API SovereigntyStatusEntry: Class for SovereigntyStatus entries MailMessageApi: Completely new API MailMessage: Support class for MailMessageApi NotificationApi: Completely new API Notification: Support class for NotificationApi Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2_Pre1.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.11.29 02:10:00 -
[367]
EveAI Live Version 1.2 PRE2 has been released!
This is a PRERELEASE version for Dominion. It contains breaking changes and some things might not work against the current API server. This version allows planning for updates for the Eve Dominion Release, for all other cases use the last available EveAI.Live version.
There is no guarantee that there won't be other breaking changes till the 1.2release
Notable changes since last version:
Activities Attribute moved from ProductType to BlueprintType. If you used that you will need to change from product.Activities to product.Blueprint.Activities
BlueprintType has lots of additional properties and methods for getting the material and base material usage (working for T1 and T2 materials) BlueprintType.WasteFactor: Now saved as decimal factor (e.g. 0.10 instead of 10) Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2_Pre2.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.12.01 16:25:00 -
[368]
Edited by: Amida Ta on 01/12/2009 16:28:13 There is a tiny (already fixed) bug with the SovereigntyStatusApi. I will wait for DOMINION to go online before releasing another version as I currently can't seem to test the evemail and notification apis (they both work but I don't get any data back except an empty list). _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.12.03 00:31:00 -
[369]
EveAI Live Version 1.2 PRE3 has been released!
This is a PRERELEASE version for Dominion.
Notable changes since last version:
Fixed two small errors which prevented the new APIs from working correctly. Could not test the Notifications API a lot, but everything seems to work. Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2_Pre3.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Al'kanree
|
Posted - 2009.12.09 12:45:00 -
[370]
humm, i am not sure but I think that the mapsovereintystatus doesn't work
|
|

Cableworth
|
Posted - 2009.12.09 17:20:00 -
[371]
I'm fairly certain that the EveAI is reporting the incorrect server status. When I run it, it returns false with 0 users while EVEMON and the server itself are reporting that it's fine.
Could it be a caching issue?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.12.11 01:11:00 -
[372]
Originally by: Al'kanree humm, i am not sure but I think that the mapsovereintystatus doesn't work
CCP disabled the mapsovereintystatus API. So it won't work any longer. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.12.11 01:21:00 -
[373]
Originally by: Cableworth Edited by: Cableworth on 10/12/2009 07:29:48 I'm fairly certain that EveAI is reporting the incorrect server status. When I run it, it returns false with 0 users while EVEMON and the server itself are reporting that it's fine.
Could it be a caching issue?
Edit: this occurs after downtime.
I just checked and everything seems to be correct. It might be that EVEMON is not using the official API (there is another way to probe for the server status).
But I'll try to find out what happenes at a downtime. BTW: Caching is set to 3 min by the server. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.12.11 01:42:00 -
[374]
Originally by: Cableworth Edit2: After further experimentation, I'm not sure whether it's something that I'm doing wrong or what, but the cache seems to work solely off the characters ID's and ignores the api key altogether. If a user submits a valid user ID yet the api key is modified slightly, EveAI will still return valid data. This is a problem since the method I'm using to verify if auth data is correct is to determine if there are any characters returned by this (any better ideas?). It's artificially creating valid entries when they should be invalid.
Here is what I'm doing:
EveApi eve = new EveApi(newUser.APIID, newUser.APIKey);
List<AccountEntry> accounts = eve.GetAccountEntries(); if (accounts.Count == 0) { //Send error }
^ This problem was resolved by comparing the API ID rather than the API Key with existing ones. Looks like your internal implementation of the cache only checks against ID's :).
Your observations are completely correct. In fact this mechanism is a protection (otherwise you would create tons of useless cache files in your case).
For your problem: 1) A far better idea would be to check if the API returned a specific error if you are looking for it. In your case it should be as simple as: if (eve.LastErrors.Contains (EveApiError.AuthenticationFailure)) // Send error
2) You will still have the problem if VALID AND UNEXPIRED=ACTIVE cache data still exists. But on the other hand I don't think in that case it's really a problem because the user will get the cached data anyways. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Evo YaMing
|
Posted - 2009.12.11 11:11:00 -
[375]
Hi Amida, i am trying to receive EVE mail messages but the only thing i receive is a empty list.
List<MailMessage> myevemail = api.GetCharacterMailMessages();
Any idea?
|

Cableworth
|
Posted - 2009.12.11 13:12:00 -
[376]
Thanks for the feedback, I'll use that method for authentication instead. In terms of the online status, I'm stumped as to what the problem could be...how would I go about viewing the raw data from the API to make sure I'm not going mad? Also what's the way evemon uses?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.12.11 15:50:00 -
[377]
Originally by: Cableworth Thanks for the feedback, I'll use that method for authentication instead. In terms of the online status, I'm stumped as to what the problem could be...how would I go about viewing the raw data from the API to make sure I'm not going mad? Also what's the way evemon uses?
The easiest way is to look at the cache files. They are just the server response with a few added xml fields. I don't know which method evemon uses. But prior to the ServerStatus API some programms basically faked being a regular game client up to the login screen which gives you the current user count. However this method is discouraged (they wanted to forbid it completely by some time) by CCP. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.12.11 16:01:00 -
[378]
Originally by: Evo YaMing Hi Amida, i am trying to receive EVE mail messages but the only thing i receive is a empty list.
List<MailMessage> myevemail = api.GetCharacterMailMessages();
Any idea?
You can only call the api one single time. Each following time you will only get your new mails (or you wait 6 hours, see the dev-blog for details). This is some new caching mechanism by CCP that does not (yet?) have any special support in EveAI.Live. So you have to handle that behaviour yourself. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Fathora
|
Posted - 2009.12.16 16:51:00 -
[379]
Edited by: Fathora on 16/12/2009 16:52:10 Hi Amida,
Great work with the library.
I was wondering if something funky is going on with the .PossibleOnlineTime property of the Starbase class? It's currently always returning a fuel result for no sov (even if a system has sov).
MapSovereigntyEntry returns a correct result for Alliance.Name but always -1 for .SovereigntyLevel
Could a solution be to apply the 25% discount if the Alliance.Name matches the alliance name of the character supplied to the initital API call?
I mean of course I could write a lot of extra code to calculate it based on the actual resources in the tower, but .PossibleOnlineTime is a cool property and it probably only needs a little tweak :)
|

Laxxor Borocillicase
Freelance Assassins
|
Posted - 2009.12.31 00:55:00 -
[380]
Edited by: Laxxor Borocillicase on 31/12/2009 01:07:34 Hi
I was wondering if there was any hint you could give as to the following:
Given the following code
MarketApi mEveCentral = new EveCentralMarketApi(); mEveCentral.EveApiCore = mEveData.EveApiCore;
//' any product from the EveApiCore.ProductTypes list mEveCentral.GetProductStatistics(tmpProducts[0].Blueprint.Product)
Generates an exception:
Invalid Eve-Central response structure Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt64(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Int64.Parse(String s) at EveAI.Live.Market.EveCentralMarketApi.ReadTradeQuoteXml(XmlNode node) at EveAI.Live.Market.EveCentralMarketApi.ReadProductStatistics(String xmlText)
I am using 1.1.10b.
It's been a while since I dabbled with your API and possibly I'm forgetting something I learnt previously, but this code used to work with 0.9 about 9-15 months ago.
Excellent work and many thanks
Laxxor
Using EveMetricsMarketApi does not produce the exception.
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.01.05 17:57:00 -
[381]
Edited by: Amida Ta on 05/01/2010 17:57:17 This is a problem with EveAI and has already been fixed in 1.1.10c:
Quote: ňAdded workaround for bug or unannounced change in Eve Central
_________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Laxxor Borocillicase
Freelance Assassins
|
Posted - 2010.01.06 18:16:00 -
[382]
Originally by: Amida Ta Edited by: Amida Ta on 05/01/2010 17:57:17 This is a problem with EveAI and has already been fixed in 1.1.10c:
Quote: ňAdded workaround for bug or unannounced change in Eve Central
Nice - might want to update the link on the first post and the EVEAI page on EveDev as they both point to "b".
Many thanks
|

Laxxor Borocillicase
Freelance Assassins
|
Posted - 2010.01.06 20:35:00 -
[383]
Originally by: Amida Ta
The library is (or should be) able to dynamically identify if it does not have physical drive access. In that case it disables HDD caching by default and will only do memory caching.
Should this also be the case for XBAP deployment? I'm gettng:
at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.Reflection.Assembly.VerifyCodeBaseDiscovery(String codeBase) at System.Reflection.Assembly.GetName(Boolean copiedName) at System.Reflection.Assembly.GetName() at EveAI.Live.EveApiConfiguration..cctor() The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission
The first permission that failed was: <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" PathDiscovery="snip...EveAI.Live.DLL"/>
The demand was for: <IPermission class="System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" PathDiscovery="snip...EveAI.Live.DLL"/>
When attempting to run it.
Thanks
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.01.07 10:28:00 -
[384]
Originally by: Laxxor Borocillicase
Originally by: Amida Ta
The library is (or should be) able to dynamically identify if it does not have physical drive access. In that case it disables HDD caching by default and will only do memory caching.
Should this also be the case for XBAP deployment?
Never tried for XBAP. But it seems it has no support for any reflection by default. Will try to fix that for the next version. Should not be too hard for this specific case. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Zaepho
Gallente Phoenix Propulsion Labs
|
Posted - 2010.01.23 02:06:00 -
[385]
Any updates for the new 1.1 APIs in the pipeline? Specifically I'm looking for the Research API. I'm happy to test a pre-release/beta build.
Thanks
|

Allan Atlantica
Gallente
|
Posted - 2010.01.24 20:11:00 -
[386]
I don't know about the rest of you, but I could use a little documentation.
Amida, how about including the test application code, as part of the project, so we could see some real examples of EveAI being used?
Regards,
Allan
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.11 14:12:00 -
[387]
EveAI Live Version 1.2.1 has been released!
Please note here are SEVERAL breaking changes which require you to possibly change class names or add namespace declarations to your code!
Notable changes since last version:
Static Data has been updated to Dominion 1.1.1 EveAI.Core: CelestialAreas (like SolarSystem, Region and Constellation) have a new Attribute Area INSTEAD of MinLocation and MaxLocation. Also the locational attributes have been changed to float/single instead of double. So if you are using this you need to use system.Area.MinLocation instead of system.MinLocation. CelestialAreas Faction will always display a faction if available (even when inherited). Station is now in the namespace EveAI.SpaceStation instead of EveAI directly. School class has been removed. Agent related classes are in the namespace EveAI.Npc. NPC Corp related classes are in the namespace EveAI.Npc.
EveAI.Live: Research Point Status API has been added. Tax info has been added to the Character Wallet Journal Page.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2.1.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.12 12:16:00 -
[388]
Edited by: Amida Ta on 12/02/2010 12:17:15
Originally by: Allan Atlantica I don't know about the rest of you, but I could use a little documentation.
Amida, how about including the test application code, as part of the project, so we could see some real examples of EveAI being used?
Thats actually what I originally wanted to do, but it currently is a test application for the api and me. The relevant code to control the api is absolutely minimal and surely not of much value for anybody. In fact it is only a few lines of code:
Quote: String[] names = Enum.GetNames (typeof (EveApiType)); Array.Sort (names); selectApi.Items.AddRange (names);
api = new EveApi ();
Quote: EveApiType typeToGet = (EveApiType)Enum.Parse (typeof (EveApiType), (String)selectApi.SelectedItem); currentObject = api.CallApi (typeToGet); propertyGrid.SelectedObject = new ObjectHolder (currentObject);
So its very heavy on reflection and not how you would usually use the api. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Laxxor Borocillicase
Freelance Assassins
|
Posted - 2010.02.13 00:56:00 -
[389]
Edited by: Laxxor Borocillicase on 13/02/2010 00:57:26 Edited by: Laxxor Borocillicase on 13/02/2010 00:57:01 There are a few other changes that I've noticed which is possibly more to do with the static data than your API I expect, but for those not aware:
- Maufactring materials for blueprints can now be found in ManufacturingBaseMaterials property (they used to be part of one of the Manufacturing Activities
- Something seems to have changed with regards to GetProductStatistics, but I've not located what exactly
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.14 12:51:00 -
[390]
There haven't been any changes with the market API, so it has to be some coincidence in slower servers if you see both with degraded performance.
There have been quite some changes to reprocessing information (as I wrote for version 1.2 Pre 2). The most important one maybe that you can now get the basic mineral reprocessing data for every item regardless if it is t1, t2 or t3. Also there are lots of additional helper properties and methods there. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.14 20:18:00 -
[391]
EveAI Live Version 1.2.2 has been released!
Most notable changes since last version:
EveAI.Core: Serveral (some are somewhat breaking, but usually they only break things that were broken anyways e.g. outdated static data) changes to DataCore. The static data is now much more complete. Some highlights are:
Stations now have all sorts of useful information instead of the unusable info from before. Agents, NPCCorps and Factions have lots of additional properties. Through optimization the size on disk, memory AND load times have been reduced. If you are using DataCore directly, there are now two additional load parameters NpcData and Stations to load/not load these individually.
Please note that the Universe property of the DataCore is currently wrong and will be replaced with multiple universes (there are now two) in a later version.
EveAI.Live: No changes
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2.2.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.19 10:12:00 -
[392]
EveAI Live Version 1.2.3 has been released!
Most notable changes since last version:
EveAI.Core: The Universe property is now a list and contains both universes (Normal and Wormhole)
EveAI.Live: SkillInTraining has additional Properties (IsCurrentlyTraining, SkillPointsGainedPerDay and SkillPointsCurrently). SkillPointsCurrentlyEstimated is deprecated. SkillPointsGainedPerSecond and SkillPointsCurrently do now always deliver info, even for skills not currently trained.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2.3.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

MearWolf
|
Posted - 2010.02.24 12:16:00 -
[393]
How do you go about using this code? I am using Visual Studio 2010 and programming in VB.Net. I have imported the libraries into the project references but I cannot get the code to work.
Please help,
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.24 12:31:00 -
[394]
Where is your problem exactly? Here you can see a small example in C#: http://wiki.eve-id.net/EveAI
Starting should be as simple as (havent done VB in some time): Dim Api as New EveApi (99999, "dsfiosdfsd76sd89f68ds", 99999) Dim Sheet as CharacterSheet Sheet = Api.GetCharacterSheet () Console.WriteLine (Sheet.SkillpointTotal) _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Kayakaue
|
Posted - 2010.02.24 13:21:00 -
[395]
Dim userid As Integer = 111111 Dim apikey As String = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" Dim apifull As String = "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB" Dim characterid As Integer = 222222222 Dim api As New EveApi(userid, apikey, characterid)
Dim charsheet As Character.CharacterSheet = api.GetCharacterSheet Dim corporation As Corporation.CorporationSheet = api.GetCorporationSheet
fOR EXEMPLE IN VB.NET
|

MearWolf
|
Posted - 2010.02.24 17:55:00 -
[396]
I'm working on getting this working as we speak. How does the demo program integrate the connection error check?
could you please do me some demo code to work with either a full or limited api and userID, check if they have connection and then msgbox a list of character names with their character number?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.25 01:40:00 -
[397]
Error checking is done through api.LastUpdateResult (which will be UpdateResult.Succeded if no error occurs) or api.LastErrors which contains errors that happened during the update.
Getting the characters is done by calling api.GetAccountEntries _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

MearWolf
|
Posted - 2010.02.25 15:04:00 -
[398]
I just keep getting errors. Which code libraries do I need to import into the actual code, e.g. Imports EveAI.Live. Could you please help me with skeleton code?
|

MearWolf
|
Posted - 2010.02.25 15:29:00 -
[399]
I think this might be the problem
Warning1The referenced assembly "EveAI.Core" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".EVE SecuriCheck
Warning2The referenced assembly "EveAI.Live" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".EVE SecuriCheck
I'm running Windows 7 Ultimate with Visual Studio 2010 if that's any help
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.25 16:45:00 -
[400]
Originally by: MearWolf I think this might be the problem
Warning1The referenced assembly "EveAI.Core" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".EVE SecuriCheck
Warning2The referenced assembly "EveAI.Live" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".EVE SecuriCheck
I'm running Windows 7 Ultimate with Visual Studio 2010 if that's any help
This is obviously the problem. I will look into that (in fact I can pretty much guess where the problem is). Meanwhile I'm pretty sure you get it to work by targeting the 4.0 full Profile and not the 4.0 Client only Profile.
But I'll see if that can be solved so it also works with Client-Profile only. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

MearWolf
|
Posted - 2010.02.25 17:24:00 -
[401]
so how would I target the 4.0 full profile?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.25 18:24:00 -
[402]
EveAI Live Version 1.2.4 has been released!
- Works fully for developing against .Net 4.0 Client Profile.
- Some enhancements to loading data in EveAI.Core.
- Contains a new library called EveAI.ComponentModel.dll that allows to get full functionallity for components (PropertyGrid), but does not need to be shipped if you are not using PropertyGrid in your application. If you want to use it simply reference it in your project anything else happenes automatically.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2.4.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.25 18:34:00 -
[403]
Originally by: MearWolf so how would I target the 4.0 full profile?
Right-click on the Project and select Properties. There you will find a list where you can select the target Framework. But I just released a new version that will also work against 4.0 and 3.5 Client only profile. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

MearWolf
|
Posted - 2010.02.26 11:20:00 -
[404]
I still get this error:
Warning1The referenced assembly "EveAI.ComponentModel" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".EVE SecuriCheck
Although it runs now, I can't pull any data down. I'm trying to get a character selection screen. here's my code:
Public Class Main
Public Class Main Private Sub Main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim userid As Integer = 5176057 Dim apikey As String = "94D2965391B345868F40B134687EE5144D4253180C8E4D07AED0ED8B5C4D9245" Dim characterid As Integer Dim api As New EveApi(userid, apikey, characterid)
Dim charsheet As Character.CharacterSheet = api.GetCharacterSheet MsgBox(charsheet)
End Sub End Class
|

MearWolf
|
Posted - 2010.02.26 12:11:00 -
[405]
Ignore my last comment, I have it working now
|

MearWolf
|
Posted - 2010.02.26 12:17:00 -
[406]
Edited by: MearWolf on 26/02/2010 12:17:10 I've now got it pulling down data, how would I now get it to just say msgbox the character IDs
|

MearWolf
|
Posted - 2010.03.01 10:40:00 -
[407]
sorry for being such a pest, I've got it all working now, I just need a way to pull down all the character IDs associated with an account
|

Dragonaire
Caldari Corax. New Eden Retail Federation
|
Posted - 2010.03.01 11:40:00 -
[408]
Points to API docs: http://wiki.eve-id.net/APIv2_Account_Characters_XML Which I'm sure is implemented. -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.01 14:46:00 -
[409]
Just use api.GetAccountEntries () that will give you a list of AccountEntry Objects. And entry.CharacterID is obviously the character ID. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

MearWolf
|
Posted - 2010.03.02 13:49:00 -
[410]
sorry I don't know how to use that, I'm trying to output the 3 character IDs associated with an account to a new array of size 3
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.03 09:42:00 -
[411]
Well I'm not particulary good in VB. But shouldn't it just be something like:
For Each entry In api.GetAccountEntries MsgBox("CharacterID: " + entry.CharacterID) Next
_________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.03.03 14:55:00 -
[412]
Edited by: Krathos Morpheus on 03/03/2010 14:59:14 Edited by: Krathos Morpheus on 03/03/2010 14:57:31
Originally by: MearWolf sorry I don't know how to use that, I'm trying to output the 3 character IDs associated with an account to a new array of size 3
This is how I'm doing it, but this is my first software ever and I'm learning how it works, so if/when you come with a better code I would apreciate to see it. I don't know how/where to store it either. I've tried to put the apis as EveAI objects in a collection and store them in the settings, but I don't get it working.
Quote:
Class ctrlNewAPIkey
Private Sub ButtSaveAPI_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtSaveAPI.Click
Dim apiNew As EveAI.Live.EveApi = New EveAI.Live.EveApi(txtUserID.Text, txtAPIkey.Text) Dim AccountEntries = apiNew.GetAccountEntries()
Dim count = 0 For Each element In AccountEntries 'procesando characterIDs
Dim charID = apiNew.GetAccountEntries(count).CharacterID Dim api = New EveAI.Live.EveApi(Me.txtUserID.Text, Me.txtAPIkey.Text, charID) Dim nick = New String(Me.txtNick.Text) Dim apiClass As New apiCollect() apiClass.addApi(api, nick) 'a±ade API del personaje a la coleccion apiCollection
My.Settings.api01 = api 'test count += 1 Next
EVEMercader.frmMercader.pnlNewApi.Expanded = False
End Sub
End Class
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.03 15:27:00 -
[413]
Edited by: Amida Ta on 03/03/2010 15:27:30 I'm pretty sure you can't just put the api object into the settings object and then have it automatically save just anything you want. Saving is somewhat non-trivial. But on the other hand I don't think you need saving at all. EveAI implements all caching and saving for you. If you need the data just call EveAI and it will deliver it...
P.S. And IF you really want to save yourself then you should try to save the concrete data objects (e.g. AccountEntry objects) but not the api class itself. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.03.03 17:36:00 -
[414]
Originally by: Amida Ta Edited by: Amida Ta on 03/03/2010 15:27:30 I'm pretty sure you can't just put the api object into the settings object and then have it automatically save just anything you want. Saving is somewhat non-trivial. But on the other hand I don't think you need saving at all. EveAI implements all caching and saving for you. If you need the data just call EveAI and it will deliver it...
P.S. And IF you really want to save yourself then you should try to save the concrete data objects (e.g. AccountEntry objects) but not the api class itself.
I can save one api object into the settings without problem, but I need to save an undetermined number of apis and I don't know how to make new objects through iterations outside of collections (ie: including a value as part of the name). But looks like api objects don't like to be into collections (or I don't know how to solve it, I keep receiving the "NullReferenceException was unhandled" on collections). The thing is that I want to make character groups to switch and group, so I would like to make one collection and call the characters apis from that collection from another that defines the groups. Does EveAI save the APIs from one session to another? If so, how do I recover them? PS: Thank you for all the work, the library looks fantastic and as soon as I find how to translate the processes I have in my mind to programming language It will help me enormously.
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Laxxor Borocillicase
Freelance Assassins
|
Posted - 2010.03.03 22:41:00 -
[415]
To Krathos
Firstly, I don't know your end goals so I can't comment for your exact intentions. Secondly, I have no involvelemt with Amidas project, just offering my thoughts on your processes.
Originally by: Amida Ta
<snip> But on the other hand I don't think you need saving at all. EveAI implements all caching and saving for you. If you need the data just call EveAI and it will deliver it...
Are we really talking about saving - do you intend to output data to a file or printer or ..?
Originally by: Amida Ta P.S. And IF you really want to save yourself then you should try to save the concrete data objects (e.g. AccountEntry objects) but not the api class itself.
Saving the mechannics of the API rather then just the data would seem to be excessive - seeing as you say this is your first software project, is it possible you mean something else, rather then the API, or rather than "saving"?
Originally by: Krathos Morpheus The thing is that I want to make character groups to switch and group, so I would like to make one collection and call the characters apis from that collection from another that defines the groups.
That could be quite a lot of data? Would it not be better to just store the bare basics and load the rest on demand? Or create your own data objects, specific to your requirements, then populate and store them?
Good luck with your project - if this is your first then try not to code your idea from your mind straight into code - draw diagrams to illustrate your logic flow (if only for your own reference) - you may see a different way of doing things before you even start.
I'm sure others and myself will help you on your way.
Lax
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.03.04 01:04:00 -
[416]
Edited by: Krathos Morpheus on 04/03/2010 01:05:20
I want to save some data, yes, but that's not what I was talking about there, I need to learn about databases first, so I'll leave that for later. You're right about what I'm trying right now. Right now I need to storage the api keys for each character so I can recover them in another session. I tried to do it through collections thinking that collections could storage collections inside, but it seems not possible (I thought I was saving only the api key when saving the EveAI.Live.EveApi, maybe I was wrong and I was storing mechannics too). Quote: Would it not be better to just store the bare basics and load the rest on demand? Or create your own data objects, specific to your requirements, then populate and store them?
Sure it's better, that is my intention, to store the api keys and then use them from collections of references. I did not thought about creating my own data objects, well, actually I did started to create one to handle the saving operations with the keys, you are talking about classes, right? but did not think about creating another clean one to just store and save that in the settings. Quote: Good luck with your project - if this is your first then try not to code your idea from your mind straight into code - draw diagrams to illustrate your logic flow (if only for your own reference) - you may see a different way of doing things before you even start.
First project, but I made a Sidebar Gadget starting from a previous one and I draw diagrams indeed when the problem came too complex to handle it all in my head at the same time. When I have time I should go back to it and fix it so other people can use it (I broke the api key storage (facepalm), and now the only gadget working is the one I have prepopulated with the keys). Quote: I'm sure others and myself will help you on your way.
Thanks, I will try to look for that help more often, but since I`m learning and know so little it was hard to know where my problems came from to ask for help. I have passed almost all the time making and learning to make the interface design and now it looks pretty good at last and it doesn't lose it's configuration when I close VS. PS: I've now solved the storing of api keys through arrays, but I don't like it much because of the sorting, I have to go now and look how to erase and clean it when taking out one key, maybe I'll try to make my own data object, Why can't be any object stored inside a collection?
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

MearWolf
|
Posted - 2010.03.05 12:09:00 -
[417]
Edited by: MearWolf on 05/03/2010 12:11:20 Edited by: MearWolf on 05/03/2010 12:10:49 Ok basically what I'm doing is using Visual Studio 2010 with VB.Net to make a tool for corporations to perform security checks on prospective members. They members will give the recruitment office their API UserID and Limited API key and with my tool you will be able to see information for all the association characters. I have it currently pulling down data just fine. The problem I'm having is finding all the character IDs of characters associated with an account.
Here's a mock up of message boxing all the characters association with an account how I would like to to work, help please.
Dim userid As Integer InputBox(userid) Dim apikey As String InputBox(apikey) Dim characterid(3) As Integer Dim k as Integer [b]'''This is where I would put each CharacterID in the characterid array For k = 1 to 3 (character ID list from api(k)) = characterid(k) ]Next [/b Dim i as integer = 1 Dim api(3) As New EveApi(userid, apikey, characterid(i)) Dim charsheet As Character.CharacterSheet = api.GetCharacterSheet For i = 1 to 3 MsgBox(charsheet.Name) Next
|

MearWolf
|
Posted - 2010.03.05 12:20:00 -
[418]
Originally by: Amida Ta Edited by: Amida Ta on 03/03/2010 09:48:35 Well I'm not particulary good in VB. But shouldn't it just be something like:
For Each entry In api.GetAccountEntries MsgBox(entry.Name + ": " + entry.CharacterID) Next
Thanks, I've just managed to get it running with this 
|

MearWolf
|
Posted - 2010.03.05 12:39:00 -
[419]
Here's another one to try I'm trying to pull up the server status on a StatusStip Dim servstat As New ServerStatus() If servstat.Online = True Then stsstrpOnln.Text = "Online" Else stsstrpOnln.Text = "Offline" End If stsstrpUsrs.Text = (servstat.PlayersOnline & " players")
Though this code just thinks server is offline and no players online
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.06 09:23:00 -
[420]
You are not calling the api at all here. Just replace
Originally by: MearWolf
Dim servstat As New ServerStatus()
with Dim servstat As ServerStatus = api.GetServerStatus and it should work. (of course you need the api object again, but you have used that in the other code samples, too). _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

MearWolf
|
Posted - 2010.03.08 14:55:00 -
[421]
Originally by: Amida Ta You are not calling the api at all here. Just replace
Originally by: MearWolf
Dim servstat As New ServerStatus()
with Dim servstat As ServerStatus = api.GetServerStatus and it should work. (of course you need the api object again, but you have used that in the other code samples, too).
sorry silly mistake, thanks
|

Truelle
|
Posted - 2010.03.10 22:47:00 -
[422]
Is it possible to retrieve the mail message body and not only the title ?
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.03.11 01:22:00 -
[423]
Originally by: Truelle Is it possible to retrieve the mail message body and not only the title ?
Not possible, the api doesn't retrieves it. If we have luck it will be implemented in the future, for now ccp doesn't allow it.
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Dwayne Pipe
|
Posted - 2010.03.11 15:48:00 -
[424]
Maybe a silly question, but given a pair of solar system IDs, is there anyway to work out the number of jumps between them? Preferably two routes, one through high-sec and one allowing transition through low-sec or is this beyond the scope of the library?
FWIW I have the following in C#...
EveAI.Live.EveApi api = new EveAI.Live.EveApi(Int32.Parse(textUserID.Text), textApiKey.Text); ... EveAI.Map.SolarSystem solarSystem1 = api.EveApiCore.FindSolarSystem(ID1); EveAI.Map.SolarSystem solarSystem2 = api.EveApiCore.FindSolarSystem(ID2); ...
Thanks!
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.03.11 17:18:00 -
[425]
Originally by: Dwayne Pipe Maybe a silly question, but given a pair of solar system IDs, is there anyway to work out the number of jumps between them? Preferably two routes, one through high-sec and one allowing transition through low-sec or is this beyond the scope of the library?
FWIW I have the following in C#...
EveAI.Live.EveApi api = new EveAI.Live.EveApi(Int32.Parse(textUserID.Text), textApiKey.Text); ... EveAI.Map.SolarSystem solarSystem1 = api.EveApiCore.FindSolarSystem(ID1); EveAI.Map.SolarSystem solarSystem2 = api.EveApiCore.FindSolarSystem(ID2); ...
Thanks!
I'm interested in knowing that as well, to determine if a system is within certain distance of another, but I've not gone through that yet.
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

TradingWithYou
|
Posted - 2010.03.12 18:23:00 -
[426]
Edited by: TradingWithYou on 12/03/2010 18:25:19 Hi,
I'm using EveAI.Live version 1.2.3 and i'm having an error with "TimeRequiredForNextLevel". I think the field in question is not correctly populated but i'm not sure.
+TimeRequiredForNextLevel'(new system.Collections.Generic.Mscorlib_CollectionDebugView<EveAI.Live.Character.CharacterSheet.LearnedSkill>(capsulerSheet.Skills)).Items[0].TimeRequiredForNextLevel' threw an exception of type 'System.OverflowException'System.TimeSpan {System.OverflowException}
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.13 15:15:00 -
[427]
Originally by: Dwayne Pipe
EveAI.Map.SolarSystem solarSystem1 = api.EveApiCore.FindSolarSystem(ID1); EveAI.Map.SolarSystem solarSystem2 = api.EveApiCore.FindSolarSystem(ID2); ...
Thanks!
There is no built-in functionallity for that. But a SolarSystem has a Jumps property that lists all jumps to other systems. Based on that you can use a simple search algorithm (e.g. A*) to find a way to another system. I've done something like that before, but it's not part of the library (I't old, please don't ask questions on that one ;): public List<SolarSystem> FindRoute (SolarSystem start, SolarSystem end) { Dictionary<SolarSystem, SolarSystem> wayData = new Dictionary<SolarSystem, SolarSystem> (); Queue<SolarSystem> openRoute = new Queue<SolarSystem> ();
wayData[start] = start; openRoute.Enqueue (start);
while (openRoute.Count > 0) { SolarSystem current = openRoute.Dequeue (); if (current == end) { List<SolarSystem> way = new List<SolarSystem> (); while (current != start) { way.Add (current); current = wayData[current]; } way.Add (start); way.Reverse (); return way; }
foreach (SolarSystem system in current.Jumps) { if (wayData[system] != null) continue; wayData[system] = current; openRoute.Enqueue (system); } } return null; } _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.13 15:35:00 -
[428]
Originally by: TradingWithYou Edited by: TradingWithYou on 12/03/2010 18:25:19 Hi,
I'm using EveAI.Live version 1.2.3 and i'm having an error with "TimeRequiredForNextLevel". I think the field in question is not correctly populated but i'm not sure.
+TimeRequiredForNextLevel'(new system.Collections.Generic.Mscorlib_CollectionDebugView<EveAI.Live.Character.CharacterSheet.LearnedSkill>(capsulerSheet.Skills)).Items[0].TimeRequiredForNextLevel' threw an exception of type 'System.OverflowException'System.TimeSpan {System.OverflowException}
I've got no clue of what failes here. Might be in conjunction with that Mscorlib_CollectionDebugView you are using? _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Jognu
|
Posted - 2010.03.13 16:11:00 -
[429]
I don't know if someone already ask this, but is there a way to force the cache to be updated ? Because when I use the GetCorporationAssets, the XML file of the cache (in AppData) is not updated. Thanks
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.13 16:34:00 -
[430]
Originally by: Jognu I don't know if someone already ask this, but is there a way to force the cache to be updated ? Because when I use the GetCorporationAssets, the XML file of the cache (in AppData) is not updated. Thanks
The CCP servers only allow you to get the data once in a while. It is not possible to circumvent that (or force it). Neither with EveAI.Live nor with any other means.
In complex mode you can use UpdateCharacteristics.OnlineOnly to force calling the CCP apis. But that will only result in either errors or old data from the server. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

TradingWithYou
Gallente
|
Posted - 2010.03.13 16:54:00 -
[431]
Edited by: TradingWithYou on 13/03/2010 17:01:54 Edited by: TradingWithYou on 13/03/2010 17:01:13
Originally by: Amida Ta
Originally by: TradingWithYou Edited by: TradingWithYou on 12/03/2010 18:25:19 Hi,
I'm using EveAI.Live version 1.2.3 and i'm having an error with "TimeRequiredForNextLevel". I think the field in question is not correctly populated but i'm not sure.
+TimeRequiredForNextLevel'(new system.Collections.Generic.Mscorlib_CollectionDebugView<EveAI.Live.Character.CharacterSheet.LearnedSkill>(capsulerSheet.Skills)).Items[0].TimeRequiredForNextLevel' threw an exception of type 'System.OverflowException'System.TimeSpan {System.OverflowException}
I've got no clue of what failes here. Might be in conjunction with that Mscorlib_CollectionDebugView you are using?
I just put myself back in programming and I'm a little bit rusty :s not to say, not to familiar with c# yet.
I'm using c# 2008 Express and the target framework is .Net 3.5.
Here is how I populate my datagrid:
capsulerSheet = api.GetCharacterSheet();
if (capsulerSheet != null) dataGridView1.DataSource = capsulerSheet.Skills;
I've tried to compile for .NET 2.0 but i'm having the same error. The error is generated when the column "TimeRequiredForNextLevel" is being displayed by the datagrid. ie: If the datagrid is small enough so you don't see this column (TimeRequiredForNextLevel), you don't get the error until you scroll to see it.
Like I said, maybe I'm doing something wrong. If that is the case, please let me know.
Here's the screenshot of the error I get (sorry for the french text )
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.13 19:19:00 -
[432]
EveAI Live Version 1.2.4b has been released!
- Some small enhancements and fixes.
- EveAI.ComponentModel.dll has been renamed to EveAI.Design to make the intended (design time) use more clear.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2.4b.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.13 19:24:00 -
[433]
Originally by: TradingWithYou
Here's the screenshot of the error I get (sorry for the french text )
Could you try the new version? I think I might have introduced a small bug that led to this before. Is it possible that you don't have the learning (percentage) skill on the character that you inspected at all? _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

TradingWithYou
Gallente
|
Posted - 2010.03.13 19:42:00 -
[434]
Edited by: TradingWithYou on 13/03/2010 19:43:28
Originally by: Amida Ta Could you try the new version? I think I might have introduced a small bug that led to this before. Is it possible that you don't have the learning (percentage) skill on the character that you inspected at all?
Yes, you are right, I don't have the Learning skills learned at all. The new release fixed this issue :)
Thanks a lot. Very good support!
|

Jognu
|
Posted - 2010.03.13 19:46:00 -
[435]
Originally by: Amida Ta
Originally by: Jognu I don't know if someone already ask this, but is there a way to force the cache to be updated ? Because when I use the GetCorporationAssets, the XML file of the cache (in AppData) is not updated. Thanks
The CCP servers only allow you to get the data once in a while. It is not possible to circumvent that (or force it). Neither with EveAI.Live nor with any other means.
In complex mode you can use UpdateCharacteristics.OnlineOnly to force calling the CCP apis. But that will only result in either errors or old data from the server.
Ok. Is there a way to know when is this moment ? Because I have a list of assets in a database, and I store the "last update time". Now I use the api.LastUpdateTime, but it's not correct (because it doesn't indicate the last corporation assets update).
(sorry for my english languge, I'm french )
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.13 20:28:00 -
[436]
LastUpdateTime if called directly after the api call will (or should ;) give you the last time the update happened (in local system time). _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Jognu
|
Posted - 2010.03.13 22:16:00 -
[437]
Originally by: Amida Ta LastUpdateTime if called directly after the api call will (or should ;) give you the last time the update happened (in local system time).
Ok. But is it normal that when I call the api it does not update the corporation assets list ? Only Industry Job etc ?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.13 23:00:00 -
[438]
Originally by: Jognu
Originally by: Amida Ta LastUpdateTime if called directly after the api call will (or should ;) give you the last time the update happened (in local system time).
Ok. But is it normal that when I call the api it does not update the corporation assets list ? Only Industry Job etc ?
You can look at LastQueryCachedUntil to find out till when the cache will be active. Only after the cache period is over you will get new data. The cache period depends a) on when you made the last successful! call and b) on which api you call (different apis have different cache times). Assets list and industry job apis have different cache durations. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Jognu
|
Posted - 2010.03.13 23:19:00 -
[439]
Originally by: Amida Ta Edited by: Amida Ta on 13/03/2010 23:06:45
Originally by: Jognu
Originally by: Amida Ta LastUpdateTime if called directly after the api call will (or should ;) give you the last time the update happened (in local system time).
Ok. But is it normal that when I call the api it does not update the corporation assets list ? Only Industry Job etc ?
You can look at LastQueryCachedUntil to find out till when the cache will be active. Only after the cache period is over you will get new data. The cache period depends a) on when you made the last successful! call and b) on which api you call (different apis have different cache times). Assets list and industry job apis have largely different cache durations (15 min and 23 hours).
23 hours for the assets lists cache ?
|

Dragonaire
Caldari Corax. New Eden Retail Federation
|
Posted - 2010.03.13 23:33:00 -
[440]
Yes 23 hours for assets -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
|

MearWolf
|
Posted - 2010.03.15 10:24:00 -
[441]
Originally by: Amida Ta Edited by: Amida Ta on 03/03/2010 09:48:35 For Each entry In api.GetAccountEntries MsgBox(entry.Name + ": " + entry.CharacterID) Next
using this how could I assign each entry to an instance of an array e.g.
Dim i As Integer = 1 For Each entry In api.GetAccountEntries characterid(i) = entry.CharacterID i = i + 1 Next
but this doesn't work
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.03.15 14:27:00 -
[442]
Originally by: MearWolf
Originally by: Amida Ta Edited by: Amida Ta on 03/03/2010 09:48:35 For Each entry In api.GetAccountEntries MsgBox(entry.Name + ": " + entry.CharacterID) Next
using this how could I assign each entry to an instance of an array e.g.
Dim i As Integer = 1 For Each entry In api.GetAccountEntries characterid(i) = entry.CharacterID i = i + 1 Next
but this doesn't work
Try this: Dim chars = api.GetAccountEntries
Dim maxcount = chars.count For count = 0 to maxcount - 1 characterid(count) = chars(count).CharacterID Next count
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

TradingWithYou
Gallente
|
Posted - 2010.03.15 15:00:00 -
[443]
I think I'm having issues with the cache. FYI, I am using the simple mode api.
I extract the skill in training using .GetCharacterSkillInTraining() but the information I get out of .SkillPointsCurrent and .SkillPointsCurrent.TrainingDuration.Days are dating from a sometime already.
It says I have 6+ days left when I have less than 24 hours.
I have used the following code to check at when it was last updated and it's dating from today, a few minutes ago so I guess that's fine.
MessageBox.Show(api.LastUpdateTime.ToLongDateString() + " / " + api.LastUpdateTime.ToLongTimeString())
I also used this part of code to check if there was any error which could explain why i'm having such a gap in between the cache and reality but the result is no error.
if (api.LastErrors.Count > 0) { StringBuilder resultMsg = new StringBuilder(); foreach (EveApiError error in api.LastErrors) { resultMsg.AppendLine(error.ToString()); } MessageBox.Show(resultMsg.ToString()); }
Do I have to manually ask for a refresh when using the simple mode api?
|

Tiradem
|
Posted - 2010.03.16 13:32:00 -
[444]
Hello everyone, I am attempting to use this Api but I'm having trouble locating where to find the character Id. I would like to put in the userID and Api Key and have have the program fill a combo box with the 3 characters Names. Could someone show me a code snippet of how I can achieve this? I been reading this through thread and coming up short. I'm using c# and I'm a bit of a newbie but I can usually get what I need done through trial and error. Thanks for any help in advanced.
|

MearWolf
|
Posted - 2010.03.16 14:27:00 -
[445]
is there any way to pull the account name down using the limited api?
|

TradingWithYou
Gallente
|
Posted - 2010.03.16 16:14:00 -
[446]
Originally by: Tiradem Hello everyone, I am attempting to use this Api but I'm having trouble locating where to find the character Id. I would like to put in the userID and Api Key and have have the program fill a combo box with the 3 characters Names. Could someone show me a code snippet of how I can achieve this? I been reading this through thread and coming up short. I'm using c# and I'm a bit of a newbie but I can usually get what I need done through trial and error. Thanks for any help in advanced.
This should anwser MearWolf question by the same mean :)
I used this very basic code in c# to retrieve the names attached to an account.
EveApi api = new EveApi(UserID, ApiKey); List<AccountEntry> accountEntries = api.GetAccountEntries();
foreach (AccountEntry ae in accountEntries) { comboBox1.Items.Add(ae.Name); } comboBox1.SelectedIndex = 0; // Make the combo box select the first item in it
Then you can define the CharacterID and set your EveApi to work with it by using the following:
api.Authentication.CharacterID = accountEntries[selectedProfile].CharacterID;
Hope this help you guys get started with this 
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.17 22:35:00 -
[447]
Originally by: TradingWithYou I think I'm having issues with the cache. FYI, I am using the simple mode api.
I extract the skill in training using .GetCharacterSkillInTraining() but the information I get out of .SkillPointsCurrent and .SkillPointsCurrent.TrainingDuration.Days are dating from a sometime already.
I've done some testing and also found some strange cases (worked most of the time but sometimes I got strange results). After more testing it seems that in that case the server actually delivers wrong or dubious values. I might be able to work around some, but I don't think it will work for all the small issues I've seen.
P.S. TrainingDuration is the total training time, not the remaining time. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Tiradem
|
Posted - 2010.03.18 01:17:00 -
[448]
I m having trouble understanding EveAI.Live.Corporation, Any data I pull from it will not update when I switch character profiles.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.18 11:05:00 -
[449]
Originally by: Tiradem I m having trouble understanding EveAI.Live.Corporation, Any data I pull from it will not update when I switch character profiles.
If you are using the simple mode I strongly recommend to use a new EveApi object for each new character profile (make sure to only create the static data once or this will be slow).
If you want to check for hundereds or thousands of profiles I suggest looking into the advanced mode. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Tiradem
|
Posted - 2010.03.18 12:13:00 -
[450]
Originally by: Amida Ta
Originally by: Tiradem I m having trouble understanding EveAI.Live.Corporation, Any data I pull from it will not update when I switch character profiles.
If you are using the simple mode I strongly recommend to use a new EveApi object for each new character profile (make sure to only create the static data once or this will be slow).
If you want to check for hundereds or thousands of profiles I suggest looking into the advanced mode.
Thanks for the help. How do I make an EveApi object for each character and only create the static data once?
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.18 13:56:00 -
[451]
EveApi api = new EveApi(); EveAI.DataCore core = api.EveApiCore;
EveApi api2 = new EveApi(false); api2.EveApiCore = core; |

Tiradem
|
Posted - 2010.03.18 20:41:00 -
[452]
Originally by: Amida Ta EveApi api = new EveApi(); EveAI.DataCore core = api.EveApiCore;
EveApi api2 = new EveApi(false); api2.EveApiCore = core;
Sorry, I dont understand... What does the DataCore do? what is the (false) for? Can someone explain this a little bit? |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.18 20:51:00 -
[453]
Edited by: Amida Ta on 18/03/2010 20:52:55 Edited by: Amida Ta on 18/03/2010 20:52:17
Originally by: Tiradem
Originally by: Amida Ta EveApi api = new EveApi(); EveAI.DataCore core = api.EveApiCore;
EveApi api2 = new EveApi(false); api2.EveApiCore = core;
Sorry, I dont understand... What does the DataCore do? what is the (false) for? Can someone explain this a little bit?
The false is for the parameter "autoCreateDataCore" and setting it to false means that the DataCore isn't automatically created (The documentation says: "Controls the creation of default static Eve data."). DataCore itself is an object that holds the important parts of the EVE static data (the data that CCP releases as SQL-Database) and is used to automatically give you rich information for your API calls that contains much more information than the CCP online API does actually deliver. |

Ijam
|
Posted - 2010.03.20 15:17:00 -
[454]
Hi, I seem to be having a problem retrieving market order info when using the GetCharacterMarketOrders method. I always get an empty list return and I know the my toon has outstanding sell orders. I can even see them in EVE HQ...
I am using the full API key, and I can retrvieve basic info like name, gender, mail, and skills. So I know my EVEAI object is valid.
Do I need to do some "special" initialization before this method will work?
Any pointers and/or code snippets appreciated...
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.20 17:25:00 -
[455]
Edited by: Amida Ta on 20/03/2010 17:26:57 I guess your problem is that you aready get the list with EveHQ. ("I can even see them in EVE HQ") You can only retrieve the list once. If you retrieve it with EveHQ you cannot again retrieve it with EveAI until the cache time is over (and vice versa). You would need to use an API proxy (if EveHQ supports that).
To test that you can check the errors (you can use the test application to easily do that). _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

sunflower Rose
|
Posted - 2010.03.21 07:29:00 -
[456]
HiAmida,
You were right. The orders are coming through now without changing any code. Thanks
|

Nig C
|
Posted - 2010.03.21 10:58:00 -
[457]
Hello Amida Ta,
I am NigC from Project Stealth Squad. I found EveAI_Live via Eve Development Network and I'm very thanksfull for this great Library. To work with is that easy 
But I miss the Attributes of a Product (dgmTypeAttribute and dgmAttributeType inside the Datadump)
Will you ever implement them?
regards, NigC
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.21 17:54:00 -
[458]
Hi,
adding that would quite a bit of work and I don't need them myself at all. But for a moderate ISK donation I think I could add them *g*
Greetings _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Evo YaMing
|
Posted - 2010.03.26 13:13:00 -
[459]
Hi Amida! I am having trouble to find Productstatistics for a specific region via evecentralmarketapi. I can get the Productstatics for the Universe but has soon as i try to specify a region i am getting a empty list back. There was a Forum post in this section with this problem in the past but noone had a solution so i am asking again.
Code:
EveAI.DataCore dataCore = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(EveAI.DataTypes.Products); EveCentralMarketApi marketApi = new EveCentralMarketApi(dataCore);
System.Collections.Generic.List<EveAI.Product.ProductType> components = new System.Collections.Generic.List<EveAI.Product.ProductType>(); product = dataCore.ProductTypes.First(p => p.Name == "Nanotransistors"); components.Add(product); product = dataCore.ProductTypes.First(p => p.Name == "Tungsten Carbide"); components.Add(product); int regionID = 10000002; // The Forge region = dataCore.FindRegion(regionID); System.Collections.Generic.List<EveAI.Live.Market.ProductStatistics> eveCentralProductPrices = new System.Collections.Generic.List<EveAI.Live.Market.ProductStatistics>(); eveCentralProductPrices = marketApi.GetProductStatistics(components,region );
Anybody got a solution or has a guess why this is not working.
Thx
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.26 15:15:00 -
[460]
reader.Read(EveAI.DataTypes.Products); Will only read product types. However later you try to get region data with dataCore.FindRegion(regionID); which should then return null. So you likely call eve central with null as region. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

Evo YaMing
|
Posted - 2010.03.26 21:04:00 -
[461]
Sorry Amida i posted some **** of Code. But i have done my homework now. So here is my Code again //----Components Selection---------------------------------------------------------------------------- EveAI.DataCore dataCore = new EveAI.DataCore(); EveAI.DataReader readerPro = new EveAI.StaticDataDataReader(dataCore); readerPro.Read(EveAI.DataTypes.Products); System.Collections.Generic.List<EveAI.Product.ProductType> components = new System.Collections.Generic.List<EveAI.Product.ProductType>(); EveAI.Product.ProductType product = new EveAI.Product.ProductType(); product = dataCore.ProductTypes.First(p => p.Name == "Nanotransistors"); components.Add(product); product = dataCore.ProductTypes.First(p => p.Name == "Tungsten Carbide"); components.Add(product); // EVE - Regionen Selection--------------------------------------------------------------------------------------------- //Regionenauswahl EveAI.DataCore dataCoreReg = new EveAI.DataCore(); dataCoreReg = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dataCoreReg); reader.Read(EveAI.DataTypes.BasicMapData); System.Collections.Generic.List<EveAI.Map.Region> region = new System.Collections.Generic.List<EveAI.Map.Region>(); EveAI.Map.Region myregion = new EveAI.Map.Region(); myregion = dataCoreReg.Regions.First(p => p.Name == "The Forge"); //myregion = dataCoreReg.FindRegion(regionID); region.Add(myregion); // GEt Stats from EVECentral------------------------------------------------------------------------------------------ EveCentralMarketApi marketApi = new EveCentralMarketApi(dataCore); System.Collections.Generic.List<EveAI.Live.Market.ProductStatistics> eveCentralProductPrices = new System.Collections.Generic.List<EveAI.Live.Market.ProductStatistics>(); long myquant = 20000; TimeSpan mytime = new TimeSpan(2, 12, 0, 0); eveCentralProductPrices = marketApi.GetProductStatistics(components, region, mytime, myquant); //-------------------------------------------------------------------------------------------------------------------- //35910.490688192.168.0.10038.113.114.184HTTPGET /api/marketstat?typeid=16681&typeid=16672®ionlimit=-1&hours=60&minQ=20000 HTTP/1.1 //i captured the HHTP request with Wireshark -------- look at the regionlimit=-1
Looks like i am having trouble with the region. But i dont know where the Problem is because when i am debugging the code step by step i have got the correct region.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.27 16:54:00 -
[462]
Edited by: Amida Ta on 27/03/2010 16:54:42 Your handling for DataCore is still incorrect. You should only have ONE DataCore and not mulitiples. In your concrete case the problem is that the DataCore you create for the region data is not associated to the MarketAPI.
Solving your problem is simple (this will also make your code faster and save memory): readerPro.Read (EveAI.DataTypes.Products | EveAI.DataTypes.BasicMapData); This reads both into a single DataCore. Then throw out your entire second datacore creation/loading/usage. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

skyk
|
Posted - 2010.03.28 14:44:00 -
[463]
Hi Amida, thanks for a great library and I have acouple of questions.
1) How to find the meta-level of an item? doesnt seem to be available in the ProductType.
2) What is the standard way of supporting the Tech 2 mark on graphics/icons, as there are no default T2/T3/faction icons? Is it just to overlay the appopriate tag over the image?
3) Icons: I have downloaded the Domination images cache and and simply loading the required image using the ProductType.Graphic.UrlIcon member. Is this the best way, or am I missing something simple and clever :)
Cheers. :)
EveApi api = new EveApi(false); DataCore dataCore = new DataCore(); DataReader reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(DataTypes.Stations | DataTypes.Graphics | DataTypes.Products | DataTypes.BasicMapData); api.EveApiCore = dataCore;
|

Evo YaMing
|
Posted - 2010.03.29 09:46:00 -
[464]
A now everyything works fine. Big thanks Amida.
|

ipavlu
|
Posted - 2010.03.30 03:32:00 -
[465]
Hi Amida Ta,
first of all, thanks for this library :). Second, I would like ask, if there is posibility to get images of corp members?
Thanks very much for info.
ipavlu
|

Nig C
|
Posted - 2010.03.30 07:25:00 -
[466]
Hello ipavlu!
First of all, use an Objekt-Browser like that one in Visual Studio 2008 and browse the EveAI.Core and EveAI.Live, then you will see how big Amida's Library is and what you can do with 
Originally by: ipavlu ...if there is posibility to get images of corp members...
EveAI.Live.CharacterImage.Download(characterID as Long, size as EveAI.Live.CharacterImage.Size) as System.Drawing.Image
Dim charID as Long Dim size as EveAI.Live.CharacterImage.Size Dim image as System.Drawing.Image
charID = xxxxxxxx size = EveAI.Live.CharacterImage.Size.Large
image = EveAI.Live.CharacterImage.DownloadImage(charID, size)
Picturebox1.Image = image
- Nig C
|

Captain Nomad
|
Posted - 2010.03.30 09:40:00 -
[467]
For what is worth it, the function GetProductStatistics() for Eve Central is broken when used with a given ProductType and a single Region, returns all 0. It works without specified Region. Other than that looks like a great library, thanks for posting it.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.30 14:43:00 -
[468]
Originally by: Captain Nomad For what is worth it, the function GetProductStatistics() for Eve Central is broken when used with a given ProductType and a single Region, returns all 0. It works without specified Region. Other than that looks like a great library, thanks for posting it.
Works for me and others. Maybe you have the same problem as Evo YaMing had some posts above? _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Admiraliss
|
Posted - 2010.04.03 15:58:00 -
[469]
hey, is it possible to compile also for the windows mobile 6 compact framework ?
|

Sidrat Flush
Caldari Audit Services Inc
|
Posted - 2010.04.05 14:29:00 -
[470]
Are there tutorials in using the EveAI live libraries.
I guess I'm having a hard time picturing how things fit together in the way of variable declaration and referencing the api imported information in form views etc.
View The Eve Industrial Organiser Site
|
|

Nig C
|
Posted - 2010.04.05 17:40:00 -
[471]
Originally by: Sidrat Flush Are there tutorials in using the EveAI live libraries.
Don't think so, but there is a WIKI @ Eve-Development Network, and if we all work together, may it becomes better than some tuts 
-NigC
|

Evo YaMing
|
Posted - 2010.04.07 12:25:00 -
[472]
i recognized something. Somehow LowSec POSes need with this Library Starbase chartes while Highsec and Wormhole Poses dont need those Charters. Anybody can confirm this?
|

Tiradem
|
Posted - 2010.04.07 21:39:00 -
[473]
Any examples of how to load the character skill tree into a tree view in C#? I had the skills loaded in a dataGrid and it worked perfectly for 2 of my characters, but I got an error when I tried it on my third character. However I think a treeview would be a nicer way to orginize the skills.
|

skyk
|
Posted - 2010.04.08 18:29:00 -
[474]
Simple but it works...
public void PopulateControl(EveApi api) { CharacterSheet cs = api.GetCharacterSheet(); treeView1.Nodes.Clear();
foreach (CharacterSheet.LearnedSkill s in cs.Skills) { TreeNode[] groupArray = treeView1.Nodes.Find(s.Skill.GroupName, false); TreeNode skill = new TreeNode(s.Skill.Name + " - Level " + s.Level); skill.Tag = s;
if (groupArray.Length == 0) { TreeNode group = new TreeNode(s.Skill.GroupName); group.Name = s.Skill.GroupName; group.Nodes.Add(skill); treeView1.Nodes.Add(group); } else { groupArray[0].Nodes.Add(skill); } }
treeView1.Sort(); }
|

Sidrat Flush
Caldari Audit Services Inc
|
Posted - 2010.04.09 16:38:00 -
[475]
Edited by: Sidrat Flush on 09/04/2010 16:40:50 skyk
Thanks for the code snippet, my real problem is having no idea where the code goes?
Program.cs, form.cs, or somewhere totally different.
What references are used if any apart from eveai.core.dll and eveai.live.dll
thanks for the answers and any other tips you can give a new Visual C# 2008 Express 'developer'
View The Eve Industrial Organiser Site
|

Burnmate
|
Posted - 2010.04.10 08:57:00 -
[476]
if i try to get the CorporationStarbaseDetail i get this error ErrorFromOnlineUserInputInvalid
is normal?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.04.10 11:32:00 -
[477]
Edited by: Amida Ta on 10/04/2010 11:33:18
Originally by: Burnmate if i try to get the CorporationStarbaseDetail i get this error ErrorFromOnlineUserInputInvalid
is normal?
This is normal if you didn't supply a correct StarbaseID (if you are using the Test application you can find it under Advanced->Authentication) or you don't have the neccessary rights in your cooperation. If you look at the errors list it will contain the exact reason (like InputInvalidItemID) _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Burnmate
|
Posted - 2010.04.10 11:58:00 -
[478]
Edited by: Burnmate on 10/04/2010 12:02:46
Originally by: Amida Ta Edited by: Amida Ta on 10/04/2010 11:33:18
Originally by: Burnmate if i try to get the CorporationStarbaseDetail i get this error ErrorFromOnlineUserInputInvalid
is normal?
This is normal if you didn't supply a correct StarbaseID (if you are using the Test application you can find it under Advanced->Authentication) or you don't have the neccessary rights in your cooperation. If you look at the errors list it will contain the exact reason (like InputInvalidItemID)
i'm using my full api and i can see all others info without problem
emm ok i see what u was saying ^^ i was thinking the option show all the status of all pos :D
|

Suratra
|
Posted - 2010.04.12 10:50:00 -
[479]
Hello,
First of all, great work, but still a few questions:
- where can i get the correct information about Wastage, ME and PE of an invented T2 BPC? I always get the results like a standart ME -4 - is there any way to get a update more often than 24 hours for Corporation Assets? - when i do an "advanced" call, does a changed Updatemechanism also changed for "simple" call? - can i change the location where the cache in saved on Harddisk? - how can i clean the cache from code? Ok, i can unload eveai, delete the files, and reload, but i like to force an online update in simple mode.
Thanks for answering, Suratra
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.04.12 11:29:00 -
[480]
Edited by: Amida Ta on 12/04/2010 11:29:39 Answers inline
Originally by: Suratra
- where can i get the correct information about Wastage, ME and PE of an invented T2 BPC? I always get the results like a standart ME -4
Could you give an example? And what did you expect?
- is there any way to get a update more often than 24 hours for Corporation Assets?
No, thats a limit of the CCP APIs, not of EveAI.Live
- when i do an "advanced" call, does a changed Updatemechanism also changed for "simple" call?
Yes, both will use the same disk cache (unless you would change it). However memory-cache would not work when mixing both variants.
- can i change the location where the cache in saved on Harddisk?
EveApiBase.Configuration.BaseDirectory However I would strongly advice against changing it because it means if you use several applications using EveAI.Live they will get incorrect cache data or will not be able to get data at all.
- how can i clean the cache from code? Ok, i can unload eveai, delete the files, and reload, but i like to force an online update in simple mode.
You cannot force an online update. The update times are enforced by the CCP API. If you delete the cache files you CAN get EveAI to recall the CCP APIs but the CCP APIs will either return OLD data (the same data you already had cached) or they will just return an error. So doing what you are trying to do is utterly useless.
Thanks for answering, Suratra
_________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.04.15 11:02:00 -
[481]
Edited by: Amida Ta on 15/04/2010 11:06:31 EveAI Live Version 1.2.5 has been released!
- Some small enhancements and fixes and a little bit more documentation.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2.5.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

MearWolf
|
Posted - 2010.04.19 14:07:00 -
[482]
Hey, is there any way to pull down the account name(like EVEmon does)?
|

Nig C
|
Posted - 2010.04.20 12:10:00 -
[483]
Hello MearWolf!
First of all, use an Objekt-Browser like that one in Visual Studio 2008 and browse the EveAI.Core and EveAI.Live, then you will see how big Amida's Library is and what you can do with or visit the EveAI Wiki on EVE-Development Network.
Originally by: MearWolf Hey, is there any way to pull down the account name(like EVEmon does)?
EveAI.Live.EveApi.GetAccountEntries() As System.Collections.Generic.List(Of EveAI.Live.Account.AccountEntry)
Dim myApi as new EveAI.Live.EveApi
myApi.Authentication.UserID = xxxxxxxx myApi.Authentication.ApiKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Dim myAccountEntries As System.Collections.Generic.List(Of EveAI.Live.Account.AccountEntry)
myAccountEntries = myApi.GetAccountEntries()
For Each element As EveAI.Live.Account.AccountEntry In myAccountEntries MsgBox(element.Name) Next
- NigC
|

Ischtar Grey
Caldari
|
Posted - 2010.04.22 11:00:00 -
[484]
hy,
first of all, EveAI is awesome :)
now i have a question, i do try to calculate the realMaterialNeed of an BPO depending on the ME and Prod.Eff. skill level, so i use your ManufacturingAddWaste method from the BPO
if i do that, the calc is ok
List<EveAI.Product.ProductMaterial> realMaterialNeeds = this._bpo.Blueprint.ManufacturingAddWaste( this._bpo.Blueprint.Product.Materials, this._bpo.Blueprint.WasteFactor, 53, 5);
BUT if i change the Prod. Eff. skill from 5 to 0, like this
List<EveAI.Product.ProductMaterial> realMaterialNeeds = this._bpo.Blueprint.ManufacturingAddWaste( this._bpo.Blueprint.Product.Materials, this._bpo.Blueprint.WasteFactor, 53, 0);
the realMaterialNeeds seems to be not correct (cross checkted with MEL Calc and EveHQ BPCalc)
lets say i use a stabber BPO with the ME of 53, and Prod. eff. skill 0: EveAI tells me the Trit use will be = 308196 MEL Calc and EveHQ BPCalc tells me the Trit use will be 384924
maybe im doing something wrong, if so plz tell me what it is, else a fix would be nice.
Im using EveAI_Live_1.2.3 atm.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.04.22 16:22:00 -
[485]
Can you try http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2.5b.zip and tell me if it works correctly now? _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Ischtar Grey
Caldari
|
Posted - 2010.04.23 07:20:00 -
[486]
hy,
thx for that fast hotfix, EveAI_Live_1.2.5b.zip did fix the problem!
thx
|

MearWolf
|
Posted - 2010.04.23 11:15:00 -
[487]
K I'm having trouble with pulling down alliance data, it works fine on a character who is in an alliance however I've got an if to see if they're in an alliance and if not just display "none". when I try and do this though, I get the following error, oh and I'll pop my code on too.
If corporationsheet2.Alliance.AllianceID <> 0 Then frmMn.chr2lblAlliance.Text = corporationsheet2.Alliance.Name frmMn.chr2lblAllianceMembers.Text = corporationsheet2.Alliance.MemberCount frmMn.chr2lblCorporationCount.Text = corporationsheet2.Alliance.MemberCorporations.Count Else frmMn.chr2lblAlliance.Text = "None" End If
---------------------------------------
System.NullReferenceException was unhandled Message=Object reference not set to an instance of an object. Source=EVE SecuriCheck StackTrace: at EVE_SecuriCheck.frmMngAccnt.cmdOpnAccnt_Click(Object sender, EventArgs e) in C:\Users\Joe\Dev\Visual Basic\Projects\EVE SecuriCheck\EVE SecuriCheck\frmMngAccnt.vb:line 92 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(ApplicationContext context) at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine) at EVE_SecuriCheck.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81 at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException:
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.04.23 13:20:00 -
[488]
Edited by: Amida Ta on 23/04/2010 13:21:32 The fix is very simple. Change
Originally by: MearWolf
If corporationsheet2.Alliance.AllianceID <> 0 Then
into
Quote: If corporationsheet2.Alliance = NULL Then
_________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

MearWolf
|
Posted - 2010.04.25 14:18:00 -
[489]
Originally by: Amida Ta Edited by: Amida Ta on 23/04/2010 13:21:32 The fix is very simple. Change
Originally by: MearWolf
If corporationsheet2.Alliance.AllianceID <> 0 Then
into
Quote: If corporationsheet2.Alliance = NULL Then
I tried something similar using Quote: If corporationsheet.Alliance <> Nothiing Then
but that didn't work however your bit of code has given me this: Quote: If IsDBNull(corporationsheet2.Alliance) = True Then
which I believe must be the VB.Net equivalent
|

MearWolf
|
Posted - 2010.04.25 15:39:00 -
[490]
Edited by: MearWolf on 25/04/2010 15:39:52 Edited by: MearWolf on 25/04/2010 15:39:23 Sorry to pester but is there any way to pull down character portraits as currently I can only display them if the EVE client has already downloaded them.
This is how I'm accessing them at the moment
Quote: ImageLocation = ("C:\Documents and Settings\" & System.Environment.UserName & "\Local Settings\Application Data\CCP\EVE\c_program_files_ccp_eve_tranquility\cache\Pictures\Portraits\" & characterid & "_504.png")
|
|

Nig C
|
Posted - 2010.04.25 16:54:00 -
[491]
Originally by: MearWolf ...is there any way to pull down character portraits...
Sometimes its good to read the whole tread befor asking 
Look here...
- Nig C
|

MearWolf
|
Posted - 2010.04.27 13:26:00 -
[492]
Are you sure that wouldn't just msgbox each character name?
Originally by: Nig C Hello MearWolf!
First of all, use an Objekt-Browser like that one in Visual Studio 2008 and browse the EveAI.Core and EveAI.Live, then you will see how big Amida's Library is and what you can do with or visit the EveAI Wiki on EVE-Development Network.
Originally by: MearWolf Hey, is there any way to pull down the account name(like EVEmon does)?
EveAI.Live.EveApi.GetAccountEntries() As System.Collections.Generic.List(Of EveAI.Live.Account.AccountEntry)
Dim myApi as new EveAI.Live.EveApi
myApi.Authentication.UserID = xxxxxxxx myApi.Authentication.ApiKey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Dim myAccountEntries As System.Collections.Generic.List(Of EveAI.Live.Account.AccountEntry)
myAccountEntries = myApi.GetAccountEntries()
For Each element As EveAI.Live.Account.AccountEntry In myAccountEntries MsgBox(element.Name) Next
- NigC
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.04.28 22:27:00 -
[493]
How do I use api.GetCharacterAccountBalance? Given an api that specifies the characterID, how do I retrieve the balance from that character? It looks like it contains a collection of items accesible only by index.
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

MearWolf
Caldari Cygnus Excavations Inc.
|
Posted - 2010.04.29 10:41:00 -
[494]
Edited by: MearWolf on 29/04/2010 10:42:07 Edited by: MearWolf on 29/04/2010 10:41:17
Originally by: Krathos Morpheus
How do I use api.GetCharacterAccountBalance? Given an api that specifies the characterID, how do I retrieve the balance from that character? It looks like it contains a collection of items accesible only by index.
Imports EveAI.Live
Dim userid As Integer = Val(InputBox("Input User ID", "User ID")) Dim apikey As String = InputBox("Input API Key", "API Key") Dim characterid as Integer = Val(InputBox("Input Character ID", "Character ID")) Dim api As New EveApi(userid, apikey, characterid)
Dim charactersheet As Character.CharacterSheet = api.GetCharacterSheet()
MsgBox(charactersheet.Balance)
--------------------------------------------------------------------------------
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.04.29 11:14:00 -
[495]
Originally by: Krathos Morpheus
How do I use api.GetCharacterAccountBalance? Given an api that specifies the characterID, how do I retrieve the balance from that character? It looks like it contains a collection of items accesible only by index.
Either you do as MearWolf suggested or you can just take the first (and only) element of the collection. The reason this is a collection is so that it is compatible with GetCorporateAccountBalace, where you have more than one account. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.04.29 12:47:00 -
[496]
Originally by: Amida Ta
Originally by: Krathos Morpheus
How do I use api.GetCharacterAccountBalance? Given an api that specifies the characterID, how do I retrieve the balance from that character? It looks like it contains a collection of items accesible only by index.
Either you do as MearWolf suggested or you can just take the first (and only) element of the collection. The reason this is a collection is so that it is compatible with GetCorporateAccountBalace, where you have more than one account.
Thanks, I'm using the charactersheet right now, but I prefer using accountbalance since it has a shorter cache and I don't need everything else where I'm using it.
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Johnny May
|
Posted - 2010.05.01 03:59:00 -
[497]
and where do i find a documentation for that? the eve-id wikipage certainly doesnt tell me about return types etc..
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.05.01 10:12:00 -
[498]
The libaray documentation is in .Net XMLDoc format and included in the download (EveAI.Live.xml). If you add the library to your development environment it should automatically pick the library up (make sure the xml file is in the same directory as the dll) and display help for you. If you don't use an IDE (you really should use one) you will have to use a tool to convert the XML file into something human-readable (webpages or a windows help file or something like that).
BTW: An development environment will show the return type even without any documentation present because no documentation is needed for that. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Utomin
|
Posted - 2010.05.05 22:53:00 -
[499]
Hello!
Is there an example for using this to etc. pull the character name with the api and then just displaying that?
I got into visual studio for the sole purpose of doing some eve related stuff and landed on eveai. Having a bit of a hard time getting the evedev tutorials working - so i was wondering if anyone had any nice basic lines of code that could be helpfull for me now.
Also, whats the range for character id? 1-3 as in slots on the account?
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.05.06 00:38:00 -
[500]
Originally by: Utomin Edited by: Utomin on 05/05/2010 23:02:48
Hello!
Is there an example for using this to etc. pull the character name with the api and then just displaying that?
I got into visual studio for the sole purpose of doing some eve related stuff and landed on eveai. Having a bit of a hard time getting the evedev tutorials working - so i was wondering if anyone had any nice basic lines of code that could be helpfull for me now.
Also, whats the range for character id? 1-3 as in slots on the account?
Really trying to take it down to basics here: Linkage
You need to retrieve the character id from the server with api.GetAccountEntries or supply it yourself, if you put 0 on characterID anything character related will not work. I would be glad to share some of my code to get you started, but looks like you are using C while I'm using VB. Anyway there is a lot of code samples in this very thread and almost all of them are in C if you are willing to explore the pages.
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |
|

Utomin
|
Posted - 2010.05.06 07:15:00 -
[501]
Originally by: Krathos Morpheus
Originally by: Utomin Edited by: Utomin on 05/05/2010 23:02:48
Hello!
Is there an example for using this to etc. pull the character name with the api and then just displaying that?
I got into visual studio for the sole purpose of doing some eve related stuff and landed on eveai. Having a bit of a hard time getting the evedev tutorials working - so i was wondering if anyone had any nice basic lines of code that could be helpfull for me now.
Also, whats the range for character id? 1-3 as in slots on the account?
Really trying to take it down to basics here: Linkage
You need to retrieve the character id from the server with api.GetAccountEntries or supply it yourself, if you put 0 on characterID anything character related will not work. I would be glad to share some of my code to get you started, but looks like you are using C while I'm using VB. Anyway there is a lot of code samples in this very thread and almost all of them are in C if you are willing to explore the pages.
Thanks a lot for the helpfull reply - i'm only using c# because the first example on the wiki was in C#. I only have a _minimal_ advantage in going the C way here experience-wise. i could just as easily start to work myself up from here with VB.
I'd be glad to see some more mature code involving this - if you are willing to share :)
my email is "era at daug dot net" if you want to contact me privately about this.
Will now proceed to study previous pages more throughly than last time :)
Thank you
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.05.06 12:20:00 -
[502]
Originally by: Utomin
Really trying to take it down to basics here: Linkage
Your code is perfectly fine. The only problem is the missing CharacterID (it needs to be the characterID that CCP set for your character. You can either get it with the account API or you can look here in the forum at the pictures links: http://www.eveonline.com/ingameboard.asp?a=bigshot&cid=484361100 is that for you. So your characerID for Utomin is 484361100. Enter that and your code should work. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

cinderbrood
Caldari Delta Technologies And Development
|
Posted - 2010.05.07 12:15:00 -
[503]
Anyone else having issues using this with Linq?
trying to build a list of item ids based upon a marketgroup
Quote: List<int> MarketIDs = new List<int>(); string SelectedItem = Request.Params["MarketGroup"]; // "Frigates"
List<ProductType> Temp = (from iType in API.EveApiCore.ProductTypes where iType.MarketGroup.Name != null && iType.MarketGroup.Name == SelectedItem select iType).ToList(); foreach (ProductType T in Temp) { MarketIDs.Add(API.EveApiCore.GetIdForObject(T)); }
Its giving me a null reference exception on the iType.MarketGroup.Name == SelectedItem, Complaining that iType.MarketGroup is null.
Is there some weird lazy loading system that i happen to not know about? And can i disable it if so, Otherwise any ideas?
Will Code For Isk. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.05.09 21:23:00 -
[504]
span style= font-size:7pt i Edited by: Amida Ta on 09/05/2010 21:23:28 /i /span br BLOCKQUOTE font class=quote size=9px face= Verdana img src= /images/icon_quote_message.gif border= 0 b Originally by: /b i cinderbrood /i hr height=1 noshade br Anyone else having issues using this with Linq? br br trying to build a list of item ids based upon a marketgroup br br BLOCKQUOTE font class=quote size=9px face= Verdana img src= /images/icon_quote_message.gif border= 0 b Quote: /b hr height=1 noshade List< int> MarketIDs = new List< int> () br string SelectedItem = Request.Params[ MarketGroup; // "Frigates"
List<ProductType> Temp = (from iType in API.EveApiCore.ProductTypes where iType.MarketGroup.Name != null && iType.MarketGroup.Name == SelectedItem select iType).ToList(); foreach (ProductType T in Temp) { MarketIDs.Add(API.EveApiCore.GetIdForObject(T)); }
Its giving me a null reference exception on the iType.MarketGroup.Name == SelectedItem, Complaining that iType.MarketGroup is null.
Is there some weird lazy loading system that i happen to not know about? And can i disable it if so, Otherwise any ideas?
No, there isn't. But there are products that are not available in the market and therefore do not have any MarketGroup. So you would have to check: where iType.MarketGroup != null _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.05.09 21:52:00 -
[505]
Originally by: Utomin Thanks a lot for the helpfull reply - i'm only using c# because the first example on the wiki was in C#. I only have a _minimal_ advantage in going the C way here experience-wise. i could just as easily start to work myself up from here with VB.
I'd be glad to see some more mature code involving this - if you are willing to share :)
my email is "era at daug dot net" if you want to contact me privately about this.
Will now proceed to study previous pages more throughly than last time :)
Thank you
I've sent you a message, check it out!
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

cinderbrood
Caldari Delta Technologies And Development
|
Posted - 2010.05.09 23:14:00 -
[506]
Edited by: cinderbrood on 09/05/2010 23:15:13 edit: I fail
Will Code For Isk. |

KidPaddle
|
Posted - 2010.05.15 11:28:00 -
[507]
Edited by: KidPaddle on 15/05/2010 11:28:58 Hi, I'm having trouble with EveAI 1.2.5b, I constantly get this exception, no matter which api method is called: ************** Exception Text ************** System.ArgumentException: '-171900920,3946' is not a valid value for 'Interval'. 'Interval' must be greater than 0. at System.Timers.Timer.set_Interval(Double value) at EveAI.Live.EveApiBase.UpdateDataFromWeb() at EveAI.Live.EveApiBase.UpdateData(UpdateCharaceristics updateCharacteristics) at EveAI.Live.EveApi.UpdateEveApi[T,TResolve,TResolve2](T& api, TResolve& resolveApi, TResolve2& resolveApi2, Boolean resolve) at EveAI.Live.EveApi.UpdateEveApi[T,TResolve](T& api, TResolve& resolveApi, Boolean resolve) at EveAI.Live.EveApi.UpdateEveApi[T](T& api) at EveAI.Live.EveApi.CallApi(EveApiType eveApiType) at Test.TestForm.selectApi_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll ---------------------------------------- EveAI Live Test Assembly Version: 1.2.0.0 Win32 Version: 1.2.0.0 CodeBase: file:///C:/Users/kid/EveAI%20Live%20Test.exe ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- EveAI.Core Assembly Version: 2.0.0.0 Win32 Version: 2.0.0.0 CodeBase: file:///C:/Users/kid/EveAI.Core.DLL ---------------------------------------- EveAI.Live Assembly Version: 1.2.5.0 Win32 Version: 1.2.5.0 CodeBase: file:///C:/Users/kid/EveAI.Live.DLL ---------------------------------------- Ionic.Zip.Reduced Assembly Version: 1.9.0.19 Win32 Version: 1.9.0.19 CodeBase: file:///C:/Users/kid/Ionic.Zip.Reduced.DLL ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900) CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
It's the same in my code and with the Live Test application. Does anybody have any ideas how to fix that ?
Thanks
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.05.16 00:59:00 -
[508]
Hmm. Works for me and likely most others, too (or I'd expect a lot more posts).
Is it possible that your System clock is going seriously wrong? _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

KidPaddle
|
Posted - 2010.05.16 08:24:00 -
[509]
That was it, I just built that computer and I guess I was to fast setting the clock in the bios, because it was 1 day ahead. Thanks.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.05.16 21:43:00 -
[510]
I also already added a sanity check that will prevent the exception for the next version of EveAI.Live. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

Igor Epocci
Minmatar Fringe Industries EMS
|
Posted - 2010.05.17 19:54:00 -
[511]
do you have a "powered by" logo that I can use on an IGB app I'm building? I want to give credit for the work done on the API.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.05.19 14:45:00 -
[512]
Edited by: Amida Ta on 19/05/2010 14:46:09 No, I don't have any special "Powered by" Logo. But feel free to use the graphic from http://wiki.eve-id.net/EveAI and use it for that reason. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Tomesch Nokal
Minmatar Gradient Electus Matari
|
Posted - 2010.05.21 21:33:00 -
[513]
First: Thanks for the library!
I've got a simple question... I wrote some code to load data from the DB (dump) before I found EveAI. So I've got some classes duplicated, and since EveAI classes have more data in them, I'd like to replace my classes with them. While it's easy to get an object by ID (datacore.findRegion, findSolarSystem, findXXX) I need a way from a name to the object. So- is there any method like findRegionByName, findSolarSystemByName etc? Of course I could just Linq them out like this myDatacore.Region.Where(r=>r.Name.equals("Heimatar")).First but I'm afraid that it's not very efficient...
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.05.22 10:27:00 -
[514]
No there aren't any (usable) build in ways to retrieve objects from their names. For most cases you don't need that anyways. You either use the references to the objects directly or have IDs (when getting stuff from eve directly).
If you take into consideration that there are LOTS of different use cases (would you like to get an exact text match, a case-insensitive one, an partial matching at beginning one, at end, want to find similar text, contained words and so on) there is not really a way to provide that functionallity either.
And if you only have user input using Linq should be perfectly fine speed-wise. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Tomesch Nokal
Minmatar Gradient Electus Matari
|
Posted - 2010.05.22 11:37:00 -
[515]
Thanks for your answer, just wanted to be sure ;) You are right, normally I work only with IDs, but if you export market details, the file is named something like "Armor Plates-Heimatar-2010.01.01 101245.txt", so there is at least one case where you may want to get the ID from name before deciding wether or not to parse the file. And that's what I want to do :)
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.05.26 23:32:00 -
[516]
Edited by: Amida Ta on 26/05/2010 23:32:38 EveAI Live Version 1.3.0 Pre1 has been released! This is a prerelease version that hasn't been tested as much as normal versions. Cachfiles from previous versions will be invalidated automatically.
- Updated static data to Tyrannis.
- Fully supports new Image Service using the static ImageServer class (Supporting Char, Corp and Alliance Images). The old image server class has been deprecated.
- Supports the new Tyrannis APIs. The Apis for outposts are only partially complete until somebody mails me some cachefiles from any of the outpost apis.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.3_Pre1.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.05.27 09:35:00 -
[517]
What i forgot: To use some of the new APIs in the Test application you have to set additional data through the Authentication object by clicking on Advanced... This is true for EventAttendees (which requires a valid eventID) OutpostServices (which requires a valid outpostID - but will not work anyways until somebody sends me a cachefile) StationDetails (which requires a valid stationID) _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Hanns Spree
|
Posted - 2010.05.27 20:49:00 -
[518]
Top & foremost, Thanks Amida for the continuing upgrades to your gem. It adds more to the game to have something like this available too.
Onto my question(s):
1. My goal is to pull certain items from the Market & show their average price (periodically) & maybe a couple of other pieces of information. Which part of the EveAI Live collection should I use? I've been stuck on this part for hours before resorting to posting. In essence I want to loop through a preset list of those particular items, pull the information & post it on my form. I'm using VB.net 2k5 btw.
Well guess that wasn't so painful after all.
Thanks again, Amida. We all appreciate your efforts! Keep up the great work!
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.05.28 12:22:00 -
[519]
Yes, these are the right APIs. Please note that they are not CCP-APIs but provided by other players. So if you want to retrieve them periodically please inform you on their homepages how often they allow it.
And to your question: Where is your problem using them? For the most easy case just supply a productType and then call the method. e.g. (C#): ProductType type = dataCore.FindProductType (21); double value = marketApi.GetProductStatistics (type).ProductValue; _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Hanns Spree
|
Posted - 2010.05.28 13:12:00 -
[520]
Originally by: Amida Ta Yes, these are the right APIs. Please note that they are not CCP-APIs but provided by other players. So if you want to retrieve them periodically please inform you on their homepages how often they allow it.
My little app will basically just retrieve the data just one time a day. Probably prior to me playing just so I have updated data.
Quote:
And to your question: Where is your problem using them?
I really have no problem using them. I'm writing this for several reasons: 1. I'm bored at work. I'm a DBA and for the most part my day consists of waiting for something to happen. If the databases are running smoothly...I sit around doing a lot of nothing. 2. I like to keep my mind somewhat fresh with VB.net. Just cuz I like it. 3. My app, as a finished product, will tap into the data stream 1 time per day. I just want it to pull the average price for ore/minerals all on one screen. If there is another product out there that does something similar to this, let me know. I'll use that instead to eliminate eve-central being hit by yet another trivial hacker' attempt at a "cool" and "useful" app.  4. See the first section in #1. :-)
Thanks again for the file & help!
|
|

Simon Angle
|
Posted - 2010.05.28 17:15:00 -
[521]
Hi all,
i have some troubles retrieving material quantity/type data for BP manufacturing. I also didn't understand how to use EveAI.data.zip to retrieve static data. Someone could please post a VB example?
Thank you!
|

Hanns Spree
|
Posted - 2010.05.28 17:49:00 -
[522]
Originally by: Simon Angle Hi all,
i have some troubles retrieving material quantity/type data for BP manufacturing. I also didn't understand how to use EveAI.data.zip to retrieve static data. Someone could please post a VB example?
Thank you!
I've been searching for some sample VB.net code as well. Not much out there. I started with this sample vb.net/c#.net code and went from there. Also there are snippets here & there within this forum string. Good luck.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.05.29 13:09:00 -
[523]
Originally by: Simon Angle
i have some troubles retrieving material quantity/type data for BP manufacturing. I also didn't understand how to use EveAI.data.zip to retrieve static data. Someone could please post a VB example?
First: You don't need the EveAI.Data.zip. All static data (except the Celestial stuff) is already included in the API. Second: You get the material from productType.CorrespondingBlueprint.Blueprint.ManufacturingBaseMaterials and ...ManufacturingAdvancedMaterials
BTW: The easiest way to see which data is available start the api test application, click on Advanced and there select the EveApiCore node. That lets you browse all the built-in static data. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Simon Angle
|
Posted - 2010.05.29 18:56:00 -
[524]
I figured it out.. thank you for your hint! 
Here is the code for VB .net (retrieving material requirements for Badger Mark II)
-------------------------------------------------------------------------------------------------------------------------- Dim product As EveAI.Product.ProductType = MyApi.EveApiCore.ProductTypes.[Single](Function(p) p.Name = "Badger Mark II")
Dim materials = product.CorrespondingBlueprint.Blueprint.ManufacturingBaseMaterials
For Each element As EveAI.Product.ProductMaterial In materials TextBox1.AppendText(element.Type.ToString & " " & element.Quantity.ToString & vbCrLf) Next --------------------------------------------------------------------------------------------------------------------------
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.03 19:07:00 -
[525]
EveAI Live Version 1.3.0 has been released!
- Updated static data to Tyrannis 1.0.1.
- Support static planetary data (Schematics).
- Bugfixes for the Tyrannis APIs. The Apis for outposts are only partially complete until somebody mails me some cachefiles from any of the outpost apis.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.3.0.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.06.03 21:28:00 -
[526]
Thank you very much for your work. Very appreciated. Now I have a new toy to play with instead of finishing what I have already half-developed.  Too much ideas and too few time.
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Jognu
|
Posted - 2010.06.04 23:52:00 -
[527]
A little question : for the CalendarEventAttendees we have to send the eventid. But there is no parameter in your GetCalendarEventAttendees.
How should we use this function to get the attendees ?
Thank you !
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.05 09:01:00 -
[528]
You set the EventID in the Authentication object. However you are absolutely right that it would be more intuitive to have a method overload for supplying the parameter in the simple-mode api. I think I will add overloaded methods for all of the relevant apis in the next version. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Acuris
|
Posted - 2010.06.06 12:41:00 -
[529]
Could you please update the wiki page and release the Change Nodes on the front page? Would be very nice.
|

Jognu
|
Posted - 2010.06.06 18:17:00 -
[530]
Originally by: Amida Ta You set the EventID in the Authentication object. However you are absolutely right that it would be more intuitive to have a method overload for supplying the parameter in the simple-mode api. I think I will add overloaded methods for all of the relevant apis in the next version.
Thank you !
I don't know if it's a problem with your dll or with the Eve API, but the important events have not the isImportant properties on true.
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.08 15:05:00 -
[531]
EveAI Live Version 1.3.1 has been released!
- Added (hopefuly intuitive) overloads for APIs that take additional parameter.
- Fixed bug with Important always being false for the CalendarItems.
- Some general improvements.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.3.1.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.06.11 03:52:00 -
[532]
How do I retrieve a list of items from the core? I want to get a list of products for planetary interaction, but I get an error on the yellow text. What am I doing wrong? How should I do it?
'when selecting a material group on the dropdown groups menu (found on ctrlPISchemMenu): 'Updates the list of PI materials given a volume to differentiate between tiers Public Sub updateMaterialList(ByVal Volume As Integer)
'loading necessary things on a datacore from EveAI: Dim dataCore As New EveAI.DataCore Dim apiData = New EveAI.StaticDataDataReader(dataCore) apiData.Read(EveAI.DataTypes.Products)
'productlist will contain the materials for PI: Dim Productlist As New System.Collections.Generic.List(Of EveAI.Product.ProductType) Productlist.AddRange(dataCore.ProductTypes.Select(Function(p) p.Group.Category.Name Is "Planetary Commodities"))
'Assign and clear the current menu: Dim ctrlMenu = frmMercader.MainCtrlPIFacilities.CtrlPISchemMenu1.btnSelectMaterial ctrlMenu.SubItems.Clear()
'Adds buttons for each material to the menu: For Each product In Productlist If product.Volume = Volume Then Dim btn As New xxx.ButtonItem btn.Text = product.Name AddHandler btn.Click, AddressOf btnSelectMaterial_Click ctrlMenu.SubItems.Add(btn) End If Next product
End Sub
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.06.11 05:51:00 -
[533]
Edited by: Krathos Morpheus on 11/06/2010 05:55:31
Is this a bug? I think this bug probably comes from ccp's data, but I want to be sure. At least one member of the schematic collection does not match it's name with the output product name:
Schematic name is High-Tech Transmitter; output product name is High-Tech Transmitters.
edit: I've found two others: Ukomi Super Conductor/s, Transcranial Microcontroller/s
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.11 09:36:00 -
[534]
Originally by: Krathos Morpheus Edited by: Krathos Morpheus on 11/06/2010 05:55:31
Is this a bug? I think this bug probably comes from ccp's data, but I want to be sure. At least one member of the schematic collection does not match it's name with the output product name:
Schematic name is High-Tech Transmitter; output product name is High-Tech Transmitters.
edit: I've found two others: Ukomi Super Conductor/s, Transcranial Microcontroller/s
Well I wouldn't say it's a bug. Just inconsistent naming on CCPs side. But if you try to do item-matching by comparing names you are doing something wrong anyways. If you want to find out about the product from a PI schematic use the Output property from the Schematic. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.06.11 09:57:00 -
[535]
Originally by: Amida Ta
Originally by: Krathos Morpheus Edited by: Krathos Morpheus on 11/06/2010 05:55:31
Is this a bug? I think this bug probably comes from ccp's data, but I want to be sure. At least one member of the schematic collection does not match it's name with the output product name:
Schematic name is High-Tech Transmitter; output product name is High-Tech Transmitters.
edit: I've found two others: Ukomi Super Conductor/s, Transcranial Microcontroller/s
Well I wouldn't say it's a bug. Just inconsistent naming on CCPs side. But if you try to do item-matching by comparing names you are doing something wrong anyways. If you want to find out about the product from a PI schematic use the Output property from the Schematic.
Yep, I've changed it already to look on the output's name, but i thought it was an unnecessary step and seeing the schematic's names, a mistake when naming.
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Shaul Amaninatis
Gallente Federal Navy Academy
|
Posted - 2010.06.12 18:00:00 -
[536]
Hello Amida Ta,
I started to build an invention calculator based on EveAI. Thank you for that lovely libraries.
The learning curve was steep so far But now I found a cliff I can not climb over. How can I find all variations of certain ProductType? Background: I want to obtain a list of Meta Items (0 - 4) from EveAI's list of ProductTypes.
And also: How much ISK would it cost to convince you of adding the meta information for Decryptors to your static data dump? I refer to Probability Multiplier, Max Run Modifier, ME Modifier and PE Modifier.
Thanks
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.13 07:32:00 -
[537]
Just make me an offer or send a donation ingame to my char ;) _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.13 16:55:00 -
[538]
Edited by: Amida Ta on 13/06/2010 16:56:12 EveAI Live Version 1.3.2 has been released!
- Added item attributes static data.
- Added meta-related static data.
- Please note that this data does not get loaded by default when used with EveAI.Live but has to be loaded manually by passing DataTypes.ProductAttributes to the StaticDataDataReader or doing a full load.
- Please also note that the Test application DOES load that data (can be seen when clicking on Advanced).
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.3.2.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Shaul Amaninatis
Gallente Federal Navy Academy
|
Posted - 2010.06.13 20:03:00 -
[539]
Hm,
the test tool works just like you describe, but the EveApiCore in my project neither contains AttributeTypes nor Schematics (I use simple mode).
Also when I check the informations of the DLLs with the file explorer, the EveAI.Live.dll still has version 1.3.0.0.
Is there still an older version of the DLL in the ZIP file?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.13 20:24:00 -
[540]
Originally by: Shaul Amaninatis Hm,
the test tool works just like you describe, but the EveApiCore in my project neither contains AttributeTypes nor Schematics (I use simple mode).
Also when I check the informations of the DLLs with the file explorer, the EveAI.Live.dll still has version 1.3.0.0.
Is there still an older version of the DLL in the ZIP file?
No, the dll is the right one. But as I wrote you need to manually specify what data you want to load as I do not load that data by default (because it is not needed by EveAI.Live). In C#:
DataCore core = new DataCore (); DataReader reader = new StaticDataDataReader (core); reader.Read (DataTypes.BasicMapData | DataTypes.Products | DataTypes.Agents | DataTypes.Stations | DataTypes.NpcData | DataTypes.Names | DataTypes.Planetary | DataTypes.ProductAttributes); api = new EveApi (false); api.EveApiCore = core; _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

Shaul Amaninatis
Gallente Federal Navy Academy
|
Posted - 2010.06.13 20:30:00 -
[541]
Edited by: Shaul Amaninatis on 14/06/2010 17:48:11 Thanks for the quick answer.
I have setup a brand new test project and there it works just like you describe.
So now I have to find out what is wrong with my existing project. It probably still uses the old DLLs although I have recreated all References and deleted every old version of EveAI... There must still be some kind of caching...
Edit: Now it works and I'm a happy customer \o/
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.06.18 12:38:00 -
[542]
Using the Market Api:
Can you help me with this? I get the following error: EveApiCore needs to have loaded product data before starting a query.
I have another question too: Can we retrieve the simulated prices from eveMetrics? How?
This is the code, the orange text is the line where I get the error: Module priceRetriever Public Function findPrice(ByVal item As EveAI.Product.ProductType, ByVal regionID As Integer)
Dim dataCore As New EveAI.DataCore() Dim reader As New EveAI.StaticDataDataReader(dataCore) reader.Read(EveAI.DataTypes.Products And EveAI.DataTypes.BasicMapData)
Dim marketMetrics As New EveAI.Live.Market.EveMetricsMarketApi(dataCore) 'Dim marketCentral As New EveAI.Live.Market.EveMetricsMarketApi(dataCore)
Dim api As New EveAI.Live.EveApi(False) api.EveApiCore = dataCore
Dim region As New EveAI.Map.Region region = api.EveApiCore.FindRegion(regionID)
Dim pM = marketMetrics.GetProductStatistics(item) 'Dim pC = marketCentral.GetProductStatistics(item)
Return pM.SellOrders.Median End Function End Module
Thanks.
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.18 15:19:00 -
[543]
Originally by: Krathos Morpheus
Thanks. Edit: I think I've found the mistake, I think I shouldn't use And on the reader, but I don't know yet which operator I need to use.
You need to use the Or operator. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Morigan Macha
|
Posted - 2010.06.18 15:19:00 -
[544]
Edited by: Morigan Macha on 18/06/2010 15:19:30 Hi there,
i would check the account validity, with what data i can check this?
this did not work:
C#
private bool isAccValid(int userId, string userApiKey) { EveApi ApiUser = new EveApi(userId, userApiKey);
List<AccountEntry> AE_List = new List<AccountEntry>();
EntryList = ApiUser.GetAccountEntries();
if(EntryList == null) //this never work... and i cant use Count because of 0 Characters in the return false; //account, but the API is Valid
return true; }
i need an idea to solve this.
thanks anyway!
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.06.18 17:37:00 -
[545]
Originally by: Amida Ta
Originally by: Krathos Morpheus
Thanks. Edit: I think I've found the mistake, I think I shouldn't use And on the reader, but I don't know yet which operator I need to use.
You need to use the Or operator.
Yep, I found it out already. Thanks. What about simulated prices from eveMetrics? Are they missing from the api or I'm dumb enough to not see them?
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.06.18 17:44:00 -
[546]
Originally by: Morigan Macha Edited by: Morigan Macha on 18/06/2010 15:19:30 Hi there,
i would check the account validity, with what data i can check this?
this did not work:
C#
private bool isAccValid(int userId, string userApiKey) { EveApi ApiUser = new EveApi(userId, userApiKey);
List<AccountEntry> AE_List = new List<AccountEntry>();
EntryList = ApiUser.GetAccountEntries();
if(EntryList == null) //this never work... and i cant use Count because of 0 Characters in the return false; //account, but the API is Valid
return true; }
i need an idea to solve this.
thanks anyway!
Just request the accountEntries and use EveAI.Live.EveApiBase.UpdateResult.Error to check it.
For example:Dim apiNew As EveAI.Live.EveApi = New EveAI.Live.EveApi(UserID, APIkey) 'main api object Dim AccountEntries = apiNew.GetAccountEntries() 'to get the character IDs from the general API
If apiNew.LastUpdateResult = EveAI.Live.EveApiBase.UpdateResult.Error Then 'check for conection errors MsgBox("Connection failed", MsgBoxStyle.OkOnly, "Connection status")
I think you can filter the error to see what caused it, but I've not explored it yet.
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Morigan Macha
|
Posted - 2010.06.18 23:10:00 -
[547]
Edited by: Morigan Macha on 18/06/2010 23:10:14
If apiNew.LastUpdateResult = EveAI.Live.EveApiBase.UpdateResult.Error Then 'check for conection errors
thank you very much this helps much, to prevent user input errors!
|

Truelle
|
Posted - 2010.06.19 00:17:00 -
[548]
Hi,
When I would return the online timestamp for some POSes, I noticed that these timestamp were completely different on TQ. How to return the real timers, for example with a sovereignty level 5 and a faction CT ?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.19 01:02:00 -
[549]
Originally by: Morigan Macha Edited by: Morigan Macha on 18/06/2010 23:39:14 Edited by: Morigan Macha on 18/06/2010 23:10:14
If apiNew.LastUpdateResult = EveAI.Live.EveApiBase.UpdateResult.Error Then 'check for conection errors
thank you very much this helps much, to prevent user input errors!
an Auth Error is this:
// Zusammenfassung: // There was an internal error in the Eve online server. ErrorFromOnlineInternalServerError = 4,
this is a bug in the API i think, in the enum is this for account errors:
// Zusammenfassung: // The user could not be authenticated online with the given api key, userid // and accountid. ErrorFromOnlineAuthenticationFailed = 3,
best regards
If you want exact errors from the API you need to check the LastErrors properties. This contains the exact errors that happened when making the call (in your case e.g. AuthenticationFailure). So you would check if the List contains an AuthenticationFailure and if it does you know the userid or key were wrong. You can use the testapp to see it in action (it will list the errors on the bottom) _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Morigan Macha
|
Posted - 2010.06.19 11:21:00 -
[550]
i didnt understand this Error capturing!
//EveApi TestApi = new EveApi(reacAccId, reacAccKey); // test this too please, with a valided account!! //Wrong pseudo account! EveApi TestApi = new EveApi(123456789, "456789adfvasjetz34tafjgh789q3z4thhpa9fgz93204h7507at3");
TestApi.GetAccountEntries();
// MessageBox.Show(TestApi.LastUpdateResult.ToString()); // <-- Check the error!
if ((TestApi.LastUpdateResult & EveApiBase.UpdateResult.ErrorFromOnlineInternalServerError) == EveApiBase.UpdateResult.ErrorFromOnlineInternalServerError) MessageBox.Show("This Works!");
if ((TestApi.LastUpdateResult & EveApiBase.UpdateResult.Error) == EveApiBase.UpdateResult.Error) MessageBox.Show("This didnt Works!");
//for the real account... if (TestApi.LastUpdateResult == EveApiBase.UpdateResult.Succeded) MessageBox.Show("This didnt Works, too!");
//for the real account... if ((TestApi.LastUpdateResult & EveApiBase.UpdateResult.Succeded) == EveApiBase.UpdateResult.Succeded) MessageBox.Show("This didnt Works, too!\n2");
|
|

Morigan Macha
|
Posted - 2010.06.19 12:55:00 -
[551]
Edited by: Morigan Macha on 19/06/2010 13:03:13 This is my Method to find errors:
/// <summary> /// Find Errors and throw it in a MessageBox! /// </summary> /// <returns>false for Errors, true for No Errors</returns> public bool isApiOk(List<EveApiError> L_LastErrorList) { if (L_LastErrorList.Count() != 0) { int iSingleError; List<string> L_errors = new List<string>();
foreach (EveApiError singleError in L_LastErrorList) { iSingleError = (int)singleError; switch (iSingleError) { // No Errors! Only statements like Cache File expired or No Cache File! case 0: // No Error, all Okay case -92: // Cache File Expired (new download from EveApi!) case -96: break; // No Cache File!
//ERRORS! case -91: L_errors.Add("Cant create a Cache file for the Eve API Account."); break; case -95: L_errors.Add("Wrong Client EveAI Version, please wait for a Update of " + S_sAppsName + "."); break; case -10: L_errors.Add("An unknown error occured on the server."); break; case -1: L_errors.Add("An unknown error occured on the client."); break;
//Auth Errors! case -98: case 203: case 204: case 205: L_errors.Add("Your Api Id and / or Api Key is wrong."); break; case 106: L_errors.Add("Invalid Account Id."); break; case 108: L_errors.Add("Invalide Account Key."); break;
case 105: L_errors.Add("Invalid Character ID."); break; case 109: L_errors.Add("Invalide Account Key Range."); break; case 112: L_errors.Add("Version Mismatch."); break; case 114: L_errors.Add("Invalide Item ID."); break; default: L_errors.Add("Unknown Error ID: " + iSingleError); break; } }
// Nur wenn wahre fehler gefunden sind! if (L_errors.Count >= 1) { string endError = "You got one or more Errors!\n\n"; int i = 0; foreach (string error in L_errors) { i++; endError += "Error No. " + i.ToString() + ": " + error + "\n"; } MessageBox.Show(endError, "ERROR!", MessageBoxButtons.OK, MessageBoxIcon.Error); return false; } } return true; }
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.21 11:45:00 -
[552]
Originally by: Krathos Morpheus
Originally by: Amida Ta
Originally by: Krathos Morpheus
Thanks. Edit: I think I've found the mistake, I think I shouldn't use And on the reader, but I don't know yet which operator I need to use.
You need to use the Or operator.
Yep, I found it out already. Thanks. What about simulated prices from eveMetrics? Are they missing from the api or I'm dumb enough to not see them?
No, they are not supported as I generally try to support a common subset between Eve Central and Eve Metrics. But if you need them I might add them. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.06.22 17:01:00 -
[553]
Edited by: Krathos Morpheus on 22/06/2010 17:03:08
Originally by: Amida Ta No, they are not supported as I generally try to support a common subset between Eve Central and Eve Metrics. But if you need them I might add them.
That would be great, thanks! Also another question if you don't mind; I've not explored the possibility yet, not in EveAI, nor in Metrics/Central, but is it possible to know the date of the last uploaded orders for an specific item from the api? I'm going to offer an option to choose the price provider and I'm thinking about a combined one that uses the most up to date of the two services. Edit: @Morigan Macha: Please break the long lines in your code to unbreak the forums, it makes it illegible.
EVEwatch Sidebar soon "It is the unofficial force ů the Jita irregulars. " |

Truelle
|
Posted - 2010.06.26 10:50:00 -
[554]
Originally by: Truelle Edited by: Truelle on 19/06/2010 11:46:57 Edited by: Truelle on 19/06/2010 00:43:00 Hi,
When I would return the online timestamp for some POSes, I noticed that these timestamp were completely different on TQ. How to return the real timers with a sovereignty level 5 and a faction CT ?
Apparently, values in api.GetCorporationStarbaseDetails(controlTower).RequiredFuel => Quantity are wrong, I think based on classic CT in any case.
Still no answer for my problem ? I need correct values for fuel requirements and timestamp for PossibleOnlineTime also. Thanks.
|

Shaul Amaninatis
Gallente Federal Navy Academy
|
Posted - 2010.06.27 16:23:00 -
[555]
Hello AmidaTa,
I was fideling around with copy time calculations when I found the following:
- In the static data the ResearchCopyTime of the 125mm Gatling AutoCannon I Blueprint is set to 03:20:00.
- But when I lookup the Blueprint in Eve it tells me: 06:40:00
I checked several Blueprints and all had just half of the ResearchCopyTime as ingame.
What is the explanation for this behaviour? Am I missing something with the Copy Time calculation formula? Or is this a nasty little bug?
Thank you.
|

Ischtar Grey
Caldari
|
Posted - 2010.06.28 15:13:00 -
[556]
where do i find the static data zip file for Tyrannis 1.0.1? anyone got a link for me?
at http://eve-files.com/media/corp/Foxfire/ there is only an version from march available
thx
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.28 15:23:00 -
[557]
Originally by: Ischtar Grey where do i find the static data zip file for Tyrannis 1.0.1? anyone got a link for me?
at http://eve-files.com/media/corp/Foxfire/ there is only an version from march available
thx
I'm uploading a new version for the full data file right now. Should be available in 20 min. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Ischtar Grey
Caldari
|
Posted - 2010.06.28 15:34:00 -
[558]
Originally by: Amida Ta
Originally by: Ischtar Grey where do i find the static data zip file for Tyrannis 1.0.1? anyone got a link for me?
at http://eve-files.com/media/corp/Foxfire/ there is only an version from march available
thx
I'm uploading a new version for the full data file right now. Should be available in 20 min.
your the best :) thx
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.28 15:41:00 -
[559]
Originally by: Truelle
Originally by: Truelle Edited by: Truelle on 19/06/2010 11:46:57 Edited by: Truelle on 19/06/2010 00:43:00 Hi,
When I would return the online timestamp for some POSes, I noticed that these timestamp were completely different on TQ. How to return the real timers with a sovereignty level 5 and a faction CT ?
Apparently, values in api.GetCorporationStarbaseDetails(controlTower).RequiredFuel => Quantity are wrong, I think based on classic CT in any case.
Still no answer for my problem ? I need correct values for fuel requirements and timestamp for PossibleOnlineTime also. Thanks.
I don't think that the library currently takes ANY sovereignty level (or anything similar) into account. But I have neither the time, nor any starbases to test this things currently. So if you need that soon I'd recommend you do the calculations yourself. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.28 16:08:00 -
[560]
Originally by: Shaul Amaninatis Hello AmidaTa,
I was fideling around with copy time calculations when I found the following:
- In the static data the ResearchCopyTime of the 125mm Gatling AutoCannon I Blueprint is set to 03:20:00.
- But when I lookup the Blueprint in Eve it tells me: 06:40:00
I checked several Blueprints and all had just half of the ResearchCopyTime as ingame.
What is the explanation for this behaviour? Am I missing something with the Copy Time calculation formula? Or is this a nasty little bug?
Thank you.
This is the data as it is available in the static data dump. Note that this is the amount of time taken to copy a number of runs equal to half the maxProductionLimit, whether as multiple runs on one copy or as one run each on multiple copies. It might be clearrer to not use the data-dump value but show the ingame one. However I fear that some apps might break as they were already aware of the situation. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

Shaul Amaninatis
Gallente Federal Navy Academy
|
Posted - 2010.06.29 19:50:00 -
[561]
Edited by: Shaul Amaninatis on 29/06/2010 19:57:33 Edited by: Shaul Amaninatis on 29/06/2010 19:51:43
Originally by: Amida Ta
This is the data as it is available in the static data dump. Note that this is the amount of time taken to copy a number of runs equal to half the maxProductionLimit, whether as multiple runs on one copy or as one run each on multiple copies. It might be clearrer to not use the data-dump value but show the ingame one. However I fear that some apps might break as they were already aware of the situation.
That clears things up pretty much. As a "solution" I wrote myself an extension method for the BlueprintType class: /// <summary> /// Returns the research time needed for the specified Activity. /// </summary> /// <param name="Blueprint">The BlueprintType that holds the research time values</param> /// <param name="ResearchActivity">The research activity whose research time has to be returned.</param> /// <returns>The desired research time or zero seconds.</returns> public static TimeSpan GetResearchTimePerRun(this BlueprintType Blueprint, Activity ResearchActivity) { TimeSpan researchTime = new TimeSpan(0);
if (Blueprint.MaxProductionLimit > 0) { switch (ResearchActivity) { case Activity.Copying: researchTime = TimeSpan.FromSeconds(Blueprint.ResearchCopyTime.TotalSeconds * 2 / Blueprint.MaxProductionLimit); break; case Activity.ResearchMaterialProductivity: researchTime = TimeSpan.FromSeconds(Blueprint.ResearchMaterialTime.TotalSeconds * 2 / Blueprint.MaxProductionLimit); break; case Activity.ResearchTimeProductivity: researchTime = TimeSpan.FromSeconds(Blueprint.ResearchProductivityTime.TotalSeconds * 2 / Blueprint.MaxProductionLimit); break; case Activity.ResearchTechnology: researchTime = TimeSpan.FromSeconds(Blueprint.ResearchTechTime.TotalSeconds); break; } }
return researchTime; }
Maybe you could add this kind of function to the BlueprintType class of EveAI.
Edit: Oh snap, I wish I knew how to enforce the intendation of the code. But my powers couldn't overcome the forum editor's foobarness. Edit2: Code fix
|

Agnemon
|
Posted - 2010.07.10 02:00:00 -
[562]
I have been trawling this thread for several days now for coding snippets to help me learn how to use the API (Great Tool btw) and it seems to me that the Eve-Dev Wiki is grossly underutilised and could save everybody alot of time if it could be updated with samples of code to cover all the questions asked in the thread for both VB and C#. Particularly if it is stickied at the start of the thread.
That way us noobs can get the answers we need when we need them and not have to bug Amida Ta with the same elementary questions again and again................
I would suggest starting at a very basic level (File locations, usings etc. Some of us are a bit challenged in basic knowledge ) and move thru to examples of loading various controls (Gridview and Treeview) in both VB and C#. A side bonus is we noobs get to see what proper coding looks like instead of the mishmash of gibberish that I tend to write 
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.07.12 02:29:00 -
[563]
I have a problem trying to get an icon. The Graphic object I get is empty (Nothing), while the type(mat1) is good and the program stops at that line, any ideas on what's wrong? Thanks.
Dim dataCore As New EveAI.DataCore Dim apiData = New EveAI.StaticDataDataReader(dataCore) apiData.Read(EveAI.DataTypes.Products Or EveAI.DataTypes.Graphics Or EveAI.DataTypes.Planetary Or EveAI.DataTypes.Names)
Dim api As New EveAI.Live.EveApi(False) api.EveApiCore = dataCore
Dim schema1 = api.EveApiCore.Schematics.First(Function(p) p.Output(0).Type.Name = matName) Dim mat1 = schema1.Output(0).Type Dim icon1 = mat1.Graphic.UrlIcon
|

Truelle
|
Posted - 2010.07.12 16:32:00 -
[564]
Hi,
is it possible to know which starbase structure is linked with this control tower (i.e. to know control tower fitting) ?
Thanks.
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.07.13 03:02:00 -
[565]
Edited by: Krathos Morpheus on 13/07/2010 03:02:32
Originally by: Truelle Hi,
is it possible to know which starbase structure is linked with this control tower (i.e. to know control tower fitting) ?
Thanks.
No you can't. This is a limitation on ccp's side. They do not provide such information.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.07.13 07:16:00 -
[566]
Originally by: Krathos Morpheus I have a problem trying to get an icon. The Graphic object I get is empty (Nothing), while the type(mat1) is good and the program stops at that line, any ideas on what's wrong? Thanks.
I think the schematics don't have graphics defined in the static data dump. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.07.15 08:24:00 -
[567]
Originally by: Amida Ta
Originally by: Krathos Morpheus I have a problem trying to get an icon. The Graphic object I get is empty (Nothing), while the type(mat1) is good and the program stops at that line, any ideas on what's wrong? Thanks.
I think the schematics don't have graphics defined in the static data dump.
Yes they have. I'm not looking for the schematic graphic, I'm looking for the schematics' output graphic. That is, the graphic for an item produced by schematics, not the schematic itself. Oddly enough, it works if I get the ID and then search for the graphic with that ID as in the following example: Dim icon1 = api.EveApiCore.FindGraphic(api.EveApiCore.GetIdForObject(mat1)).UrlIcon
Could it be that I'm mistaken at thinking that Type retrieves the related item? Every other property seem to indicate that I've retrieved the item correctly.
Another questions/sugestion/request: If I request various prices at the same time, Do I reduce the time involved in the operation? Do I reduce the load on the server? Are you finally going to implement simulated prices? EVE Metrics 3 is out, in the distant future after other key features are developed, I'm thinking of using the new upload feed method to give back some to eve metrics, do you think this may be implemented into EveAI some time in the future?
Thank you for your time. ;)
|

Agnemon
|
Posted - 2010.07.15 14:07:00 -
[568]
Are the science implants available thru the API?
The Get.charactersheet call does not appear to return any implant data other than learning implants.
If the data is available is there any possibility of getting the calls added to EveAI?
|

Truelle
|
Posted - 2010.08.08 15:30:00 -
[569]
Is it possible to precise the system like 'Jita' to retrieve product statistics with Eve Central ? I know there is no way to do it actually with this EveAI version, but with a new version ?
Thanks
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.08.10 13:34:00 -
[570]
Eve Central only has statistics for regions, not for individual systems. So this is impossible with the statistics api. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

Serious Masta
Caldari
|
Posted - 2010.08.13 12:33:00 -
[571]
Bug found:
I want to get the conquerable stations without all the other data like materials of the stations or something...
EveApi api = new EveApi(false); List<ConquerableStation> conquerableStations = api.GetMapConquerableStations();
this throws an exception:
Quote:
Object reference not set to an instance of an object. at EveAI.Live.Map.ConquerableStationApi.ResolveCoreReferences(DataCore dataCore) at EveAI.Live.EveApi.UpdateEveApi[T,TResolve,TResolve2](T& api, TResolve& resolveApi, TResolve2& resolveApi2, Boolean resolve) at EveAI.Live.EveApi.UpdateEveApi[T,TResolve](T& api, TResolve& resolveApi, Boolean resolve) at EveAI.Live.EveApi.UpdateEveApi[T](T& api) at EveAI.Live.EveApi.GetMapConquerableStations() at EveApiHandling.Test.AccessTest() in <somewhere>\Test.cs:line 16
may this helps to improve this nice library^^
|

Nig C
|
Posted - 2010.08.14 23:00:00 -
[572]
Bug Report
Hi Amida,
can't find any Bugfix's on http://wiki.eve-id.net/EveAI and Forums are to long to read, sry.
Report:
myEveAI v1.3.1
- Product.ProductType.Name "Glare crust" shoud be "Glare Crust"
- Product.BlueprintType.ManufacturingAddWaste Formula:
You calculate wasteFactor like '(baseWasteFactor * (1/(materialLevel +1)))'
but I think it should look like this '(1 + (Default_Blueprint_Waste_Factor / (1 + Blueprint_Material_Level)' http://games.chruker.dk/eve_online/eve_math.php - Blueprint Material Requirement Formula
With chrukers Formula everithing in my calculations is fine.
lg, NigC
|

Stick Cult
Unspoken Autonomy.
|
Posted - 2010.08.15 20:13:00 -
[573]
Edited by: Stick Cult on 15/08/2010 20:13:55 So I'm kind of a nublet to EveAI, so please bear with me... I have this (api id, key and charid blocked out...):
EveApi api; api = new EveApi(####, "####", ####); EveAI.Map.Region forge = api.EveApiCore.Regions.ToList()[1];
List<Asset> assets = api.GetCorporationAssets(); EveAI.Live.Market.EveCentralMarketApi eveCentral = new EveAI.Live.Market.EveCentralMarketApi(); foreach (Asset asset in assets) { if (asset.LocationID == 60003760) //If it's in Jita 4-4 Deliveries { EveAI.Live.Market.ProductStatistics stats = eveCentral.GetProductStatistics(asset.Type, forge); decimal sellOrder = (decimal)stats.SellOrders.PriceAverage; decimal subTotal = sellOrder * asset.Quantity; Console.WriteLine("Delivieries - " + asset.Type.Name + " - " + subTotal.ToString("C")); } } Basicly get assets in jita deliveries, and price the price for each to console. However, when I try to run it I get "Market Exception was unhandled. EveApiCore needs to be set to a valid DataCore object before starting a query." pointing at my evecentral call. What am I doing wrong? (And/or is there more documentation other than what's in the intellisense thing and on eve-id?) Sorry if this is a stupid question... 
Originally by: CCP Tuxford my bad. Rest assured I'm being ridiculed by my co-workers.
|

Truelle
|
Posted - 2010.08.16 03:51:00 -
[574]
Originally by: Amida Ta Eve Central only has statistics for regions, not for individual systems. So this is impossible with the statistics api.
I didn't agree. I passed to contourn the problem by parsing the Xml via the following URL : "http://api.eve-central.com/api/marketstat?typeid=16644&usesystem=30000142" <= this is an example. typeid = platinum, usesystem = jita.
I think it's possible to create a method with a solarsystem parameter instead of region.
|

Stick Cult
Unspoken Autonomy.
|
Posted - 2010.08.16 04:27:00 -
[575]
Ok, did all that, and now it runs without errors, but the object evecentral returns doesn't have any orders in it, maybe I'm trying to tell it the region wrong?
Originally by: CCP Tuxford my bad. Rest assured I'm being ridiculed by my co-workers.
|

Salina Simmons
Scrap Metall Industries
|
Posted - 2010.08.22 13:20:00 -
[576]
Hi Amida,
is it possible to get the content of a special assembly array from a starbase or with other words is it possible to get the real name of an assembly array (e.g. "MyArray_01") and allocate that name to an appropriate result from the CorpAssets Api?
My plan is to write a production calculator and I need to know which materials are allready in a specific assembly array. Do you consider the different divisions in the results?
Thanks.
|

Truelle
|
Posted - 2010.08.22 17:28:00 -
[577]
Today, I noticed that the static data is out dated. Few items that were in Trade Good market group before Tyrannis are now in Processed Materials, for example Water and Oxygen.
There are also few syntax problem in product name : In product : "Superconductors" & schematic : "Super Conductors". In product : "High-Tech Transmitter" & schematic : "High-Tech Transmitters".
|

Salina Simmons
Scrap Metall Industries
|
Posted - 2010.08.24 16:54:00 -
[578]
Can anyone confirm, that it is not possible to get the player choosen name of an item (ship, container, pos-array, ...) by using the API? I am still thinking about the problem with the pos array name. Does anyone know how long the ItemID of a pos module or a container (e.g. huge secure container) stays the same? I know that the ship ID is changing after for example repacking a ship. But what about the ID of pos modules or containers?
Thanks.
|

BethAnne Rogers
|
Posted - 2010.08.28 17:46:00 -
[579]
First of all I want to say, I <3 this API. It has saved me weeks of work. I'm building a killboard for my husbands corp - something I'm hoping to package up here in a few months and have available to everyone that would like an ASP .NET killboard. I have found every piece of useful information from the EveAI for my killboard, except dropped items. Can anyone point me in the right direction?
Thanks!!! |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.09.01 18:06:00 -
[580]
EveAI Live Version 1.3.3 has been released! This version is partly not tested as much as I usually do. Please report if you find any errors.
- Updated static data to Tyrannis 1.04.
- Several data structure changes that result in breaking changes for the core data model (please have a look at the data changes introducing Icons instead of Graphics only).
- Several bugfixes and enhancements.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.3.3.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

John'eh
Asteroid Belt Protection Services
|
Posted - 2010.09.01 20:21:00 -
[581]
When will the source code for this be released?
I love the idea of this, but I'm told it has security issues and we want to do an audit. - John'eh
Your Critics Are Your Best Friends, because they help you find your faults and help you improve to be better. Don't take my criticisms personally, I care about Eve just as much as you |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.09.01 22:26:00 -
[582]
Edited by: Amida Ta on 01/09/2010 22:27:30
Originally by: John'eh When will the source code for this be released?
I love the idea of this, but I'm told it has security issues and we want to do an audit.
Wow. Does that start again now? You were already proven a liar 10 pages and years back. AND you were told by a CCP dev to not derail and/or troll on this thread again and you are still doing it? You sure are looking for a permaban, are you? _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

John'eh
Asteroid Belt Protection Services
|
Posted - 2010.09.03 09:35:00 -
[583]
Edited by: John''eh on 03/09/2010 09:38:28
Originally by: Amida Ta Edited by: Amida Ta on 01/09/2010 22:27:30 Wow. Does that start again now? You were already proven a liar 10 pages and years back. AND you were told by a CCP dev to not derail and/or troll on this thread again and you are still doing it? You sure are looking for a permaban, are you?
You are wrong. I was never told by any mod not to post here; He was not even talking to me, he was talking to everybody and I read it more as him saying "If you don't trust Ta's code don't use it". We - the community - were told not to make "baseless accusations", and I'm not doing that. I'm asking for source. Completely different, I'm on topic, and no amount of posturing or straw man arguments will stop me from making a perfectly legitimate request.
May I ask at least why you dont release source? There is clearly an interest in it. - John'eh
Your Critics Are Your Best Friends, because they help you find your faults and help you improve to be better. Don't take my criticisms personally, I care about Eve just as much as you |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.09.03 11:33:00 -
[584]
I have absolutely no interest in starting arguing with somebody whose every second sentence is a plain lie. And although your current lies are not nearly as grave and stupid (aka not as easily falsable as your first ones one year ago) I'm pretty sure that this sentence of you "I love the idea of this, but I'm told it has security issues and we want to do an audit." at least contains two more lies.
If you are interested in the applications security go ahead and use an inspection/reflection tool to look at it. I always allowed and even encouraged that for EveAI. And nobody who did ever found anything to complain against. IF you had ANY knowledge of doing things like that (or interest in doing) it wouldn't take you longer than 30 seconds to do so.
I warned you and I am going to start a petition asking for a ban or permanent ban. Unfortunatelly I have the feeling this is the only possible way of stopping you from spreading further lies and wrongly accusing people of commiting crimes (obviously you not only do this for EveAI but also for various other software projects).
Originally by: John'eh May I ask at least why you dont release source? There is clearly an interest in it.
Sure you may. And the reason is simple: It's you! I wouldn't want to donate my code to everybody if even people like you can simply take and use it for whatever they want. It would make me sick if people spreading lies, fud and threatening others would actually gain anything from their doings. If you wouldn't have been it would likely already be open source by now. I couldn't even rule you out in a special licence because I obviously don't even know your real name. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

John'eh
Asteroid Belt Protection Services
|
Posted - 2010.09.03 19:44:00 -
[585]
Ta, I'm not going to argue with you as that is a waste of time. I know we got off on the wrong foot and I'm sorry for that, but the fact is I'm making some pretty legitimate requests and I'm breaking no rules.. so threats only serve to do you an injustice and make you look like the bad guy.
Originally by: Amida Ta
If you are interested in the applications security go ahead and use an inspection/reflection tool to look at it.
The main problem I have with this stance is that everybody knows it is not the same thing as having the original source, being able to contribute back bug fixes, etc. So your original stance on not releasing source - made before I showed up so your claims about me being the reason are not valid at all - make no sense.
Originally by: Amida Ta
I warned you and I am going to start a petition asking for a ban or permanent ban. Unfortunatelly I have the feeling this is the only possible way of stopping you from spreading further lies and wrongly accusing people of commiting crimes (obviously you not only do this for EveAI but also for various other software projects).
I'm not breaking any rules by asking nicely for the source. I have already talked to people at CCP (CCP's Atlanta Office, to be exact) and they have confirmed this. Go ahead and waste your time if you like.
Originally by: Amida Ta
Originally by: John'eh May I ask at least why you dont release source? There is clearly an interest in it.
Sure you may. And the reason is simple: It's you!
That makes no sense at all. You yourself have admitted that you had the stance of not releasing original source 10 pages before I showed up, so your claims about me being the reason are not valid at all, and they make no sense at all.
What is the real reason? What is the real reason? If its something I said a year ago and it hurt you so badly and created such emotional distress that your still holding a grudge, say so. At least then we can act like adults and work out a solution. But making things up as you are, making empty threats, and contradicting yourself helps nobody, and it makes you look bad, so lets find an alternative solution. - John'eh
Your Critics Are Your Best Friends, because they help you find your faults and help you improve to be better. Don't take my criticisms personally, I care about Eve just as much as you. |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.09.03 20:41:00 -
[586]
I'm all in for security problems being exposed and/or pointed for review, but baseless accusations are useless and Amida has the right to keep the source for himself. Originally by: John'eh We - the community - were told not to make "baseless accusations", and I'm not doing that.
Quote: When will the source code for this be released?
I love the idea of this, but I'm told it has security issues and we want to do an audit. - John'eh
I love how you put a crowd behind you telling you things and demanding an audit, I see only you. It is hilarious too to see you've edited your post and now demand the source to contribute. I think the previous quotes sum it all so we can move onto another things. I'm back from vacations and I've just found the new data dump and EVEAi release, I hope they have fixed the errors it had before I went away. I'll check it when I have some free time. Did you include the simulated and alternative prices from EVE Metrics in the new release Amida? I would really appreciate them and shouldn't be too hard to include since they are being downloaded already (I believe so, I'm no expert, so correct me if I'm wrong).
|

Tonto Auri
Vhero' Multipurpose Corp
|
Posted - 2010.09.03 20:51:00 -
[587]
Amida, simple "Yes, you may" would've been enough of the answer to his question. Trust me. -- Thanks CCP for cu |

John'eh
Asteroid Belt Protection Services
|
Posted - 2010.09.03 20:52:00 -
[588]
1. I have not made any baseless accusation. 2. I have asked for source. Nothing wrong with that. 3. The fact that I am limited by my countries laws on what I could give as "proof" months and months ago is unfortunate, but I'm not doing anything wrong here in the present day based on my own discussions with the people of CCP by asking for the source. Separate then and now, these are two separate events. - John'eh
Your Critics Are Your Best Friends, because they help you find your faults and help you improve to be better. Don't take my criticisms personally, I care about Eve just as much as you. |

Tonto Auri
Vhero' Multipurpose Corp
|
Posted - 2010.09.03 20:55:00 -
[589]
Originally by: John'eh 1. I have not made any baseless accusation. 2. I have asked for source. Nothing wrong with that. 3. The fact that I am limited by my countries laws on what I could give as "proof" months and months ago is unfortunate, but I'm not doing anything wrong here in the present day based on my own discussions with the people of CCP by asking for the source. Separate then and now, these are two separate events.
Same man. No change. Now, if you finished, can we please have you go away? Thanks for not answering to this post. -- Thanks CCP for cu |

John'eh
Asteroid Belt Protection Services
|
Posted - 2010.09.03 21:03:00 -
[590]
Originally by: Tonto Auri
Same man. No change.
False. If you read the posts you will find that since then, I have actually publicly apologized to 'Ta for earlier mistakes and attempted to work with her on getting the source released.
Originally by: Tonto Auri
Now, if you finished, can we please have you go away?
No?
Originally by: Tonto Auri
Thanks for not answering to this post.
Your welcome. ;) - John'eh
Your Critics Are Your Best Friends, because they help you find your faults and help you improve to be better. Don't take my criticisms personally, I care about Eve just as much as you. |
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.09.03 21:29:00 -
[591]
Originally by: John'eh 1. I have not made any baseless accusation.
Wrong, you implied the code was not secure based on you telling yourself so (I see no other people saying that, see my previous post). Originally by: John'eh 2. I have asked for source. Nothing wrong with that.
Nothing wrong with not giving it either, it's not for you to see as you were told time ago and that will not change by asking. It will be if Amida decides so in the future, I hope it happens, but it's stupid to discuss and argue over it. Originally by: John'eh 3. The fact that I am limited by my countries laws on what I could give as "proof" months and months ago is unfortunate, but I'm not doing anything wrong here in the present day based on my own discussions with the people of CCP by asking for the source. Separate then and now, these are two separate events.
Proof of what? You are not asking, you are demanding. Very different thing. I could be wrong, but I think you are just trolling. If you are not, then you asked and got your answer. Time to move away.
|

John'eh
Asteroid Belt Protection Services
|
Posted - 2010.09.03 21:52:00 -
[592]
No, you may read into things I do not intend, but that is not my fault as I do not control you or your mis-perceptions.
I'm not demanding anything; I'm asking nicely. That is why I dont use the tactics you and others have - flaming me, insulting me, etc - and focus on the meat of the request and my reasons for making it. I have respect for you, and treat you nicely, even if you do not treat me with the same respect.
So please, Get your facts straight. Ta' has stated long before I posted here that source was not available. He/She has now changed her/his mind and stated "I" am the reason. So it stands to reason by the same logic that Ta is perfectly capable of being a reasonable person, changing his/her mind, making her own choices, etc. And I'm willing to work with Ta to get the code released, if she was telling the truth and is just angry about something that happened months and months ago. - John'eh
Your Critics Are Your Best Friends, because they help you find your faults and help you improve to be better. Don't take my criticisms personally, I care about Eve just as much as you. |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.09.03 22:46:00 -
[593]
You may or may not had the intention, but the words you used meant what they meant, implying security issues and a plurality of people demanding an audit. Prove it or acknowledge you were not telling the truth.
I admit my first words may be seen as flames, but my intention was really to point the obvious in an informal way and telling the reaction it caused on me (because of the obviousness).
I did point out your change of motives too, why that change and edition coupled with negation of what had just happened? You could have rectified if it weren't your intent to say that, but instead you denied it happened, saying you were not making baseless accusations (saying someone told you it has security issues is a baseless accusation to demand the source).
Point me where did I insulted you. I didn't. The only thing close to an insult is where I told my thoughts about your motives (trolling), note that I didn't say you were doing that for sure, and my thoughts come from what it seems, could be wrong but I can't avoid thinking if I were, then why do you continue questioning once you have your answer?
What is the etc. that I'm doing in my 'tactics'? To me it seems that you are the one who have an undisclosed reason to want open source and are using tactics to criticize and put in doubt those who don't share your objective. I speak of an undisclosed reason because you change the reasons you argue for frequently.
As for Amida's answer I read it as not you specifically, but people like you, who, be it true or not, Amida thinks that want to reuse the code on their own projects, being the reasons to not want that that you use it to their own advantage without giving credit for it, or not to lose control of his own project. Anyway, it doesn't matter, since Amida don't need to justify the decision. Also if you want to change his mind, you are doing the worst job possible out of it, reinforcing his position, so tell me, why are you still arguing over this?
If you are going to answer any question, don't leave that last one unanswered. You have had the answer to your question and Amida has the right to do as he pleases without giving explanations. If you believe in open source, put a new thread trying to convince developers and let them choose as they will, trying to force them to open the source is absurd and fruitless.
|

John'eh
Asteroid Belt Protection Services
|
Posted - 2010.09.04 00:20:00 -
[594]
Edited by: John''eh on 04/09/2010 00:22:44
Originally by: Krathos Morpheus You may or may not had the intention, but the words you used meant what they meant, implying security issues and a plurality of people demanding an audit. Prove it or acknowledge you were not telling the truth.
You are forgetting the third option: That English is not my native language. Sorry, not everybody in the world speaks English. Like I said, if I was unclear or said the wrong thing to get my point across I apologize.
Originally by: Krathos Morpheus I did point out your change of motives too, why that change and edition coupled with negation of what had just happened?
My motives have never changed. I want to help people, and my intentions have always been to help others stay safe from abuse in code they cant see when CCP shows they have no interest in security or keeping accounts safe from ISK spammers by allowing "private code" in community tools that could be abused. Let me try to be clear: I'm not saying that Ta or anybody else is actively working with ISK spammers or stealing account or API data, I never said that and the fact that so many people blindly assume this is unfortunate at best. What I am saying here is that the trust others give them and their binary only app could be abused if the server they host binaries on are exploited or the binaries somehow otherwise got replaced with infected versions. And what about backups? Long after the source is gone because your hard drive crashes, the binaries will be floating around due to usefulness and private backups and we the community will have no source to use as a standard to fix bugs or improve compatibility with newer systems.
Originally by: Krathos Morpheus As for Amida's answer I read it as not you specifically, but people like you, who, be it true or not, Amida thinks that want to reuse the code on their own projects, being the reasons to not want that that you use it to their own advantage without giving credit for it, or not to lose control of his own project. Anyway, it doesn't matter, since Amida don't need to justify the decision. Also if you want to change his mind, you are doing the worst job possible out of it, reinforcing his position, so tell me, why are you still arguing over this?
The thing is, licenses exist to protect us ALL from that. The MIT, GPL2/3, etc licenses all allow use while people are given their credit, or force users to otherwise proclaim "hey this uses such and such library so give them props for it". That sort of argument simply is not valid in this days modern software community. So being as I have to assume - again out of respect - that 'Ta knows what he/she is doing, I cant help but wonder how he/she could be aware of this and still claim something so illogical to me, knowing what I do about these open source lisences. You say Ta wants credit, fine. How am I supposed to remember Ta's work if all I have on my harddrive is "EveAI" with no source or mention of that character? Wouldnt Ta be better off with a legal requirement like the gpl3 or MIT lisense that Ta get that credit? All these arguments against opening the source for things have been heard before by members of the open source community, and they have all been debunked. So if this is a personal thing, between myself and Ta, let us work it out like mature adults so that the entire eve community can be better off. - John'eh
Your Critics Are Your Best Friends, because they help you find your faults and help you improve to be better. Don't take my criticisms personally, I care about Eve just as much as you. |

Nig C
|
Posted - 2010.09.07 22:12:00 -
[595]
thx 4 implementing corpRoles and corpTitles in CharacterSheet... hopefully next releas will follow soon :)
coudnt find http://wiki.eve-id.net/APIv2_Corp_ContainerLog_XML via EveDev in your lib.. didnt reflect it... should look like api.GetCorporationContainerLog, I think...
lg, NigC
ps: Ta, I like youre work, keep on runin, thx
|

Veshai
|
Posted - 2010.09.09 10:11:00 -
[596]
Any chance this library will be open-sourced? I would want to see if it can be ported to a Windows Phone 7 (silverlight 3) library.
|

Dragonaire
Caldari Corax. Circle-Of-Two
|
Posted - 2010.09.10 07:01:00 -
[597]
How does anyone think saying they'd like to port someone else's software to something made by Microsoft which is dead set on trying to get rid of all open source software would encourage them to make their software open source -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|

Veshai
|
Posted - 2010.09.10 11:12:00 -
[598]
Originally by: Dragonaire How does anyone think saying they'd like to port someone else's software to something made by Microsoft which is dead set on trying to get rid of all open source software would encourage them to make their software open source
I'm sorry to hear that you have no clue what you're talking about. First of all the provided libraries are .NET libraries (which, if you didn't know, is invented by Microsoft). Second, let's give Windows Phone a fair chance instead of calling it dead before its launch. Third, even if it would be dead set on, who cares if I'm the one building software for it? I'd be digging my own grave, and that's my own fair choice. Fourth, I'm not asking them to open up their software. I was just checking if they would, or have. For all I know, they might already have the source up somewhere and I just couldn't find it. I hope you think twice next time before judging someones motives.
Anyway. I reckoned asking couldn't hurt. A simple 'no, the sources won't be opened up in the foreseeable future' would have been an answer I would appreciate. Just so I'd know that I have to look at other (open sourced) options, such as another open-sourced library or writing my own. :)
|

Dragonaire
Caldari Corax. Circle-Of-Two
|
Posted - 2010.09.11 10:55:00 -
[599]
Quote: I'm sorry to hear that you have no clue what you're talking about. First of all the provided libraries are .NET libraries (which, if you didn't know, is invented by Microsoft).
Yes but since Mono has improved to the point that MS have started losing control of that market they have now decided to make something new (Silverlight) and are trying to lock everyone into it as a replacement. Why anyone would want to go down that road again I don't understand when there are better IMHO ways to go.
Quote: Anyway. I reckoned asking couldn't hurt. A simple 'no, the sources won't be opened up in the foreseeable future' would have been an answer I would appreciate. Just so I'd know that I have to look at other (open sourced) options, such as another open-sourced library or writing my own. :)
And I didn't mean to say you shouldn't ask about having EveAI Live be open sourced as it would be a good thing IMHO also but it just struck me as wrong to state as one of the reasons you'd like to see it done is to do what you were talking about  -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|

Agnemon
|
Posted - 2010.10.03 03:54:00 -
[600]
Language = C#. Application = Windows Forms. Skill level = "Noob", level 1.
I am trying to load the "learned skills" into a treeview control however the skill sheet does not appear to contain any group name information.
I had thought to load the "Skilltree" into a list and then refer to that for the group name but that is a "Noob lvl 2" skill.
I have modified the VB market example from the Eve - Dev site and have it working under C# for the markets, but can not get it to work with the skills.
A nice code snippet that I can cut and paste ( a Noob lvl 1 skill) would be nice :)
|
|

Agnemon
|
Posted - 2010.10.15 15:26:00 -
[601]
Does anyone have any suggestions on displaying the icon of an item in a picture box?
I am able to reference productTypes.Graphic.UrlIcon which I assume is the icon ID. but can not get it to load into the picture box and I am too tired to go any further tonight
|

Darkrurik
Caldari Lupi di Wotan
|
Posted - 2010.10.15 17:29:00 -
[602]
Edited by: Darkrurik on 15/10/2010 17:36:42 Hello I would like to know if and how to read if you got an email and I can already read the above notifications and would like to know the time of reload and notifications by email
PS: the language of reference and VB.net
Sorry but the translation x converted by Google
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.10.16 03:35:00 -
[603]
Originally by: Agnemon Does anyone have any suggestions on displaying the icon of an item in a picture box?
I am able to reference productTypes.Graphic.UrlIcon which I assume is the icon ID. but can not get it to load into the picture box and I am too tired to go any further tonight
First of all, you need to use productTypes.Icon.IconFile, the .Graphic is discontinued afaik and it served in previous builds only. You have two options that I can think of depending on where you store the icons:
1st: You store the images on resources and you find it there, but not sure how.
2nd: You store the images on a folder inside the program folder and you load the image from the system path:
Dim product as ProductType Dim icon = product.Icon.IconFile Dim iconPath As String = Environment.CurrentDirectory + "\eve Graphics\icon32\icon" + icon + ".png" If icon IsNot "" And icon IsNot Nothing Then ctrlSchema.picMaterial.Load(iconPath)
|

Agnemon
|
Posted - 2010.10.16 15:18:00 -
[604]
Dim product as ProductType Dim icon = product.Icon.IconFile Dim iconPath As String = Environment.CurrentDirectory + "\eve Graphics\icon32\icon" + icon + ".png" If icon IsNot "" And icon IsNot Nothing Then ctrlSchema.picMaterial.Load(iconPath)
Hmmm, I can not access "product.Icon.IconFile" which assembly is it in?
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.10.16 20:11:00 -
[605]
Edited by: Krathos Morpheus on 16/10/2010 20:13:20
Originally by: Agnemon
Hmmm, I can not access "product.Icon.IconFile" which assembly is it in?
Just use the most recent one, you are doing it wrong if you are using anything else. Look at the first post to get the latest.
|

Agnemon
|
Posted - 2010.10.17 08:31:00 -
[606]
Eve AI version 1.3.1
Dim product As ProductType Dim icon = product.Icon.IconFile Error message = "Icon is not a member of 'EveAI.Product.ProductType'."
Dim iconPath As String = Environment.CurrentDirectory + "\eve Graphics\icon32\icon" + icon + ".png" If icon IsNot "" And icon IsNot Nothing Then ctrlSchema.picMaterial.Load(iconPath)
Error message = "'ctrlSchema' is not declared. It may be inaccessable due to its protection level."
Pretty sure it's a missing Imports statement
|

Agnemon
|
Posted - 2010.10.17 08:39:00 -
[607]
Oops 
The link on the first page still points to EveAI version 1.3.1
needed to use the link on page 20, post 580.
However I still have the "ctrlSchema" error
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.10.17 11:39:00 -
[608]
Originally by: Agnemon Oops 
The link on the first page still points to EveAI version 1.3.1
needed to use the link on page 20, post 580.
However I still have the "ctrlSchema" error
ctrlSchema.picMaterial is my own PictureBox control, you'll want to put your own PictureBox here instead, like PictureBox1.load(iconPath). You also need to use a product that is not empty (=Nothing) by whatever method you'd use to select the material that you want to show in the PictureBox. Hope it helps, ask if you need more help.
|

Agnemon
|
Posted - 2010.10.17 13:13:00 -
[609]
Sort of figure that was the case but wasn't sure if it was part of VB.
Anyway, got that part of it working now, thanks for your help
There are a lot of missing icons (latest dump) and while there are blueprint icons included in the dump they use a different naming convention and the productType doesn't seem to have the icon info set for blueprints 
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.10.17 13:33:00 -
[610]
Edited by: Krathos Morpheus on 17/10/2010 13:35:11
|
|

Ray McCormack
Nordar Innovations.
|
Posted - 2010.10.17 13:44:00 -
[611]
Originally by: John'eh When will the source code for this be released?
Considering several people have pointed out freely available tools to reverse engineer the code and obtain the 'source' one can only interpret your continued requests despite the OP's constant refusal as trolling.
Originally by: Veshai Any chance this library will be open-sourced? I would want to see if it can be ported to a Windows Phone 7 (silverlight 3) library.
You should be able to use it as is with Win 7 development.
|

Darkrurik
Caldari Lupi di Wotan
|
Posted - 2010.10.18 08:05:00 -
[612]
hello,
sorry does anyone know how can I download the API in vb.net emails.
I can download but not the email notifications.
Thanks
|

Agnemon
|
Posted - 2010.10.23 12:17:00 -
[613]
Originally by: Krathos Morpheus Edited by: Krathos Morpheus on 17/10/2010 13:35:11
What icons are you missing? You are probably using the topmost resolutions, but not every icon has an higher resolution version, you should use the 32x32px or the 16x16px for general item icons that are found on "Tyrannis_1.0.4-imgs.7z\icons\32_32\" There were some icons missing from planetary interaction, but I've found no one missing in the last image dump. Some items like ships, drones and deployables are located inside the types folder though.[/justify]
I am cycling thru the resolutions using "File exists" starting at the higest resolution and cycling down, that way I get the best resolution available.
The blueprint icons use a straight number, no "icon" prefix.
hmmm, didn't think to look in the types folder
|

Cilegon
|
Posted - 2010.10.26 22:36:00 -
[614]
Hi all, hoping someone can help me...
im trying to get a list of corp assets using the following code: (note the api being passed is full key of my director character
Dim apiNew As EveAI.Live.EveApi = New EveAI.Live.EveApi(UserID, APIKey, CharID)
Dim CorpAssets = apiNew.GetCorporationAssets()
For Each obj In CorpAssets Response.Write(obj.Type) Response.Write(obj.LocationStation) Response.Write(obj.Quantity) Response.Write("</br>") Next
However, it only returns 27 objects. Not nearly all of the assets even our puny corp has.
I'm comparing the list, to the EVE Asset manager application, and it pulls down everything. I'm guessing its something basic i'm not doing, but i've searched around and can't seem to find out what im doing wrong.
the same thing happens with personal assets, it only seems to get a partial list :(
anyone have ideas?
thx!
Cilegon |

Truelle
Nemesis. Tau Ceti Federation
|
Posted - 2010.10.28 12:51:00 -
[615]
Originally by: Cilegon Hi all, hoping someone can help me...
im trying to get a list of corp assets using the following code: (note the api being passed is full key of my director character
Dim apiNew As EveAI.Live.EveApi = New EveAI.Live.EveApi(UserID, APIKey, CharID)
Dim CorpAssets = apiNew.GetCorporationAssets()
For Each obj In CorpAssets Response.Write(obj.Type) Response.Write(obj.LocationStation) Response.Write(obj.Quantity) Response.Write("</br>") Next
However, it only returns 27 objects. Not nearly all of the assets even our puny corp has.
I'm comparing the list, to the EVE Asset manager application, and it pulls down everything. I'm guessing its something basic i'm not doing, but i've searched around and can't seem to find out what im doing wrong.
the same thing happens with personal assets, it only seems to get a partial list :(
anyone have ideas?
thx!
Cilegon
These items are surely some containers which contains others items.
|

Cilegon
|
Posted - 2010.10.29 00:15:00 -
[616]
it's strange... I was checking for containers but didn't see any.
today i tried again, and more items showed up, and sure enough the last one is our main HQ and the corp hangar.
maybe the cache was old or something?! who knows, but it does seem that I can see alot more now.
now it just sucks that you can only get this data once per day (or so the documentation seems to imply?)
thx for the reply Truelle
|

Trader Epsilon
|
Posted - 2010.10.29 01:09:00 -
[617]
Originally by: Amida Ta
Originally by: Krathos Morpheus
Originally by: Amida Ta
Originally by: Krathos Morpheus
Thanks. Edit: I think I've found the mistake, I think I shouldn't use And on the reader, but I don't know yet which operator I need to use.
You need to use the Or operator.
Yep, I found it out already. Thanks. What about simulated prices from eveMetrics? Are they missing from the api or I'm dumb enough to not see them?
No, they are not supported as I generally try to support a common subset between Eve Central and Eve Metrics. But if you need them I might add them.
Amida, the simulated price variable from the eve-metrics api is perhaps the most valuable bit of information eve-metrics provides. If you could include this in EveAI, you'd be my hero. In fact, I'm thinking of coding my own Eve-Metrics API library just to get the item simulated price.
|

Agnemon
|
Posted - 2010.11.01 12:57:00 -
[618]
Does anyone know how to access all the icons?
I can access the standard item icons "iconXX_XX.png" but the blueprint icons are numbered from 683 to 32445 and I cannot find any reference to them in the productTypes, Icon = Null.
For ships the numbers range from 582 to 32311 but in product Types Icon = Null and the "Graphic" field is set to a file path/name
for the Raven Graphic.FileName = {res:/Model/Ship/Caldari/CB1/cb1.blue} Icon = null
The icons I am trying to access are from the latest image dump
Thanks
|

Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.03 04:35:00 -
[619]
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 -
[620]
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,
|
|

Scout1024
|
Posted - 2010.11.10 16:49:00 -
[621]
will there be a update to the new api soon ?
|

Zaepho
Gallente Phoenix Propulsion Labs Firmus Ixion
|
Posted - 2010.11.14 16:32:00 -
[622]
Standings aren't being returned properly. The Cache has the correct XML but the library isn't returning the data.
Any updates forthcoming?
|

Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.14 17:26:00 -
[623]
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.
|

Zaepho
Gallente Phoenix Propulsion Labs Firmus Ixion
|
Posted - 2010.11.15 14:22:00 -
[624]
Originally by: Modescond 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.
I'm sure the XML changed when EVEGate came in and moved Player/Corp standings to Contacts. I'm trying to pull NPC standings. The XML looks pretty simple but I'm sure it'll require some tweaking of the code.
This is one point when having it open source would be nice, to be able to submit patches.
|

Cibeureum
|
Posted - 2010.11.15 23:11:00 -
[625]
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!!
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.11.17 00:50:00 -
[626]
EveAI Live Version 1.3.4 has been released! Please report if you find any errors.
- Added the new AccountStatus and MailBody API.
- Added some Properties that are new for the APIs (like character birth).
- Changed processing for APIs that were changed by CCP (most notably the Standings API). The API tries to stay as compatible as possible. Fields that are now meaningless are marked as Obsolete.
- Several bugfixes and enhancements.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.3.4.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.11.17 00:59:00 -
[627]
Originally by: Cibeureum 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. 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
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). _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Krathos Morpheus
Legion Infernal
|
Posted - 2010.11.17 03:12:00 -
[628]
Edited by: Krathos Morpheus on 17/11/2010 03:16:10
Originally by: Amida Ta EveAI Live Version 1.3.4 has been released! Please report if you find any errors.
- Added the new AccountStatus and MailBody API.
- Added some Properties that are new for the APIs (like character birth).
- Changed processing for APIs that were changed by CCP (most notably the Standings API). The API tries to stay as compatible as possible. Fields that are now meaningless are marked as Obsolete.
- Several bugfixes and enhancements.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.3.4.zip
Yay! Thanks! What about those changes to expand EveMetrics prices funcionallity? Are those still a possibility? I was having problems pulling more than one price at the same time from metrics too (through the specified matrix of productTypes), but right now I've broken the app with something related to database paths and can't check right now, I'll check it when I fix it whenever that is.
PS: Update first post with current version link, some people were having problems because they were not using the most current version unknowing.
|

Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.17 03:12:00 -
[629]
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!
|

Cibeureum
|
Posted - 2010.11.17 08:59:00 -
[630]
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 -
[631]
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. |

Admiraliss
|
Posted - 2010.11.18 11:34:00 -
[632]
so thats the name for mailbody, cound¦t find. tx
|

Admiraliss
|
Posted - 2010.11.18 12:11:00 -
[633]
Originally by: Amida Ta
Originally by: Cibeureum 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. 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
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).
there is a equal int32 bug in version 1.3.4. @ GetCharacterSheet()
version 1.3.1 there is no int32 bug.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.11.18 13:09:00 -
[634]
Edited by: Amida Ta on 18/11/2010 13:10:24 EveAI Live Version 1.3.5 has been released! Please report if you find any errors.
- Added the new CharacterInfo API. (Please note that full/low key share one cache strategy)
- Fixed the overflows reported by Cibeureum. Thanks for helping!. Please note that the fix is potentially binary breaking the API!
- Fixed a stupid bug parsing the RoleIDs in the CharacterSheet as reported by Modescond.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.3.5.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Cibeureum
|
Posted - 2010.11.18 20:48:00 -
[635]
confirming that i can now load corp industry w/ the 64 bit int changes
hurray!
lots of love Amida!!
|

Khepry Kah'ne
|
Posted - 2010.11.19 19:31:00 -
[636]
Edited by: Khepry Kah''ne on 19/11/2010 19:34:02 Hey guys ...
looking at the activity I suppose the library is still alive ... I'd like to try progging something against the API just for fun ^^
Is there any documentation available? I use VS2010
and anywhere I can look at the Source? :p
|

Cibeureum
|
Posted - 2010.11.21 02:12:00 -
[637]
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 -
[638]
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
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.11.21 14:59:00 -
[639]
Originally by: Khepry Kah'ne Is there any documentation available? I use VS2010
The download comes together with Documentatio in XMLDoc format. If you use Visual Studio you can use the Object Browser to browse through the API and it's documentation. You can use a third party tool to convert the XMLDoc to whatever you like.
Some basic info is also available on Eve-Dev. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Cibeureum
|
Posted - 2010.11.23 21:57:00 -
[640]
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!
|
|

Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.26 04:54:00 -
[641]
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,
|

Elaiam Sendara
|
Posted - 2010.11.27 03:58:00 -
[642]
I'm sure this has been done a hundred times but I searched the thread and couldn't find anything.
How do I get a skill if I know its TypeID? For example, refining, typeID 3385. Or if there's a way to get that specific skill without TypeID, that's fine too. I just would like to know how to grab a single skill and evaluate it.
Dim refineskill As EveAI.Live.Character.CharacterSheet.LearnedSkill = ???
Thanks in advance.
|

Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.28 04:53:00 -
[643]
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.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.11.30 16:56:00 -
[644]
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? _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Nac MacFeegle
Argyll Manufacturing
|
Posted - 2010.11.30 19:52:00 -
[645]
I'm still having problems getting the static data .zip to read correctly.
using EveAI; using EveAI.Live; ... DataCore dataCore = new DataCore(); DataReader reader = new StaticDataDataReader(dataCore); reader.Read(DataTypes.All);
Try to run it, and I get an exception of "EveAI data file could be located neither embedded nor externally: mapDenormalize.csv". Which is funny, because the .zip is right there, and I can do (for example) "reader.Read(DataTypes.BasicMapData);" without issue.
I need the full map data for what I'm working on...
I'm using the 1.3.5 DLLs and latest data zip from http://eve-files.com/media/corp/Foxfire/
-- WARNING: Poster has probably been drinking. Proceed with caution.
|

Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.12.01 04:29:00 -
[646]
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,
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.12.01 10:21:00 -
[647]
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. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.12.01 10:25:00 -
[648]
Originally by: Nac MacFeegle Edit 2: Weird. No matter what Read() I try, it chokes on ReadFactions(), as I stated before. "reader.Read(DataTypes.Celestials);" yields the same result as I put in my earlier edit.
Hi,
I haven't updated the big data set in a long time (nearly half a year now). It likely contains some structural problems from the changes CCP made. Will update it together with the new static data as soon as CCP releases that. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Nac MacFeegle
Argyll Manufacturing
|
Posted - 2010.12.01 16:45:00 -
[649]
Originally by: Amida Ta
Hi,
I haven't updated the big data set in a long time (nearly half a year now). It likely contains some structural problems from the changes CCP made. Will update it together with the new static data as soon as CCP releases that.
Cool. Thanks!
I took a brief look at the conversion tool on the website, but haven't tried anything with it yet.
-- WARNING: Poster has probably been drinking. Proceed with caution.
|

Nac MacFeegle
Argyll Manufacturing
|
Posted - 2010.12.01 18:55:00 -
[650]
Originally by: Nac MacFeegle
Originally by: Amida Ta
Hi,
I haven't updated the big data set in a long time (nearly half a year now). It likely contains some structural problems from the changes CCP made. Will update it together with the new static data as soon as CCP releases that.
Cool. Thanks!
I took a brief look at the conversion tool on the website, but haven't tried anything with it yet.
Yep, it was the data file. After spending an hour trying to get SQL Express working, I just ran the Tyrannis 1.0.4 data through the converter, zipped it up, and dropped it in. Works without a problem now.
-- WARNING: Poster has probably been drinking. Proceed with caution.
|
|

Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.12.02 15:35:00 -
[651]
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.
|

Admiraliss
|
Posted - 2010.12.07 15:32:00 -
[652]
there is a problem @GetCharacterSheet() something changed to null and brings a exception
|

Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.12.07 21:07:00 -
[653]
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,
|

In'Q Buss
|
Posted - 2010.12.09 15:53:00 -
[654]
I'm having a hell of a time with the charactersheet part.
Given this snippit:
***** For Each AB As AccountBalance In EveAPI.GetCharacterAccountBalance() lblAccountBalance.Text = Format(AB.Balance, "Currency") Next Dim myCharSheet As Character.CharacterSheet myCharSheet = EveAPI.GetCharacterSheet ***** Getting the account balance works; getting the character sheet fails with a generic Object reference not set to an instance of an object. This worked as is up until a few weeks ago. Oddly enough, it seems to work fine with the eveai test application, or just fetching the charsheet.xml with post arguments.
Later in the code, a 'For Each SkillInTraining As Character.SkillInTraining' works great.
How can I get some error reporting or something on the charactersheet part?
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.12.09 16:59:00 -
[655]
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 _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

In'Q Buss
|
Posted - 2010.12.09 17:47:00 -
[656]
No change for me with 1.4.
|

Admiraliss
|
Posted - 2010.12.09 19:37:00 -
[657]
char sheet and char skill queque works not as well :-(
|

Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.12.09 21:58:00 -
[658]
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 -
[659]
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,
|

Cibeureum
|
Posted - 2010.12.22 22:01:00 -
[660]
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 |
|

Krey
|
Posted - 2010.12.27 12:09:00 -
[661]
Edited by: Krey on 27/12/2010 12:23:18 --
|

Bullen karlssson
Gallente Swedish Aerospace Inc The Kadeshi
|
Posted - 2010.12.27 16:03:00 -
[662]
I would really like this to also be compiled as a windows phone 7 class library.
|

Souldefender
Team Silent Service
|
Posted - 2010.12.28 17:34:00 -
[663]
Edited by: Souldefender on 28/12/2010 17:34:04 I have been programming in VB.NET before, but this thing puzzles me. I have tried to use parts of code found here, but when people had a problem and then found a solution, then they just write "never mind" instead of SHARING the solution.
To the point. I have the following code:
Quote:
Imports EveAI Imports EveAI.Live Imports System.Windows.Forms Public Class MainForm Public UserID As Integer Public ApiKey As String Public CharacterID As Integer Public ErrorCode As String Public Data As String
Public Sub MyForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try UserID = 1234567 ApiKey = "303D4FA2B5C2461E88603BD62308FB6B99E04A0D7D8D4000A1C92675818F3B5C" CharacterID = 12345612345 Dim Api As New EveApi(UserID, ApiKey, CharacterID) Dim Sheet As Character.CharacterSheet = Api.GetCharacterSheet MsgBox(Sheet) Catch ex As Exception ErrorCode = ex.Message & vbCrLf & ex.StackTrace.ToString Err() End Try End Sub Public Sub Err() MsgBox("Error: " & vbCrLf & ErrorCode, MsgBoxStyle.Critical, "Error") Console.Write("Error: " & vbCrLf & ErrorCode) End End Sub End Class
which gives me this error (sorry about the danish parts (blame M$)):
Quote:
Objektreferencen er ikke indstillet til en forekomst af et objekt. ved EveAI.Live.Generic.SkillTreeApi.ProcessXmlData(XmlNode resultNode, Boolean clearExistingData) ved EveAI.Live.EveApiBase.UpdateDataInternal(String data, XmlDocument& document, Boolean liveData, Boolean ignoreCacheDate) ved EveAI.Live.EveApiBase.UpdateDataFromWeb() ved EveAI.Live.EveApiBase.UpdateData(UpdateCharaceristics updateCharacteristics) ved EveAI.Live.EveApiBase.UpdateData() ved EveAI.Live.EveApi.UpdateEveApi[T,TResolve,TResolve2](T& api, TResolve& resolveApi, TResolve2& resolveApi2, Boolean resolve) ved EveAI.Live.EveApi.UpdateEveApi[T,TResolve](T& api, TResolve& resolveApi, Boolean resolve) ved EveAI.Live.EveApi.UpdateEveApi[T](T& api, Boolean resolve) ved EveAI.Live.EveApi.UpdateEveApi[T,TResolve,TResolve2](T& api, TResolve& resolveApi, TResolve2& resolveApi2, Boolean resolve) ved EveAI.Live.EveApi.UpdateEveApi[T,TResolve,TResolve2](T& api, TResolve& resolveApi, TResolve2& resolveApi2) ved EveAI.Live.EveApi.GetCharacterSheet() ved Eve_Essentials.MainForm.MyForm_Load(Object sender, EventArgs e) i E:\Andet\Programmering\Visual Studio\Eve Essentials\Eve Essentials\MainForm.vb:linje 16
Where am I going wrong?
The API, ID etc. I use works fine in EFT, EveMon, AND the test program that comes with EveAI.
Another question: How can I open the xml doc in a readable format? I only get the raw code (tried Google Chrome and IE8).
|

Bullen karlssson
Gallente Swedish Aerospace Inc The Kadeshi
|
Posted - 2010.12.29 11:10:00 -
[664]
Edited by: Bullen karlssson on 29/12/2010 11:11:49 Edited by: Bullen karlssson on 29/12/2010 11:09:57
Originally by: Souldefender
Quote:
Objektreferencen er ikke indstillet til en forekomst af et objekt. ved EveAI.Live.Generic.SkillTreeApi.ProcessXmlData(XmlNode resultNode, Boolean clearExistingData) ved EveAI.Live.EveApiBase.UpdateDataInternal(String data, XmlDocument& document, Boolean liveData, Boolean ignoreCacheDate) ved EveAI.Live.EveApiBase.UpdateDataFromWeb() ved EveAI.Live.EveApiBase.UpdateData(UpdateCharaceristics updateCharacteristics) ved EveAI.Live.EveApiBase.UpdateData() ved EveAI.Live.EveApi.UpdateEveApi[T,TResolve,TResolve2](T& api, TResolve& resolveApi, TResolve2& resolveApi2, Boolean resolve) ved EveAI.Live.EveApi.UpdateEveApi[T,TResolve](T& api, TResolve& resolveApi, Boolean resolve) ved EveAI.Live.EveApi.UpdateEveApi[T](T& api, Boolean resolve) ved EveAI.Live.EveApi.UpdateEveApi[T,TResolve,TResolve2](T& api, TResolve& resolveApi, TResolve2& resolveApi2, Boolean resolve) ved EveAI.Live.EveApi.UpdateEveApi[T,TResolve,TResolve2](T& api, TResolve& resolveApi, TResolve2& resolveApi2) ved EveAI.Live.EveApi.GetCharacterSheet() ved Eve_Essentials.MainForm.MyForm_Load(Object sender, EventArgs e) i E:\Andet\Programmering\Visual Studio\Eve Essentials\Eve Essentials\MainForm.vb:linje 16
Just to help out a bit. The top part "Objektreferencen er ikke indstillet til en forekomst af et objekt." stands for "Object reference not set to an instance of an object."
And to the creator of the EveAI. Have you ever thought of making this library open source to get contributions etc. ?
|

Krathos Morpheus
Legion Infernal
|
Posted - 2010.12.30 23:54:00 -
[665]
Quote: MsgBox(Sheet)
Sheet is not a string, try with something inside Sheet (Sheet dot something). Be sure that Sheet is not Nothing when the error jumps, you may need to put the word New when creating Sheet.
|

Patrick O'brien
Caldari Patrick's Big Win Lotto Services
|
Posted - 2011.01.01 22:39:00 -
[666]
First, Mega probps on a nicely build api!
Now, my problem: Ok well I've searched all over and haven't found even one mention of the problem that I am experiancing.
I need to know what "ClientDownloadError" means?!?
My application seems to work just fine on my local machine or even my local server, but when it is put on the hosting machine, ths only thing i get is this error.
Please shed some light on my problem.
Thnaks!
|

Patrick O'brien
Caldari Patrick's Big Win Lotto Services
|
Posted - 2011.01.05 06:35:00 -
[667]
Originally by: Patrick O'brien First, Mega probps on a nicely build api!
Now, my problem: Ok well I've searched all over and haven't found even one mention of the problem that I am experiancing.
I need to know what "ClientDownloadError" means?!?
My application seems to work just fine on my local machine or even my local server, but when it is put on the hosting machine, ths only thing i get is this error.
Please shed some light on my problem.
Thnaks!
Ok, so its obvious that I cant read and type at the same time, but I did manage to figure out my initial problem {READ: I BLAMED MY HOSTING PROVIDER, CALLED TECH SUPPORT AND THEY FOUND THE PROBLEM}, ({shakes-fists-in-air}DAMN PROXY SETTINGS!) (which are by the way included below for anyone who has hosting with 1and1.com)
<system.net> <defaultProxy> <proxy usesystemdefault="False" bypassonlocal="False" proxyaddress="http://ntproxyus.lxa.perfora.net:3128" /> </defaultProxy> </system.net>
Now on to my new problem....
Next is a snippit of my code that seems to be the cause of the error, and from what I can tell i am using the complex mode, with cacheing disabled... so why then am i getting the error : ClientCacheFileCreationError
please help
EveAI.Live.AuthenticationData authData = new EveAI.Live.AuthenticationData();
authData.UserID = "UseYerImagination"; authData.ApiKey = "UseYerImagination"; authData.CharacterID = "UseYerImagination";
EveAI.Live.Character.CharacterWalletJournalApi wallet = new EveAI.Live.Character.CharacterWalletJournalApi();
wallet.AuthenticationData = authData; wallet.PersistData = false; EveApiBase.UpdateResult result = wallet.UpdateData(EveAI.Live.EveApiBase.UpdateCharaceristics.OnlineOnly);
if (wallet.LastErrors.Count == 0) { List<EveAI.Live.JournalEntry> journalEntries = wallet.Data; foreach (EveAI.Live.JournalEntry je in journalEntries) { //LOG ENTRIES } } else { foreach (EveAI.Live.Utility.EveApiError error in wallet.LastErrors) { //TELL ME THE ERROR } }
|

Truelle
Les Jacob de la Fonk
|
Posted - 2011.01.10 13:02:00 -
[668]
Edited by: Truelle on 10/01/2011 13:02:52 Edited by: Truelle on 10/01/2011 13:02:35 Are there objects for "Reaction Blueprint" such as "Sulfuric Acid Reaction" to know how to make the simple or complex reaction ? In example an object similar to a schematic in planetary interaction.
http://games.chruker.dk/eve_online/item.php?type_id=17956
|

Truelle
nemesis 2.0
|
Posted - 2011.01.23 13:55:00 -
[669]
Edited by: Truelle on 23/01/2011 13:56:04 Edited by: Truelle on 23/01/2011 13:55:40 Hi Amida Ta,
is it possible to have a new version of this code : http://www.eveonline.com/ingameboard.asp?a=topic&threadID=916015&page=2#41, post #41 for the pathfinding, i think some properties are obsolete like 'Tag'.
Thanks. |

Speedierone
|
Posted - 2011.01.23 22:45:00 -
[670]
right im completely new to programming and im currently using visual basic. I have referenced and import the eveai programmes but im completely stuck on the basics. I would like to create a simple form just to have 3 textboxs (userid, api, char id) and then have a button which will load my character sheet into a larger textbox4. I think once i have the basics on this simple thing i will have a stepping stone for the rest of the code which i dont mind playing around with. I have looked everywhere but most of the solutions i find are online scripts which doesnt seem to help me.
Cheers in advance :)
|
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.01.24 16:43:00 -
[671]
I built a small personal app based on EveAI 1.3.5 and up until now has worked perfectly fine. However since the Incursion 1.1.1 update it has stopped working. For some reason it won't download any API data. Anybody else run into this?
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.01.24 18:39:00 -
[672]
To add some more information at this point:
I noticed that my character and corp assets didn't seem to be updating properly. Looking through the data I noticed that pretty much nothing changed in the last couple days when in fact a lot of changes had happened. I figured that perhaps the issue was due to the loading of old cached data so I went and manually deleted all of the cached xml files for EveAI. Now the CharacterSheetAPI.xml downloads ok but doesn't actually get loaded into EveAI's object structure. Which is odd because the test application doesn't have a problem.
Any pointers would be appreciated.
|

Truelle
nemesis 2.0
|
Posted - 2011.01.25 18:57:00 -
[673]
Originally by: Zeta Zhul Edited by: Zeta Zhul on 24/01/2011 16:52:11 I built a small personal app based on EveAI 1.3.5 and up until now has worked perfectly fine. However since the Incursion 1.1.1 update it has stopped working. For some reason it won't download any API data. Anybody else run into this?
edit: it fails on interpreting the character sheet. The AccountDataApi is downloaded properly. Then the CharacterSheetApi is downloaded ... but not loaded into the EveAI object structure.
I agree with that, same here, nothing works :(
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.01.26 16:46:00 -
[674]
Originally by: Truelle
Originally by: Zeta Zhul Edited by: Zeta Zhul on 24/01/2011 16:52:11 I built a small personal app based on EveAI 1.3.5 and up until now has worked perfectly fine. However since the Incursion 1.1.1 update it has stopped working. For some reason it won't download any API data. Anybody else run into this?
edit: it fails on interpreting the character sheet. The AccountDataApi is downloaded properly. Then the CharacterSheetApi is downloaded ... but not loaded into the EveAI object structure.
I agree with that, same here, nothing works :(
It's kinda strange. Basically the CharacterSheet is FUBAR but assets and other pieces aren't.
|
|

CCP Stillman

|
Posted - 2011.01.26 16:56:00 -
[675]
Edited by: CCP Stillman on 26/01/2011 16:56:15
Originally by: Zeta Zhul
Originally by: Truelle
Originally by: Zeta Zhul Edited by: Zeta Zhul on 24/01/2011 16:52:11 I built a small personal app based on EveAI 1.3.5 and up until now has worked perfectly fine. However since the Incursion 1.1.1 update it has stopped working. For some reason it won't download any API data. Anybody else run into this?
edit: it fails on interpreting the character sheet. The AccountDataApi is downloaded properly. Then the CharacterSheetApi is downloaded ... but not loaded into the EveAI object structure.
I agree with that, same here, nothing works :(
It's kinda strange. Basically the CharacterSheet is FUBAR but assets and other pieces aren't.
Please see if this is still a problem tomorrow. We're aware of issue with the charactersshet on our end. Will be fixed in tomorrow's DT.
|
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.01.28 15:54:00 -
[676]
Not fixed.
|

Ridlaw Az
Minmatar Rodents of Unusual Size
|
Posted - 2011.01.29 09:39:00 -
[677]
Edited by: Ridlaw Az on 29/01/2011 09:40:33 I've just started using EveAI and I'm having trouble with the GetCharacterWalletJournal() method. It's only returning the last 50 entries and I can't see how to get more than that?
I have read that CCP have changed the API so that it returns 50 items at a time now instead of 256 so I'm guessing that EveAI hasn't been updated and gets the 50 items and thinks there's no more to process as it didn't retrieve a full 256?
Or am I being as dumb as I usually am? :)
PS. Loving the library though!
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.01.30 00:44:00 -
[678]
Edited by: Zeta Zhul on 30/01/2011 00:44:59
Originally by: Ridlaw Az Edited by: Ridlaw Az on 29/01/2011 09:40:33 I've just started using EveAI and I'm having trouble with the GetCharacterWalletJournal() method. It's only returning the last 50 entries and I can't see how to get more than that?
I have read that CCP have changed the API so that it returns 50 items at a time now instead of 256 so I'm guessing that EveAI hasn't been updated and gets the 50 items and thinks there's no more to process as it didn't retrieve a full 256?
Or am I being as dumb as I usually am? :)
PS. Loving the library though!
Yeah that's pretty much it. Because EveAI is expecting 256+ entries the 50 that it does get makes it think that there are no more to get.
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.01.30 20:41:00 -
[679]
Spent some more time tracking this issue down in EveAI and the api. Turns out the problem isn't precisely in CharacterSheet api. It is in the SkillTree api call.
Basically if you have the SkillTreeApi.xml file in your EveAI cache then the CharacterSheetApi call will work fine. If you do not, then the call will fail because for some reason the EveAI library cannot download a new copy through the api.
So in case here is the link to a copy of the SkillTreeApi.xml file.
What a pain in the rear end. |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2011.01.31 00:37:00 -
[680]
Originally by: Zeta Zhul Spent some more time tracking this issue down in EveAI and the api. Turns out the problem isn't precisely in CharacterSheet api. It is in the SkillTree api call.
Basically if you have the SkillTreeApi.xml file in your EveAI cache then the CharacterSheetApi call will work fine. If you do not, then the call will fail because for some reason the EveAI library cannot download a new copy through the api. What a pain in the rear end.
Thanks for reporting the problem. In fact the real problem I found out was some stuipid behavior of the eve api server. It sets the caching time for the skilltree to 10!! years!. So basically EveAI would get the Skilltree only once in a lifetime. I have changed that for the next version so that EveAI will ignore any caching times bigger than one day. It will also invalidate existing cachefiles with that problem. BTW: I also added the missing IsPublished property and made the parsing more robust. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2011.01.31 01:59:00 -
[681]
Originally by: Modescond 1) Please add support for AccountStatus.Offers 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.
1) Added this for the next version (though completely untested) 2) I only obsoeted things that REALLY are obsolete. The API itself is fine to use. If you think some property is wrongly obsoleted please specify which. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2011.01.31 02:01:00 -
[682]
Originally by: Modescond 1) This changes the StarbaseApi ItemID to a Int64, however, AuthenticationData.StarbaseID is an Int32. 2) Please update the version numbers in your DLLs. Those of us that bundle this inside an MSI package rely on these updating so that our end users can receive the appropriate updates. Core still shows 2.0, Live shows 1.3 (and have for several consecutive versions now).
1) Fixed for next version 2) Updated for next version. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.01.31 02:06:00 -
[683]
Originally by: Amida Ta
Originally by: Zeta Zhul Spent some more time tracking this issue down in EveAI and the api. Turns out the problem isn't precisely in CharacterSheet api. It is in the SkillTree api call.
Basically if you have the SkillTreeApi.xml file in your EveAI cache then the CharacterSheetApi call will work fine. If you do not, then the call will fail because for some reason the EveAI library cannot download a new copy through the api. What a pain in the rear end.
Thanks for reporting the problem. In fact the real problem I found out was some stuipid behavior of the eve api server. It sets the caching time for the skilltree to 10!! years!. So basically EveAI would get the Skilltree only once in a lifetime. I have changed that for the next version so that EveAI will ignore any caching times bigger than one day. It will also invalidate existing cachefiles with that problem. BTW: I also added the missing IsPublished property and made the parsing more robust.
My pleasure. And thanks for the extremely useful api library.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2011.01.31 21:38:00 -
[684]
Edited by: Amida Ta on 31/01/2011 21:43:46 EveAI Live Version 1.5.0a has been released! It's a somewhat larger release with lots of different changes. Please test. As far as I know and have tested everything should work right now.
- EveAI now defaults to using HTTPS for the Live server as suggested by CCP. There is a fallbackoption for HTTP. Strangely enough CCP did not activate HTTPS for the testserver so everything there stays as it was.
- Updated static data to Incursion 1.1
- Lots of small fixes and workarounds for things where CCP f**** up lately (like the 10 year cache timer).
- Some additons (see thread)
- Cache file version has been changed to fix one of CCP f**** ups, aka cache files will be invalidated.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.5.0a.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Tosana
|
Posted - 2011.02.02 20:41:00 -
[685]
Please confirm it's using https? My web filter is blocking http://api.eve-online.com but https works fine. EveAI calls time out not receiving a reply so I started suspecting it's still on http.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2011.02.03 11:23:00 -
[686]
Originally by: Tosana Please confirm it's using https? My web filter is blocking http://api.eve-online.com but https works fine. EveAI calls time out not receiving a reply so I started suspecting it's still on http.
Well it should be unless you have it configured to use HTTP (by setting EveApi.Server = ApiServer.LiveNoHttps) or you have a proxy configured to reroute that. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Tosana
|
Posted - 2011.02.04 04:49:00 -
[687]
Originally by: Amida Ta
Originally by: Tosana Please confirm it's using https? My web filter is blocking http://api.eve-online.com but https works fine. EveAI calls time out not receiving a reply so I started suspecting it's still on http.
Well it should be unless you have it configured to use HTTP (by setting EveApi.Server = ApiServer.LiveNoHttps) or you have a proxy configured to reroute that.
My bad, forgot to reset the project references to new version. Works great!
|

Oeuf
|
Posted - 2011.02.13 19:15:00 -
[688]
Where could I find the lateast EveAI.Data ?
thanks in advance. |

Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2011.02.21 15:36:00 -
[689]
AccountStatus.GameTimeCodeOffers works perfectly. Thanks!
|

Ischtar Grey
Caldari
|
Posted - 2011.02.24 16:14:00 -
[690]
hy
i use EveAI Live Version 1.5.0a.
I get the following error
"-1301,808" while is not a valid value for 'Interval'. 'Interval' must be greater than 0
while doing this => GetCharacterSheet();
I did a research in this thread, and found out that this error is related to a wrong local time, so i did checked my time settings and they are as they should be.
Then i Tried to set my time to evetime, just for testing, and it worked! So i did a recheck and turned my time back to my local time GTM+1, and i got the error again! Is there any posible way, to get around this problem without changing my local time settings ?
|
|

Bladestrom
|
Posted - 2011.03.01 20:14:00 -
[691]
Is my character ID the number on the url of my picture?
|

Tosana
|
Posted - 2011.03.01 21:46:00 -
[692]
I may have found a couple problems. Corporation member security API doesn't load Corp members but instead uses the rowset header as a record. No errors, just a member called "members" with no roles in the output. Corporation member security log API doesn't capture old or new roles.
|

Nig C
|
Posted - 2011.03.04 13:19:00 -
[693]
Hello Amida,
I think there is a problem with your static data in
EveAI.Product.BlueprintType.ResarchCopyTime
As example, the Fenrir Blueprint should have
Days=59 Hours=7 Minutes=6
but your TimeSpan throws
Days=29 Hours=15 Minutes=6
lg, NigC
|

Jognu
French Kiss Singularity Astromechanica Federatis
|
Posted - 2011.03.06 15:29:00 -
[694]
Originally by: Tosana I may have found a couple problems. Corporation member security API doesn't load Corp members but instead uses the rowset header as a record. No errors, just a member called "members" with no roles in the output. Corporation member security log API doesn't capture old or new roles.
Same problem here 
|

Hedge Tails
Aurora Security Transstellar Operations
|
Posted - 2011.03.07 12:29:00 -
[695]
Edited by: Hedge Tails on 07/03/2011 12:34:51 Edited by: Hedge Tails on 07/03/2011 12:33:51 The call: Starbase pos = ea.GetCorporationStarbaseDetail(starbaseid);
expects "starbaseid" to be an int. This should be a long, as newly anchored posses have id's that won't fit in an int..
Workaround: Set the id inside the Authentication property, and call without id:
ea.Authentication.StarbaseID = (long)1001348734767123948; Starbase pos = ea.GetCorporationStarbaseDetail();
|

Paihn
|
Posted - 2011.03.09 11:02:00 -
[696]
Hi. I'm allso Noob lvl 1, and am in the process of learning C#. I thought EveAI LIve might be a nice way to make it more fun. :)
I was just wondering if the test.exe file is allso one of the things there will not be a source-code for?
(Since I'm so noob, it just might be actually what people are asking for earlier, but hopefully that's just he dlls that wount be released. :) ) I apologize if I'm mistaken.
-Paihn
|

Sylas Saken
|
Posted - 2011.03.10 23:48:00 -
[697]
Is there anyway you could offload the requests to a thread other than the UI thread? It causes the test app to appear to lock up as it is trying to get information. If you need help with it, I can show you how it is done. It shouldn't take more than an hour to fix.
|

Moc'kos Fejeg
|
Posted - 2011.03.11 12:42:00 -
[698]
Hi Amida
Is it possible to make COM callable the code?
I tried to register it with regasm, but the EveAI.core give the followning error: RegAsm : error RA0000 : Could not load file or assembly 'EveAI.DataDecoder, Ver ion=1.0.0.18, Culture=neutral, PublicKeyToken=30da889e6660069e' or one of its d pendencies. The system cannot find the file specified.
Thx. PS: I would like to use the EveAI in Excel calling it from Visual Basic for Application.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2011.03.15 16:42:00 -
[699]
Originally by: Tosana I may have found a couple problems. Corporation member security API doesn't load Corp members but instead uses the rowset header as a record. No errors, just a member called "members" with no roles in the output. Corporation member security log API doesn't capture old or new roles.
Thanks for reporting. Both problems are fixed for the next version. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2011.03.15 16:45:00 -
[700]
Originally by: Hedge Tails Edited by: Hedge Tails on 07/03/2011 12:34:51 Edited by: Hedge Tails on 07/03/2011 12:33:51 The call: Starbase pos = ea.GetCorporationStarbaseDetail(starbaseid);
expects "starbaseid" to be an int. This should be a long, as newly anchored posses have id's that won't fit in an int..
Workaround: Set the id inside the Authentication property, and call without id:
ea.Authentication.StarbaseID = (long)1001348734767123948; Starbase pos = ea.GetCorporationStarbaseDetail();
Thanks for the report. Will change that to long for the next version. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2011.03.15 16:58:00 -
[701]
Originally by: Sylas Saken Is there anyway you could offload the requests to a thread other than the UI thread? It causes the test app to appear to lock up as it is trying to get information. If you need help with it, I can show you how it is done. It shouldn't take more than an hour to fix.
I'm not sure I understand you.
EveAI is mostly thread-save (manual configuration with EveApiConfiguration is not, but after your are done it should be). So you can use as much threading as you need (e.g. to keep your UI responsive while EveAI is downloading/parsing data).
The test app does not use any multithreading because well it's an test app. I don't really care if the UI hangs for a few seconds and it's for testing things (which gets more complicated if threading is involved). _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2011.03.15 17:13:00 -
[702]
Edited by: Amida Ta on 15/03/2011 17:14:32
Originally by: Paihn Hi. I'm allso Noob lvl 1, and am in the process of learning C#. I thought EveAI LIve might be a nice way to make it more fun. :)
I was just wondering if the test.exe file is allso one of the things there will not be a source-code for?
(Since I'm so noob, it just might be actually what people are asking for earlier, but hopefully that's just he dlls that wount be released. :) ) I apologize if I'm mistaken.
-Paihn
The test application is inteded to test stuff, not to serve as a best practice example. Most things in there wouldn't be done that way in a "real" application. Moreover its extremely short and simple code. It's not much more than that:
EveApi api;
public TestForm () { InitializeComponent ();
String[] names = Enum.GetNames (typeof (EveApiType)); Array.Sort (names); selectApi.Items.AddRange (names);
api = new EveApi (); ...
private void selectApi_SelectedIndexChanged (object sender, EventArgs e) { EveApiType typeToGet = (EveApiType)Enum.Parse (typeof (EveApiType), (String)selectApi.SelectedItem); currentObject = api.CallApi (typeToGet);
propertyGrid.SelectedObject = new ObjectHolder (currentObject); ... _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Yar'vak
Morningstar Technologies Ltd. Inver Brass
|
Posted - 2011.03.17 18:05:00 -
[703]
Is it possible that there are some items like the Noctis missing in the date of EveAI.Core.dll? And, is there a way to update the data it uses?
I also found a problem with the EveAI.Core.dll. It has a reference against EveAI.DataDecoder, which is not included in the archive, and gives me problems when merging the librarys. |

Devilcrafter
|
Posted - 2011.03.23 21:41:00 -
[704]
Hey I got a question I've been using your libraries to build my own tool (like the rest is here) in c# but I'm looking for the assets flag attribute. I can't find it anywhere and I need it to filter out fitted items on ships in some sort off asset viewer part of the tool. So if anyone has an idea how to find the attribute plz tell me :D
Anywayz gj on the libraries it makes it so much easier for starting programmers ^^
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.03.24 18:36:00 -
[705]
Originally by: Devilcrafter Hey I got a question I've been using your libraries to build my own tool (like the rest is here) in c# but I'm looking for the assets flag attribute. I can't find it anywhere and I need it to filter out fitted items on ships in some sort off asset viewer part of the tool. So if anyone has an idea how to find the attribute plz tell me :D
Anywayz gj on the libraries it makes it so much easier for starting programmers ^^
Look for these values in the Container field when pulling/querying assets:
Cargo DroneBay SlotHigh1 SlotHigh2 SlotHigh3 SlotHigh4 SlotHigh5 SlotHigh6 SlotHigh7 SlotLow1 SlotLow2 SlotLow3 SlotLow4 SlotMedium1 SlotMedium2 SlotMedium3 SlotMedium4 SlotMedium5 SlotMedium6 RigSlot1 RigSlot2 RigSlot3
These are pretty self-explanatory.
Then there is:
OfficeSlot13 - your office
CorporationMarket - your Corporation Delivery Hangar (e.g. the stuff you bought using corp master wallet will end up here)
Hangar - if the data is pulled from the character assets then this is the personal hangar, if the corp assets then the corp hangar.
...
So if an asset is in a container called "Cargo" then it is located in the cargo bay of a ship. If in RigSlot1, then the rig has been installed. If in a DroneBay, then the drone has been loaded onto a ship for use. If in CorporationMarket then it is something you bought using the corp master wallet and is now sitting in a Delivery Hangar somewhere.
|

Devilcrafter
|
Posted - 2011.03.24 20:44:00 -
[706]
Originally by: Zeta Zhul
Originally by: Devilcrafter Hey I got a question I've been using your libraries to build my own tool (like the rest is here) in c# but I'm looking for the assets flag attribute. I can't find it anywhere and I need it to filter out fitted items on ships in some sort off asset viewer part of the tool. So if anyone has an idea how to find the attribute plz tell me :D
Anywayz gj on the libraries it makes it so much easier for starting programmers ^^
Look for these values in the Container field when pulling/querying assets:
Cargo DroneBay SlotHigh1 SlotHigh2 SlotHigh3 SlotHigh4 SlotHigh5 SlotHigh6 SlotHigh7 SlotLow1 SlotLow2 SlotLow3 SlotLow4 SlotMedium1 SlotMedium2 SlotMedium3 SlotMedium4 SlotMedium5 SlotMedium6 RigSlot1 RigSlot2 RigSlot3
These are pretty self-explanatory.
Then there is:
OfficeSlot13 - your office
CorporationMarket - your Corporation Delivery Hangar (e.g. the stuff you bought using corp master wallet will end up here)
Hangar - if the data is pulled from the character assets then this is the personal hangar, if the corp assets then the corp hangar.
...
So if an asset is in a container called "Cargo" then it is located in the cargo bay of a ship. If in RigSlot1, then the rig has been installed. If in a DroneBay, then the drone has been loaded onto a ship for use. If in CorporationMarket then it is something you bought using the corp master wallet and is now sitting in a Delivery Hangar somewhere.
Nice that works man :D now bit off improving the code here and there :P ^^
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.03.25 17:08:00 -
[707]
I don't know if this has been addressed already, I'm going to be doing some searching, but EveAI isn't returning all of my data.
1. Specifically I'm getting 50 corporation wallet journal entries. For a week. I do thousands of transactions a day. I know CCP changed the api on the wallet journal but I really don't see any way of both using EveAI and getting all of those corporation wallet journal entries. Any advice or help would be greatly appreciated.
2. I'm getting 1,000 corporation wallet transactions. Just want to confirm that the operating principle for CCP's corporation wallet transactions api is 1,000 transactions or 1 week, whichever is less.
Thanks for any help.
|

Sylas Saken
|
Posted - 2011.03.26 00:10:00 -
[708]
Anyone figure out how to get the list of unread emails? Looks like CCP depricated IsRead off of Messages, but there is a IsRead on Notifications ... but even though I have notifications, nothing comes through on EveAi.
|

Sylas Saken
|
Posted - 2011.03.26 00:19:00 -
[709]
Originally by: Amida Ta
Originally by: Sylas Saken Is there anyway you could offload the requests to a thread other than the UI thread? It causes the test app to appear to lock up as it is trying to get information. If you need help with it, I can show you how it is done. It shouldn't take more than an hour to fix.
I'm not sure I understand you.
EveAI is mostly thread-save (manual configuration with EveApiConfiguration is not, but after your are done it should be). So you can use as much threading as you need (e.g. to keep your UI responsive while EveAI is downloading/parsing data).
The test app does not use any multithreading because well it's an test app. I don't really care if the UI hangs for a few seconds and it's for testing things (which gets more complicated if threading is involved).
No problem, it was just a request and obviously not important. It was a simple change I thought you might be up for. :) I'd rather you add more features!
|

Jognu
French Kiss Singularity Astromechanica Federatis
|
Posted - 2011.04.06 09:49:00 -
[710]
Any date for the next release ? (need the corporation member security fix)
|
|

Tosana
|
Posted - 2011.04.06 21:30:00 -
[711]
Another minor issue :) getCharacterKillLog and GetCorporationKillLog don't return victim's alliance name. Curious since alliance ID is there.
Also looking forward to updates:)
|

Viktor Rasmussen
Gallente Eagle's Club
|
Posted - 2011.04.19 08:04:00 -
[712]
Can somebody please explain to me why I get 2000 entries with this call, where the following is true: entries[x] == entries[x-1000] for all x > 1000 ?? Means: starting at position 1000 all entries are just copies from their counterpart begining at 0
AuthenticationData auth = new AuthenticationData(); auth.UserID = UserID; auth.ApiKey = ApiKey; auth.CharacterID = CharacterID;
CorporationWalletTransactionApi api = new CorporationWalletTransactionApi(); api.AuthenticationData = auth; api.UpdateData(EveApiBase.UpdateCharaceristics.OnlineOnly); api.BeforeTransaction = LastTransactionID; api.IgnoreMemoryCache = true; api.MultiPartRequestIgnore = false; api.UpdateData();
|

Agnemon
|
Posted - 2011.05.08 08:11:00 -
[713]
EveAI v1.5 Can someone show me an efficient way of extracting a list of all buildable blueprints including sov and POS structures and T3.
if I use product.Group.Category.Name == "Blueprint"
I have to set up if statements to exclude un wanted items (lots)
This is causing me to lose what little hair I have left
Thanks in advance
|

Agnemon
|
Posted - 2011.05.22 02:16:00 -
[714]
Deep clone question.
EveApi eveApi = new EveApi(); EveAI.DataCore dataCore = new EveAI.DataCore(); EveAI.Product.ProductType bp = new EveAI.Product.ProductType();
I want to deep clone bp (which is always going to be a blueprint) to another object that has all the data of bp plus 3 extra fields (ME, PE and Runs. all ints) added for each blueprint in the tree.
example: Buzzard Blueprint
bp.Blueprint.ManufacturingBaseMaterials[7].Type = "Magpulse Thruster"
so I would like to add the 3 extra fields to both the "Buzzard" blueprint and to the "Magpulse Thruster" blueprint.
anyone have any suggestions?
|

epsilonion
|
Posted - 2011.06.10 10:08:00 -
[715]
I am having problems parsing the VB code below, As i have spoken in another thread That I am new to this, it seems to be a carefully guided secret how to parse the object...
If you can help please, I would like to get members for the corp from the returned info.
I tried Eveai got the api in webdata but again could not get anything to work with it...
I would prefer to use it on a website but hey just to get it working would be great..
==============================================================================
Imports System.Net Imports System.Text Imports System.IO Imports System.Xml Imports System.Object Imports System.Xml.XmlReader Imports System.Xml.Serialization Imports System.Web.UI.Page
Public Class _Default
' Inherits SerializableData
Public Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim userID As String = "xxxxxxxxx" 'txtUserID.Text Dim CharacterID As String = "xxxxxxxxxxxx" Dim apikey As String = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ' txtAPIKey.Text
' Set the URL to retrieve data Dim remoteURL As String = "https://api.eveonline.com/corp/MemberTracking.xml.aspx"
' Set the POST data Dim postData As String = "userID=" & userID & "&characterID=" & CharacterID & "&apikey=" & apikey
' Create the requester Dim request As HttpWebRequest = CType(WebRequest.Create(remoteURL), HttpWebRequest)
' Setup request parameters request.Method = "POST" request.ContentLength = postData.Length request.ContentType = "application/x-www-form-urlencoded"
' Setup a stream to write the HTTP "POST" data Dim WebEncoding As New ASCIIEncoding() Dim byte1 As Byte() = WebEncoding.GetBytes(postData) Dim newStream As Stream = request.GetRequestStream() newStream.Write(byte1, 0, byte1.Length) newStream.Close()
' Prepare for a response from the server Dim response As HttpWebResponse = CType(request.GetResponse(), HttpWebResponse) ' Get the stream associated with the response. Dim receiveStream As Stream = response.GetResponseStream() Dim readStream As New StreamReader(receiveStream, Encoding.UTF8) Dim webdata As String = readStream.ReadToEnd()
TextBox1.Text() = webdata <<--- does not work says can not convert to value '================ ========================================= ' Now we have the API XML lets parse the XML and put the corp members into a database.
'=========================================================================
End Sub
Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
End Sub End Class
|

romex987
|
Posted - 2011.06.10 10:41:00 -
[716]
using vs 2010 you get this following error
Warning1The referenced assembly "EveAI.Design" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client". Please remove references to assemblies not in the targeted framework or consider retargeting your project.WindowsApplication4
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.06.22 01:03:00 -
[717]
They broke EveAI in the GetCharacterWalletTransactions() API call.
.NET reported "Value was either too large or too small for an Int32."
As this was on one of my major trading characters I assume this means the number of transactions was too big? *shrug* who knows.
|

Assaj Ventress
|
Posted - 2011.06.22 15:29:00 -
[718]
Edited by: Assaj Ventress on 22/06/2011 15:29:57
Originally by: Zeta Zhul They broke EveAI in the GetCharacterWalletTransactions() API call.
.NET reported "Value was either too large or too small for an Int32."
As this was on one of my major trading characters I assume this means the number of transactions was too big? *shrug* who knows.
http://www.eveonline.com/devblog.asp?a=blog&bid=924
Specifically
Quote: WalletTransactions - transactionID is now a 64bit integer instead of 32. This applies to both char/ and corp/ pages, .csv and .xml.
Hope this helps -----------------
|

Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2011.06.23 01:40:00 -
[719]
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
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.06.24 17:16:00 -
[720]
Well no word as yet on this being fixed.
|
|

Viktor Rasmussen
Gallente Eagle's Club
|
Posted - 2011.06.30 17:07:00 -
[721]
Edited by: Viktor Rasmussen on 30/06/2011 17:07:37 Yeah, a fix would be awesome. I think this can't be too complicated since one only need to chance int32 to int64. However maybe the author of this great tool is in holiday :-)
|

Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.06.30 21:30:00 -
[722]
I decompiled this library a while ago and keep it up-to-date for my needs. So I looked into the issue with transactionID being int64 now, and can't confirm it. WalletTransactionApi reads transactionID into a long(which is int64) using this line of code:
item.TransactionID = EveApiBase.ReadXmlInt64(node2, "transactionID");
So most likely you encountered a strange bug in the API(I can't reproduce the error, too. It just gets me the WalletTransactions fine), or you're not using the latest version(1.5.0a), which was released on page 23.
And don't ask me to release my modified version or even the source. Amida Ta made very clear that he does not want to release the source.
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.07.01 00:47:00 -
[723]
*shrug* I'm using 1.5.0a and just double-checked it to make sure.
Oh well. I was thinking of making a php/mysql version of my trading app anyways. Or maybe not and just give eve a miss for a few months.
|

Lidl Markt
|
Posted - 2011.07.04 07:47:00 -
[724]
Edited by: Lidl Markt on 04/07/2011 07:47:39 *removed*
|

Viktor Rasmussen
Gallente Eagle's Club
|
Posted - 2011.07.04 08:08:00 -
[725]
I use the 1.5.0 api. This is the code where the exception occours:
CorporationWalletTransactionApi api = new CorporationWalletTransactionApi(); api.AuthenticationData = auth; api.IgnoreMemoryCache = true; api.MultiPartRequestIgnore = true; api.UpdateData(); <- Exception with in32 not beeing int64[1]
And I don't know what I can do to not trap into this exception. The interesting thing in the exception is the "EveAI.Live.EveApiBase.ReadXmlInt32" thing. You just told me that the API use ReadXmlInt64!?
[1] System.OverflowException wurde nicht behandelt. Message=Der Wert fnr einen Int32 war zu groŻ oder zu klein. Source=mscorlib StackTrace: bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) bei System.Int32.Parse(String s, IFormatProvider provider) bei EveAI.Live.EveApiBase.ReadXmlInt32(XmlNode node, String attributeName) bei EveAI.Live.Utility.WalletTransactionApi.ProcessXmlData(XmlNode resultNode, Boolean clearExistingData) bei EveAI.Live.EveApiBase.UpdateDataInternal(String data, XmlDocument& document, Boolean liveData, Boolean ignoreCacheDate) bei EveAI.Live.EveApiBase.UpdateDataFromWeb() bei EveAI.Live.EveApiBase.UpdateData(UpdateCharaceristics updateCharacteristics) bei EveAI.Live.EveApiBase.UpdateData() bei EveHelper.EveApiContext.LoadCorporationTransactions() in C:\Entwicklung\EveHelper.net\EveHelper\EveApiContext.cs:Zeile 176. bei EveHelper.Markt.MarktPanel.callAPIBtn_Click(Object sender, EventArgs e) in C:\Entwicklung\EveHelper.net\EveHelper\Markt\MarktPanel.cs:Zeile 417. bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) bei System.Windows.Forms.ToolStripButton.OnClick(EventArgs e) bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ScrollableControl.WndProc(Message& m) bei System.Windows.Forms.ToolStrip.WndProc(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.Run(Form mainForm) bei EveHelper.Program.Main(String[] args) in C:\Entwicklung\EveHelper.net\EveHelper\Program.cs:Zeile 70. bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart() InnerException:
|

Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.07.06 18:01:00 -
[726]
Alright, i think i found the problem. I uploaded a modified version here: http://eve-files.com/dl/245266 This is built against .NET Framework 4 Client Profile, as I made some personal changes that require it. For me this version works just like the original one. There are no changes to the Api. However, i made some personal modifications to it, so i cannot guarantee that it's 100% perfect.
|

Isha Can
|
Posted - 2011.07.07 01:11:00 -
[727]
Hey there been using the library for a few days now and I can't for the life of me find how to convert from solar system name to solar system id. Also when ever i use static data it always seems to be empty am I using the library wrong do I have to load the data some how. For instance the getSoverentystatus method returns an empty list. Any help would be much appreciated thanks
|

TradeJit
|
Posted - 2011.07.07 16:22:00 -
[728]
nice work, may u can fix the function: .GetCorporationStarbaseDetail() ?
|

TradeJit
|
Posted - 2011.07.08 07:46:00 -
[729]
tested the other functions, worked perfect so far. nice work! |

Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.07.08 10:51:00 -
[730]
I never used this function, and in a quick test I could not find any problems. What's wrong with it? |
|

TradeJit
|
Posted - 2011.07.08 12:13:00 -
[731]
this function still want¦s to have a int as argument, but must be long (x64) |

Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.07.09 13:53:00 -
[732]
Edited by: Yar''vak on 09/07/2011 13:53:04 Strange, the whole backend already uses long, i just had to change the parameter from int to long. Fixed version here: http://eve-files.com/dl/245597 |

TradeJit
|
Posted - 2011.07.11 08:53:00 -
[733]
all working perfect now! didn¦t noticed any errors, good work man!
|

Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.07.25 04:26:00 -
[734]
bumpity
|

Jognu
French Kiss Singularity Astromechanica Federatis
|
Posted - 2011.07.30 17:11:00 -
[735]
Nice to see that someone maintain the project ! Can you look at the GetCorporationMemberSecurity() function (it return nothing), Amida say that he fix it but he never publish the release !
Thanks !
|

GLotsapot
Amarr AeonTek
|
Posted - 2011.08.02 01:29:00 -
[736]
It's a pitty this isn't a maintained project. Since the API will be changing at the end of the month, I'm not sure how long they'll be leaving the old API system up and running (especially since all new API's generated will be using the new system)
See following link for details: Customizable API key update
|

Jenny Aakiwa
|
Posted - 2011.08.11 07:11:00 -
[737]
Edited by: Jenny Aakiwa on 11/08/2011 07:18:08 Edited by: Jenny Aakiwa on 11/08/2011 07:12:22 [Deleted] Didn't notice above comments.
By the way, shouldn't the API library code be published to everyone so that everyone can maintain it and not JUST the creator?
|

Krathos Morpheus
Legion Infernal
|
Posted - 2011.08.11 12:42:00 -
[738]
Originally by: Jenny Aakiwa Edited by: Jenny Aakiwa on 11/08/2011 07:18:08 Edited by: Jenny Aakiwa on 11/08/2011 07:12:22 [Deleted] Didn't notice above comments.
By the way, shouldn't the API library code be published to everyone so that everyone can maintain it and not JUST the creator?
Do you think every single line of code you write should be published so everyone can use it as they want? Why should it?
|

Ray McCormack
Nordar Innovations.
|
Posted - 2011.08.13 07:58:00 -
[739]
Originally by: GLotsapot It's a pitty this isn't a maintained project. Since the API will be changing at the end of the month, I'm not sure how long they'll be leaving the old API system up and running (especially since all new API's generated will be using the new system)
See following link for details: Customizable API key update
The shift to customisable API keys shouldn't have any impact on how this library behaves as no change is made to the API request URI.
|

Jenny Aakiwa
|
Posted - 2011.08.14 05:09:00 -
[740]
Originally by: Krathos Morpheus
Originally by: Jenny Aakiwa Edited by: Jenny Aakiwa on 11/08/2011 07:18:08 Edited by: Jenny Aakiwa on 11/08/2011 07:12:22 [Deleted] Didn't notice above comments.
By the way, shouldn't the API library code be published to everyone so that everyone can maintain it and not JUST the creator?
Do you think every single line of code you write should be published so everyone can use it as they want? Why should it?
Because this isn't a commercial work and beside there are a lot of open source software that were originally private and in a long run, the software that were widely used will become much more improved as it is supported by the community.
|
|

Capt 0bvious
Adaptes Astartes
|
Posted - 2011.08.14 08:11:00 -
[741]
Can anyone give me some sample code to use in visual studio 2010 express? I'm trying to learn programming (online courses and such), but im not on the level yet where i can change the VB examples to c#.
Also it gives me errors when the code seems to be ok at some point. However i think that gas to do with me being a noob :-)
|

Ray McCormack
Nordar Innovations.
|
Posted - 2011.08.14 08:34:00 -
[742]
Originally by: Capt 0bvious change the VB examples to c#.
http://www.developerfusion.com/tools/convert/vb-to-csharp/
|

Capt 0bvious
Adaptes Astartes
|
Posted - 2011.08.14 08:47:00 -
[743]
Ah!
Cheers, thanks for that!
|

Krathos Morpheus
Legion Infernal
|
Posted - 2011.08.14 19:03:00 -
[744]
|

Raiikon Xzinlai
|
Posted - 2011.08.14 21:11:00 -
[745]
Originally by: Ray McCormack
Originally by: Capt 0bvious change the VB examples to c#.
http://www.developerfusion.com/tools/convert/vb-to-csharp/
I actually just used that to help me with some code I could only find in VB. It is pretty good, though I still needed to make a few minor adjustments to get it correct in C#.
I am having a small issue with my caching. I want to write my own cache files but cannot seem to stop EveAI from caching. Is setting PersistData to false not the method?
CalenderUpcomingEventsApi calEvApi = new CalenderUpcomingEventsApi(); calEvApi.AuthenticationData = auth; calEvApi.PersistData = false; calEvApi.UpdateData(); List<CalendarEventItem> calEv = calEvApi.Data;
Thanks |

Capt 0bvious
Adaptes Astartes
|
Posted - 2011.08.15 08:04:00 -
[746]
Ha, still getting some errors when copy/pasting for example the vb.net code into the translator and then into VS.
But that is just me, will have to learn more about programming :p
|

Odin Lister
Gallente Flashpoint Industries
|
Posted - 2011.08.16 12:46:00 -
[747]
Hey Great work Amida on EVEAI.
Any chance you can post a code snippet for making requests to eve-central.
Using 2.0 i think thats the version for .net 4
Cheers Odin
|

Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.08.17 07:12:00 -
[748]
There is no Eve Central Api included in EveAI.
|

Odin Lister
Gallente Flashpoint Industries
|
Posted - 2011.08.17 08:43:00 -
[749]
Originally by: Yar'vak There is no Eve Central Api included in EveAI.
Uhm ok, i might be wrong what is the eveai.live.market namespace?
It contains:
EveCentralMarketApi EveMetricsApi MarketApi MarketExecption ProductStatistics TradeQuote
____________________________________ If it helps Compatible Version: 1.5 User Agent: EveAI/2.0.0.0 Api Config: 2.0.0.0
|

Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.08.18 17:45:00 -
[750]
uhm, never seen them before. And i thought i'd know all parts of the lib.
|
|

Crias Taylor
GoonWaffe Goonswarm Federation
|
Posted - 2011.08.22 04:28:00 -
[751]
Edited by: Crias Taylor on 22/08/2011 05:11:38 How would one call EVEAI to lookup a corporationID from GetAllianceData()? I can't seem to find how to get it to do a lookup for Character/Corp ID/Names.
NVM, Found what I was looking for.
http://www.eveonline.com/ingameboard.asp?a=topic&threadID=654430&page=5#123
|

Odin Lister
Gallente Flashpoint Industries
|
Posted - 2011.08.24 14:53:00 -
[752]
I'm trying to get the quantity or ore i have as assets.
Dim oreList As New Character.CharacterAssetApi oreList.AuthenticationData = GetEveAuth() oreList.UpdateData(EveApiBase.UpdateCharaceristics.Default) Dim o = oreList.Data For Each i In o Dim q = i.TypeID Dim q1 = i.Quantity Dim q2 = OreContractsEntities.SecondaryOreTypes.SingleOrDefault(Function(p) p.TypeID = q) If q2 IsNot Nothing Then q2.UnitsInHangar = q1 OreContractsEntities.SaveChanges() End If Next
That code works to and retrieves ore in my hangar. However i use a station container in my hangar and i would like to know how i would iterate through the contents of that container.
Regards and thanks in for any help offered Odin
|

Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.08.30 11:34:00 -
[753]
I'll try to make this lib ready for the new api system on thursday, and i'll also try to add the Contracts api, but that got a lower priority.
|
|
|
|
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 .. 26 :: [one page] |