Comments (5)
Stopwatch measured 7.2 - 7.5s for 30 elder wood planks; default crafting time is 1s (verified w/stopwatch). I am a bit slow; got 1.7-1.9s for 2 planks. 2.2-2.6 for 3 planks. - notably longer (by more than just .2 s) than the wiki predicts. 2.6-2.9 for 4 planks.
43.09s for 252 items w/base time of 1000ms. 44.33s for 124 items w/base time of 2000ms. 62.19s for 372 items w/base time of 1000ms. 13.88s for 70 items w/base time of 1000ms. 11.10s for 52 (same) items w/base time of 1000ms.
So, crafting floor for 1000ms item is around 76.5ms.
baseTime / 1.572 ^ floor(index, 5) (index is 0 based) per item is almost correct. It's around 100-200 ms slower than most outcomes (to account for reaction times), but it overestimates for the 372 items as 62.56s. Also off for smaller values; 30 it estimates as 6.55s (unreasonably low).
Attempts with baseTime / floor(item, 18) ^ .648 for all items after the first (item is 1 based) are also close, but not quite as accurate. I'm not sure offhand what kind of function we're looking at.
Edit: 44.15s for 27 items w/a 7000ms crafting time.
from gw2-arbitrage.
Purchasing/selling time is also a non-trivial part of the crafting time. I've found buying 41 stacks of Sliver of Twitching Forgemetal to take a significant chunk of time. Selling when there are many orders of 1 is also significantly more time consuming than a few bulk orders. This time may be difficult to estimate, as it might be based on how busy the market database is. Still, it should be feasible to estimate an average via wall clock timing with a good number of samples.
Other times I've considered factoring in and rejected:
- Travel between crafting station and TP. This is so short as to be negligable in the Mistlock Sanctuary, can be negated entirely via a Trading Post Express or Personal Trader Express, and might be irrelevant for other reasons
- Swapping the crafting interface to the next item to craft. Quick enough to be ignored.
- Inventory management. Not universally relevant, and most opportunities don't take more than 40 slots for raw materials anyway.
from gw2-arbitrage.
baseTime / 1.572 ^ floor(index, 5) (index is 0 based) per item is almost correct
Thanks for looking into this. Did you settle on 1.572 through trial and error? Even if it's not perfect it sounds accurate enough to be more useful than what the tool currently shows.
from gw2-arbitrage.
Yes, trial and error. I guessed (as does the wiki) this was an exponential function of the form C^-n (C being a constant). The slope possibly doesn't quite match, but that is the most common kind of function I've seen in games (also used for XP curves, for example). The constant was determined with a manual binary search; not aiming for terribly high accuracy, so it could be further refined. One thing that makes me uncomfortable about it is I can't find a good ratio or well known irrational number which fits it. People usually prefer familiar numbers, numbers with 5's and 0's, and numbers with few decimal places. It is possible the number was picked via trial and error as well - but I feel that is improbable. The curve not quite matching also confirms I'm missing something important somewhere.
That all said - yeah, it seems close enough to be useful - which maybe is all one can ask of it without knowing the proper formula :).
from gw2-arbitrage.
Another stopwatch value. 1500 items at 1000 ms each took 244.04 seconds. I add this since the average time should be quite close to the minimum time, and I was crafting them anyway.
Notably, this is < 1/6 * base time per item, but only just.
1980 items was around 320 seconds (maybe 319 something, missed the first press, second at 320.05).
793 items at 129.30 seconds.
2700 items at 434.75 seconds.
Another 1500 at 242.83 seconds.
The difference between the 1500 and the 1980 works out to roughly 0.1583_s per item, or 19/120 - just under 1/6th. Might be a good estimate for the longer part of the crafting formula, just have to figure out the lower part then.
Though, 0.15993 per item for the 2700 - 1500 matches pretty close with the 0.16102 for the avg per item for 2700. At .16, this would translate to 6.25 items per second.
from gw2-arbitrage.
Related Issues (14)
- modify shopping list printout to include ( N x stacks + remainder) when ingredient_count > 250 HOT 3
- Don't suggest crafting using deprecated recipes HOT 1
- Use my API key to check if I know the recipe HOT 1
- Default cache API calls for a few minutes HOT 3
- Threshold command switch / config option
- Opt out of showing mystic forge recipes by default
- add missing timegated recipes to is_timegated? HOT 1
- Question re line of code HOT 1
- no longer possible to filter by discipline HOT 2
- Crash when running HOT 4
- Use a well-defined location for 'recipes.bin'/'items.bin' HOT 6
- Include non-API recipes HOT 8
- Show recipe price, if recipe must be crafted/bought HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gw2-arbitrage.