Commit Graph

1283 Commits

Author SHA1 Message Date
JustArchi
df1e83130d Fix duplicating of LootableTypes in CG 2.2.0.2 2016-12-30 03:17:35 +01:00
JustArchi
2f1b6311ac Use HttpTimeout for WCF timeout 2016-12-29 10:40:35 +01:00
JustArchi
2c1127e57b Change default LoginID
Various bad scripts and other bots use LoginID of 0, so we will use LoginID of 1242, or whatever else, as long as it's static
2016-12-27 17:44:00 +01:00
JustArchi
9722059bb0 Don't crash on SteamDirectory failure 2016-12-27 16:18:42 +01:00
JustArchi
cb077a2c4a Add minutes to human-readable TimeSpan, #387 2016-12-27 16:00:21 +01:00
JustArchi
fb21b225bc Bump 2016-12-26 23:57:12 +01:00
JustArchi
bff9f61664 Misc 2.2.0.1 2016-12-26 23:54:40 +01:00
JustArchi
63cfa1341b Remove Gift and Coupon from Steam EType
It doesn't make any sense when we're always asking for community items, no need for extra confusion, and code is also shorter.
This IS another breaking change for past configs, so if you're using pre-release you should adapt your configs. But if you're using pre-release, I guess you know that such things happen.
2016-12-26 23:53:51 +01:00
JustArchi
19d15f09ff Optimize references 2016-12-26 23:15:01 +01:00
JustArchi
cf21c2a815 Remove dependency on Humanizer 2016-12-26 23:08:27 +01:00
JustArchi
8639275ed8 Fix 2016-12-26 22:41:50 +01:00
JustArchi
ba3461b58f Packages update 2016-12-26 22:10:56 +01:00
JustArchi
c089e3007d Code cleanup 2016-12-26 22:09:59 +01:00
JustArchi
33edc81116 Add farming time approximation
Because @MaduRUDE asked nicely
2016-12-26 22:07:49 +01:00
JustArchi
9b56734bad Increase WCF timeouts
As @Ryzhehvost pointed on chat, default value of 1 minute can be too short for more expensive ASF commands.
Notice: Setting SendTimeout on server side doesn't really affect anything here, but was added for consistency
2016-12-26 15:59:47 +01:00
JustArchi
00374d0912 Bump 2016-12-25 08:03:25 +01:00
JustArchi
5ebf2bf891 Bump to 2.2.0.0
Some misc breaking changes justify this bump, not to mention that we're close to reaching that anyway
2.2.0.0
2016-12-25 07:02:56 +01:00
JustArchi
ec2c78ea81 Unify Forwarding and Distributing under RedeemingPreferences
Similar to TradingPreferences
2016-12-25 06:29:13 +01:00
JustArchi
eb88814c72 Adapt structure of JSON files to the one generated by sorted ConfigGenerator 2016-12-25 06:04:29 +01:00
JustArchi
a28ad1fdac Misc 2016-12-25 05:53:47 +01:00
JustArchi
d36eaebbfe Closes #383 2016-12-25 05:52:17 +01:00
JustArchi
55067c669e Closes #382 2016-12-24 23:12:40 +01:00
JustArchi
9d882784ee Implement workaround for #380 2016-12-24 19:27:36 +01:00
JustArchi
829bd8ce2f Adapt @Pandiora idea
See: 6038faaa5f (commitcomment-20287032)
2016-12-23 20:14:52 +01:00
JustArchi
532808c65d Bump 2016-12-23 19:26:30 +01:00
JustArchi
cc317e10a8 Remove ForceHttp option
Initially I wanted to make it configurable to choose either HTTPS (preferred), or HTTP, depending on user choice.
I strongly believed that it WAS possible without much headache, and solve many older Mono issues without any strong code drawbacks.
However, Volvo proved me wrong yet again, as it seems that using HTTP just like that for accepting a trade makes it impossible, and that's ONLY because we're using HTTP and not HTTPS, even if all other data, including referer, post and request, looks exactly the same.
It's quite sad that I must remove this option, but I literally discovered that switching this to true makes accepting trades impossible, and that is beyond the point I can accept, as user could switch this to true when he doesn't need it, and limit program functionality without even knowing that this is the cause.
Everybody using up-to-date Mono should have no issues using HTTPS, even legacy TLS 1.0, so hopefully this won't hurt that marginal percent of users that had this set to true in the past. It was mentioned in the wiki that this option might disappear later on, and this is the moment when it doesn't only should, but MUST, disappear... 😢
2.1.8.1
2016-12-23 19:04:36 +01:00
JustArchi
8aaee38a85 SteamStoreURL is const now
Also explain why
2016-12-23 18:51:45 +01:00
JustArchi
30c69cf57c Move main ArchiLogger from ASF to Program
It makes more sense to put it in ASF class due to sharing potential, but I want to unify ArchiBoT logging and this makes it easier for maintenance
2016-12-23 18:49:52 +01:00
JustArchi
4219107d2b Closes #376 2016-12-23 04:03:51 +01:00
JustArchi
ea89ef6696 Replace GetUnixTime() with more elegant .NET 4.6 alternative 2016-12-23 03:54:46 +01:00
JustArchi
4b1fc7ae56 Misc 2016-12-23 03:47:12 +01:00
JustArchi
6038faaa5f I like my Steam account 2016-12-23 03:37:29 +01:00
JustArchi
e3f87e4a19 Adapt delays for lower misses 2016-12-23 03:24:37 +01:00
JustArchi
90d74de169 [EXPERIMENTAL] Queue discovery
Yes, you know my donation address
2016-12-23 03:01:37 +01:00
JustArchi
b781195b77 Respect AutoRestart in ASF.json changes 2016-12-21 23:25:36 +01:00
JustArchi
c74d4c857e Bump 2016-12-19 04:59:29 +01:00
JustArchi
f1e67ee333 Make older Mono being able to access Statistics server 2.1.8.0 2016-12-19 04:45:30 +01:00
JustArchi
8d89095670 Misc 2016-12-18 16:10:01 +01:00
JustArchi
7fe65144c1 Code cleanup 2016-12-18 16:03:32 +01:00
JustArchi
4404874e52 Misc 2016-12-18 15:51:20 +01:00
JustArchi
a1cf8c91c2 Misc
progressNode is actually null from time to time, no need to mark it as error if we're aware of this Steam fuckup
2016-12-18 15:49:06 +01:00
JustArchi
b7eac82596 Misc 2016-12-17 03:28:39 +01:00
JustArchi
b73bdee5af Bump 2016-12-17 03:23:29 +01:00
JustArchi
51ce849aee Misc 2.1.7.9 2016-12-17 02:28:28 +01:00
JustArchi
78af201cdb Skip reporting non-STM accounts
Initially I wanted to use this to build reliable statistics as in, number of active/inactive accounts, total accounts and so on
However, I don't really think my server will be able to handle it with more and more users, even if reporting that was active so far was still bare minimum.
Let's just stick to STM-only reporting for now, I don't have enough money for anything more advanced for now.
2016-12-17 02:27:14 +01:00
JustArchi
a580b6ab61 Bump 2016-12-16 15:33:19 +01:00
JustArchi
3cb24e19d9 Stop killing trade bots 2.1.7.8 2016-12-16 15:30:52 +01:00
JustArchi
399d438f8d Bump 2016-12-16 15:05:51 +01:00
JustArchi
00fb1b7c69 Misc 2.1.7.7 2016-12-16 15:02:41 +01:00
JustArchi
f477b79fa2 Fix cross-OS WCF incompatibility
Mono really struggles with this and can't respond to windows clients
2016-12-16 14:55:33 +01:00