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

Osku Rei
Caldari Knights of the Old Empire AAA Citizens
|
Posted - 2009.07.13 19:18:00 -
[301]
nvm i think i posted in the wrong topic :S Travian - Free webbased MMO/RPG >>LINK<<< - If you get to 75 or more population ill give you some resources + help :D(uk6) |

Osku Rei
Caldari Knights of the Old Empire AAA Citizens
|
Posted - 2009.07.15 23:20:00 -
[302]
actually my question still stands, how do i get and display the starbaselist, theres so many different methods, im guessing its StarbaseListEnrty ?? Travian - Free webbased MMO/RPG >>LINK<<< - If you get to 75 or more population ill give you some resources + help :D(uk6) |

Xiola Umbar
Minmatar Iron Dragon Industries
|
Posted - 2009.07.16 08:14:00 -
[303]
Originally by: Wodeki Is there any way to determine the researched ME/PE levels of a blueprint if you own the item? The Blueprint object does not seem to contain this information, although I do know that it is contained within the game. I am not certain if the Eve API even supports passing this information.
This.
I'm loving the look of this framework, but I need detailed blueprint info for the app I've started to write. Is it available via the framework?
Many thanks for your hard work btw.
|

Xiola Umbar
Minmatar Iron Dragon Industries
|
Posted - 2009.07.16 20:25:00 -
[304]
Hi all,
I'm a bit confused by the whole core data thing...can someone explain please.
For example, I've successfully loaded a DataCore object into memory that holds all my product types, which is fine. I can see all the product types in there, and it's all good.
I've now loaded all my assets for my character, and I want to compare the two, but the Product Type objects within the Data Core don't seem to have a TypeId visible, so how do I match them?
I've read through this whole thread but can't seem to find an answer - can anyone help?
Many thanks XU
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.07.16 22:58:00 -
[305]
Originally by: Xiola Umbar
I've now loaded all my assets for my character, and I want to compare the two, but the Product Type objects within the Data Core don't seem to have a TypeId visible, so how do I match them?
I've read through this whole thread but can't seem to find an answer - can anyone help?
Many thanks XU
Call FindProductType (typeID) on the datacore object and you will get the object you are looking for... BTW: you shouldn't need to use that. If you get a TypeID back then the resulting object should also have a Type property that directly gives you the type. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Gekkoh
Caldari Rule of Five The Junta
|
Posted - 2009.07.18 03:47:00 -
[306]
Originally by: Amida Ta
Originally by: Yaghi Hi, is there anyway to convert a string e.g. "Depleted Uranium L" to it's ID? I found this: Public Function GetIdForObject(ByVal eveAiObject As Object) As Integer but i don't know how to create the eveAiObject in VB. Can u give me some help, or is there a better way to do it?
You cannot create that object yourself. You will have to use an existing one. ProductType type = api.EveApiCore.ProductTypes.Find (...); // Check for name equality here
I can't seem to use Find, as I get this error:
Error2'System.Collections.Generic.ICollection<EveAI.Product.ProductType>' does not contain a definition for 'Find' and no extension method 'Find' accepting a first argument of type 'System.Collections.Generic.ICollection<EveAI.Product.ProductType>' could be found (are you missing a using directive or an assembly reference?)
Basically, what I want to do is get the id with the name string. I *think* I can do that with First() and FirstOrDefault(), but I'm still trying to make that work.
|

Gekkoh
Caldari Rule of Five The Junta
|
Posted - 2009.07.18 04:00:00 -
[307]
Ha! As usual, I frustrate myself trying to figure it out so long that I finally go and ask a question, only to then quickly solve it afterward.
Here is an example to find the id of a charon: ProductType prod = api.EveApiCore.ProductTypes.FirstOrDefault(ProductType => ProductType.Name == "Charon"); int id = api.EveApiCore.GetIdForObject(prod);
Thanks for all your work on this API. While I do wish I could see the source to learn from, I can't exactly complain since you've made this available in the first place. 
|

Ray McCormack
hirr
|
Posted - 2009.07.18 11:31:00 -
[308]
Originally by: Gekkoh While I do wish I could see the source to learn from
Reflector
| Petition Ray McCormack! |

