open All Channels
seplocked EVE Technology Lab
blankseplocked EveAI Live (EVE-Online API/class library for .Net/ C#/ VB.Net)
 
This thread is older than 90 days and has been locked due to inactivity.


 
Pages: first : previous : ... 4 5 6 7 [8] 9 10 11 12 ... : last (26)

Author Topic

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

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.

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

Ash Donai
Minmatar
Kanu Industries
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
Scrap Metall Industries
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

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);

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

Rannoc
Life Eternal
Bedlam Alliance
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]
 

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. 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. Again, the Character Sheet hangs both mine and the test app. 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).

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
Gentlemen's Agreement
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 ? )

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.

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.

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

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. Very Happy

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. Very Happy


Looking forward to that. I think it would be the first donation ever that I get for EveAI.Live.

Commander Ashik
Minmatar
Jolly Roger Services
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

Aelena Thraant
The Executives
IT Alliance
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.

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...

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

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.

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.


Pages: first : previous : ... 4 5 6 7 [8] 9 10 11 12 ... : last (26)

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only