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 : ... 18 19 20 21 22 23 [24] 25 26 : last (26)

Author Topic

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]
 

Edited by: Nig C on 04/03/2011 14:03:32
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=6
Minutes=13

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 Smile

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.

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.

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

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

Yar'vak
Morningstar Technologies Ltd.
Shadow of xXDEATHXx
Posted - 2011.03.17 18:05:00 - [703]
 

Edited by: Yar''vak on 19/03/2011 12:36:00
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.


Edit: forget about it. I thought the version in the main-post is up-to-date, but one page before there is a 1.5.0a

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

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

Warning 1 The 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]
 

Edited by: Zeta Zhul on 30/06/2011 15:46:09
Edited by: Zeta Zhul on 27/06/2011 02:10:13
Well no word as yet on this being fixed.

...

edit: I think it's dead Jim!

...

edit: ok the funny has stopped. Unless someone else wants to I'm going to contact the OP and see if I can either get an fixed api lib or the source code and fix it myself.


Pages: first : previous : ... 18 19 20 21 22 23 [24] 25 26 : 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