Kane Plekkel
We Are The Walrus
|
Posted - 2009.07.29 21:58:00 -
[309]
Hiya guys. I've just started using EveAI and I'm having a bit of trouble accessing market info. Here's what I have, very basic project so far:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net.NetworkInformation; using EveAI.Live; using EveAI.Live.Market;
EveAI.DataCore dataCore = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(EveAI.DataTypes.Products); EveCentralMarketApi marketApi = new EveCentralMarketApi(dataCore);
EveAI.Product.ProductType product = dataCore.FindProductType(34);
ProductStatistics p = marketApi.GetProductStatistics(product);
Console.WriteLine(marketApi.LastWebUpdateException); Console.ReadLine();
Console.WriteLine(p.Product); Console.WriteLine(p.BuyOrders.Median); Console.ReadLine();
Now, GetProductStatistics is gathering an error upon execution, and I printed the exception to see what it is. Here's what came up:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 38.113.114.184:80 at ... lots of Socket calls...
So i decided to put the ip in my browser, and came up with a page saying "the site you're looking for isn't here yet" or something similar. Now, is this really the case, or am I doing something wrong? I find it hard to believe that this is the case or I think I'd be seeing a ton of "wtf mah programz borked!!!" threads...
Help would be much appreciated, thanks.
|

Kane Plekkel
We Are The Walrus
|
Posted - 2009.07.29 23:53:00 -
[310]
Ah wait, it seems i somehow have port 80 blocked...any ideas on opening this up? I've gone to my router and opened _EVERY_ port, using DMZ, to my laptop, and still not getting through. I'm not sure how to open it for all programs beyond that.
|
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.07.31 16:24:00 -
[311]
Edited by: Amida Ta on 31/07/2009 16:27:31 Edited by: Amida Ta on 31/07/2009 16:24:25 Port 80 is HTTP. I'm pretty sure they don't block that. My assumption would be that you somehow got a wrong IP resolution or eve-central changed their IP recently and it did not yet propagate for you (should solve itself very soon in that case).
BTW: I just tested with the EveAI Testapp and for me it seems to work. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Kane Plekkel
We Are The Walrus
|
Posted - 2009.08.01 01:06:00 -
[312]
Yeah I figure I'll give it a try in a couple weeks, as I have some stuff coming up soon that will be taking most of my time. So i'll probably post back here with those results.
|

Gekkoh
Caldari Rule of Five The Junta
|
Posted - 2009.08.01 04:39:00 -
[313]
Is there some way to access the data that comes from the table invTypeReactions in the data dump?
I could just hard code it into my app, but since I'm doing this as a learning experience (and to make some isk ) I'd rather grab that data from EveAI if possible.
Thanks!
|

yani Ledliv
The Tentacle
|
Posted - 2009.08.09 00:13:00 -
[314]
Hi Tnx for a great api. I am able to use the EveCentralMarketApi and get market data from all regions, but when I try to get some from one spesific region, it just returns values with price like 0. So: am I missing something?
using System; using System.Collections.Generic;
using EveAI.Live; using EveAI.Live.Market; using EveAI.Map;
static class TestMod { public static void GetMarketStats() { int productID = 34; // Testcode, 34=Tritanium int regionID = 10000002; // Testcode, 10000002=The forge EveAI.DataCore dataCore = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(EveAI.DataTypes.Products); EveCentralMarketApi marketApi = new EveCentralMarketApi(dataCore); System.Collections.Generic.List<EveAI.Product.ProductType> products = new System.Collections.Generic.List<EveAI.Product.ProductType>(); EveAI.Product.ProductType product = new EveAI.Product.ProductType(); product = dataCore.FindProductType(productID); products.Add(product); Console.WriteLine("Getting Eve-Central market stat for: " + product.Name.ToString); // Need to reasign core and reader to be able to get region dataCore = new EveAI.DataCore(); reader = new EveAI.StaticDataDataReader(dataCore); reader.Read(EveAI.DataTypes.BasicMapData); EveAI.Map.Region region = default(EveAI.Map.Region); region = dataCore.FindRegion(regionID); // Just test if we was able to get a region if (region.Name.Length > 0) { Console.WriteLine("Region " + region.Name + " is loaded"); } else { Console.WriteLine("Region is NOT loaded"); } System.Collections.Generic.List<EveAI.Live.Market.ProductStatistics> eveCentralProductPrices = new System.Collections.Generic.List<EveAI.Live.Market.ProductStatistics>(); // Get EveCentral values for all regions eveCentralProductPrices = marketApi.GetProductStatistics(products); // Loop products to get prices ProductStatistics ProdStat = new ProductStatistics(); foreach (var ProdStat in eveCentralProductPrices) { // Got prices? if (ProdStat.SellOrders.Median != 0) { Console.WriteLine("All regions: Got a price for " + product.Name); } else { Console.WriteLine("All regions: Did NOT get a price for " + product.Name); } } // Get EveCentral values for one region eveCentralProductPrices = marketApi.GetProductStatistics(products, region); // Loop products to get prices foreach (var ProdStat in eveCentralProductPrices) { // Got prices? if (ProdStat.SellOrders.Median != 0) { Console.WriteLine(region.Name + ": Got a price for " + product.Name); } else { Console.WriteLine(region.Name + ": Did NOT get a price for " + product.Name); } }
Console.ReadLine(); } }
|

