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) |
Desmont McCallock
558
|
Posted - 2015.08.11 19:29:20 -
[211] - Quote
Your app doesn't have access to the folder where EVELib is caching. Give your app access to the folder or run your app on an administrator account. |
Syrsyrian
Hounds of War. Hashashin Cartel
2
|
Posted - 2015.08.11 19:51:25 -
[212] - Quote
Run app as administrator? There is no such folder for me to provide permissions for unfortunately. |
Desmont McCallock
558
|
Posted - 2015.08.12 06:49:45 -
[213] - Quote
Looking at the code the EveXmlCache is set to be in users' AppData folder and I have seen many occasions where apps have problems when write access to that folder is denied. But hopefully for you you can set the folder where EveLib should cache in the config file ('appSettings/eveLib.AppData'). |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.08.12 08:50:05 -
[214] - Quote
Yeah, the cache folder is in the users Appdata folder on windows machines. This will be a lot easier to change in the next version, but I haven't gotten around to fix it yet. I'm still out for a few days so I won't be able to fix that quite yet unfortunately. You can try changing the cache path like this
Core.Config.CacheFactory = () => new EveLibFileCache(yourPath + "EveXmlCache", "register");
|
Desmont McCallock
558
|
Posted - 2015.08.12 09:51:42 -
[215] - Quote
Icahmura Hasaki wrote:Yeah, the cache folder is in the users Appdata folder on windows machines. This will be a lot easier to change in the next version, but I haven't gotten around to fix it yet. I'm still out for a few days so I won't be able to fix that quite yet unfortunately. You can try changing the cache path before creating the character object
Core.Config.CacheFactory = () => new EveLibFileCache(yourPath + "EveXmlCache", "register");
Or to change the cache on an existing object, set the cache directly
character.RequestHandler.Cache = new EveLibFileCache(yourPath + "EveXmlCache", "register"); Ahh, yes. Taking a closer look AppData path is hardcoded in and in the config you can only set the folder name under AppData. Being able to set the cache path of your choice via config would be a huge plus to your library. |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.08.12 11:53:40 -
[216] - Quote
Yes it would! But for now either of the two solutions above should work, let me know if they don't :) I'll be fixing this as well as adding the new sovereignty endpoints on CREST for next release.
edit: nvm, you're not the one having the issue are you :).. Syrsyrian, please let me know if that works for you. |
Desmont McCallock
558
|
Posted - 2015.08.12 12:38:16 -
[217] - Quote
Icahmura Hasaki wrote:Yes it would! But for now either of the two solutions above should work, let me know if they don't :) I'll be fixing this as well as adding the new sovereignty endpoints on CREST for next release.
edit: nvm, you're not the one having the issue are you :).. Syrsyrian, please let me know if that works for you. Yeah, I'm just "The EVEMon guy" pitching in to lend a helping hand.
|
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.08.12 12:48:07 -
[218] - Quote
Oh, I didn't realize that was you! Any help, input and suggestions is greatly appreciated. :) |
Brain Gehirn
Reikoku Pandemic Legion
71
|
Posted - 2015.08.12 17:04:10 -
[219] - Quote
About the MVC question:
I have changed the AppData (under evelib.Core.Config.cs) to: - AppDomain.CurrentDomain.BaseDirectory + Separator
Also you will need to give write permissions to your application, no need to run it as any specific user. Remember to just give permission to this directory and also make your robots.txt to avoid this same folder :justincase:
What is a signature?
|
Syrsyrian
Hounds of War. Hashashin Cartel
2
|
Posted - 2015.08.13 02:13:52 -
[220] - Quote
Thanks for the replies, I'll have a go at the suggestions tomorrow. |
|
Syrsyrian
Hounds of War. Hashashin Cartel
2
|
Posted - 2015.08.13 20:29:08 -
[221] - Quote
Thanks for the help, its now working as expected. As per Brains instructions I changed the line for the path variable in the core library config. |
Reon corm
Ling Ling Industries
0
|
Posted - 2015.08.18 18:50:08 -
[222] - Quote
Kuja Armitage wrote:This may be a noobish question, but how can I achieve getting results as from query: https://public-crest.eveonline.com/market/types/?group=https://public-crest.eveonline.com/market/groups/150/
using this library? My current code wich I think should work doesn't even compile: var crest = new EveCrest(); var root = crest.GetRoot(); var types = root.Query(r => r.MarketTypes); var skillbooks = types.Query(type => type.Where(t => t.MarketGroup.Id == 150));
Basicly what I'm trying to achieve is to get list of all available skillbooks.
This way:
EveCrest crest = new EveCrest(); var orders = new Href("https://crest-tq.eveonline.com/market/10000002/orders/buy/?type=https://crest-tq.eveonline.com/types/587/"); var orderCollection = crest.Load(orders);
But.... this will give you an exception. MarketOrder.Id is of type int, should be long. I created an pull request to fix this. |
Quesa
Burning Napalm Northern Coalition.
81
|
Posted - 2015.09.03 01:20:49 -
[223] - Quote
Having an issue getting the public CorporationSheet data (no ApiKey required). Currently, the only way I see to get access to the corporation data is to create a new corporation:
var corp = new Corporation(new CorporationKey(0, ""), 1000009);
I don't have a key for the corporation and don't need it because I only need the public data.
Anyone have a workaround that doesn't involve me creating my own code to bring down and deserialize the XML? |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.09.05 10:56:34 -
[224] - Quote
Seems to be an oversight on my part, and there isn't a way for doing this at the moment. I'll add this to the next version, which is coming soon. |
Quesa
Burning Napalm Northern Coalition.
81
|
Posted - 2015.09.05 22:23:29 -
[225] - Quote
Icahmura Hasaki wrote:Seems to be an oversight on my part, and there isn't a way for doing this at the moment. I'll add this to the next version, which is coming soon.
Sweet, thanks.
If you're really into punishing yourself, there are a good deal of these types of endpoints that have optional credential requirements for public data...possible that you missed more? |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.09.06 16:25:18 -
[226] - Quote
Quesa wrote:Icahmura Hasaki wrote:Seems to be an oversight on my part, and there isn't a way for doing this at the moment. I'll add this to the next version, which is coming soon. Sweet, thanks. If you're really into punishing yourself, there are a good deal of these types of endpoints that have optional credential requirements for public data...possible that you missed more?
Do you have any examples? I can't recall seeing any
|
Richard TheLordOfDance
New Eden Special Operations Force
15
|
Posted - 2015.09.06 18:47:58 -
[227] - Quote
Any reason why the EveCentral module don't have the option to use POST to send the data instead of always using GET? Would be nice for looking up market stats for large amounts of items at once |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.09.06 21:03:40 -
[228] - Quote
Richard TheLordOfDance wrote:Any reason why the EveCentral module don't have the option to use POST to send the data instead of always using GET? Would be nice for looking up market stats for large amounts of items at once What prevents you from doing that using GET ?
|
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.09.06 21:05:01 -
[229] - Quote
Quesa wrote:Having an issue getting the public CorporationSheet data (no ApiKey required). Currently, the only way I see to get access to the corporation data is to create a new corporation: var corp = new Corporation(new CorporationKey(0, ""), 1000009); I don't have a key for the corporation and don't need it because I only need the public data. Anyone have a workaround that doesn't involve me creating my own code to bring down and deserialize the XML?
The current version on git now supports this, available as EveLib.Eve.GetCorporationSheet(id)
|
Richard TheLordOfDance
New Eden Special Operations Force
15
|
Posted - 2015.09.06 21:41:09 -
[230] - Quote
Icahmura Hasaki wrote:Richard TheLordOfDance wrote:Any reason why the EveCentral module don't have the option to use POST to send the data instead of always using GET? Would be nice for looking up market stats for large amounts of items at once What prevents you from doing that using GET ? edit: I guess there's a size limit, I'll add a post option. Awesome ^^ sorry for not being clear about the size limit, have bumped into the same problem when writing some web request stuff of my own so thought it was a well known thing... |
|
Valko Raskolbasko
Russian sword Corporation RA Citizens
0
|
Posted - 2015.09.07 14:48:25 -
[231] - Quote
I am newbie and i have some problem.
var eveMarketData = new EveMarketData ( ) ;
var emdOptions = new EmdOptions { Items = new List < int > { 1223 } , ItemGroups = new List < int > ( ) , Regions = new List < int > ( ) , Stations = new List < int > ( ) , Solarsystems = new List < int > { 30000142 }, RowLimit = 10000 , AgeSpan = TimeSpan.FromDays ( 30 ) , };
var orders = eveMarketData.GetItemOrders(emdOptions, OrderType.Both).Result.Orders.ToList();
I received orders, but the result often differs from eve_central
As example, now i received only sell orders. Buy orders are empty.
I've tried to change params of EmdOptions (RowLimit and AgeSpan ) but result is the same.
I've tried to use this:
var eveCentral = new EveCentral ( ) ; MarketStatResponse response = eveCentral.GetMarketStat ( options ) ;
But, here i don't receive orders, only info ( Max/Min/Avg and other). This info - is correct.
What i am doing wrong? |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.09.07 15:15:33 -
[232] - Quote
As far as I'm aware Eve Central and Eve Market Data do not use the same data sources, so they will rarely if ever match. I've used the EMD module myself extensively a few months back, and I'm fairly confident it's working as it should. I'm not sure the website is being maintained anymore tho, I heard some rumors it was dying?
If you debug your calls, the generated URI should be output to your console. Verify that the URI has the correct/expected GET parameters, and compare the returned XML in your browser to the returned object to see that everything is parsed correctly. |
Valko Raskolbasko
Russian sword Corporation RA Citizens
0
|
Posted - 2015.09.07 15:46:38 -
[233] - Quote
Icahmura Hasaki wrote:As far as I'm aware Eve Central and Eve Market Data do not use the same data sources, so they will rarely if ever match. I've used the EMD module myself extensively a few months back, and I'm fairly confident it's working as it should. I'm not sure the website is being maintained anymore tho, I heard some rumors it was dying?
If you debug your calls, the generated URI should be output to your console. Verify that the URI has the correct/expected GET parameters, and compare the returned XML in your browser to the returned object to see that everything is parsed correctly.
Thx for your answer. Yes, parameters are correct and parsed all fine.
For any ideas, how to get correct buy/sell orders - i will be very grateful! |
Brain Gehirn
Reikoku Pandemic Legion
72
|
Posted - 2015.09.07 18:07:01 -
[234] - Quote
Valko Raskolbasko wrote:
Thx for your answer. Yes, parameters are correct and parsed all fine.
For any ideas, how to get correct buy/sell orders - i will be very grateful!
Grab from CREST and be happy.
What is a signature?
|
Quesa
Burning Napalm Northern Coalition.
81
|
Posted - 2015.09.08 00:03:39 -
[235] - Quote
Icahmura Hasaki wrote:Quesa wrote:Icahmura Hasaki wrote:Seems to be an oversight on my part, and there isn't a way for doing this at the moment. I'll add this to the next version, which is coming soon. Sweet, thanks. If you're really into punishing yourself, there are a good deal of these types of endpoints that have optional credential requirements for public data...possible that you missed more? Do you have any examples? I can't recall seeing any
By good deal, I meant 2 . They appear to be the corp one and CharacterSheet. |
Valko Raskolbasko
Russian sword Corporation RA Citizens
0
|
Posted - 2015.09.08 12:11:48 -
[236] - Quote
Brain Gehirn wrote:Grab from CREST and be happy.
I am sorry, bot how can i get buy/sell orders by CREST? |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.09.08 20:02:40 -
[237] - Quote
Quesa wrote:Icahmura Hasaki wrote:Quesa wrote:Icahmura Hasaki wrote:Seems to be an oversight on my part, and there isn't a way for doing this at the moment. I'll add this to the next version, which is coming soon. Sweet, thanks. If you're really into punishing yourself, there are a good deal of these types of endpoints that have optional credential requirements for public data...possible that you missed more? Do you have any examples? I can't recall seeing any By good deal, I meant 2 . They appear to be the corp one and CharacterSheet.
I can't seem to find any documentation for a public CharacterSheet, got a link? |
Desmont McCallock
562
|
Posted - 2015.09.08 20:59:31 -
[238] - Quote
http://wiki.eve-id.net/APIv2_Corp_CorporationSheet_XML
For Character you need to use CharacterInfo. |
Icahmura Hasaki
Bearded BattleBears I N F A M O U S
16
|
Posted - 2015.09.08 21:01:15 -
[239] - Quote
Desmont McCallock wrote:http://wiki.eve-id.net/APIv2_Corp_CorporationSheet_XML
Are you sure there's anything about the CharacterSheet there? If so I can't find it.. The public CorporationSheet is already added :)
edit: I guess the correct name is CharacterInfo, which I think already supports both a public and the keyed version. |
Desmont McCallock
562
|
Posted - 2015.09.08 21:03:37 -
[240] - Quote
Icahmura Hasaki wrote:Desmont McCallock wrote:http://wiki.eve-id.net/APIv2_Corp_CorporationSheet_XML Are you sure there's anything about the CharacterSheet there? If so I can't find it.. The public CorporationSheet is already added :) edit: I guess the correct name is CharacterInfo, which I think already supports both a public and the keyed version. I wasn't done editing bro. |
|
|
|
|
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 |