Pages: 1 2 3 [4] 5 6 7 8 9 10 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Lokty
T.E.R.R.A Shadow of Honor
1
|
Posted - 2012.04.11 10:26:00 -
[91] - Quote
Is there a way to change the EvEAi cache folder? I'm using it on an IIS Server and the AppPool has no access to the default folder. |
Jognu
French Kiss Singularity Astromechanica Federatis
13
|
Posted - 2012.04.24 14:35:00 -
[92] - Quote
I work on a new version with the last bugs that you found and the last API modifications ;) EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
Jognu
French Kiss Singularity Astromechanica Federatis
13
|
Posted - 2012.04.25 13:00:00 -
[93] - Quote
New release for Escalation with a couple of others fixs/features !
Quote:Version 2.4.0.1
- New static data (Escalation_1.0_67593)
- Add the CharacterLocationsApi, the CorporationLocationsApi and the TypeNameApi
- Update the MemberTrackingApi so you can use (or not) the advanced mode (thanks to Gorn Che)
- Add an App.config file which allow to change the cache folder (this file is optionnal, you can delete it)
- Add the getCharacterNameLookup and the getCharacterIDLookup function
- WalletJournalApi: fix an infnite loop (thanks to Almeiti du Larr)
EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
Kronus Heilgar
Caldari Provisions Caldari State
6
|
Posted - 2012.04.26 06:03:00 -
[94] - Quote
Is there a way to easily disable the local cache? The problem I'm having is with the getApiKeyInfo() function. If I give it a valid key, and then change the access mask of the key, and then re-run the function it still gives me the old access mask (so if a user of my site puts in a key with the wrong mask, I tell them it's wrong, then they go fix it, it won't recognize the change). Free EveMail and Notification to email forwarding www.eve-core.net |
Desmont McCallock
165
|
Posted - 2012.04.26 06:58:00 -
[95] - Quote
ApiKeyInfo is cached for at least 5 minutes by the API itself. You need to make a 'Cached Until' check before allowing the re-run of the function. |
Jognu
French Kiss Singularity Astromechanica Federatis
13
|
Posted - 2012.04.26 08:42:00 -
[96] - Quote
Yes, the local cache is based on the cache of the API itself. So even if you delete the cache file, you will still get the same datas (or nothing if it's on an API that respond only one time). EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
Marbin Drakon
Future Corps Sleeper Social Club
8
|
Posted - 2012.04.26 11:30:00 -
[97] - Quote
Thanks for the update, Jognu.
Would it be possible for you to add a check for an EveAI.Data.zip file in it's folder before it goes to it's compiled-in resource copy? Or am I missing a way that this can be done already?
|
Kronus Heilgar
Caldari Provisions Caldari State
6
|
Posted - 2012.04.26 18:41:00 -
[98] - Quote
This scenario is occurring as a result of the local cache:
- User puts in valid keyID and vCode - EveAI gets chars on key and caches - User puts in same keyID with no vCode - even though the eve API would return validation error, EveAI returns same characters
I need a way to make it return nothing if it's an invalid vCode (instead of cached result)
Also, is there a function for the CharacterName.aspx API call? If there is, I can't seem to find it (I need to use it to get the name of a corporation from CorporationID). Free EveMail and Notification to email forwarding www.eve-core.net |
Jognu
French Kiss Singularity Astromechanica Federatis
13
|
Posted - 2012.04.27 07:44:00 -
[99] - Quote
Marbin Drakon wrote:Thanks for the update, Jognu.
Would it be possible for you to add a check for an EveAI.Data.zip file in it's folder before it goes to it's compiled-in resource copy? Or am I missing a way that this can be done already?
This is not what happens ?
Kronus Heilgar wrote:This scenario is occurring as a result of the local cache:
- User puts in valid keyID and vCode - EveAI gets chars on key and caches - User puts in same keyID with no vCode - even though the eve API would return validation error, EveAI returns same characters
I need a way to make it return nothing if it's an invalid vCode (instead of cached result)
Also, is there a function for the CharacterName.aspx API call? If there is, I can't seem to find it (I need to use it to get the name of a corporation from CorporationID). I'll look if I can do something for this, but it may be difficult because the cache files are not based on the vcode.
For the CharacterName use the function GetCharacterNameLookup. EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
Marbin Drakon
Future Corps Sleeper Social Club
8
|
Posted - 2012.04.27 09:10:00 -
[100] - Quote
It didn't work when I tried it. I put EveAI.Data.zip files in both the application root and the /bin folder where I had the EveAI libraries. |
|
Kronus Heilgar
Caldari Provisions Caldari State
6
|
Posted - 2012.04.27 21:22:00 -
[101] - Quote
Jognu wrote: I'll look if I can do something for this, but it may be difficult because the cache files are not based on the vcode.
Would it be possible to just have a function that forces the cache for that API to clear? Then I just call the cache-clear function before every APIKeyInfo call. Free EveMail and Notification to email forwarding www.eve-core.net |
Jognu
French Kiss Singularity Astromechanica Federatis
13
|
Posted - 2012.05.02 12:19:00 -
[102] - Quote
You can ignore the cache but you need to use the advanced mod of the API. Example : http://pastebin.com/ycA0Wv3J
Marbin Drakon > your code works for me, check that you have the last release.
Lokty (and others) : I didn't notice that there was already a method to change the cache folder. So please use the EveApiBase.Configuration.BaseDirectory parameter to define it, I'll remove the .config file on the next release. EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
Marcus Sworaven
Falcon Regiment
4
|
Posted - 2012.05.05 13:57:00 -
[103] - Quote
CaptainThorVonAwesome wrote:Marcus Sworaven wrote:I'm trying to extract transactions for each wallet from my corp. I'm using this for loop: Quote:For i As Integer = 0 To 6 CorpWalletTransactions(i) = apiCorp.GetCorporationWalletTransactions(1000 + i) Next
CorpWalletTransactions is declared as follows: Quote:Public CorpWalletTransactions(6) As List(Of EveAI.Live.TransactionEntry)
CorpWalletTransactions(6) = New List(Of EveAI.Live.TransactionEntry) When I extract the first wallet (the master wallet) it shows 0 transactions. Which is correct. Then I extract the second wallet, which shows a number of transactions, also correct. But when I extract the remaining wallets (which should be empty) I get the transactions identical to the second wallet. I get the same result when I declare the wallets separately. Am I missing something? Am I doing something wrong? Marcus, In playing around with the API I have run into the same problem, however I discovered that a declared API call can have an accountKey hard coded into the constructor. So what I did was declared one EveAPI without a accountKey to fetch a list of accounts, and then looped through the accounts using a second EveAPI object to fetch the data. Like so...: Dim eveAPI As New EveAI.Live.EveApi(keyID, vCode, characterID, 1000) Dim eveAccounts As List(Of EveAI.Live.AccountBalance) = eveAPI.GetCorporationAccountBalance For i As Integer = 0 To eveAccounts.Count - 1 Dim iAccountKey As Integer = eveAccounts.Item(i).AccountKey Dim eveAPI_Wallets As New EveAI.Live.EveApi(keyID, _ vCode, _ characterID, _ iAccountKey) Dim eveJournal As List(Of EveAI.Live.JournalEntry) = eveAPI_Wallets.GetCorporationWalletJournal() Dim eveTransactions As List(Of EveAI.Live.TransactionEntry) = eveAPI_Wallets.GetCorporationWalletTransactions() iAccountKey = Nothing eveJournal = Nothing eveTransactions = Nothing eveAPI_Wallets = Nothing Next i Thanks, that helped. It's working now!
CaptainThorVonAwesome wrote: However the one thing that I have been able to determine is that the GetCorporationWalletJournal() function returns the default number of rows from CCP's API call, 50 rows, and there seems to be no way to itterate through the data sets to collect more rows. CCP has to options, one is FromID and the other is rowCount. RowCount by default is 50, but can go up to 2,560, since I am ever only getting 50 rows back I'd be willing to guess this value is not being passed. Also, the FromID sets the row at which the pulls starts going back in time from. So if you have 2565 rows in total, you could set it at the 2,560th row and get that plus the remaining 5 rows.
With that, I'd like to either suggest or offer up my assistance in modifying the GetCorporationWalletJournal() and GetCorporationWalletTransactions() functions to accept the "fromID" and the "rowCount" values that CCP accepts and input parameters to the API.
Has this been implemented? |
Maasu
Nihilistic Techologies
0
|
Posted - 2012.05.05 19:18:00 -
[104] - Quote
One question, when using GetCorporationAssets, shouldn't this return all corp assets? It's not for some bizzare reason, but only particular ones in a certain hangar.
ex member of Curse Alliance, The Five, Fatal Alliance.
|
Miilla
Hulkageddon Orphanage
294
|
Posted - 2012.05.05 19:19:00 -
[105] - Quote
Why not just make it COM Visible then we can use it in any COM aware language? |
Marcus Sworaven
Falcon Regiment
4
|
Posted - 2012.05.20 15:01:00 -
[106] - Quote
I'm having a little trouble with the GetIdForObject() function.
Quote:MapData = New EveAI.DataCore DataReader = New EveAI.StaticDataDataReader(MapData) DataReader.Read(EveAI.DataTypes.BasicMapData) Dim Id As Integer = MapData.GetIdForObject(SolarSystem)
I always get a returnvalue of -1 even though 'SolarSystem' isn't empty/nothing.
I'm also having a bit of trouble with the StaticDataDataReader. I can't seem to read everything (DataReader.Read(EveAI.DataTypes.All). It keeps giving me this error:
Quote:EveAI data file could be located neither embedded nor externally: mapDenormalize.csv
|
Jognu
French Kiss Singularity Astromechanica Federatis
14
|
Posted - 2012.05.24 09:09:00 -
[107] - Quote
I'll check that and prepare an update with the news statics data. EveAI developper : https://forums.eveonline.com/default.aspx?g=posts&t=21803 |
Jognu
French Kiss Singularity Astromechanica Federatis
17
|
Posted - 2012.05.29 14:22:00 -
[108] - Quote
New release !
Quote:Version 2.5.0.0
- New static data (Inferno_1.0_70633)
- Fix GetIdForObject always return -1
- Remove App.config for the cache folder, use EveApiBase.Configuration.BaseDirectory
- The two assemblies are now COM Visible
- Add the queuePosition information for the CharacterSkillQueueApi
- Add the null value for queuePosition in the SkillInTrainingApi
EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803 YamlToSQL developper: https://forums.eveonline.com/default.aspx?g=posts&m=1362009 |
Dread Slurr
Federal Defense Union Gallente Federation
1
|
Posted - 2012.07.15 21:13:00 -
[109] - Quote
Is there any chance of getting this library compiled for WP7? |
Jognu
French Kiss Singularity Astromechanica Federatis
17
|
Posted - 2012.07.17 16:48:00 -
[110] - Quote
Dread Slurr wrote:Is there any chance of getting this library compiled for WP7? I'll check if it's possible and keep you informed. EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803 YamlToSQL developper: https://forums.eveonline.com/default.aspx?g=posts&m=1362009 |
|
Lisa Pleiades
Pleiadian Trading
0
|
Posted - 2012.08.03 16:24:00 -
[111] - Quote
I've checked out the api thing but i quite haven't figured out how to retrieve market info of a product from the EVE Central thing.
You got any documentation how to use the EVEAi Market or examples? With examples i mean fetching all products market info. |
Virppi Jouhinen
Xiphias Ltd.
1
|
Posted - 2012.08.09 21:07:00 -
[112] - Quote
Lisa Pleiades wrote:I've checked out the api thing but i quite haven't figured out how to retrieve market info of a product from the EVE Central thing.
You got any documentation how to use the EVEAi Market or examples? With examples i mean fetching all products market info.
That's how I do it: http://pastebin.com/VgXVjsk0 Elinor - Eve market helper-chan Current version: 1.0.8 Beta |
Marlyrel
No. 2357
0
|
Posted - 2012.08.13 18:36:00 -
[113] - Quote
Hi all! I'm trying to make a little program that calculates the yield of some crafting operation in our Corp. For that I need to access the CorpWallet.
I checked the other posts concerning that topic but all I get is empty lists.
here's my attempt: http://pastebin.com/m5wFTm6E
As you can see in the comments, some parts of the code actually return correct information. Just the GetCorporationWalletJournal() and Transactions refuse to work.
Help would be most appreciated.
Thanks in advance! |
Scarly Memore
Gaston Mining and INdustrial
0
|
Posted - 2012.08.13 23:23:00 -
[114] - Quote
Hello Sorry to bump an old thread but im messing around with EveAi to learn some C#.
So far ive got an app with 2 textboxes for Vcode and KeyID, a list box and a button.
I input my Keys into the relevant field and press the button which queries ApiKeyInfo to get characters and populates characters into the list box (basically jognu test app in post #65).
Can i use the list box to get other character info based on the selected character in the listbox? If so can i be given an example to work from?
Thanks |
Marlyrel
No. 2357
0
|
Posted - 2012.08.14 09:56:00 -
[115] - Quote
Scarly Memore wrote:Hello Sorry to bump an old thread but im messing around with EveAi to learn some C#. So far ive got an app with 2 textboxes for Vcode and KeyID, a list box and a button. I input my Keys into the relevant field and press the button which queries ApiKeyInfo to get characters and populates characters into the list box (basically jognu test app in post #65). Can i use the list box to get other character info based on the selected character in the listbox? If so can i be given an example to work from? Thanks
Add an eventlistener to the listbox. Something about onSelectedIndexChanged. So when the user selects something else you can refresh the output window. using the information you get from the list.
Is that what you wanted to know? =)
|
Scarly Memore
Gaston Mining and INdustrial
0
|
Posted - 2012.08.14 20:47:00 -
[116] - Quote
The list only shows my character name, so i dont understand how i can use my name if i cant see my CharID. I was hopint to use something along the lines of:
Var SelChar = Listbox1.SelectedItem
TextBox.Text = SelChar.CharacterID
etc
Can i have permission to add someone as a contact ingame for some help?
this is the code im using for the ListBox:
APIKeyInfo apikeyinfo = api.getApiKeyInfo(); LB_CharList.DataSource = apikeyinfo.Characters; |
Scarly Memore
Gaston Mining and INdustrial
0
|
Posted - 2012.08.14 23:11:00 -
[117] - Quote
Jognu so kind and helped me.
Code solution:
AccountEntry selectedAccount = (AccountEntry)LB_CharList.SelectedItem; TB_CharID.Text = selectedAccount.CharacterID.ToString(); |
Jognu
French Kiss Singularity Astromechanica Federatis
19
|
Posted - 2012.08.14 23:16:00 -
[118] - Quote
Marlyrel wrote:Hi all! I'm trying to make a little program that calculates the yield of some crafting operation in our Corp. For that I need to access the CorpWallet. I checked the other posts concerning that topic but all I get is empty lists. here's my attempt: http://pastebin.com/m5wFTm6EAs you can see in the comments, some parts of the code actually return correct information. Just the GetCorporationWalletJournal() and Transactions refuse to work. Help would be most appreciated. Thanks in advance! Your code seems good, I use the same kind and it works for me. Are you sure that your API key have the good rights ?
I'll post an update with the Inferno 1.2 static data and a beta parser for EMDR tomorrow if everything works fine.
I try to make it works for WP7, but EveAI use a couple of librairies not avaible in WP7, so I am not sure that it will work. EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803 YamlToSQL developper: https://forums.eveonline.com/default.aspx?g=posts&m=1362009 |
Marlyrel
No. 2357
0
|
Posted - 2012.08.15 08:29:00 -
[119] - Quote
Jognu wrote:Marlyrel wrote:Hi all! I'm trying to make a little program that calculates the yield of some crafting operation in our Corp. For that I need to access the CorpWallet. I checked the other posts concerning that topic but all I get is empty lists. here's my attempt: http://pastebin.com/m5wFTm6EAs you can see in the comments, some parts of the code actually return correct information. Just the GetCorporationWalletJournal() and Transactions refuse to work. Help would be most appreciated. Thanks in advance! Your code seems good, I use the same kind and it works for me. Are you sure that your API key have the good rights ? I'll post an update with the Inferno 1.2 static data and a beta parser for EMDR tomorrow if everything works fine. I try to make it works for WP7, but EveAI use a couple of librairies not avaible in WP7, so I am not sure that it will work.
I'm using a corp API key and ticked all boxes. Should I be using a personal key? I also have all rights in the Corp (Director rank or something). Well I'll try it again later when I'm at home. Thanks for the help! |
Jognu
French Kiss Singularity Astromechanica Federatis
20
|
Posted - 2012.08.15 17:10:00 -
[120] - Quote
New release !
Quote:Version 2.6.0.0
- New static data (Inferno_1.2_76477)
- Beta parser for EMDR (see below)
Quote:EVE Market Data Relay (EMDR) is a super scalable, highly available firehose of real-time market data. For those that wish to record price and history data as it comes in, EMDR will help you do so as efficiently and reliably as possible. EMDRGÇÖs data feed is open to the public, and is developed as an open source project.
You have a sample source code here : http://www.eve-emdr.com/en/latest/using.html#c
With this sample code and EveAI you can use : EMDRData newMarketData = new EMDRData(dictionary);
Where "dictionary" is the "dictionary" variable of the sample code.
The EMDRData class will then give you an object with all the informations return by EMDR. EveAI developper: https://forums.eveonline.com/default.aspx?g=posts&t=21803 YamlToSQL developper: https://forums.eveonline.com/default.aspx?g=posts&m=1362009 |
|
|
|
|
Pages: 1 2 3 [4] 5 6 7 8 9 10 :: one page |
First page | Previous page | Next page | Last page |