Wodeki
|
Posted - 2009.08.13 13:32:00 -
[315]
Is there any way to determine the researched ME/PE levels of a blueprint if you own the item?
|

Vexo M
m3 Corp
|
Posted - 2009.08.14 03:06:00 -
[316]
Perhaps I've missed it, but as far as I can tell, there is no way to look up whether an agent is a locator agent or not from within EveAI. The data is exposed in the agtConfig table of the data-dump (specifically the presence of a row with k=agent.LocateCharacterService.enabled for that agentID). It would seem fairly trivial to add a boolean value to EveAI.Agent indicating whether or not the agent is locator-enabled. Any chance of getting this added?
|

Gehnster
Gallente RED SUN RISING
|
Posted - 2009.08.24 20:26:00 -
[317]
Greetings,
I am thinking of using your lib but I had a couple questions. Why not update the wiki page with all your lib can do? :) http://wiki.eve-id.net/EveAI
When I was first looking for a lib i found three, i was at first not going to look at it since the wiki wasn't very up-to-date and the first post for this thread listed the 1.1 static data as the latest.
Also, what exactly is the license you are using to release this? The wiki says Common-Use, but that could be a number of things. Link to a specific one maybe? :)
Finally, why not actually provide the source code? I know people are saying you can just use a tool to get to it, and you even said it yourself, but still? Why not just make it easier for everyone to provide it then for us to use the tool to get to it.
Thanks. :)
|

Ijam
|
Posted - 2009.08.25 17:19:00 -
[318]
Hi,
I have just started to use this library and I seem to be falling over at the first hurdle...
Any API call I make after the initial constructor for the EveApi gives me three errors:
ClientMissingCacheFile AuthenticationCharacterDoesNotBelongToAccount ClientMissingCacheFile
I know that my UserID and API key is correct as I use the same details in other apps.
Am I initialising the API wrong somehow?
Here is the code I am using...
// Limited EveApi api = new EveApi(12345, "dfgjhdfghjfghjfghjfgjhgfjhgfjhfgjhfgjh"); CharacterSheet charSheet = api.GetCharacterSheet();
if (api.LastErrors.Count() == 0) { Console.WriteLine("Got stuff!"); } else { Console.WriteLine("Error!"); } // endif
Thanks in advance...
|

Gehnster
Gallente RED SUN RISING
|
Posted - 2009.08.25 19:01:00 -
[319]
I've not used it yet, but my guess is you need to let the api know which character you want the info from. Even if you only have one character on your account, it probably doesn't just pull the character list and make the first one listed your default.
|

Ijam
|
Posted - 2009.08.25 22:32:00 -
[320]
Ok, I got it! I needed to use the "AccountEntries" method to return all of my chars and get the CharID to pass in to the EveApi constructor.
Could have done with that on the wiki...
|
|

Wodeki
|
Posted - 2009.09.02 13:33:00 -
[321]
Could you please update the API to include the latest patch updates? These include the new small, medium and large rigging BPO and items. Thanks!!!
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.09.04 11:41:00 -
[322]
EveAI Live Version 1.1.8 has been released!
Changes since last version:
- Updated the static data to Aprocrypha 1.5
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.8.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.09.07 07:29:00 -
[323]
EveAI Live Version 1.1.9 has been released!
Changes since last version:
- Updated market API support for Eve Metrics 2
- Some more documentation
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.1.9.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Polyphony
Dirty Labs
|
Posted - 2009.09.08 04:09:00 -
[324]
Edited by: Polyphony on 08/09/2009 04:14:36 Hi,
Thanks for writing this AI. It has been very useful so far.
Below is a code snippet I'm using to return Eve Central data, but I can't get the function return me a specific product (Zealot) for a specific region (The Forge). The value comes back with all prices at 0.0. If I remove the region from the function, the market info returns. Any idea what I'm doing wrong?
Also, is it possible to have a collection (for each record coming from Eve-Central) in the ProductStatistics type?
EveAI.DataCore dcProduct = new EveAI.DataCore(); EveAI.DataReader reader = new EveAI.StaticDataDataReader(dcProduct); reader.Read(EveAI.DataTypes.Products); EveAI.Product.ProductType product = dcProduct.FindProductType(12003);
EveAI.DataCore dcMap = new EveAI.DataCore(); reader = new EveAI.StaticDataDataReader(dcMap); reader.Read(EveAI.DataTypes.BasicMapData); EveAI.Map.Region mapTheForge = dcMap.FindRegion(10000002);
EveAI.DataCore dcMarket = new EveAI.DataCore(); EveCentralMarketApi marketApi = new EveCentralMarketApi(dcProduct);
ProductStatistics p = marketApi.GetProductStatistics(product, mapTheForge);
|

