These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

jEveAssets 4.1.2 (2017-06-07)

First post
Author
Messenger Of Truth
Butlerian Crusade
#1061 - 2016-09-29 14:27:29 UTC  |  Edited by: Messenger Of Truth
Instead of querying each citadel individually, it could be worth using the call to fetch all known citadels: https://stop.hammerti.me.uk/api/citadel/all

Then you could call this once per session or once every few hours (ideally with gzip enabled), and you wouldn't need to fire off an HTTP request each time you came across a new citadel, which might speed up the display of views.

Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck

Visit "Haulers Channel" in game for all matters courier-related.

Structure name/system API: stop.hammerti.me.uk/api

Golden Gnu
Lobach Inc.
#1062 - 2016-09-29 15:46:24 UTC
@Messenger Of Truth
I did not know about the "all" queue, that is definitely the way to go. Thank you very much for that information!
How often would you like jEveAssets to update from that API? once an hour? every 6 hours? once a day? or some other value?

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"

Messenger Of Truth
Butlerian Crusade
#1063 - 2016-09-29 16:47:03 UTC  |  Edited by: Messenger Of Truth
There are maybe 5 - 10 new citadels discovered a day at the moment on average. Maybe it will increase as more explorers get involved with the crowd-sourcing side of it. Checking more often than once an hour probably wouldn't provide a lot of value as there is unlikely to be a new citadel discovered in that time. The API is cached a little bit so that if you called it ridiculously often it wouldn't give you more up-to-date data, it would just chew up your bandwidth. The full list is almost a megabyte at the moment, but it goes down to about 100k IIRC if gzip is enabled.

I would say a sensible rate would be somewhere between once per hour and once per day, but it depends on the application really.

I'm toying with the idea of making an additional api that combines outpost and citadel name/location lookups.

Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck

Visit "Haulers Channel" in game for all matters courier-related.

Structure name/system API: stop.hammerti.me.uk/api

Golden Gnu
Lobach Inc.
#1064 - 2016-09-30 07:09:21 UTC
@Messenger Of Truth
Thank you very much creating the API, it's pure awesomeness! \o/
Also, thank you for suggest using GZip that will save everyone a lot of bandwidth :)
I have set the cache time to 2 hours, feel free to contact me anytime if you need me to increase it.

I will release a bug fix version later today. The code is done, just need to test it thorough.

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"

Golden Gnu
Lobach Inc.
#1065 - 2016-09-30 10:30:44 UTC  |  Edited by: Golden Gnu
jEveAssets 3.1.1 released

Bug Fix:
-Better integration of the stop.hammerti.me.uk citadel API

Known issues:
-Blueprint in contracts are always marked as BPC (API Bug)

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"

Golden Gnu
Lobach Inc.
#1066 - 2016-09-30 14:24:05 UTC
jEveAssets 3.1.2 released

New Features:
-Enabled GZip support for the pricing library (faster price update)

Bug Fix:
-Better error handling for the the stop.hammerti.me.uk citadel API

Known issues:
-Blueprint in contracts are always marked as BPC (API Bug)

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"

Caerfinon
Caldari Provisions
Caldari State
#1067 - 2016-09-30 23:25:31 UTC
Loaded 3.1.2 and everything is back to being AWESOME!
Thanks for your quick work Big smile

Cheers C.

@Caerfinon - Twitter

TheSmokingHertog
Julia's Interstellar Trade Emperium
#1068 - 2016-10-01 01:56:48 UTC
Golden Gnu wrote:
jEveAssets 3.1.2 released

New Features:
-Enabled GZip support for the pricing library (faster price update)

Bug Fix:
-Better error handling for the the stop.hammerti.me.uk citadel API

Known issues:
-Blueprint in contracts are always marked as BPC (API Bug)


Seems I need to add new api codes... can that happen?

"Dogma is kind of like quantum physics, observing the dogma state will change it." ~ CCP Prism X

