Commit Graph

872 Commits

Author SHA1 Message Date
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
JustArchi
51abdfb899 Bring back HackedLogOn()
It's still needed...
2.1.2.5
2016-07-12 03:56:35 +02:00
JustArchi
658d6129a7 Add --until-clean-exit 2016-07-11 19:22:25 +02:00
JustArchi
55c1674309 Add --aot to usage 2016-07-11 19:08:08 +02:00
JustArchi
9efae3edae Don't AOT by default 2016-07-11 19:07:17 +02:00
JustArchi
d1e047edf8 Remove old converter 2016-07-10 20:57:59 +02:00
JustArchi
8742ace3d7 Bump 2016-07-10 20:30:00 +02:00
JustArchi
feb3fbfe59 Get used to null propagation 2.1.2.4 2016-07-10 20:17:35 +02:00
JustArchi
0b06df4352 Misc 2016-07-10 20:10:14 +02:00
JustArchi
10b1d02a95 Rename JsonStorage -> InMemory 2016-07-09 12:24:21 +02:00
JustArchi
7731360f09 One more correction, thanks @Netshroud 2016-07-09 11:39:54 +02:00
JustArchi
02d3454d1b Avoid enumerating over Servers 2016-07-09 11:15:25 +02:00
JustArchi
54b8d3e6f3 Use extended result where appropriate 2016-07-09 09:20:56 +02:00
Łukasz Domeradzki
0b65e1d9a1 Merge pull request #286 from justin-gerhardt/master
preventing the creation of the default event source
2016-07-08 11:12:10 +02:00
Justin Gerhardt
1f5005f14d preventing the creation of the default event source 2016-07-08 05:04:48 -04:00
JustArchi
6414f375fd Bump 2016-07-08 10:30:08 +02:00
JustArchi
b930f513b4 Fix non-necessary extra event 2.1.2.3 2016-07-08 09:58:08 +02:00
JustArchi
84419bec2a Use events for handling Save() 2016-07-08 09:48:15 +02:00
JustArchi
deed19e732 Bump 2016-07-08 09:12:14 +02:00
JustArchi
7e9844edab Implement and use persistent ServerList
Initial idea was suggested back in #66, but recently made possible in clean and nice way, thanks to @azuisleet and @Netshroud
2016-07-08 09:02:53 +02:00
JustArchi
ce4733547c Misc 2016-07-08 07:43:02 +02:00
JustArchi
561fb66e7a Correct harmless VS code analysis warnings 2016-07-08 07:41:36 +02:00
JustArchi
77413f13e2 Kill HackIgnoreMachineID with fire 2016-07-08 07:16:42 +02:00
JustArchi
1ca31ee33e Upgrade old SK2 conversions 2016-07-08 07:11:37 +02:00
JustArchi
4059a2cd11 Bring SK2 1.8.0
Finally... :)
2016-07-08 07:08:07 +02:00
JustArchi
23af6efb4b Misc
We expect this to be refilled with nearly the same amount of entries, so trimming is not really needed
2016-07-08 06:48:38 +02:00
JustArchi
09b2b29ff4 Avoid excessive TrimExcess()
It's really good for keeping memory low, but due to limited lifespan of those objects and the fact that we should focus on performance and not memory, it's better to avoid extra overhead and let GC do it's job, by dropping references to those objects ASAP

TrimExcess() is still being used for global objects, as those have longer (possibly infinite) lifespan and can benefit from that.
2016-07-08 06:45:17 +02:00
JustArchi
412028eff7 Misc 2016-07-08 00:02:04 +02:00
JustArchi
a5c85a73bc And when being invoked during waiting too 2016-07-07 23:36:35 +02:00
JustArchi
b40e87b25e Make ASF work with NLog autoReload=true 2016-07-07 23:27:34 +02:00
JustArchi
bdc3d07720 Remove LogToFile
Logging to file is now always enabled (unless running as a service). For advanced logging configuration https://github.com/JustArchi/ArchiSteamFarm/wiki/Logging is available
2.1.2.2
2016-07-07 22:35:22 +02:00
JustArchi
123b2c82fb Misc 2016-07-05 23:22:08 +02:00
Łukasz Domeradzki
26dfdf7f9f Merge pull request #284 from justin-gerhardt/master
moved default event log to its own log
2016-07-05 23:18:44 +02:00