Commit Graph

904 Commits

Author SHA1 Message Date
JustArchi
e41d2cf37e Report on confirmation issues 2016-07-29 01:02:58 +02:00
JustArchi
fac5e65035 Fix accepting over 30 confirmations 2016-07-29 00:46:17 +02:00
JustArchi
b44115711b Don't stop keys forwarding if initial bot gets OnCooldown
In this case, move to the next one, try to redeem, and get the package data from it instead
2016-07-28 21:40:40 +02:00
JustArchi
a90573e0ea Implement smart algorithm of avoiding OnCooldown
I really like this approach, as it has only one caveat: memory usage.
We need to keep in memory list of all packages that our account owns, which will result of N * 32bit extra memory usage, where N is equal to number of package licenses the account owns. This results in around 16 KB extra memory usage for my 4k account.
However, apart from that there are no real caveats as checking if we own given packageID is O(1) operation, and I think that apart from this extra memory footprint there can be more benefits of having this field in future, besides, my 16 KB is extreme case, as usually nobody goes that high. Ship it!
2.1.3.2
2016-07-28 21:20:57 +02:00
JustArchi
5611694b90 Misc 2016-07-28 18:27:01 +02:00
JustArchi
efd7fbd3c0 Style fixes + move ServiceHost to try block 2016-07-28 18:07:26 +02:00
Łukasz Domeradzki
d32882d91e Merge pull request #309 from stackia/master
Add an option to switch WCF metadata publishing
2016-07-28 18:04:29 +02:00
stackia
8208e9aa77 Remove the WCFPublishMetadata config option, make it always on 2016-07-28 23:58:25 +08:00
stackia
c13eb02e51 Add an option to switch WCF metadata publishing 2016-07-28 20:34:35 +08:00
JustArchi
93ac6d5a28 Bump 2016-07-28 00:07:33 +02:00
JustArchi
413d44b42b Those should be errors 2.1.3.1 2016-07-27 04:53:23 +02:00
JustArchi
c52934ed9a Bring in small ArchiBoT trading enhancements
This mostly fixed forwarded tradeIDs to contain only trades that we indeed accepted and need to confirm, instead of all trades we're dealing with
2016-07-27 04:48:28 +02:00
JustArchi
b853c93c3f Precise Mono versions affected by bug 41701 2016-07-25 15:05:15 +02:00
JustArchi
0a86107804 Misc 2016-07-25 06:53:16 +02:00
JustArchi
cc2289798e Enable PortReuse on Windows + misc 2016-07-25 06:44:10 +02:00
JustArchi
4f01dc39fc Code review 2016-07-25 06:08:45 +02:00
JustArchi
52de999443 Bump 2016-07-25 00:10:17 +02:00
JustArchi
8998bf4832 Add extra support for fatal exceptions 2016-07-25 00:10:06 +02:00
JustArchi
49f6181263 Misc 2.1.3.0 2016-07-24 02:59:07 +02:00
JustArchi
e094a02762 Misc 2016-07-24 02:51:16 +02:00
JustArchi
410f31f995 Misc 2016-07-24 02:49:59 +02:00
JustArchi
85a70911e1 Add support of command-line-arguments to run.sh 2016-07-24 02:48:49 +02:00
JustArchi
0714c4e575 Add support for specifying --path= 2016-07-24 00:36:15 +02:00
JustArchi
b19a5c533f GetMySteamInventory() hardening 2016-07-23 01:58:56 +02:00
JustArchi
4129db0149 Bump 2016-07-22 06:27:11 +02:00
JustArchi
01c8e34b4d Remove obsolete GUI
Maybe in future I'll replace it with ASFui being developed on SG
2.1.2.9
2016-07-21 23:51:05 +02:00
JustArchi
b94bfae804 Revert "Fix compilation with Mono master"
This reverts commit b64491e284.

