Post by alorel on Apr 17, 2016 15:28:56 GMT
- Homepage (with the latest README): github.com/Alorel/avabur-improved
- Changelog: github.com/Alorel/avabur-improved/releases
- Source preview: github.com/Alorel/avabur-improved/blob/master/avabur-improved.user.js
This is work-in-progress userscript to be used with Tampermonkey on Chrome (Greasemonkey is not supported; use the latest version of Chrome). It won't automate any gameplay, but it will help you use the UI more efficiently!
For best results be sure to set your update interval to 6hr (the extension's minimum): prntscr.com/atd7sy.
Current features:
- UI General
- Hovering a resource will now show its lowest, average and highest market prices like so (values are cached for a set amount of time) [Screenshot]
- Clicking a sellable resource (crystals, plat, wood etc) will take you to that resource's market page
- Fixed some of the CSS the game devs left out Hovering materials and fragments on the top bar will now display them in colour, just like all the other resources.
- Shortcuts to game activities: [Screenshot]
- Hovering a resource will now show its lowest, average and highest market prices like so (values are cached for a set amount of time) [Screenshot]
- Notifications (can be configured in the script settings, disabled by default)
- Sound and/or browser notifications on whispers
- Sound and/or browser notification when house construction finishes
- Sound and/or browser notifications on whispers
- Inventory
- Ingredients are getting some love! Hover them to see their current market price, click them to go to the ingredients market tab. Unfortunately, the ingredient does not get auto-filtered. [Screenshot]
- House
- Permanent construction timer without having to build an alarm clock [Screenshot]! This feature is enabled by default and can be toggled off. After starting a new building task click "refresh" on the timer.
Planned features:
- Improvements on the inventory/market UI, making it much easier to sell ingredients/gear/gems
- Market alerts - be notified when an item is above/below a threshold (most likely scrapped due to server requests)
- Market watcher - historic graphs for price changes (stored locally on your machine)
- Squeezing out more information in general - once more data is available we might be able to predict your win rate on new mobs etc
- Market ads - want to advertise an item that just won't sell? Make an entire list and send each message with a single click to the selected channel so you don't have to type them in every time. There will be a 30 minute timer per message and you will be reminded when you can advertise again - let technology take care of anti-spamming for you!
- Fewer clicks for crafting/carving
- Item multisends
- Ingredient price lookup (partially implemented - demo in the inventory)
- Quest retaking. Instead of having to open the quest window, turn the quest in and take a new one, have one button that will fire all the requests in one click
Greasemonkey permissions:
- GM_getValue, GM_setValue, GM_deleteValue, GM_listValues: these are simply used as an alternative to the browser's local storage. Userscript settings and runtime data are stored here.
- GM_getResourceURL, GM_getResourceText: some assets, such as 3rd party libraries, CSS files and images are static and will hardly ever change, so it makes sense for them to just be downloaded once and read from disk.
- GM_xmlhttpRequest and the respective @connects: Used to check for updates. In the future it will also be used to view the changelog.
- GM_notification: The name is self-explanatory now, isn't it? This is Greasemonkey's API for HTML5 notifications.
Updates
22:51 22 Apr
Fixed an issue that would make the "House unavailable" message to be shown even if you own a house.
18:09 22 Apr
Removed all @resource tags - all dependencies (bar JS) are now loaded asynchronously within the script. This should improve startup speed.
09:18 22 Apr
Most @resources have been replaced with CDN URLs - faster page loads!
17:46 21 Apr
Fixed some issues with CSS overflow on the inventory page. A script update and page refresh should do it.
15:08 21 Apr
Clicking "Ready" on the house timer div will now take you to the building UI.
02:08 21 Apr
Added menu shortcuts for game activities
00:30 21 Apr
- Sound and/or browser notification when house construction finishes
- Permanent construction timer without having to build an alarm clock [Screenshot]! This feature is enabled by default and can be toggled off in the settings.
- Ingredient ID lookups are now stored in session storage and will persist until you close all your browser windows (so essentially they'll stay there forever)
20:02 20 Apr
Ingredients are getting some love! Hover them to see their current market price, click them to go to the ingredients market tab
23:52 19 Apr
Clicking a sellable resource (crystals, plat, wood etc) will take you to that resource's market page
19:56 19 Apr 2016
Notifications are here, woo! See the changelog link at the top of the post for more info.
22:22 17 Apr 2016
The market tooltips now display the min, avg and max prices off the 1st page.
20:40 17 Apr 2016
Added automatic cache for the market queries. Results are now cached for one minute, i.e. you will not be making more than one HTTP request to the market per resource per minute.
17:50 17 Apr 2016
Fixed a metadata bug that would prevent the script from loading on the www version of Avabur
17:26 17 Apr 2016
After some very good feedback in the game chat I'll be adding local cache for server requests so the script doesn't send more requests than it actually needs.
P.S. Goes without saying, but if you don't trust the author just proofread the code yourself. If you can't read Javascript then RTFM or don't install - I don't want any moaning here as my job is to share my work, not convince you to use it.