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) |
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 :) |
|
|
|
|
Pages: 1 2 3 4 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19 20 .. 26 :: one page |
First page | Previous page | Next page | Last page |