Commit Graph

4356 Commits

Author SHA1 Message Date
JustArchi
a2264437a1 Translation updates 2017-04-27 03:15:30 +02:00
JustArchi
53d809615e Add note about pre-release versions 2017-04-27 03:09:45 +02:00
JustArchi
7bd2ce650c Misc code review 2017-04-27 01:57:04 +02:00
JustArchi
3dd8aa7cad Misc 2017-04-25 04:25:47 +02:00
JustArchi
2c42eb6703 Bump 2017-04-24 06:30:40 +02:00
JustArchi
18cb27581a Translation updates 2.3.1.1 2017-04-24 06:28:45 +02:00
JustArchi
f5fbaa4c61 Packages update
Closes #531
2017-04-24 06:27:50 +02:00
JustArchi
77e46fda0e Misc 2017-04-23 22:08:33 +02:00
JustArchi
a6c448340d Optimize GetActiveTradeOffers()
This is a very important optimization, as Steam might randomly fuck up and not apply default cutoff of last request (as stated in documentation). We have no interest of changes anyway, so we can skip all trades but active ones.
2017-04-22 00:46:19 +02:00
JustArchi
e506930672 Revert "Packages update"
This reverts commit 32c54752cb.
2017-04-21 20:29:28 +02:00
JustArchi
32c54752cb Packages update 2017-04-21 20:25:16 +02:00
JustArchi
e12fa4e265 Explicitly set state to offline when farming offline instead of skipping it.
Otherwise we could trigger Steam fuckup with offline messages.
2017-04-21 20:20:08 +02:00
JustArchi
a335b7f2a5 Translation updates 2017-04-16 18:18:01 +02:00
JustArchi
87ea402de6 Improve OnNewGameAdded() event
This event should work similar to Trading.OnNewTrade() event - we can call it many times, especially once per each game being added, and if we're adding many games through a bundle or app_license_request, we might quickly run into having 30+ badge parsing tasks queued, which doesn't make much sense considering that just 2 are sufficient for an update.
Correct it in a way that makes both me and Steam servers happy.
2017-04-16 18:15:09 +02:00
JustArchi
47b8d94d1a Misc 2017-04-14 02:33:57 +02:00
JustArchi
cad1577734 Bump 2017-04-13 21:43:10 +02:00
JustArchi
860895e838 Translations update 2.3.1.0 2017-04-13 21:42:46 +02:00
JustArchi
dc6992b79f Runtime code cleanup 2017-04-10 22:19:16 +02:00
JustArchi
2964c87f44 Closes #529 2017-04-10 22:09:29 +02:00
JustArchi
3e6c301476 Misc 2017-04-09 18:36:11 +02:00
JustArchi
e02f847fc1 Misc 2017-04-09 14:19:42 +02:00
JustArchi
3b888faa5c Translation updates 2017-04-08 22:03:47 +02:00
JustArchi
13ff7983d9 Revert "crowdin-cli 2.0.13"
This reverts commit fe16d4e75b.

