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
Draugo Rana
Masuat'aa Matari
Ushra'Khan
#141 - 2013-01-29 10:06:39 UTC
Jognu wrote:

Barbasja : EveAI is a private 3rd party project. The source code is not available, because I am unable to contact Amida Ta to ask him the permission to publish the sources.
And if I make no mistake, I cannot publish the source without the authorization of the creator ?
But I won't let the project die, if I stop Eve I'll find someone to maintain EveAI.



That depends on the license of the software that comes with EveAI. Amida is (was?) the copyright holder of the project but what you can or can't do with the software should have been covered by EveAI's license. Agreement between you and him also apply, did he transfer the rights to you? Did he give you permissions to redistribute modified work?

By the way, EveAI comes with no license whatsoever so technically, if you are not allowed to redistribute the source, you are also not allowed to redistribute the binaries. Legally, there is no evidence that we are granted any permission to even use the binaries in our projects so anyone who uses it may be violating copyright.

Personally, I believe that projects of this nature should be open source. I appreciate that there is a lot of work put into these projects and it certainly the right of the owner to decide what he wants to release to the public and what to keep private but I think that if the goal is to benefit the community then the community is better served if the project is open, both from educational and project longevity reasons. I was looking for an EVE C# library to use in one of my projects and was turned off by the lack of available source for EveAI.
Domin Ique
Team Pizza
Good at this Game
#142 - 2013-02-14 19:09:21 UTC
api.GetProductOrders seems to be timing out. it's returning nothing

Quote:
Dim api = New EveAI.Live.Market.EveCentralMarketApi(New EveApi().EveApiCore)

Dim product = api.EveApiCore.FindProductType(34)
'product ID, in this case Tritanium
Dim orders As Market.ProductOrders = api.GetProductOrders(product)



Am I doing something wrong here?

Thanks
Jaden Li
Doomheim
#143 - 2013-02-15 09:17:59 UTC
First of all may I say - great API and very useful. Thanks for maintaining it.

I'm currently experiencing a problem with some code I wrote sometime before Christmas, which used to run perfectly. I've just dug it out as I want to play with it again, yet I am having problems with getting prices from Eve-Central. This could be something which has changed on their site (GET vs POST for example), but I've not seen anyone report the same problem yet.

EveAI.Live.Market.EveCentralMarketApi.GetProductStatistics() is returning null. When I inspect the HTTP traffic with Fiddler, the server is coming back with an Internal Server Error 500. The odd thing is that if I copy and paste the HTTP query and run it in my browser, the site returns the correct XML response without any problems. It seems to be the way the HTTP request is being presented to the server, EVE-Central doesn't like it.

I've tried using the old version of EVEAI (forget which release now, but it was around October last year) and also the most recent version to date. I've tried Windows 7 and 8 (Visual Studio 2010 and 2012 respectively), and also compiled against .NET Framework 3.0 and 4.5 just to try out a few things - always the same problem. I realize that EVE-Central is out of your control, but has anyone else experienced similar behavior at all?

Any ideas?

Thanks.
Jaden Li
Doomheim
#144 - 2013-02-15 10:11:48 UTC
Domin Ique wrote:
api.GetProductOrders seems to be timing out. it's returning nothing

Quote:
Dim api = New EveAI.Live.Market.EveCentralMarketApi(New EveApi().EveApiCore)

Dim product = api.EveApiCore.FindProductType(34)
'product ID, in this case Tritanium
Dim orders As Market.ProductOrders = api.GetProductOrders(product)



Am I doing something wrong here?

Thanks


I'm also getting a null value returned from this method, exactly the same as my post above. IntelliTrace is showing Internal Server Error 500.
Domin Ique
Team Pizza
Good at this Game
#145 - 2013-02-15 17:44:33 UTC
Jaden Li wrote:
Domin Ique wrote:
api.GetProductOrders seems to be timing out. it's returning nothing

Quote:
Dim api = New EveAI.Live.Market.EveCentralMarketApi(New EveApi().EveApiCore)

Dim product = api.EveApiCore.FindProductType(34)
'product ID, in this case Tritanium
Dim orders As Market.ProductOrders = api.GetProductOrders(product)



Am I doing something wrong here?

Thanks


I'm also getting a null value returned from this method, exactly the same as my post above. IntelliTrace is showing Internal Server Error 500.


Ok, glad it's not just me. I agree with your previous post. It sounds like Eve-Central changed their side up on us.
Jognu
French Kiss Singularity
#146 - 2013-02-15 20:17:52 UTC
I'll take a look to that problem !

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

Vessper
Dark Mason Society
#147 - 2013-02-15 22:39:03 UTC
This might be completely wrong but try checking the timeout value on the request to Eve Central. I had the same "500" problem in my app and it was resolved by extending it to a few seconds.

Domin Ique
Team Pizza
Good at this Game
#148 - 2013-02-16 00:58:45 UTC
Vessper wrote:
This might be completely wrong but try checking the timeout value on the request to Eve Central. I had the same "500" problem in my app and it was resolved by extending it to a few seconds.



