Commit Graph

4974 Commits

Author SHA1 Message Date
JustArchi
552e8346bb Travis bump 2017-12-07 09:22:26 +01:00
JustArchi
e11dfb2522 Bump 2017-12-07 09:19:13 +01:00
JustArchi
2dd9d86ba7 Misc 3.0.5.1 2017-12-07 09:10:56 +01:00
JustArchi
4e327cb26e Misc 2017-12-07 08:44:01 +01:00
JustArchi
065a8f4502 Misc 2017-12-07 07:54:26 +01:00
JustArchi
57bcf50364 More API improvements 2017-12-06 10:21:30 +01:00
JustArchi
0fb5e9f8a8 Code cleanup 2017-12-06 10:08:00 +01:00
JustArchi
f9d8179904 Remove !api command, make API endpoint accept multiple bots 2017-12-06 10:06:50 +01:00
JustArchi
1a5b5a90fe API updates 2017-12-06 09:47:25 +01:00
JustArchi
a6c5008b6a Translations update 2017-12-06 08:15:48 +01:00
JustArchi
fe6865050f Closes #667 2017-12-06 08:14:12 +01:00
JustArchi
44f9d80b60 Use 401 unauthorized for wrong IPC password 2017-12-04 22:27:20 +01:00
JustArchi
24ed4025bd Bump 2017-12-03 14:13:32 +01:00
JustArchi
fef3d50b5c Translations update 3.0.5.0 2017-12-03 13:27:41 +01:00
JustArchi
bd06bfb7ea Closes #701 2017-12-03 13:26:22 +01:00
JustArchi
0f4864fef2 Re-enable UDP protocol by default 2017-12-03 12:28:05 +01:00
JustArchi
258caa2188 Packages update, closes #186, #576 2017-12-03 12:20:52 +01:00
JustArchi
b6da399c89 Rename notifications body
Try to stick with Valve's naming for this one.
2017-12-01 01:36:58 +01:00
JustArchi
97c1a7a1a6 Improve error routine
This way we avoid slow reflection-based Enum.IsDefined() while covering out-of-range values.
2017-12-01 01:01:02 +01:00
JustArchi
d07d82438f Update ENotification
According to https://github.com/SteamRE/SteamKit/issues/493
2017-12-01 00:49:19 +01:00
JustArchi
16d3ca7a8f Add unrecognized event type
https://github.com/SteamRE/SteamKit/issues/493
2017-12-01 00:16:54 +01:00
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