These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

EveAI Live (EVE-Online API/class library for .Net/ C#/ VB.Net)

Author
Jognu
French Kiss Singularity
#21 - 2011-11-17 09:51:43 UTC
You can use api.getApiKeyInfo().Characters, it returns a List of AccountEntry which contains :
long characterID;
long corporationID;
string corporationName;
string name;

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

Jognu
French Kiss Singularity
#22 - 2011-11-20 00:38:37 UTC
New release !

Quote:
Version 2.0.5

  • Implementation of Contracts API for character and corporation.
  • Implementation of ContractItems API for character and corporation.
  • Implementation of ContractBids API for character and corporation.
  • Items in the AssetList now include a rawQuantity.
  • MarketOrders now includes "an optional "orderID" parameter that can be provided to fetch any order belonging to your character/corporation".
  • CharacterInfo now includes employment history.

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

Unhold
Arkon Industries
#23 - 2011-11-21 15:18:50 UTC
Jognu wrote:
You can use api.getApiKeyInfo().Characters, it returns a List of AccountEntry which contains :
long characterID;
long corporationID;
string corporationName;
string name;


I have the following lines here:

For Each KeyID In ids.getApiKeyInfo().Characters
ListBox1.Items.Add(KeyID)
Next

But it returns only two Charnames with theire Corp names in the Form:

Char Name - Corp Name

Nothing else.
Or I maybe don't know how to query the char ID.

Please help me out.

Thanks!
Jognu
French Kiss Singularity
#24 - 2011-11-21 15:31:22 UTC  |  Edited by: Jognu
In fact getApiKeyInfo().Characters return a List of AccountEntry objects.

So with your code you should do :
ListBox1.Items.Add(KeyID.CharacterID) and you have the characterID.

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

Unhold
Arkon Industries
#25 - 2011-11-21 16:16:38 UTC
Jognu wrote:
In fact getApiKeyInfo().Characters return a List of AccountEntry objects.

So with your code you should do :
ListBox1.Items.Add(KeyID.CharacterID) and you have the characterID.


Ah! I see! It works.
Many Thanks for your help!
Unhold
Arkon Industries
#26 - 2011-11-24 10:17:58 UTC
Hi Jognu,

I have another beginner question. ;)
How do I query the IDs eg. a skill to get the item name?

Many Thanks!

Unhold
Maria delArtos
Teros Commercial Enterprises
#27 - 2011-11-24 23:09:12 UTC  |  Edited by: Maria delArtos
Anyone else had any trouble adding the DLLs into an app? I'm using VS 2008, but I can't get it to recognize either the EveAI.Core or EveAI.Live. The Ionic one loads in fine. I tried test apps in both C# and VB, and neither seem to work. I suspect I'm missing something obvious - any ideas?

Cheers!


Update:
Doh! Figured it out. Apparently the new version is compiled for the .net 4.0 framework, which VS2k8 doesn't support. Might be worth mentioning that somewhere on the post/wiki for EveAI! Guess I'll go grab the VS 2k10 express now... Big smile
Jognu
French Kiss Singularity
#28 - 2011-11-26 15:47:49 UTC
Unhold : try the functions on the DataCore class.
For example you have : FindName or FindProductType.

Maria delArtos : yes sorry, I'll add a mention that the 4.0 framework is needed !

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

Jognu
French Kiss Singularity
#29 - 2011-11-26 20:10:53 UTC
Sorry for the double post.
In fact I don't know why the .NET framework was set to 4.0.

Take this release : http://dl.eve-files.com/media/1111/EVEAI_2.0.6.zip
It's in .NET framework 2.0 ;)

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

Jognu
French Kiss Singularity
#30 - 2011-11-30 22:01:39 UTC
EveAI 2.1.0 !

Quote:
Version 2.1.0

  • News statics datas for Crucible_1.0_57975

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

Novers
Imperial Academy
Amarr Empire
#31 - 2011-12-01 03:40:18 UTC
Hey,
since the EvE update to Crucible, i can`t use "SkillInTraining" .


Greetings
Novers
Jognu
French Kiss Singularity
#32 - 2011-12-01 12:58:57 UTC
Did you try with the EveAI 2.1.0 ?

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

Novers
Imperial Academy
Amarr Empire
#33 - 2011-12-01 13:13:38 UTC
Jognu wrote:
Did you try with the EveAI 2.1.0 ?


Yes, with .05, .06, 1.0
Jognu
French Kiss Singularity
#34 - 2011-12-01 13:19:07 UTC
Ok, I will investigate !

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

Jognu
French Kiss Singularity
#35 - 2011-12-01 13:50:17 UTC
Try with this!

Quote:
Version 2.1.0.1

  • Fix an issue in SkillTree (impact on SkillInTraining)

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

Novers
Imperial Academy
Amarr Empire
#36 - 2011-12-01 14:16:57 UTC
Works well with Version 2.1.0.1

Thanks for your great work !
Modescond
Twilight Military Industrial Complex
#37 - 2011-12-04 07:26:38 UTC
Thanks for the update!

Btw, two feature requests.

1) Can we remove the bundled static data from the main DLL? (or at least provide one w/o it?)
2) Can we get market methods that don't require the static data objects?

I write a manufacturing app which already bundles a good portion of the static data and i've been duly ignoring the static data included in this library, however, it nearly doubles my app. The only time I ever reference it is when i'm querying for price checks.

Thanks,

Modescond
Igor Ellecon
RED GUARD.inc
Northern Coalition.
#38 - 2011-12-05 12:21:19 UTC
Many thanks for this.Big smile
How i can get pilot names for corp market orders?
Jognu
French Kiss Singularity
#39 - 2011-12-07 13:16:34 UTC
Modescond wrote:
Thanks for the update!

Btw, two feature requests.

1) Can we remove the bundled static data from the main DLL? (or at least provide one w/o it?)
2) Can we get market methods that don't require the static data objects?

I write a manufacturing app which already bundles a good portion of the static data and i've been duly ignoring the static data included in this library, however, it nearly doubles my app. The only time I ever reference it is when i'm querying for price checks.

Thanks,

Modescond

I don't think that's possible, there is a lot of links with the static data.

Igor Ellecon wrote:
Many thanks for this.Big smile
How i can get pilot names for corp market orders?

Pilot name of the vendor ?

EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803

Modescond
Twilight Military Industrial Complex
#40 - 2011-12-07 16:12:58 UTC
The static data code last time i checked, already looked for the embeded zip file, not finding that, it looked for an external file. Not finding that it threw an error.

For those of us that never use it, it's just extra bloat.