Where can I find this property? I'm not seeing it anywhere... Thanks!
Vessper
Dark Mason Society
#149 - 2013-02-16 09:22:27 UTC
Looks like that property isn't exposed outside of the library so will need to be looked at by the developer.
Jaden Li
Doomheim
#150 - 2013-02-16 22:09:24 UTC
Not convinced it's a timeout issue. Even if the request took longer than the software was prepared to wait, why would it come back as an Internal Server Error 500?
Sechsflugelengel
Half-Fish Industries
#151 - 2013-02-17 15:51:15 UTC
Hi folks, 0/

I'm having an issue reading the Celestials data. The reader's complaining it cannot find mapDenormalize.csv embedded or externally.

I've got the csv from the dump/StaticDataConverter and was wondering where externally if anywhere it's looking for the csv files?

cheers,

-Sechs
Alana Charen-Teng
Garoun Investment Bank
Gallente Federation
#152 - 2013-02-18 09:23:40 UTC  |  Edited by: Alana Charen-Teng
Sechsflugelengel wrote:
Hi folks, 0/

I'm having an issue reading the Celestials data. The reader's complaining it cannot find mapDenormalize.csv embedded or externally.

I've got the csv from the dump/StaticDataConverter and was wondering where externally if anywhere it's looking for the csv files?

cheers,

-Sechs


I'm also having a similar issue.

One thing I've tried is downloading the 'mapDenormalize.csv' file from this link:
www.fuzzwork.co.uk/dump/retribution-1.1-84566/
and adding it to the static data .zip that comes with EVEAI. When I call the constructor for my StaticDataDataReader, I provide the directory that the static data .zip is located in. This works for DataTypes.BasicMapData. But when I try it with DataTypes.Celestials, I receive a IndexOutOfRangeException.
Jaden Li
Doomheim
#153 - 2013-02-18 17:27:51 UTC
Any progress Jognu?
Jognu
French Kiss Singularity
#154 - 2013-02-20 16:58:38 UTC
Yes, here is the fix : http://dl.eve-files.com/media/1302/EVEAI_2.6.2.1.zip (Fix a 500 internal server error with the eve-central API).

The problem was a content-type header with the value application/x-www-form-urlencoded.

I'll make another release (probably tomorrow) with the new static data.

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

Jaden Li
Doomheim
#155 - 2013-02-20 17:04:12 UTC
Works like a charm - fantastic thanks!

Much love <3
Kenshin Woo
Perkone
Caldari State
#156 - 2013-02-20 22:53:15 UTC  |  Edited by: Kenshin Woo
Jognu wrote:
New release for Escalation with a couple of others fixs/features !

Quote:
Version 2.4.0.1

  • New static data (Escalation_1.0_67593)
  • Add the CharacterLocationsApi, the CorporationLocationsApi and the TypeNameApi
  • Update the MemberTrackingApi so you can use (or not) the advanced mode (thanks to Gorn Che)
  • Add an App.config file which allow to change the cache folder (this file is optionnal, you can delete it)
  • Add the getCharacterNameLookup and the getCharacterIDLookup function
  • WalletJournalApi: fix an infnite loop (thanks to Almeiti du Larr)


I spent about two days looking for CorporationLocationsAPI and was stumped and there is nothing in this thread about it being missing so i continued looking and it seems its under Character.CorporationLocationsApi is this supposed to be here instead of Corporation.CorporationLocationsApi?

This is a great tool thanks for keeping it updated.

While trying to use the Location part I ran into an Unhandled exception

An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll
Additional information: Input string was not in a correct format.

Here is my code http://pastebin.com/zk4Sdip2
Jognu
French Kiss Singularity
#157 - 2013-02-21 12:57:28 UTC
New release !

Quote:
Version 2.6.3.0


Sechsflugelengel & Alana Charen-Teng : just download the complete static data zip and use some code like this :
Quote:
DataCore data = new DataCore();
DataReader test = new StaticDataDataReader(data, @"C:\path\to\the\zip\folder");
test.Read();


Kenshin Woo : I use this and it works well.

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

Kenshin Woo
Perkone
Caldari State
#158 - 2013-02-22 12:12:57 UTC
Jognu wrote:
New release !

Quote:
Version 2.6.3.0


Sechsflugelengel & Alana Charen-Teng : just download the complete static data zip and use some code like this :
Quote:
DataCore data = new DataCore();
DataReader test = new StaticDataDataReader(data, @"C:\path\to\the\zip\folder");
test.Read();


Kenshin Woo : I use this and it works well.


Still get the same error
Jognu
French Kiss Singularity
#159 - 2013-02-22 12:24:54 UTC
Which version of EveAI did you use ?
And did you allow the Location function on your API ?

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

Jaden Li
Doomheim
#160 - 2013-02-22 12:40:42 UTC
Is it possible to get the market history for a product at all? I'm interested in volume of sales and min/max price per day. It's displayed on the history tab in the market in game, but I can't seem to find it in any of the API's.

Thanks.