Didn't fix the issue as mcs.exe is bugged as well, I'll just live with Mono weekly being broken and unreliable ¯\_(ツ)_/¯
2016-07-21 23:38:33 +02:00
JustArchi
b64491e284 Fix compilation with Mono master
Bugs, bugs everywhere! https://bugzilla.xamarin.com/show_bug.cgi?id=42606
2016-07-21 23:24:03 +02:00
JustArchi
ba40448e7d Correct workaround for bug 41701
It's fixed since 4.5.3 onwards: e62c5b001d
2016-07-21 19:20:39 +02:00
JustArchi
3e8ef399dc Fix broken restart, closes #300 2016-07-19 22:18:00 +02:00
JustArchi
afbfb62bed Always expect english responses, closes #301
Also some misc fixes while I'm at it
2016-07-19 20:14:21 +02:00
JustArchi
0c709c6ca6 Bump 2016-07-19 05:09:53 +02:00
JustArchi
325529262a Revert "Modify default logic of handling keys"
This reverts commit 84271488e6.

http://steamcommunity.com/groups/ascfarm/discussions/1/352788552264319199
2.1.2.8
2016-07-19 05:05:23 +02:00
JustArchi
8cbda098de Always reset one-time-only access token after logging in
And not only if it succeeds
2016-07-19 05:01:52 +02:00
JustArchi
bfd37b4c06 Slightly modify Restart()
This fixes potential ultra-rare race condition of new process WCF being unable to bind to listening socket due to old process stil occupying it
2016-07-18 11:03:13 +02:00
JustArchi
39bc1fe719 Initialize AutoUpdatesTimer earlier
This fixes the potential issue of not initializing timer if first version check fails due to e.g. network failure
2016-07-18 10:51:25 +02:00
JustArchi
0e549985d2 Rewrite Steam crypto
This is much more readable and can be easily adapted if Valve changes anything, I never liked SDA code
2016-07-18 06:56:14 +02:00
JustArchi
496d2910e0 Move crypto to unmanaged implementation
Which is much better if Mono can handle it, should be OK
2016-07-18 06:01:21 +02:00
JustArchi
59c2e10bf1 Bump 2016-07-18 05:31:27 +02:00
JustArchi
84271488e6 Modify default logic of handling keys
I'm not yet sure if I want to keep it, but for now the logic is changed to start distributing/forwarding key from the bot that got it, and not from start of the collection
2.1.2.7
2016-07-17 04:19:56 +02:00
JustArchi
08c41fe80b Packages update 2016-07-17 01:41:08 +02:00
JustArchi
7bc8dab972 Fix new confirmation method for proper multi-confirmations support, closes #297 2016-07-16 21:03:39 +02:00
JustArchi
1227709bc2 Fix CD-key regex to be ignore-case
Also modify regex a bit to not catch keys like AAAAA-AAAAA-AAAAA- and the ones that are too long
2016-07-16 00:18:36 +02:00
JustArchi
5a32e91e88 cc.sh: Make git pull and nuget restore non-fatal 2016-07-15 21:48:39 +02:00
JustArchi
2c2dccec2a EXPERIMENTAL: Move 2FA to multi-confirmations, closes #295
Some further tests would be cool to do
2016-07-15 16:13:36 +02:00
JustArchi
b2a4cf5e34 And slightly tweak delays 2016-07-13 20:02:50 +02:00
JustArchi
cec4fd7c54 Slightly improve load-balancing logic
So all timers won't go up all at the same time
2016-07-13 20:00:18 +02:00
JustArchi
647a0992a1 Bump 2016-07-12 04:49:22 +02:00
JustArchi
de013850bc Add CustomGamePlayedWhileFarming
Also make it possible for CustomGamePlayedWhileIdle and GamesPlayedWhileIdle to coexist
2.1.2.6
2016-07-12 04:40:56 +02:00
JustArchi
17b00a90e1 Bump 2016-07-12 04:05:38 +02:00