Commit Graph

4369 Commits

Author SHA1 Message Date
JustArchi
ef2046bfe4 Misc 2017-05-06 01:59:01 +02:00
JustArchi
4a5b1094b4 Never handle friend message when running in offline mode
This is ridiculous how I've just reverted workaround of one thing only to find out another one needs fix. How do we even get a freaking message if we're set as offline? Did they even fix the problem CORRECTLY? Because I don't think so.
2017-05-06 01:57:40 +02:00
JustArchi
a05d4a4924 Fuckup 2017-05-06 01:47:46 +02:00
JustArchi
b272b6686f Revert workaround
Volvo fixed the bug that was supposed to be worked around
2017-05-06 01:21:20 +02:00
JustArchi
8898663a6c Misc + debug 2017-05-06 01:07:56 +02:00
JustArchi
c699dc34e7 Bump 2017-05-05 01:40:02 +02:00
JustArchi
b955eb394b Translation updates 2.3.1.3 2017-05-05 01:29:30 +02:00
JustArchi
90517d625e Fix misc displaying issue when redeeming keys
Also, since we make use of EResult already, display it together with EPurchaseResultDetail - OK/NoDetail looks much better than NoDetails alone.
2017-05-05 01:25:40 +02:00
JustArchi
cd0fc1c438 Misc 2017-05-01 20:01:50 +02:00
JustArchi
5dcef93c6b Misc 2017-04-30 05:33:50 +02:00
JustArchi
02ff2228de Bump 2017-04-29 23:30:43 +02:00
JustArchi
2df40b1934 Translation updates 2.3.1.2 2017-04-29 23:27:33 +02:00
JustArchi
37599d730b Packages update 2017-04-29 23:26:59 +02:00
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