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) |
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.14 20:18:00 -
[391]
EveAI Live Version 1.2.2 has been released!
Most notable changes since last version:
EveAI.Core: Serveral (some are somewhat breaking, but usually they only break things that were broken anyways e.g. outdated static data) changes to DataCore. The static data is now much more complete. Some highlights are:
Stations now have all sorts of useful information instead of the unusable info from before. Agents, NPCCorps and Factions have lots of additional properties. Through optimization the size on disk, memory AND load times have been reduced. If you are using DataCore directly, there are now two additional load parameters NpcData and Stations to load/not load these individually.
Please note that the Universe property of the DataCore is currently wrong and will be replaced with multiple universes (there are now two) in a later version.
EveAI.Live: No changes
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2.2.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.19 10:12:00 -
[392]
EveAI Live Version 1.2.3 has been released!
Most notable changes since last version:
EveAI.Core: The Universe property is now a list and contains both universes (Normal and Wormhole)
EveAI.Live: SkillInTraining has additional Properties (IsCurrentlyTraining, SkillPointsGainedPerDay and SkillPointsCurrently). SkillPointsCurrentlyEstimated is deprecated. SkillPointsGainedPerSecond and SkillPointsCurrently do now always deliver info, even for skills not currently trained.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2.3.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
MearWolf
|
Posted - 2010.02.24 12:16:00 -
[393]
How do you go about using this code? I am using Visual Studio 2010 and programming in VB.Net. I have imported the libraries into the project references but I cannot get the code to work.
Please help,
|
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.24 12:31:00 -
[394]
Where is your problem exactly? Here you can see a small example in C#: http://wiki.eve-id.net/EveAI
Starting should be as simple as (havent done VB in some time): Dim Api as New EveApi (99999, "dsfiosdfsd76sd89f68ds", 99999) Dim Sheet as CharacterSheet Sheet = Api.GetCharacterSheet () Console.WriteLine (Sheet.SkillpointTotal) _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
Kayakaue
|
Posted - 2010.02.24 13:21:00 -
[395]
Dim userid As Integer = 111111 Dim apikey As String = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" Dim apifull As String = "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB" Dim characterid As Integer = 222222222 Dim api As New EveApi(userid, apikey, characterid)
Dim charsheet As Character.CharacterSheet = api.GetCharacterSheet Dim corporation As Corporation.CorporationSheet = api.GetCorporationSheet
fOR EXEMPLE IN VB.NET
|
MearWolf
|
Posted - 2010.02.24 17:55:00 -
[396]
I'm working on getting this working as we speak. How does the demo program integrate the connection error check?
could you please do me some demo code to work with either a full or limited api and userID, check if they have connection and then msgbox a list of character names with their character number?
|
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.25 01:40:00 -
[397]
Error checking is done through api.LastUpdateResult (which will be UpdateResult.Succeded if no error occurs) or api.LastErrors which contains errors that happened during the update.
Getting the characters is done by calling api.GetAccountEntries _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
MearWolf
|
Posted - 2010.02.25 15:04:00 -
[398]
I just keep getting errors. Which code libraries do I need to import into the actual code, e.g. Imports EveAI.Live. Could you please help me with skeleton code?
|
MearWolf
|
Posted - 2010.02.25 15:29:00 -
[399]
I think this might be the problem
Warning1The referenced assembly "EveAI.Core" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".EVE SecuriCheck
Warning2The referenced assembly "EveAI.Live" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".EVE SecuriCheck
I'm running Windows 7 Ultimate with Visual Studio 2010 if that's any help
|
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.25 16:45:00 -
[400]
Originally by: MearWolf I think this might be the problem
Warning1The referenced assembly "EveAI.Core" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".EVE SecuriCheck
Warning2The referenced assembly "EveAI.Live" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".EVE SecuriCheck
I'm running Windows 7 Ultimate with Visual Studio 2010 if that's any help
This is obviously the problem. I will look into that (in fact I can pretty much guess where the problem is). Meanwhile I'm pretty sure you get it to work by targeting the 4.0 full Profile and not the 4.0 Client only Profile.
But I'll see if that can be solved so it also works with Client-Profile only. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|
MearWolf
|
Posted - 2010.02.25 17:24:00 -
[401]
so how would I target the 4.0 full profile?
|
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.25 18:24:00 -
[402]
EveAI Live Version 1.2.4 has been released!
- Works fully for developing against .Net 4.0 Client Profile.
- Some enhancements to loading data in EveAI.Core.
- Contains a new library called EveAI.ComponentModel.dll that allows to get full functionallity for components (PropertyGrid), but does not need to be shipped if you are not using PropertyGrid in your application. If you want to use it simply reference it in your project anything else happenes automatically.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.2.4.zip _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.02.25 18:34:00 -
[403]
Originally by: MearWolf so how would I target the 4.0 full profile?
Right-click on the Project and select Properties. There you will find a list where you can select the target Framework. But I just released a new version that will also work against 4.0 and 3.5 Client only profile. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
MearWolf
|
Posted - 2010.02.26 11:20:00 -
[404]
I still get this error:
Warning1The referenced assembly "EveAI.ComponentModel" could not be resolved because it has a dependency on "System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which is not in the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".EVE SecuriCheck
Although it runs now, I can't pull any data down. I'm trying to get a character selection screen. here's my code:
Public Class Main
Public Class Main Private Sub Main_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim userid As Integer = 5176057 Dim apikey As String = "94D2965391B345868F40B134687EE5144D4253180C8E4D07AED0ED8B5C4D9245" Dim characterid As Integer Dim api As New EveApi(userid, apikey, characterid)
Dim charsheet As Character.CharacterSheet = api.GetCharacterSheet MsgBox(charsheet)
End Sub End Class
|
MearWolf
|
Posted - 2010.02.26 12:11:00 -
[405]
Ignore my last comment, I have it working now
|
MearWolf
|
Posted - 2010.02.26 12:17:00 -
[406]
Edited by: MearWolf on 26/02/2010 12:17:10 I've now got it pulling down data, how would I now get it to just say msgbox the character IDs
|
MearWolf
|
Posted - 2010.03.01 10:40:00 -
[407]
sorry for being such a pest, I've got it all working now, I just need a way to pull down all the character IDs associated with an account
|
Dragonaire
Caldari Corax. New Eden Retail Federation
|
Posted - 2010.03.01 11:40:00 -
[408]
Points to API docs: http://wiki.eve-id.net/APIv2_Account_Characters_XML Which I'm sure is implemented. -- Finds camping stations from the inside much easier. Designer of Yapeal for Eve API.
|
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.01 14:46:00 -
[409]
Just use api.GetAccountEntries () that will give you a list of AccountEntry Objects. And entry.CharacterID is obviously the character ID. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
MearWolf
|
Posted - 2010.03.02 13:49:00 -
[410]
sorry I don't know how to use that, I'm trying to output the 3 character IDs associated with an account to a new array of size 3
|
|
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.03 09:42:00 -
[411]
Well I'm not particulary good in VB. But shouldn't it just be something like:
For Each entry In api.GetAccountEntries MsgBox("CharacterID: " + entry.CharacterID) Next
_________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
Krathos Morpheus
Legion Infernal
|
Posted - 2010.03.03 14:55:00 -
[412]
Edited by: Krathos Morpheus on 03/03/2010 14:59:14 Edited by: Krathos Morpheus on 03/03/2010 14:57:31
Originally by: MearWolf sorry I don't know how to use that, I'm trying to output the 3 character IDs associated with an account to a new array of size 3
This is how I'm doing it, but this is my first software ever and I'm learning how it works, so if/when you come with a better code I would apreciate to see it. I don't know how/where to store it either. I've tried to put the apis as EveAI objects in a collection and store them in the settings, but I don't get it working.
Quote:
Class ctrlNewAPIkey
Private Sub ButtSaveAPI_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtSaveAPI.Click
Dim apiNew As EveAI.Live.EveApi = New EveAI.Live.EveApi(txtUserID.Text, txtAPIkey.Text) Dim AccountEntries = apiNew.GetAccountEntries()
Dim count = 0 For Each element In AccountEntries 'procesando characterIDs
Dim charID = apiNew.GetAccountEntries(count).CharacterID Dim api = New EveAI.Live.EveApi(Me.txtUserID.Text, Me.txtAPIkey.Text, charID) Dim nick = New String(Me.txtNick.Text) Dim apiClass As New apiCollect() apiClass.addApi(api, nick) 'a±ade API del personaje a la coleccion apiCollection
My.Settings.api01 = api 'test count += 1 Next
EVEMercader.frmMercader.pnlNewApi.Expanded = False
End Sub
End Class
EVEwatch Sidebar soon "It is the unofficial force ù the Jita irregulars. " |
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.03 15:27:00 -
[413]
Edited by: Amida Ta on 03/03/2010 15:27:30 I'm pretty sure you can't just put the api object into the settings object and then have it automatically save just anything you want. Saving is somewhat non-trivial. But on the other hand I don't think you need saving at all. EveAI implements all caching and saving for you. If you need the data just call EveAI and it will deliver it...
P.S. And IF you really want to save yourself then you should try to save the concrete data objects (e.g. AccountEntry objects) but not the api class itself. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
Krathos Morpheus
Legion Infernal
|
Posted - 2010.03.03 17:36:00 -
[414]
Originally by: Amida Ta Edited by: Amida Ta on 03/03/2010 15:27:30 I'm pretty sure you can't just put the api object into the settings object and then have it automatically save just anything you want. Saving is somewhat non-trivial. But on the other hand I don't think you need saving at all. EveAI implements all caching and saving for you. If you need the data just call EveAI and it will deliver it...
P.S. And IF you really want to save yourself then you should try to save the concrete data objects (e.g. AccountEntry objects) but not the api class itself.
I can save one api object into the settings without problem, but I need to save an undetermined number of apis and I don't know how to make new objects through iterations outside of collections (ie: including a value as part of the name). But looks like api objects don't like to be into collections (or I don't know how to solve it, I keep receiving the "NullReferenceException was unhandled" on collections). The thing is that I want to make character groups to switch and group, so I would like to make one collection and call the characters apis from that collection from another that defines the groups. Does EveAI save the APIs from one session to another? If so, how do I recover them? PS: Thank you for all the work, the library looks fantastic and as soon as I find how to translate the processes I have in my mind to programming language It will help me enormously.
EVEwatch Sidebar soon "It is the unofficial force ù the Jita irregulars. " |
Laxxor Borocillicase
Freelance Assassins
|
Posted - 2010.03.03 22:41:00 -
[415]
To Krathos
Firstly, I don't know your end goals so I can't comment for your exact intentions. Secondly, I have no involvelemt with Amidas project, just offering my thoughts on your processes.
Originally by: Amida Ta
<snip> But on the other hand I don't think you need saving at all. EveAI implements all caching and saving for you. If you need the data just call EveAI and it will deliver it...
Are we really talking about saving - do you intend to output data to a file or printer or ..?
Originally by: Amida Ta P.S. And IF you really want to save yourself then you should try to save the concrete data objects (e.g. AccountEntry objects) but not the api class itself.
Saving the mechannics of the API rather then just the data would seem to be excessive - seeing as you say this is your first software project, is it possible you mean something else, rather then the API, or rather than "saving"?
Originally by: Krathos Morpheus The thing is that I want to make character groups to switch and group, so I would like to make one collection and call the characters apis from that collection from another that defines the groups.
That could be quite a lot of data? Would it not be better to just store the bare basics and load the rest on demand? Or create your own data objects, specific to your requirements, then populate and store them?
Good luck with your project - if this is your first then try not to code your idea from your mind straight into code - draw diagrams to illustrate your logic flow (if only for your own reference) - you may see a different way of doing things before you even start.
I'm sure others and myself will help you on your way.
Lax
|
Krathos Morpheus
Legion Infernal
|
Posted - 2010.03.04 01:04:00 -
[416]
Edited by: Krathos Morpheus on 04/03/2010 01:05:20
I want to save some data, yes, but that's not what I was talking about there, I need to learn about databases first, so I'll leave that for later. You're right about what I'm trying right now. Right now I need to storage the api keys for each character so I can recover them in another session. I tried to do it through collections thinking that collections could storage collections inside, but it seems not possible (I thought I was saving only the api key when saving the EveAI.Live.EveApi, maybe I was wrong and I was storing mechannics too). Quote: Would it not be better to just store the bare basics and load the rest on demand? Or create your own data objects, specific to your requirements, then populate and store them?
Sure it's better, that is my intention, to store the api keys and then use them from collections of references. I did not thought about creating my own data objects, well, actually I did started to create one to handle the saving operations with the keys, you are talking about classes, right? but did not think about creating another clean one to just store and save that in the settings. Quote: Good luck with your project - if this is your first then try not to code your idea from your mind straight into code - draw diagrams to illustrate your logic flow (if only for your own reference) - you may see a different way of doing things before you even start.
First project, but I made a Sidebar Gadget starting from a previous one and I draw diagrams indeed when the problem came too complex to handle it all in my head at the same time. When I have time I should go back to it and fix it so other people can use it (I broke the api key storage (facepalm), and now the only gadget working is the one I have prepopulated with the keys). Quote: I'm sure others and myself will help you on your way.
Thanks, I will try to look for that help more often, but since I`m learning and know so little it was hard to know where my problems came from to ask for help. I have passed almost all the time making and learning to make the interface design and now it looks pretty good at last and it doesn't lose it's configuration when I close VS. PS: I've now solved the storing of api keys through arrays, but I don't like it much because of the sorting, I have to go now and look how to erase and clean it when taking out one key, maybe I'll try to make my own data object, Why can't be any object stored inside a collection?
EVEwatch Sidebar soon "It is the unofficial force ù the Jita irregulars. " |
MearWolf
|
Posted - 2010.03.05 12:09:00 -
[417]
Edited by: MearWolf on 05/03/2010 12:11:20 Edited by: MearWolf on 05/03/2010 12:10:49 Ok basically what I'm doing is using Visual Studio 2010 with VB.Net to make a tool for corporations to perform security checks on prospective members. They members will give the recruitment office their API UserID and Limited API key and with my tool you will be able to see information for all the association characters. I have it currently pulling down data just fine. The problem I'm having is finding all the character IDs of characters associated with an account.
Here's a mock up of message boxing all the characters association with an account how I would like to to work, help please.
Dim userid As Integer InputBox(userid) Dim apikey As String InputBox(apikey) Dim characterid(3) As Integer Dim k as Integer [b]'''This is where I would put each CharacterID in the characterid array For k = 1 to 3 (character ID list from api(k)) = characterid(k) ]Next [/b Dim i as integer = 1 Dim api(3) As New EveApi(userid, apikey, characterid(i)) Dim charsheet As Character.CharacterSheet = api.GetCharacterSheet For i = 1 to 3 MsgBox(charsheet.Name) Next
|
MearWolf
|
Posted - 2010.03.05 12:20:00 -
[418]
Originally by: Amida Ta Edited by: Amida Ta on 03/03/2010 09:48:35 Well I'm not particulary good in VB. But shouldn't it just be something like:
For Each entry In api.GetAccountEntries MsgBox(entry.Name + ": " + entry.CharacterID) Next
Thanks, I've just managed to get it running with this
|
MearWolf
|
Posted - 2010.03.05 12:39:00 -
[419]
Here's another one to try I'm trying to pull up the server status on a StatusStip Dim servstat As New ServerStatus() If servstat.Online = True Then stsstrpOnln.Text = "Online" Else stsstrpOnln.Text = "Offline" End If stsstrpUsrs.Text = (servstat.PlayersOnline & " players")
Though this code just thinks server is offline and no players online
|
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.03.06 09:23:00 -
[420]
You are not calling the api at all here. Just replace
Originally by: MearWolf
Dim servstat As New ServerStatus()
with Dim servstat As ServerStatus = api.GetServerStatus and it should work. (of course you need the api object again, but you have used that in the other code samples, too). _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
|
|
|
|
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 |