Commit Graph

16 Commits

Author SHA1 Message Date
JustArchi
f3b53d3da2 Implement ArchiBoT way of skipping unreleased games for farming purpose, closes #425 2017-01-17 17:59:40 +01:00
JustArchi
ba8d70aebb Copyright update 2017-01-02 20:05:21 +01:00
JustArchi
fb87ed8abc Misc 2016-11-29 13:08:59 +01:00
JustArchi
bcddffc2f2 Misc code enhancement 2016-11-29 12:16:32 +01:00
JustArchi
df218074ad Gigantic code cleanup
Time to enforce some common file layout, as general mess started to annoying me. Sorry in advance for people using custom forks and having merge conflicts, this will help everybody in long-run
2016-11-24 07:32:16 +01:00
JustArchi
2816ecaa90 Further optimize InMemoryServerListProvider and make it thread-safe 2016-08-19 04:57:21 +02:00
JustArchi
d517562467 Add more farming orders 2016-07-30 20:55:43 +02:00
JustArchi
c33f575c40 Implement AddRange() + refactoring 2016-07-29 23:36:57 +02:00
JustArchi
a90573e0ea Implement smart algorithm of avoiding OnCooldown
I really like this approach, as it has only one caveat: memory usage.
We need to keep in memory list of all packages that our account owns, which will result of N * 32bit extra memory usage, where N is equal to number of package licenses the account owns. This results in around 16 KB extra memory usage for my 4k account.
However, apart from that there are no real caveats as checking if we own given packageID is O(1) operation, and I think that apart from this extra memory footprint there can be more benefits of having this field in future, besides, my 16 KB is extreme case, as usually nobody goes that high. Ship it!
2016-07-28 21:20:57 +02:00
JustArchi
4f01dc39fc Code review 2016-07-25 06:08:45 +02:00
JustArchi
feb3fbfe59 Get used to null propagation 2016-07-10 20:17:35 +02:00
JustArchi
2cf2df62c5 This is no longer required 2016-06-27 21:17:23 +02:00
JustArchi
93191f9066 Add logic for MaxGamesPlayedConcurrently
This is a limit introduced by Steam Network, limit for Steam Client is 30, but we don't have to respect that one
2016-06-27 21:09:58 +02:00
JustArchi
99dbca1b36 Code review 2016-06-25 03:56:49 +02:00
JustArchi
b60b864aca Misc 2016-05-13 19:43:48 +02:00
JustArchi
4b50596709 Enhance concurrent access with ArchiBoT concurrent hashset 2016-05-13 19:39:54 +02:00