Pages: 1 2 3 4 5 6 7 8 9 10 11 [12] 13 14 15 .. 15 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 2 post(s) |

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.02.23 19:45:16 -
[331] - Quote
Yeah, I know, update to EveCrest coming shortly, that will be the last one for tonight :P |

Xiaou Bijoun
Fly By Knight Enterprises
0
|
Posted - 2016.02.23 19:53:24 -
[332] - Quote
Not a problem, this is not a urgent issue, just a hobby. Your help is appreciated. You must be in Europe or somewhere close? I am in Eastern U.S.
Thanks again. |

Xiaou Bijoun
Fly By Knight Enterprises
0
|
Posted - 2016.02.23 19:55:02 -
[333] - Quote
Woot, that did it. Get some rest. |

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.02.23 20:03:07 -
[334] - Quote
Finally. EveXml has also been updated, as it had the same issues with the newest version of Core. I'm starting to doubt if it was a good idea to separate as it's becoming a nightmare to keep everything updated. Let me know if you run into any other issues. |

Xiaou Bijoun
Fly By Knight Enterprises
0
|
Posted - 2016.02.24 19:04:22 -
[335] - Quote
I was looking into using the authed crest information and in order to get a refresh token and encoded key, you need to have a developer account and register the application. I got the developer account working. I tried to register my application but the problem is the URL callback. How do you get away with this on a desktop application? I have seen someone mention using localhost with an http listener but this seems problematic. I assume that you have already registered an application because you have a refresh token and encoded key in your EveCrest_Authed_Tests.cs file in the Eve Online Library project. I don't want to use that token and string since they are yours. You probably shouldn't even have them publicly available in the library should you?
Here one of the posts. https://forums.eveonline.com/default.aspx?g=posts&m=6356570#post6356570 |

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.02.24 19:18:42 -
[336] - Quote
Xiaou Bijoun wrote:I was looking into using the authed crest information and in order to get a refresh token and encoded key, you need to have a developer account and register the application. I got the developer account working. I tried to register my application but the problem is the URL callback. How do you get away with this on a desktop application? I have seen someone mention using localhost with an http listener but this seems problematic. I assume that you have already registered an application because you have a refresh token and encoded key in your EveCrest_Authed_Tests.cs file in the Eve Online Library project. I don't want to use that token and string since they are yours. You probably shouldn't even have them publicly available in the library should you? Here one of the posts. https://forums.eveonline.com/default.aspx?g=posts&m=6356570#post6356570
Using a local http server is one solution yeah, there is no easy solution to this. You can use my EveAuthUtility to get the tokens manually. There isn't really much harm in having it public in my case. |

Xiaou Bijoun
Fly By Knight Enterprises
0
|
Posted - 2016.02.26 04:28:01 -
[337] - Quote
In an earlier post you mentioned that there is a place to add your program name in App.Config. How do I go about setting this in my project? |

