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) |
Agnemon
|
Posted - 2010.10.15 15:26:00 -
[601]
Does anyone have any suggestions on displaying the icon of an item in a picture box?
I am able to reference productTypes.Graphic.UrlIcon which I assume is the icon ID. but can not get it to load into the picture box and I am too tired to go any further tonight
|
Darkrurik
Caldari Lupi di Wotan
|
Posted - 2010.10.15 17:29:00 -
[602]
Edited by: Darkrurik on 15/10/2010 17:36:42 Hello I would like to know if and how to read if you got an email and I can already read the above notifications and would like to know the time of reload and notifications by email
PS: the language of reference and VB.net
Sorry but the translation x converted by Google
|
Krathos Morpheus
Legion Infernal
|
Posted - 2010.10.16 03:35:00 -
[603]
Originally by: Agnemon Does anyone have any suggestions on displaying the icon of an item in a picture box?
I am able to reference productTypes.Graphic.UrlIcon which I assume is the icon ID. but can not get it to load into the picture box and I am too tired to go any further tonight
First of all, you need to use productTypes.Icon.IconFile, the .Graphic is discontinued afaik and it served in previous builds only. You have two options that I can think of depending on where you store the icons:
1st: You store the images on resources and you find it there, but not sure how.
2nd: You store the images on a folder inside the program folder and you load the image from the system path:
Dim product as ProductType Dim icon = product.Icon.IconFile Dim iconPath As String = Environment.CurrentDirectory + "\eve Graphics\icon32\icon" + icon + ".png" If icon IsNot "" And icon IsNot Nothing Then ctrlSchema.picMaterial.Load(iconPath)
|
Agnemon
|
Posted - 2010.10.16 15:18:00 -
[604]
Dim product as ProductType Dim icon = product.Icon.IconFile Dim iconPath As String = Environment.CurrentDirectory + "\eve Graphics\icon32\icon" + icon + ".png" If icon IsNot "" And icon IsNot Nothing Then ctrlSchema.picMaterial.Load(iconPath)
Hmmm, I can not access "product.Icon.IconFile" which assembly is it in?
|
Krathos Morpheus
Legion Infernal
|
Posted - 2010.10.16 20:11:00 -
[605]
Edited by: Krathos Morpheus on 16/10/2010 20:13:20
Originally by: Agnemon
Hmmm, I can not access "product.Icon.IconFile" which assembly is it in?
Just use the most recent one, you are doing it wrong if you are using anything else. Look at the first post to get the latest.
|
Agnemon
|
Posted - 2010.10.17 08:31:00 -
[606]
Eve AI version 1.3.1
Dim product As ProductType Dim icon = product.Icon.IconFile Error message = "Icon is not a member of 'EveAI.Product.ProductType'."
Dim iconPath As String = Environment.CurrentDirectory + "\eve Graphics\icon32\icon" + icon + ".png" If icon IsNot "" And icon IsNot Nothing Then ctrlSchema.picMaterial.Load(iconPath)
Error message = "'ctrlSchema' is not declared. It may be inaccessable due to its protection level."
Pretty sure it's a missing Imports statement
|
Agnemon
|
Posted - 2010.10.17 08:39:00 -
[607]
Oops
The link on the first page still points to EveAI version 1.3.1
needed to use the link on page 20, post 580.
However I still have the "ctrlSchema" error
|
Krathos Morpheus
Legion Infernal
|
Posted - 2010.10.17 11:39:00 -
[608]
Originally by: Agnemon Oops
The link on the first page still points to EveAI version 1.3.1
needed to use the link on page 20, post 580.
However I still have the "ctrlSchema" error
ctrlSchema.picMaterial is my own PictureBox control, you'll want to put your own PictureBox here instead, like PictureBox1.load(iconPath). You also need to use a product that is not empty (=Nothing) by whatever method you'd use to select the material that you want to show in the PictureBox. Hope it helps, ask if you need more help.
|
Agnemon
|
Posted - 2010.10.17 13:13:00 -
[609]
Sort of figure that was the case but wasn't sure if it was part of VB.
Anyway, got that part of it working now, thanks for your help
There are a lot of missing icons (latest dump) and while there are blueprint icons included in the dump they use a different naming convention and the productType doesn't seem to have the icon info set for blueprints
|
Krathos Morpheus
Legion Infernal
|
Posted - 2010.10.17 13:33:00 -
[610]
Edited by: Krathos Morpheus on 17/10/2010 13:35:11
|
|
Ray McCormack
Nordar Innovations.
|
Posted - 2010.10.17 13:44:00 -
[611]
Originally by: John'eh When will the source code for this be released?
Considering several people have pointed out freely available tools to reverse engineer the code and obtain the 'source' one can only interpret your continued requests despite the OP's constant refusal as trolling.
Originally by: Veshai Any chance this library will be open-sourced? I would want to see if it can be ported to a Windows Phone 7 (silverlight 3) library.
You should be able to use it as is with Win 7 development.
|
Darkrurik
Caldari Lupi di Wotan
|
Posted - 2010.10.18 08:05:00 -
[612]
hello,
sorry does anyone know how can I download the API in vb.net emails.
I can download but not the email notifications.
Thanks
|
Agnemon
|
Posted - 2010.10.23 12:17:00 -
[613]
Originally by: Krathos Morpheus Edited by: Krathos Morpheus on 17/10/2010 13:35:11
What icons are you missing? You are probably using the topmost resolutions, but not every icon has an higher resolution version, you should use the 32x32px or the 16x16px for general item icons that are found on "Tyrannis_1.0.4-imgs.7z\icons\32_32\" There were some icons missing from planetary interaction, but I've found no one missing in the last image dump. Some items like ships, drones and deployables are located inside the types folder though.[/justify]
I am cycling thru the resolutions using "File exists" starting at the higest resolution and cycling down, that way I get the best resolution available.
The blueprint icons use a straight number, no "icon" prefix.
hmmm, didn't think to look in the types folder
|
Cilegon
|
Posted - 2010.10.26 22:36:00 -
[614]
Hi all, hoping someone can help me...
im trying to get a list of corp assets using the following code: (note the api being passed is full key of my director character
Dim apiNew As EveAI.Live.EveApi = New EveAI.Live.EveApi(UserID, APIKey, CharID)
Dim CorpAssets = apiNew.GetCorporationAssets()
For Each obj In CorpAssets Response.Write(obj.Type) Response.Write(obj.LocationStation) Response.Write(obj.Quantity) Response.Write("</br>") Next
However, it only returns 27 objects. Not nearly all of the assets even our puny corp has.
I'm comparing the list, to the EVE Asset manager application, and it pulls down everything. I'm guessing its something basic i'm not doing, but i've searched around and can't seem to find out what im doing wrong.
the same thing happens with personal assets, it only seems to get a partial list :(
anyone have ideas?
thx!
Cilegon |
Truelle
Nemesis. Tau Ceti Federation
|
Posted - 2010.10.28 12:51:00 -
[615]
Originally by: Cilegon Hi all, hoping someone can help me...
im trying to get a list of corp assets using the following code: (note the api being passed is full key of my director character
Dim apiNew As EveAI.Live.EveApi = New EveAI.Live.EveApi(UserID, APIKey, CharID)
Dim CorpAssets = apiNew.GetCorporationAssets()
For Each obj In CorpAssets Response.Write(obj.Type) Response.Write(obj.LocationStation) Response.Write(obj.Quantity) Response.Write("</br>") Next
However, it only returns 27 objects. Not nearly all of the assets even our puny corp has.
I'm comparing the list, to the EVE Asset manager application, and it pulls down everything. I'm guessing its something basic i'm not doing, but i've searched around and can't seem to find out what im doing wrong.
the same thing happens with personal assets, it only seems to get a partial list :(
anyone have ideas?
thx!
Cilegon
These items are surely some containers which contains others items.
|
Cilegon
|
Posted - 2010.10.29 00:15:00 -
[616]
it's strange... I was checking for containers but didn't see any.
today i tried again, and more items showed up, and sure enough the last one is our main HQ and the corp hangar.
maybe the cache was old or something?! who knows, but it does seem that I can see alot more now.
now it just sucks that you can only get this data once per day (or so the documentation seems to imply?)
thx for the reply Truelle
|
Trader Epsilon
|
Posted - 2010.10.29 01:09:00 -
[617]
Originally by: Amida Ta
Originally by: Krathos Morpheus
Originally by: Amida Ta
Originally by: Krathos Morpheus
Thanks. Edit: I think I've found the mistake, I think I shouldn't use And on the reader, but I don't know yet which operator I need to use.
You need to use the Or operator.
Yep, I found it out already. Thanks. What about simulated prices from eveMetrics? Are they missing from the api or I'm dumb enough to not see them?
No, they are not supported as I generally try to support a common subset between Eve Central and Eve Metrics. But if you need them I might add them.
Amida, the simulated price variable from the eve-metrics api is perhaps the most valuable bit of information eve-metrics provides. If you could include this in EveAI, you'd be my hero. In fact, I'm thinking of coding my own Eve-Metrics API library just to get the item simulated price.
|
Agnemon
|
Posted - 2010.11.01 12:57:00 -
[618]
Does anyone know how to access all the icons?
I can access the standard item icons "iconXX_XX.png" but the blueprint icons are numbered from 683 to 32445 and I cannot find any reference to them in the productTypes, Icon = Null.
For ships the numbers range from 582 to 32311 but in product Types Icon = Null and the "Graphic" field is set to a file path/name
for the Raven Graphic.FileName = {res:/Model/Ship/Caldari/CB1/cb1.blue} Icon = null
The icons I am trying to access are from the latest image dump
Thanks
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.03 04:35:00 -
[619]
It appears as if CorporationSheet requires a UserID/Key here. the EVE Api allows for a corporationID only call to retrieve the show-info of the corp sheet. If this is not the case, then why does this fail?
Quote: EveAI.Live.Corporation.CorporationSheetApi c = new EveAI.Live.Corporation.CorporationSheetApi(); c.CorporationID = this.CorporationID; c.UpdateData();
I get this failure on c.UpdateData()
Quote: at EveAI.Live.Corporation.CorporationSheetApi.get_DefaultPersistFileName() at EveAI.Live.EveApiBase.get_PersistFileName() at EveAI.Live.EveApiBase.UpdateData(UpdateCharaceristics updateCharacteristics) at EveAI.Live.EveApiBase.UpdateData() at libevedata.EVECorporation.GetCorporationSheet(EveApiDaemonItem eadi)
Thanks for a good API so far!
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.05 05:32:00 -
[620]
Also, EveAI.Live.Market requires a ProductType for any access. I don't wish to use the DataReader portion of the code (as i already have these written and integrated into my application). Is it possible to get an overload of this method w/ just the long[] for the typeID and regionID's?
Thanks,
|
|
Scout1024
|
Posted - 2010.11.10 16:49:00 -
[621]
will there be a update to the new api soon ?
|
Zaepho
Gallente Phoenix Propulsion Labs Firmus Ixion
|
Posted - 2010.11.14 16:32:00 -
[622]
Standings aren't being returned properly. The Cache has the correct XML but the library isn't returning the data.
Any updates forthcoming?
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.14 17:26:00 -
[623]
I coulda sworn i saw a post about the format in the standings XML changing. I just can't find it anymore. It either is a bug or a ninja change they added in.
|
Zaepho
Gallente Phoenix Propulsion Labs Firmus Ixion
|
Posted - 2010.11.15 14:22:00 -
[624]
Originally by: Modescond I coulda sworn i saw a post about the format in the standings XML changing. I just can't find it anymore. It either is a bug or a ninja change they added in.
I'm sure the XML changed when EVEGate came in and moved Player/Corp standings to Contacts. I'm trying to pull NPC standings. The XML looks pretty simple but I'm sure it'll require some tweaking of the code.
This is one point when having it open source would be nice, to be able to submit patches.
|
Cibeureum
|
Posted - 2010.11.15 23:11:00 -
[625]
I think I've found a bug...
I'm trying to get Industry jobs and the corp version always seems to fail with the following error (vb.net):
Run-time exception thrown : System.OverflowException - Value was either too large or too small for an Int32.
Here's my super basic code:
Dim industry Dim apiNew As EveAI.Live.EveApi = New EveAI.Live.EveApi(api_UserID, APIKey, api_CharID) industry = apiNew.GetCorporationIndustryJobs
this fails every time with the above error. However, if I change to character industry, it works fine and returns a list of objects as expected.
Dim industry Dim apiNew As EveAI.Live.EveApi = New EveAI.Live.EveApi(api_UserID, APIKey, api_CharID) industry = apiNew.GetCharacterIndustryJobs
Can someone confirm/deny that the CORP industry api pull works?
As a note, after these errors, i went to the ccp api webpage and put in the same api authentication info and it was able to retrieve the corp industry jobs.
http://api.eveonline.com//corp/IndustryJobs.xml.aspx?userID=xxxx&apikey=xxxxx&characterID=xxxx
thanks all
and thanks again to Amida Ta for the library!!
|
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.11.17 00:50:00 -
[626]
EveAI Live Version 1.3.4 has been released! Please report if you find any errors.
- Added the new AccountStatus and MailBody API.
- Added some Properties that are new for the APIs (like character birth).
- Changed processing for APIs that were changed by CCP (most notably the Standings API). The API tries to stay as compatible as possible. Fields that are now meaningless are marked as Obsolete.
- Several bugfixes and enhancements.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.3.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.11.17 00:59:00 -
[627]
Originally by: Cibeureum I think I've found a bug...
I'm trying to get Industry jobs and the corp version always seems to fail with the following error (vb.net): Run-time exception thrown : System.OverflowException - Value was either too large or too small for an Int32. As a note, after these errors, i went to the ccp api webpage and put in the same api authentication info and it was able to retrieve the corp industry jobs.
http://api.eveonline.com//corp/IndustryJobs.xml.aspx?userID=xxxx&apikey=xxxxx&characterID=xxxx
Without even having a stacktrace I cannot locate the error (and I cannot reproduce it myself). If you want to help me retrieve the xml file as you already did and find out which of the xml entities have a size that would not fit into an Int32 (which ones are bigger than 2147483648). _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
Krathos Morpheus
Legion Infernal
|
Posted - 2010.11.17 03:12:00 -
[628]
Edited by: Krathos Morpheus on 17/11/2010 03:16:10
Originally by: Amida Ta EveAI Live Version 1.3.4 has been released! Please report if you find any errors.
- Added the new AccountStatus and MailBody API.
- Added some Properties that are new for the APIs (like character birth).
- Changed processing for APIs that were changed by CCP (most notably the Standings API). The API tries to stay as compatible as possible. Fields that are now meaningless are marked as Obsolete.
- Several bugfixes and enhancements.
Here is the new version: http://dl.eve-files.com/media/corp/Foxfire/EveAI_Live_1.3.4.zip
Yay! Thanks! What about those changes to expand EveMetrics prices funcionallity? Are those still a possibility? I was having problems pulling more than one price at the same time from metrics too (through the specified matrix of productTypes), but right now I've broken the app with something related to database paths and can't check right now, I'll check it when I fix it whenever that is.
PS: Update first post with current version link, some people were having problems because they were not using the most current version unknowing.
|
Modescond
Minmatar Twilight Military Industrial Complex Alliance
|
Posted - 2010.11.17 03:12:00 -
[629]
Thanks for the release. I was waiting (patiently) for the corporation roles :)
However, I did find a bug. You are attempting to pull the CorporationRoles RoleIDs in as a Int32, these are actually UInt64's. the process fails on characters with the higher numbered IDs.
also, any headway w/ the authentication-less CorporationSheet (similar to the CharacterSheet that doesn't require any id/key). and lastly, any way to pull Market information w/o using the StaticDataDataReader? Seems a bit of a waste since i have the IDs i want to pull already.
Thanks!
|
Cibeureum
|
Posted - 2010.11.17 08:59:00 -
[630]
Quote:
Without even having a stacktrace I cannot locate the error (and I cannot reproduce it myself). If you want to help me retrieve the xml file as you already did and find out which of the xml entities have a size that would not fit into an Int32 (which ones are bigger than 2147483648).
See, if i was smart... that's what i would of done instead of banging my head against the wall trying different solutions (including attemping to get xml directly from ccp with horrible results!!)
Great idea Amida!! I'll do this asap and let you know
:) |
|
|
|
|
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 |