"Schrödinger's Missile. I dig it." ~ Makari Aeron

-= "Brain in a Box on Singularity" - April 2015 =-

Johann Hemphill
Hedion University
Amarr Empire
#1069 - 2016-10-01 04:45:08 UTC  |  Edited by: Johann Hemphill
Wow! I can see assets in citadels! And market orders in citadels! I wasn't expecting this to happen for months.
Feature request: Please allow us to map citadel names like [Citadel #1,123,123,456,789] to memorable names, if only locally.
Thank you so much.
Golden Gnu
Lobach Inc.
#1070 - 2016-10-01 07:22:13 UTC  |  Edited by: Golden Gnu
@Caerfinon
And thank you for reporting the bug! Big smile

@TheSmokingHertog
I'm not sure what you mean?
If you're referring to the stop.hammerti.me.uk API, it does not need an API Key (just like the price APIs).
If you're having problems with your Eve API keys, please, contact me by mail, so, we can figure out what is wrong.
You can find my email on the wiki

@Johann Hemphill
Your feature request makes sense, but, you should know there is actually a way to add them to the stop.hammerti.me.uk citadel API: The Great Citadel Hunt of 2016
That helps everyone who have items in the citadel. Would that be enough or do you still need the feature?

EDIT:
Market orders as all CCP. Assets is a workaround. jEveAssets now get the asset list twice with different parameters, as assets in citadels only shows up in the flat assets list. jEveAssets, still needs the nested list to know what container each assets is in, so, jEveAssets have to get both - not at all optimal, but, it's the only way ATM.

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"

Johann Hemphill
Hedion University
Amarr Empire
#1071 - 2016-10-01 15:54:56 UTC  |  Edited by: Johann Hemphill
Golden Gnu wrote:

@Johann Hemphill
Your feature request makes sense, but, you should know there is actually a way to add them to the stop.hammerti.me.uk citadel API: The Great Citadel Hunt of 2016
That helps everyone who have items in the citadel. Would that be enough or do you still need the feature?


I just registered for the excellent program you linked.
I think the feature is still worth implementing. There will be citadels that people prefer to keep private and out of the database, and citadels that could benefit from a better name. I imagine being able to right-click on a citadel ID and seeing the option to set name, and then having the list of override mappings stored in Options -> Values -> Citadel Names.

Edit: After playing with it, even after bookmarking my commonly used citadels and refreshing them in the Citadel Hunt, and then updating jEveAssets, they are still not associated with citadel IDs so jEVEAssets cannot benefit. It requires a bunch of other stuff with buy orders to happen before it can make a definite mapping. This feature is definitely needed.
Golden Gnu
Lobach Inc.
#1072 - 2016-10-02 11:42:22 UTC
@Johann Hemphill
I have added it to the ToDo list, I hope to be able to code it soon (As I think it's a very useful and important feature), but, no promises

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"

Messenger Of Truth
Butlerian Crusade
#1073 - 2016-10-03 13:59:51 UTC
Johann Hemphill wrote:

Edit: After playing with it, even after bookmarking my commonly used citadels and refreshing them in the Citadel Hunt, and then updating jEveAssets, they are still not associated with citadel IDs so jEVEAssets cannot benefit. It requires a bunch of other stuff with buy orders to happen before it can make a definite mapping. This feature is definitely needed.


There is caching on the website and in jEveAssets, so I would expect that any citadels you upload find their way into jEveAssets within a few hours (3 or less). Did they turn up later?

Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck

Visit "Haulers Channel" in game for all matters courier-related.

Structure name/system API: stop.hammerti.me.uk/api

Johann Hemphill
Hedion University
Amarr Empire
#1074 - 2016-10-03 14:53:04 UTC  |  Edited by: Johann Hemphill
Messenger Of Truth wrote:
Johann Hemphill wrote:

Edit: After playing with it, even after bookmarking my commonly used citadels and refreshing them in the Citadel Hunt, and then updating jEveAssets, they are still not associated with citadel IDs so jEVEAssets cannot benefit. It requires a bunch of other stuff with buy orders to happen before it can make a definite mapping. This feature is definitely needed.


There is caching on the website and in jEveAssets, so I would expect that any citadels you upload find their way into jEveAssets within a few hours (3 or less). Did they turn up later?


Not in my jEveAssets client, but when queried directly--yes, at least one of them did https://stop.hammerti.me.uk/api/citadel/1021762992129

My client is erroring out while getting the citadel names
INFO [SwingWorker-pool-2-thread-2] net.nikr.eve.jeveasset.io.online.CitadelGetter - Citadels updating:
ERROR [SwingWorker-pool-2-thread-2] net.nikr.eve.jeveasset.io.online.CitadelGetter - Citadels failed to update

I'll submit a bug report.

Edit: Quick response. After uninstalling Java and reinstalling the latest one that error no longer appears. Just have to wait a few hours for the timer to allow me a full Update to see how this works.

Edit: Did the update and now see my favorite citadel names just like regular stations. Very nice!
Golden Gnu
Lobach Inc.
#1075 - 2016-10-03 18:19:48 UTC
@Johann Hemphill
I replied to your email :)

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"

TheSmokingHertog
Julia's Interstellar Trade Emperium
#1076 - 2016-10-03 18:22:50 UTC
Just started my weekend, after doing a long list of stuff on to do list, will look into it.

"Dogma is kind of like quantum physics, observing the dogma state will change it." ~ CCP Prism X

"Schrödinger's Missile. I dig it." ~ Makari Aeron

-= "Brain in a Box on Singularity" - April 2015 =-

Golden Gnu
Lobach Inc.
#1077 - 2016-10-03 21:01:10 UTC
@TheSmokingHertog
Take your time...

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"

Shei Bushaava
Neural Nexus
#1078 - 2016-10-09 08:35:02 UTC
Hi - jEVEAssets doesn't seem to work on the current version of Mac OSX (Sierra). On trying to run the .jar, I get the following error:


Exception in thread "main" java.lang.UnsupportedClassVersionError: net/nikr/eve/jeveasset/Main : Unsupported major.minor version 51.0
           at java.lang.ClassLoader.defineClass1(Native Method)
           at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
           at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
           at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
           at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
           at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
           at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
           at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
           at java.lang.ClassLoader.loadClass(ClassLoader.java:247)


Downloaded and updated to the latest version of Java, and tried redownloading the app, but neither made any difference.
Careby
#1079 - 2016-10-09 16:58:42 UTC  |  Edited by: Careby
When updating, I get an error for Citadels:

sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I assume this means jEveAssets is attempting to connect to an external resource and failing for some reason. I haven't yet had a chance to try any local troubleshooting so I don't have much supporting information to offer. Have you seen this before?

EDIT: After adding https://eve.nikr.net to the Exception Site List in the java control panel and updating my java runtime, I am no longer seeing this error.
Golden Gnu
Lobach Inc.
#1080 - 2016-10-10 14:16:34 UTC  |  Edited by: Golden Gnu
@Shei Bushaava@Careby
You both need to update to to the latest version of java 8. You can download it from java.com.
It may be a good idea to uninstall all previous version of java, before you install the latest version.

If you need any additional help with installing the latest version of java, just reply here...

Extra info:
UnsupportedClassVersionError = You're using an old version of java (Java 7 or bellow)
SunCertPathBuilderException = You get this because the SSL root certificates in your version of java is out of date.

EDIT:
@Careby
You can remove https://eve.nikr.net to the Exception Site List, jEveAssets does not use SSL to connect to that site (though, that would probably be a good idea, but, my host don't offer it for free, sadly).

Creator of jEveAssets - the asset manager

"Download is the meaning of life, upload is the meaning of intelligent life"