Xiaou Bijoun
Fly By Knight Enterprises
0
|
Posted - 2016.02.27 00:42:28 -
[338] - Quote
My code was running today but after the shutdown, I am now getting errors on the EveXml.GetCharInfoAsync() function.
System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: For security reasons DTD is prohibited in this XML document. To enable DTD processing set the DtdProcessing property on XmlReaderSettings to Parse and pass the settings into XmlReader.Create method.
I can get you more of the exception information if you need.
Thank you |

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.02.27 08:45:49 -
[339] - Quote
Just add app.config in your project and change configuration->appSettings->eveLib.UserAgent if I remember correctly. It just changes the user agent user for http requests tho.
Let me know if still you have issues after the API is back up.
|

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.02.28 18:56:03 -
[340] - Quote
EveXml v3.0.4 is up, minor bugfix, get it here: https://www.nuget.org/packages/eZet.EveLib.EveXml.
Release notes: https://github.com/ezet/evelib/releases/tag/EveXml_v3.0.4 |
|

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.02.29 20:55:51 -
[341] - Quote
Support for post/put/delete is getting really close, I expect to put up a beta within the new few days. I'm implementing it using an active record pattern, but I'm open to feedback and ideas for other implementations if anyone has input.
An example of adding a new contact:
public async Task AddContact() { var contact = (await (await (await crest.GetRootAsync()).QueryAsync(r => r.Decode)).QueryAsync(r => r.Character)).Contacts.Create(); contact.Contact.Href = "https://crest-tq.eveonline.com/alliances/99000006/"; contact.Contact.Name = "test"; contact.Contact.Id = 99000006; contact.ContactType = "Alliance"; contact.Standing = 0; await contact.Save(); }
Editing:
public async Task DeleteContact() { var contacts = await (await (await (await crest.GetRootAsync()).QueryAsync(r => r.Decode)).QueryAsync(r => r.Character)).QueryAsync(r => r.Contacts); var contact = contacts.Items.Single(r => r.Contact.Id == 99000006); contact.Contact.Standing = 5; contact.Save();
And deleting:
public async Task DeleteContact() { var contacts = await (await (await (await crest.GetRootAsync()).QueryAsync(r => r.Decode)).QueryAsync(r => r.Character)).QueryAsync(r => r.Contacts); var contact = contacts.Items.Single(r => r.Contact.Id == 99000006); contact.Delete();
|

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.03.01 21:09:47 -
[342] - Quote
Can someone tell me whether the fitting resource supports put ? I've got post/put/delete working for contacts, and post/delete for fits, but I can't seem to get put working. Any ideas ? |

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.03.03 17:19:28 -
[343] - Quote
Minor bugfix for EveXml: https://www.nuget.org/packages/eZet.EveLib.EveXml/3.0.5
Notes: https://github.com/ezet/evelib/releases/tag/EveXml_v3.0.5
|

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.03.03 19:39:29 -
[344] - Quote
For anyone wanting to test the post/put/delete features, a fully working version is available here: https://github.com/ezet/evelib/tree/beta
It currently supports all writable endpoints, that is: Contact: post, put, delete Fittings: post, delete Waypoints: post
For examples, please refer to https://github.com/ezet/evelib/blob/beta/EveLib.Tests/EveCrest_Authed_Tests%20.cs
or feel free to ask me.
If you have any concerns, suggestions or any feedback at all, please let me know :)
|

Xiaou Bijoun
Fly By Knight Enterprises
1
|
Posted - 2016.03.13 15:32:44 -
[345] - Quote
Does anyone know who to contact about the public crest server being down? |

Aio Kaze
Black Shell Industries
1
|
Posted - 2016.03.13 16:07:20 -
[346] - Quote
Any time I notice it's down I tweet to @EVE_Status. |

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.03.16 19:18:02 -
[347] - Quote
EveCrest 3.3 is out! This is a major feature release, introducing support for POST, PUT and DELETE requests.
https://www.nuget.org/packages/eZet.EveLib.EveCrest/3.3.0
Release Notes: https://github.com/ezet/evelib/releases/tag/EveCrest_v3.3.0 |

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.03.16 20:17:31 -
[348] - Quote
I'm working on updating the Wiki with documentation for the new features.
https://github.com/ezet/evelib/wiki/Module:-EveCrest#post |

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.03.17 19:40:20 -
[349] - Quote
EveCrest 3.3.2 is out, which cleans up some of the API introduced in 3.3. Relase notes: https://github.com/ezet/evelib/releases/tag/EveCrest_v3.3.2
Also, a new version of EveXml was released yesterday, fixing TrainingStartTime and TrainingEndTime issues with the SkillInTraining endpoint. |

Laura Shimaya
Companion Cube Corp.
0
|
Posted - 2016.03.19 16:30:44 -
[350] - Quote
How to get all MarketTypes or ItemsTypes from Crest?
The following does nothing:
var items = crest.GetRoot().Query(x => x.MarketTypes).AllItems();
or
var items = crest.GetRoot().Query(x => x.ItemTypes).AllItems();
I tried this:
var item = crest.GetRoot().Query(x => x.ItemTypes).Query(x => x.Single(r => r.Name == "Medium Remote Armor Repairer II"));
But this does nothing as wel.
I want to get Items by name and then pass their HREF as a parameter to the following instead of the hardcoded url:
var theforge = crest.GetRoot().Query(r => r.Regions).Query(x => x.Single(r => r.Name == "The Forge")); var orders = theforge.Query(r => r.MarketBuyOrders, "type", "https://public-crest.eveonline.com/types/20414/");
Thanks in advance! |
|

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.03.19 20:19:43 -
[351] - Quote
Laura Shimaya wrote:How to get all MarketTypes or ItemsTypes from Crest?
The following does nothing:
var items = crest.GetRoot().Query(x => x.MarketTypes).AllItems();
or
var items = crest.GetRoot().Query(x => x.ItemTypes).AllItems();
I tried this:
var item = crest.GetRoot().Query(x => x.ItemTypes).Query(x => x.Single(r => r.Name == "Medium Remote Armor Repairer II"));
But this does nothing as wel.
I want to get Items by name and then pass their HREF as a parameter to the following instead of the hardcoded url:
var theforge = crest.GetRoot().Query(r => r.Regions).Query(x => x.Single(r => r.Name == "The Forge")); var orders = theforge.Query(r => r.MarketBuyOrders, "type", "https://public-crest.eveonline.com/types/20414/");
Thanks in advance!
What do you mean by does nothing? Is the list empty, or does the method never return ?
|

Laura Shimaya
Companion Cube Corp.
0
|
Posted - 2016.03.19 22:08:21 -
[352] - Quote
Yes, the follwing method calls never return:
crest.GetRoot().Query(x => x.ItemTypes).Query(x => x.Single(r => r.Name == "Medium Remote Armor Repairer II")) crest.GetRoot().Query(x => x.ItemTypes).AllItems(); crest.GetRoot().Query(x => x.MarketTypes).AllItems();
Update:
Even if the ItemType is in the first page of https://public-crest.eveonline.com/types/ the method call does not return.
Example:
crest.GetRoot().Query(x => x.ItemTypes).Query(x => x.Single(r => r.Name == "720mm Howitzer Artillery I"));
Update 2:
This works because the ItemType is on the first Crest page and thereby in the "Items" collection:
crest.GetRoot().Query(r => r.MarketTypes).Items.Single(i => i.Type.Name == "720mm Howitzer Artillery I");
This gives an exception (InvalidOperationException) because the ItemType is not on the first page:
crest.GetRoot().Query(r => r.MarketTypes).Items.Single(i => i.Type.Name == "Medium Remote Armor Repairer II"); |

Laura Shimaya
Companion Cube Corp.
0
|
Posted - 2016.03.20 02:22:58 -
[353] - Quote
Found another problem:
EveCrest crest = new EveCrest();
var root = crest.GetRoot(); var regions = root.Query(r => r.Regions).Items;
foreach(var re in regions) { Console.WriteLine(re.Href); var reg = crest.Load(re); }
After iterating over 0 - 9 regions the Load method never returns.
Output in Visual Studio:
Quote:EveLib Verbose: 0 : JsonSerializer.Deserialize:Start EveLib Verbose: 0 : JsonSerializer.Deserialize:Complete EveLib Verbose: 0 : EveLibFileCache.LoadAsync:Start EveLib Verbose: 0 : EveLibFileCache:CacheRegisterLookupUri: https://public-crest.eveonline.com/regions/11000007/?
EveLib Verbose: 0 : EveLibFileCache:CacheRegisterLookupHash: 9DD5315EC48497CB991B692B93CD4E701F82885E EveLib Verbose: 0 : EveLibFileCache:CacheRegisterHit: False EveLib Verbose: 0 : EveLibFileCache.LoadAsync:Complete EveLib Error: 0 : Initiating Request: https://public-crest.eveonline.com/regions/11000007/?
EveLib Information: 0 : Response status: OK, OK EveLib Verbose: 0 : From cache: False EveLib Verbose: 0 : EveLibFileCache.StoreAsync:Start EveLib Verbose: 0 : EveLibFileCache:Uri: https://public-crest.eveonline.com/regions/11000007/?
EveLib Verbose: 0 : EveLibFileCache:Cache Expiry: 03/20/2016 03:20:06 EveLib Verbose: 0 : EveLibFileCache:Writing cache data to disk: https://public-crest.eveonline.com/regions/11000007/?
EveLib Verbose: 0 : EveLibFileCache:Writing cache register to disk EveLib Verbose: 0 : EveLibFileCache.StoreAsync:Complete EveLib Verbose: 0 : JsonSerializer.Deserialize:Start EveLib Verbose: 0 : JsonSerializer.Deserialize:Complete EveLib Verbose: 0 : EveLibFileCache.LoadAsync:Start EveLib Verbose: 0 : EveLibFileCache:CacheRegisterLookupUri: https://public-crest.eveonline.com/regions/11000008/?
EveLib Verbose: 0 : EveLibFileCache:CacheRegisterLookupHash: 5568F356C3045BDEC492F47C36EFE87F1C116679 EveLib Verbose: 0 : EveLibFileCache:CacheRegisterHit: False EveLib Verbose: 0 : EveLibFileCache.LoadAsync:Complete EveLib Error: 0 : Initiating Request: https://public-crest.eveonline.com/regions/11000008/?
EveLib Information: 0 : Response status: OK, OK EveLib Verbose: 0 : From cache: False EveLib Verbose: 0 : EveLibFileCache.StoreAsync:Start EveLib Verbose: 0 : EveLibFileCache:Uri: https://public-crest.eveonline.com/regions/11000008/?
EveLib Verbose: 0 : EveLibFileCache:Cache Expiry: 03/20/2016 03:20:06 EveLib Verbose: 0 : EveLibFileCache:Writing cache data to disk: https://public-crest.eveonline.com/regions/11000008/?
EveLib Verbose: 0 : EveLibFileCache:Writing cache register to disk The thread 0x2788 has exited with code 259 (0x103). The thread 0x1be8 has exited with code 259 (0x103). The thread 0x16e0 has exited with code 259 (0x103). The thread 0x2dcc has exited with code 259 (0x103). The thread 0x2cb4 has exited with code 259 (0x103).
So it seems that it tries to write something to the cache file. After that all threads get terminated. Hope that helps! |

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.03.20 09:47:23 -
[354] - Quote
Try updating to EveCrest v3.3.3 and let me know if you still have any issues. |

Icahmura Hasaki
Perkone Caldari State
22
|
Posted - 2016.03.20 09:51:58 -
[355] - Quote
Update 2:
This works because the ItemType is on the first Crest page and thereby in the "Items" collection:
crest.GetRoot().Query(r => r.MarketTypes).Items.Single(i => i.Type.Name == "720mm Howitzer Artillery I");
This gives an exception (InvalidOperationException) because the ItemType is not on the first page:
crest.GetRoot().Query(r => r.MarketTypes).Items.Single(i => i.Type.Name == "Medium Remote Armor Repairer II");[/quote]
This is intended, and is why AllItems() exists. I could overwrite Items but I would rather let users have the option to limit the linq query to the current page if they wish to do so. |

Laura Shimaya
Companion Cube Corp.
0
|
Posted - 2016.03.20 14:49:12 -
[356] - Quote
I updated EveCrest to V3.3.3.0 via NuGet.
It seems that nothing changed. The following calls still timeout / never return:
crest.GetRoot().Query(x => x.ItemTypes).AllItems();
Quote:EveLib Error: 0 : Initiating Request: https://public-crest.eveonline.com/types/?page=3&
EveLib Information: 0 : Response status: OK, OK EveLib Verbose: 0 : From cache: False EveLib Verbose: 0 : EveLibFileCache.StoreAsync:Start EveLib Verbose: 0 : EveLibFileCache:Uri: https://public-crest.eveonline.com/types/?page=3&
EveLib Verbose: 0 : EveLibFileCache:Cache Expiry: 03/20/2016 15:40:36 EveLib Verbose: 0 : EveLibFileCache:Writing cache data to disk: https://public-crest.eveonline.com/types/?page=3&
EveLib Verbose: 0 : EveLibFileCache:Writing cache register to disk The thread 0x1710 has exited with code 259 (0x103). The thread 0xdc4 has exited with code 259 (0x103). The thread 0x1008 has exited with code 259 (0x103). The thread 0x12e0 has exited with code 259 (0x103). The thread 0x17e8 has exited with code 259 (0x103). The thread 0xb0 has exited with code 259 (0x103).
crest.GetRoot().Query(x => x.MarketTypes).AllItems();
Quote:EveLib Error: 0 : Initiating Request: https://public-crest.eveonline.com/market/types/?page=3&
EveLib Information: 0 : Response status: OK, OK EveLib Verbose: 0 : From cache: False EveLib Verbose: 0 : EveLibFileCache.StoreAsync:Start EveLib Verbose: 0 : EveLibFileCache:Uri: https://public-crest.eveonline.com/market/types/?page=3&
EveLib Verbose: 0 : EveLibFileCache:Cache Expiry: 03/20/2016 14:47:16 EveLib Verbose: 0 : EveLibFileCache:Writing cache data to disk: https://public-crest.eveonline.com/market/types/?page=3&
EveLib Verbose: 0 : EveLibFileCache:Writing cache register to disk The thread 0x14b4 has exited with code 259 (0x103). The thread 0x1a8 has exited with code 259 (0x103). The thread 0x160c has exited with code 259 (0x103). The thread 0x1008 has exited with code 259 (0x103). The thread 0x12e0 has exited with code 259 (0x103). The thread 0x126c has exited with code 259 (0x103). The thread 0xc60 has exited with code 259 (0x103).
This gives me between 3 to 5 regions:
EveCrest crest = new EveCrest();
var root = crest.GetRoot(); var regions = root.Query(r => r.Regions).Items;
foreach(var re in regions) { Console.WriteLine(re.Href); var reg = crest.Load(re); }
Quote:EveLib Error: 0 : Initiating Request: https://public-crest.eveonline.com/regions/10000019/?
EveLib Information: 0 : Response status: OK, OK EveLib Verbose: 0 : From cache: False EveLib Verbose: 0 : EveLibFileCache.StoreAsync:Start EveLib Verbose: 0 : EveLibFileCache:Uri: https://public-crest.eveonline.com/regions/10000019/?
EveLib Verbose: 0 : EveLibFileCache:Cache Expiry: 03/20/2016 15:44:04 EveLib Verbose: 0 : EveLibFileCache:Writing cache data to disk: https://public-crest.eveonline.com/regions/10000019/?
EveLib Verbose: 0 : EveLibFileCache:Writing cache register to disk The thread 0xa5c has exited with code 259 (0x103). The thread 0xbec has exited with code 259 (0x103). The thread 0x468 has exited with code 259 (0x103). The thread 0xc4 has exited with code 259 (0x103). The thread 0x6ec has exited with code 259 (0x103).
Quote: This is intended, and is why AllItems() exists. I could overwrite Items but I would rather let users have the option to limit the linq query to the current page if they wish to do so.
Yes, u guess the defference between Items and AllItems is pretty clear. The first one gives the results from the current Crest page the later should iterate over all pages.
This gives an error as "r" does not have a property "Items":
crest.GetRoot().Query(r => r.MarketTypes).Query(r => r.Items.Single(i => i.Type.Name == "Medium Remote Armor Repairer II"));
Thanks for your help! |

Icahmura Hasaki
Perkone Caldari State
24
|
Posted - 2016.03.21 09:25:30 -
[357] - Quote
Oh yes, the MarketTypes endpoint doesn't have the Items property. My point was, if you use Items enumeration within a Query() method, it will request all the pages in the collection, but if you just want to retrieve the full collection, you have to use AllItems().
My tests here are fine with the 3.3.3 version. You can disable the cache by setting the crest.RequestHandler.CacheLevel property, while I look for a solution. |

Icahmura Hasaki
Perkone Caldari State
24
|
Posted - 2016.03.21 18:18:01 -
[358] - Quote
If you are experiencing any issues with deadlocking, ie. methods never returns, please update to Core v3.0.5. |

Laura Shimaya
Companion Cube Corp.
0
|
Posted - 2016.03.21 18:47:40 -
[359] - Quote
Quote: If you are experiencing any issues with deadlocking, ie. methods never returns, please update to Core v3.0.5.
Core 3.0.5 fixed all of my problems! Tremendous work good sir!
Your caching mechanism is excenellent! Queries return nearly instantly even when iterating over all pages:
var item = crest.GetRoot().Query(x => x.ItemTypes).Query(x => x.Single(r => r.Name == "Light Neutron Blaster II"));
This query over 29 Crest pages takes around 1200 ms with a populated cache.
|

Paranid Warrier
Hedion University Amarr Empire
0
|
Posted - 2016.03.21 20:35:53 -
[360] - Quote
Hello, Thank you for your tremendous efforts on creating this .NET library !!! It is very useful. One question, when are you going o implement fetching Buy and Sell region orders ? I see that currently the maximum I can get is the URI of market orders.
Thanks ! |
|
|
|
|
Pages: 1 2 3 4 5 6 7 8 9 10 11 [12] 13 14 15 .. 15 :: one page |
First page | Previous page | Next page | Last page |