https://github.com/crowdin/crowdin-cli-2/issues/34
2017-04-08 21:32:05 +02:00
JustArchi
ad27eade56 Further enhance remaining TimeSpan-based strings 2017-04-08 21:12:44 +02:00
JustArchi
c990c57036 Misc 2017-04-08 20:34:17 +02:00
JustArchi
4e9bbdff68 Bump 2017-04-08 05:36:21 +02:00
JustArchi
1d3fb2a340 Translation updates 2.3.0.9 2017-04-08 05:20:03 +02:00
JustArchi
fe16d4e75b crowdin-cli 2.0.13 2017-04-08 05:18:20 +02:00
JustArchi
d06a47a2be Correct outdated localization context 2017-04-08 05:16:31 +02:00
Łukasz Domeradzki
444ebe22c9 Merge pull request #526 from JustArchi/humanize
Humanize TimeSpans, get rid of dirty manual TimeSpan translations
2017-04-08 05:14:20 +02:00
JustArchi
92bb7d0927 Humanize TimeSpans, get rid of dirty manual TimeSpan translations 2017-04-08 05:05:09 +02:00
JustArchi
8c0a100ae8 Enhance InventoryLimiterDelay
Gifts/Login limiter is actually working decent, because response is nearly instant and fast enough to not worry about it in long-run.
With inventory things are entirely different, as inventory fetching might take even a very long time, and while fetching one inventory, we might already run out of our delay and start fetching another one.
This is not a big functionality-wise, as it's nothing new for ASF to parse multiple inventories concurrently, but Steam Community actually counts number of requests, and our inventory function might ask for multiple pages during execution, which could quickly lead to a situation of 10+ ongoing inventory requests being sent concurrently for too many accounts at once, as we can't predict not only how long the request will be handled, but also how many sub-requests we will do across one.
This means that for optimal performance in terms of rate-limiting, we must limit ASF to one inventory request at a time, with mandatory InventoryLimiterDelay before asking for another one.
This can degrade performance of previously fast !loot requests on multiple accounts at once (especially with bigger inventories), but it will also decrease significantly a chance of getting rate-limited and requests failing.
2017-04-08 04:47:38 +02:00
JustArchi
4e1a03222b Fix potential STM logic exploit
Previously we calculated amounts (and therefore, differences) based on cards only, which means that user could earn some extra 'points' in our calculation for giving us many trash cards that we miss, and in exchange for that swap cards from some other game that would normally results in non-neutral difference on that game basis, but neutral+ in overall basis (that we operated on).
This would not cause any serious problem, because ASF ensures that trade is fair before calculating actual neutrality, but it could result in accepting a trade that is neutral+ only at first sight, and non-neutral+ when we take a closer look what we're actually swapping.
The logic was enhanced to handle differences on per-game basis now, and taking minimum in account, so all swaps on per-game basis have to be neutral+ now
2017-04-08 04:33:01 +02:00
JustArchi
721e96bb98 Closes #525
We're fine with 5.0+
2017-04-07 21:05:14 +02:00
JustArchi
68d49c8ec1 Fix sort -V to work on OS X 2017-04-06 00:23:48 +02:00
JustArchi
18800b0436 Misc 2017-04-05 18:08:26 +02:00
JustArchi
5b713dc5a9 Misc 2017-04-05 18:07:14 +02:00
JustArchi
995f34a5c2 Bugfix 2017-04-05 18:04:31 +02:00
JustArchi
7526f1e510 Add recently-introduced Mono facades APIs to envsetup 2017-04-05 18:02:10 +02:00
JustArchi
5feda9f751 Misc 2017-04-05 17:30:56 +02:00
JustArchi
64845e3d0f Add back accidentally removed comments 2017-04-05 17:29:25 +02:00
JustArchi
adfc992f26 Resharper Cleanup v2 2017-04-05 17:23:18 +02:00
JustArchi
fcf9686a79 Revert "Resharper cleanup"
This reverts commit 7c8d7b5ada.

Bad cleanup.
2017-04-05 17:01:18 +02:00
JustArchi
7c8d7b5ada Resharper cleanup 2017-04-05 16:59:48 +02:00
JustArchi
2199172244 Kill false warnings 2017-04-05 16:25:55 +02:00
JustArchi
c7515f9024 Post-merge Resharper fixes #501 2017-04-05 16:17:34 +02:00
Łukasz Domeradzki
7d7a1c9900 Merge pull request #501 from Logerfo/master
C# 7.0 syntax sugars
2017-04-05 15:54:21 +02:00
Bruno Logerfo
ce84e3845b new use cases 2017-04-05 10:43:16 -03:00
Logerfo
e4da0c05d5 Merge branch 'master' into master 2017-04-05 10:33:13 -03:00
JustArchi
be164ad726 Fix JSON failures with wallet code redeem 2017-04-05 15:03:27 +02:00