Commit Graph

4953 Commits

Author SHA1 Message Date
JustArchi
9f8397bb8d Misc 2017-11-30 23:39:35 +01:00
JustArchi
1861ea0770 Packages update 2017-11-30 23:11:17 +01:00
JustArchi
19345ebf96 Closes #700 2017-11-30 23:09:07 +01:00
JustArchi
5a890a592d Bump 2017-11-29 03:32:00 +01:00
JustArchi
cfa6fb3e1b Misc 3.0.4.9 2017-11-29 02:07:57 +01:00
JustArchi
a16847dab2 Misc cleanup 2017-11-29 01:54:48 +01:00
JustArchi
55cdb5d0d9 Fix preprocessor definition detection
Also wow, I had no idea that even .csproj files handled by msbuild support C# operations, this is freaking awesome.
2017-11-29 01:48:15 +01:00
JustArchi
fdd8eb408b Introduce UpdatePeriod
Direct AutoUpdates replacement, also get rid of ArchiSteamFarm.version, since I'm pretty sure it can be done at compile time instead.
2017-11-29 01:22:40 +01:00
JustArchi
a986963b5c Misc 2017-11-28 21:34:50 +01:00
JustArchi
83821e9994 Make usage of login keys optional 2017-11-28 21:31:45 +01:00
JustArchi
1253799444 Bump 2017-11-26 20:00:14 +01:00
JustArchi
5aec2f53fd Remove unnecessary events subscription 3.0.4.8 2017-11-26 19:41:32 +01:00
JustArchi
6a74084729 Internal improvements regarding https://github.com/SteamRE/SteamKit/issues/491
It also fixes V3.0.4.6 regression reported in http://steamcommunity.com/groups/ascfarm/discussions/1/1488866180608154465 - even though it's just a workaround for Steam Network issue.
2017-11-26 19:08:48 +01:00
JustArchi
d75c67febf Packages update 2017-11-26 18:26:50 +01:00
JustArchi
02073f3ee6 Add retry logic for SteamApps.PICSGetProductInfo() 2017-11-26 18:26:11 +01:00
JustArchi
c64ca49f17 Translations update 2017-11-25 07:50:25 +01:00
JustArchi
70468c4b2d Update travis environment
Possible now thanks to https://github.com/travis-ci/travis-ci/issues/8685
2017-11-22 20:16:25 +01:00
JustArchi
f8fa22f8c2 Avoid using dotnet exec
dotnet exec is implementation detail, initially I used it to avoid useless dotnet process that spawned dotnet exec, but it seems .NET Core team found out about this and patched it so initial dotnet call properly uses exec() on itself into dotnet exec, good job .NET Core team!
2017-11-22 05:49:38 +01:00
JustArchi
38877f1c0e Simplify notifications structure 2017-11-18 23:55:11 +01:00
JustArchi
e5a0c10c0d Bump 2017-11-18 20:38:39 +01:00
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