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) |
Viktor Rasmussen
Gallente Eagle's Club
|
Posted - 2011.06.30 17:07:00 -
[721]
Edited by: Viktor Rasmussen on 30/06/2011 17:07:37 Yeah, a fix would be awesome. I think this can't be too complicated since one only need to chance int32 to int64. However maybe the author of this great tool is in holiday :-)
|
Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.06.30 21:30:00 -
[722]
I decompiled this library a while ago and keep it up-to-date for my needs. So I looked into the issue with transactionID being int64 now, and can't confirm it. WalletTransactionApi reads transactionID into a long(which is int64) using this line of code:
item.TransactionID = EveApiBase.ReadXmlInt64(node2, "transactionID");
So most likely you encountered a strange bug in the API(I can't reproduce the error, too. It just gets me the WalletTransactions fine), or you're not using the latest version(1.5.0a), which was released on page 23.
And don't ask me to release my modified version or even the source. Amida Ta made very clear that he does not want to release the source.
|
Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.07.01 00:47:00 -
[723]
*shrug* I'm using 1.5.0a and just double-checked it to make sure.
Oh well. I was thinking of making a php/mysql version of my trading app anyways. Or maybe not and just give eve a miss for a few months.
|
Lidl Markt
|
Posted - 2011.07.04 07:47:00 -
[724]
Edited by: Lidl Markt on 04/07/2011 07:47:39 *removed*
|
Viktor Rasmussen
Gallente Eagle's Club
|
Posted - 2011.07.04 08:08:00 -
[725]
I use the 1.5.0 api. This is the code where the exception occours:
CorporationWalletTransactionApi api = new CorporationWalletTransactionApi(); api.AuthenticationData = auth; api.IgnoreMemoryCache = true; api.MultiPartRequestIgnore = true; api.UpdateData(); <- Exception with in32 not beeing int64[1]
And I don't know what I can do to not trap into this exception. The interesting thing in the exception is the "EveAI.Live.EveApiBase.ReadXmlInt32" thing. You just told me that the API use ReadXmlInt64!?
[1] System.OverflowException wurde nicht behandelt. Message=Der Wert fnr einen Int32 war zu groŻ oder zu klein. Source=mscorlib StackTrace: bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) bei System.Int32.Parse(String s, IFormatProvider provider) bei EveAI.Live.EveApiBase.ReadXmlInt32(XmlNode node, String attributeName) bei EveAI.Live.Utility.WalletTransactionApi.ProcessXmlData(XmlNode resultNode, Boolean clearExistingData) bei EveAI.Live.EveApiBase.UpdateDataInternal(String data, XmlDocument& document, Boolean liveData, Boolean ignoreCacheDate) bei EveAI.Live.EveApiBase.UpdateDataFromWeb() bei EveAI.Live.EveApiBase.UpdateData(UpdateCharaceristics updateCharacteristics) bei EveAI.Live.EveApiBase.UpdateData() bei EveHelper.EveApiContext.LoadCorporationTransactions() in C:\Entwicklung\EveHelper.net\EveHelper\EveApiContext.cs:Zeile 176. bei EveHelper.Markt.MarktPanel.callAPIBtn_Click(Object sender, EventArgs e) in C:\Entwicklung\EveHelper.net\EveHelper\Markt\MarktPanel.cs:Zeile 417. bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) bei System.Windows.Forms.ToolStripButton.OnClick(EventArgs e) bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ScrollableControl.WndProc(Message& m) bei System.Windows.Forms.ToolStrip.WndProc(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.Run(Form mainForm) bei EveHelper.Program.Main(String[] args) in C:\Entwicklung\EveHelper.net\EveHelper\Program.cs:Zeile 70. bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart() InnerException:
|
Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.07.06 18:01:00 -
[726]
Alright, i think i found the problem. I uploaded a modified version here: http://eve-files.com/dl/245266 This is built against .NET Framework 4 Client Profile, as I made some personal changes that require it. For me this version works just like the original one. There are no changes to the Api. However, i made some personal modifications to it, so i cannot guarantee that it's 100% perfect.
|
Isha Can
|
Posted - 2011.07.07 01:11:00 -
[727]
Hey there been using the library for a few days now and I can't for the life of me find how to convert from solar system name to solar system id. Also when ever i use static data it always seems to be empty am I using the library wrong do I have to load the data some how. For instance the getSoverentystatus method returns an empty list. Any help would be much appreciated thanks
|
TradeJit
|
Posted - 2011.07.07 16:22:00 -
[728]
nice work, may u can fix the function: .GetCorporationStarbaseDetail() ?
|
TradeJit
|
Posted - 2011.07.08 07:46:00 -
[729]
tested the other functions, worked perfect so far. nice work! |
Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.07.08 10:51:00 -
[730]
I never used this function, and in a quick test I could not find any problems. What's wrong with it? |
|
TradeJit
|
Posted - 2011.07.08 12:13:00 -
[731]
this function still want¦s to have a int as argument, but must be long (x64) |
Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.07.09 13:53:00 -
[732]
Edited by: Yar''vak on 09/07/2011 13:53:04 Strange, the whole backend already uses long, i just had to change the parameter from int to long. Fixed version here: http://eve-files.com/dl/245597 |
TradeJit
|
Posted - 2011.07.11 08:53:00 -
[733]
all working perfect now! didn¦t noticed any errors, good work man!
|
Zeta Zhul
Caldari Preemptive Paranoia
|
Posted - 2011.07.25 04:26:00 -
[734]
bumpity
|
Jognu
French Kiss Singularity Astromechanica Federatis
|
Posted - 2011.07.30 17:11:00 -
[735]
Nice to see that someone maintain the project ! Can you look at the GetCorporationMemberSecurity() function (it return nothing), Amida say that he fix it but he never publish the release !
Thanks !
|
GLotsapot
Amarr AeonTek
|
Posted - 2011.08.02 01:29:00 -
[736]
It's a pitty this isn't a maintained project. Since the API will be changing at the end of the month, I'm not sure how long they'll be leaving the old API system up and running (especially since all new API's generated will be using the new system)
See following link for details: Customizable API key update
|
Jenny Aakiwa
|
Posted - 2011.08.11 07:11:00 -
[737]
Edited by: Jenny Aakiwa on 11/08/2011 07:18:08 Edited by: Jenny Aakiwa on 11/08/2011 07:12:22 [Deleted] Didn't notice above comments.
By the way, shouldn't the API library code be published to everyone so that everyone can maintain it and not JUST the creator?
|
Krathos Morpheus
Legion Infernal
|
Posted - 2011.08.11 12:42:00 -
[738]
Originally by: Jenny Aakiwa Edited by: Jenny Aakiwa on 11/08/2011 07:18:08 Edited by: Jenny Aakiwa on 11/08/2011 07:12:22 [Deleted] Didn't notice above comments.
By the way, shouldn't the API library code be published to everyone so that everyone can maintain it and not JUST the creator?
Do you think every single line of code you write should be published so everyone can use it as they want? Why should it?
|
Ray McCormack
Nordar Innovations.
|
Posted - 2011.08.13 07:58:00 -
[739]
Originally by: GLotsapot It's a pitty this isn't a maintained project. Since the API will be changing at the end of the month, I'm not sure how long they'll be leaving the old API system up and running (especially since all new API's generated will be using the new system)
See following link for details: Customizable API key update
The shift to customisable API keys shouldn't have any impact on how this library behaves as no change is made to the API request URI.
|
Jenny Aakiwa
|
Posted - 2011.08.14 05:09:00 -
[740]
Originally by: Krathos Morpheus
Originally by: Jenny Aakiwa Edited by: Jenny Aakiwa on 11/08/2011 07:18:08 Edited by: Jenny Aakiwa on 11/08/2011 07:12:22 [Deleted] Didn't notice above comments.
By the way, shouldn't the API library code be published to everyone so that everyone can maintain it and not JUST the creator?
Do you think every single line of code you write should be published so everyone can use it as they want? Why should it?
Because this isn't a commercial work and beside there are a lot of open source software that were originally private and in a long run, the software that were widely used will become much more improved as it is supported by the community.
|
|
Capt 0bvious
Adaptes Astartes
|
Posted - 2011.08.14 08:11:00 -
[741]
Can anyone give me some sample code to use in visual studio 2010 express? I'm trying to learn programming (online courses and such), but im not on the level yet where i can change the VB examples to c#.
Also it gives me errors when the code seems to be ok at some point. However i think that gas to do with me being a noob :-)
|
Ray McCormack
Nordar Innovations.
|
Posted - 2011.08.14 08:34:00 -
[742]
Originally by: Capt 0bvious change the VB examples to c#.
http://www.developerfusion.com/tools/convert/vb-to-csharp/
|
Capt 0bvious
Adaptes Astartes
|
Posted - 2011.08.14 08:47:00 -
[743]
Ah!
Cheers, thanks for that!
|
Krathos Morpheus
Legion Infernal
|
Posted - 2011.08.14 19:03:00 -
[744]
|
Raiikon Xzinlai
|
Posted - 2011.08.14 21:11:00 -
[745]
Originally by: Ray McCormack
Originally by: Capt 0bvious change the VB examples to c#.
http://www.developerfusion.com/tools/convert/vb-to-csharp/
I actually just used that to help me with some code I could only find in VB. It is pretty good, though I still needed to make a few minor adjustments to get it correct in C#.
I am having a small issue with my caching. I want to write my own cache files but cannot seem to stop EveAI from caching. Is setting PersistData to false not the method?
CalenderUpcomingEventsApi calEvApi = new CalenderUpcomingEventsApi(); calEvApi.AuthenticationData = auth; calEvApi.PersistData = false; calEvApi.UpdateData(); List<CalendarEventItem> calEv = calEvApi.Data;
Thanks |
Capt 0bvious
Adaptes Astartes
|
Posted - 2011.08.15 08:04:00 -
[746]
Ha, still getting some errors when copy/pasting for example the vb.net code into the translator and then into VS.
But that is just me, will have to learn more about programming :p
|
Odin Lister
Gallente Flashpoint Industries
|
Posted - 2011.08.16 12:46:00 -
[747]
Hey Great work Amida on EVEAI.
Any chance you can post a code snippet for making requests to eve-central.
Using 2.0 i think thats the version for .net 4
Cheers Odin
|
Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.08.17 07:12:00 -
[748]
There is no Eve Central Api included in EveAI.
|
Odin Lister
Gallente Flashpoint Industries
|
Posted - 2011.08.17 08:43:00 -
[749]
Originally by: Yar'vak There is no Eve Central Api included in EveAI.
Uhm ok, i might be wrong what is the eveai.live.market namespace?
It contains:
EveCentralMarketApi EveMetricsApi MarketApi MarketExecption ProductStatistics TradeQuote
____________________________________ If it helps Compatible Version: 1.5 User Agent: EveAI/2.0.0.0 Api Config: 2.0.0.0
|
Yar'vak
Morningstar Technologies Ltd. Shadow of xXDEATHXx
|
Posted - 2011.08.18 17:45:00 -
[750]
uhm, never seen them before. And i thought i'd know all parts of the lib.
|
|
|
|
|
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 |