THE R3APER
Pilots Of Honour Aeternus.
|
Posted - 2009.09.26 16:53:00 -
[325]
I'm a budding programmer making a tool to do various things, one thing at a time. I am using VB.net due to it's simplistic nature. Yes I tried starting with c#...
My question is, in your sig you say this can be used with VB.net, but all examples are written in c# making it hard for me to learn how to access the API information. Does anyone have examples of how to use this API in VB.net? I'd like to stick to one language for now.
|

Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2009.09.28 00:01:00 -
[326]
Well the sample code I wrote is C# only. But on this thread there should be several small VB.Net snippets that may help you a bit. Other than that the API itself is relatively simple (just call methods on the EveApi Class). It shouldn't be very hard to figure out how to do that to VB. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |

Saint Lazarus
Tri-Mining Corp Rising Phoenix Alliance
|
Posted - 2009.10.20 11:53:00 -
[327]
Originally by: Ijam Ok, I got it! I needed to use the "AccountEntries" method to return all of my chars and get the CharID to pass in to the EveApi constructor.
Could have done with that on the wiki...
Anyone mind explaining exactly how this is done? (using c#) -----------------
My EvE Comic
|

Salina Simmons
|
Posted - 2009.10.20 21:43:00 -
[328]
Hi Amida,
great work again. I'm working with EvEAi since 6 months and everthing went well so far. Yesterday i discovered, that there is something wrong. More precisely in a few rare cases i have a problem with the api.GetCorporationWalletTransactions method. Here a short part of my code for a better explanation:
... foreach (CorporationAccount CAccount in CorpWalletlist) { .. api.Authentication.AccountKey = CAccount.Key; List<TransactionEntry> TEntryList = api.GetCorporationWalletTransactions(); .. foreach (TransactionEntry TEntry in TEntryList) { cmd.CommandText = "INSERT INTO ...+TEntry.TransactionID+..+CAccount.Key+CAccount.Description ... } .. }
As you can see, i "walk" through the different corporation accounts and fill the database with each transaction which was booked over the associated account. The point is now, that works in 99.9% of all cases, but unfortunately not in all cases. Over the last months i've collected a few thousand transactions and in a few rare cases i have a problem with the allocation of the wallet key and the wallet description. In this cases my database tells me, that these transactions are booked over the acount key 1003 (with the right description for the account 1003). But i'm sure, that i never did such orders ingame. I also checked that ingame and with other tools and the result is ever the same. These transactions are booked over the account 1004. I'm a little bit confused, because at the moment i have no explanation for that. Another interesting point is, i have a problem with these two fields (key and desription) only. Every other field like TransactionID, ClientID, Quantitiy, StationID and so on is correct.
Do you have an idea why that could happen? A few minutes ago i checked the version of the eveai.live.dll and i saw, that i still used the old version 1.1.4. I changed the reference to the new version 1.1.9. Could that be the reason? Is there anything known like that?
Regards, Salina
|

Salina Simmons
|
Posted - 2009.10.21 18:31:00 -
[329]
Here some aditional informations regarding this case. I spoke with my corpmates which are using my program too. Some have problems - which means they also have transaction entries with a wrong account key in the database - and some have not. For instance i have a transaction in my database with a wrong account key and may corpmates have the same transaction in their database, but with the correct account key.
I hope i did not make a mistake in my code, but i can't see anything that could lead to that problem.
|

Salina Simmons
|
Posted - 2009.10.21 19:05:00 -
[330]
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.
|
|
|
|
|
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 |