Commit Graph

4933 Commits

Author SHA1 Message Date
JustArchi
e3bc01bc44 Follow-up bugfix to 2d767c41aa 3.0.4.7 2017-11-18 20:35:57 +01:00
JustArchi
a925031dc9 Bump 2017-11-18 17:40:44 +01:00
JustArchi
d5f44f8f6c ReSharper: update header 3.0.4.6 2017-11-18 17:27:06 +01:00
JustArchi
2d767c41aa Fix latest Steam notifications fuckup
Initially the issue was observed in #697, but that itself wasn't exactly what was fixed here, as multiple evaluation of the same trade is still wanted scenario.

The real issue was reported in http://steamcommunity.com/groups/ascfarm/discussions/1/2425614539578192287/

In a huge TL;DR, Steam is now sending trades notification each time something fetches current trade offers, be it ASF, the user, or some other script.

This will lead to possible ASF trade loop, as we'll get wanted notification about new trades, fetch them, leave some trades untouched, get new notification about trades and so on.

Initially I wanted to fix this in dirty way by just ignoring any extra notifications that happened since API call until 5 extra seconds after we were done with entire parsing, but I found much better solution - Steam actually includes extra info about amount of trades/items in notification (makes sense, since Steam client displays that info too). We can make use of that info and simply ignore any extra notification that results in same or smaller count.

Thanks to that we didn't only add a decent workaround for this recent Steam fuckup, but we also improved internal ASF code that will no longer schedule extra parsing if we accepted/rejected only some of the trades, making me happy with the actual solution.
2017-11-18 17:20:24 +01:00
JustArchi
aa62e219c3 Bump 2017-11-18 02:28:08 +01:00
JustArchi
e5536f9106 Translations update 3.0.4.5 2017-11-18 02:20:35 +01:00
JustArchi
6545db5569 Packages update 2017-11-17 17:51:46 +01:00
JustArchi
070e91a6f9 Misc improvement 2017-11-17 17:50:14 +01:00
JustArchi
bec6cc0419 Translations update 2017-11-16 22:42:58 +01:00
JustArchi
c1e6604876 Code cleanup 2017-11-16 22:30:34 +01:00
JustArchi
9b508fbf41 Misc
We want these as read-only to ensure nothing modifies them in the underlying code.
2017-11-16 22:21:03 +01:00
JustArchi
15d3f48751 Code cleanup 2017-11-16 22:13:34 +01:00
JustArchi
8019cdcbb4 Code review according to Jeffrey Richter
> The pattern is to take the basest class or interface possible for your arguments and return the most specific class or interface possible for your return types. This gives your callers the most flexibility in passing in types to your methods and the most opportunities to cast/reuse the return values.
2017-11-16 22:10:11 +01:00
JustArchi
216bf4b486 Misc optimization 2017-11-16 20:33:16 +01:00
JustArchi
9bdb8c8ca8 Misc 2017-11-15 19:15:50 +01:00
JustArchi
c532cf637c Misc issue template 2017-11-13 02:34:39 +01:00
JustArchi
47b3f8f563 Closes #696 2017-11-13 02:13:29 +01:00
JustArchi
113595396e Bump 2017-11-12 23:34:56 +01:00
JustArchi
856a615d2d Misc optimization
I noticed that first card usually pops up around 2-3 seconds after second default FarmingDelay check, so we can add a few extra seconds and avoid doing 3rd request.
3.0.4.4
2017-11-12 23:25:03 +01:00
JustArchi
ffe73c0feb Closes #694 2017-11-12 23:16:26 +01:00
JustArchi
054949419f Misc ReSharper 2017-11-12 21:21:42 +01:00
JustArchi
6a7e71c672 Various code improvements 2017-11-12 20:38:20 +01:00
JustArchi
5ad01e2da8 Packages update 2017-11-11 19:33:46 +01:00
JustArchi
336a965903 ReSharper update 2017-11-11 19:12:26 +01:00
JustArchi
34473f502a Misc 2017-11-05 08:23:21 +01:00
JustArchi
4665f989fe Misc run.sh correction 2017-11-05 08:18:25 +01:00
JustArchi
2c08f315b7 crowdin-cli 2.0.20 2017-11-03 23:29:56 +01:00
JustArchi
7cfcebb64f Packages update 2017-11-03 23:28:25 +01:00
JustArchi
52decac16b Closes #688 2017-11-03 23:17:45 +01:00
JustArchi
73e0379d9c Travis: Fix 2017-11-01 07:46:22 +01:00
JustArchi
c761b49937 Travis: .NET Core SDK 2.0.2
I hope it's available yet.
2017-11-01 07:43:40 +01:00
JustArchi
933d83b49f Bump 2017-10-31 20:29:25 +01:00
JustArchi
19e0126b73 Translations update 3.0.4.3 2017-10-31 20:23:21 +01:00
JustArchi
110d98e07b Packages update 2017-10-31 20:22:33 +01:00
JustArchi
ac1dfb6c60 Closes #683 2017-10-31 20:16:01 +01:00
JustArchi
98e5257366 Bump again 2017-10-26 23:44:26 +02:00
JustArchi
4a3ea78ee6 Debump
I forgot AppVeyor can't built pr merge commit as release.
3.0.4.2
2017-10-26 23:44:07 +02:00
JustArchi
3d17d00302 Bump 2017-10-26 23:35:06 +02:00
Łukasz Domeradzki
7df7906f38 Merge pull request #686 from JustArchi/appveyor-1869
Remove AppVeyor misc workaround
2017-10-26 23:33:59 +02:00
JustArchi
769b8a0611 Translations update 2017-10-26 23:29:22 +02:00
JustArchi
247cb3d3bd Packages update 2017-10-26 23:28:43 +02:00
Łukasz Domeradzki
c53bdc69ca Remove AppVeyor workaround
https://github.com/appveyor/ci/issues/1869
2017-10-26 23:08:04 +02:00
Łukasz Domeradzki
9006b368b0 Linker optimizations (#681)
* Linker optimizations

* Test

* One step forward

* One step forward

* And final step forward

* Misc
2017-10-26 23:05:47 +02:00
JustArchi
c5776f0895 Translations update 2017-10-25 13:13:44 +02:00
JustArchi
820da042e5 Translations update 2017-10-24 17:01:42 +02:00
JustArchi
d0bf22e766 Packages update 2017-10-24 16:59:37 +02:00
JustArchi
18c71e1338 Misc 2017-10-24 16:59:07 +02:00
JustArchi
998b6b1499 Travis: misc 2017-10-23 22:45:32 +02:00
Łukasz Domeradzki
a4d22f4f8e Merge pull request #679 from JustArchi/appveyor-test
Improve AppVeyor workaround
2017-10-23 13:00:15 +02:00
JustArchi
9867f2c52c Improve AppVeyor workaround 2017-10-23 12:55:35 +02:00