Commit Graph

100 Commits

Author SHA1 Message Date
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
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
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... 😢
2016-12-23 19:04:36 +01:00
JustArchi
8ead6be751 Fix CG generation of WCFHost 2016-12-16 14:20:32 +01:00
JustArchi
1bb19415d4 Closes #371 2016-12-15 03:38:16 +01:00
JustArchi
137a53ef89 Improve readability of some specific segments 2016-11-24 07:46:37 +01:00
JustArchi
df218074ad Gigantic code cleanup
Time to enforce some common file layout, as general mess started to annoying me. Sorry in advance for people using custom forks and having merge conflicts, this will help everybody in long-run
2016-11-24 07:32:16 +01:00
JustArchi
e36704748a Modify ASF icon to include 32x32 variant (fixes Mono) 2016-11-11 02:00:27 +01:00
JustArchi
ecd96f86f6 Correct ConfigGenerator MainForm icon 2016-11-11 01:07:31 +01:00
JustArchi
9594b69847 ASF icon design, closes #323
Thanks @stackia !
2016-11-01 13:54:01 +01:00
JustArchi
4ed1ceeff4 Add MatchEveryting trading preference 2016-10-21 21:33:55 +02:00
JustArchi
00e5e7812c Misc 2016-10-21 20:34:44 +02:00
JustArchi
af45ac1e2d Implement TradingPreferences, closes #351
It also kills deprecated now SteamTradeMatcher bool property
2016-10-21 20:32:22 +02:00
JustArchi
e7cda0f472 Rename EUpdateChannel.Unknown -> None
Makes more sense
2016-10-09 22:57:00 +02:00
JustArchi
f108829129 Decent work on config reload ability
It was always annoying to restart whole ASF process just to issue a small config update for one of the bots, with this commit - auto reload has been implemented. ASF will automatically restart given bot instance if it's config file gets changed. With introduction of this commit, we also ditch StartOnLaunch property (because it no longer means sense, any disabled bot can be started through config edit), and we also ditch auto-shutdown of ASF process, because it's possible to edit bot config file to start it.
Some further work might be needed, this is pretty much work in progress. It would be super if ASF was also able to automatically decent new bot configs, and create new bots for them, but this is initial step.
2016-10-07 00:04:08 +02:00
JustArchi
5c686397dd Packages update 2016-10-05 08:53:20 +02:00
JustArchi
96dc3246b8 Add Paused bot config property, closes #344 2016-10-01 21:09:24 +02:00
JustArchi
4d6f2811bb Unify mono params 2016-09-12 20:52:30 +02:00
JustArchi
2c99c4b433 Misc 2016-09-02 18:41:40 +02:00
JustArchi
a25a181cd9 Don't use bashisms in post-build scripts
They're always run with /bin/sh and that doesn't always equal to bash
2016-09-02 11:40:30 +02:00
JustArchi
3f735d165c Misc 2016-08-30 13:54:40 +02:00
JustArchi
abde04cc83 Misc 2016-08-30 13:46:42 +02:00
JustArchi
2a61ecb681 Attempt to fix Mono weekly in travis (once again) 2016-08-27 09:34:08 +02:00
JustArchi
d06fbda6d6 Prefer 64-bit ASF
ASF is AnyCPU binary which means it'll run fine on both 32-bit as well as 64-bit OSes.
Up to today 32-bit runtime was preferred for ASF, as it uses less memory and can be faster than 64-bit equivalent.
However, in very busy environments it's easily possible for ASF to require even more than 2 GB of memory, and in addition to that extending our userspace to 64-bit can bring benefits on more modern setups.
Therefore, keep being compatible on both 32-bit and 64-bit OSes, but on 64-bit ones use actual 64-bit runtime instead of preferred 32-bit one.
In addition to that, optimize some unused references and other things while we're at it.
2016-08-27 08:40:40 +02:00
JustArchi
b802822699 Correct #329 a bit 2016-08-12 23:07:19 +02:00
JustArchi
000b902ced Categorize options in ConfigGenerator
Preview: http://i.imgur.com/Noc8qbf.png
2016-08-10 18:03:14 +02:00
JustArchi
f88bfe9f83 Make CardDropsRestricted true by default
After evaluation, it seems that more accounts have card drops restricted rather than not, and having it as true when in reality it's false results in less performance degradation than the other way
2016-08-03 17:16:11 +02:00
JustArchi
612abef327 Work on GUI
There is still a long way till it's done...
2016-08-02 08:50:31 +02:00
JustArchi
97224aafaf Bring initial GUI project 2016-08-02 06:13:58 +02:00
JustArchi
7025659151 Refactoring for upcoming GUI app 2016-08-02 06:04:44 +02:00
JustArchi
9918861c66 Misc 2016-08-02 05:11:35 +02:00
JustArchi
fcfe4495ae Misc 2016-08-02 05:09:53 +02:00
JustArchi
d517562467 Add more farming orders 2016-07-30 20:55:43 +02:00
JustArchi
c94547c68e Move FarmingOrder a bit higher and add missing example.json property
In general we should prioritize properties according to the ones user will want to modify first, but as it's unpredictable, we can only guess and do it more or less
2016-07-30 00:17:58 +02:00
stackia
80abd3ed69 Add an option to set farming order 2016-07-30 05:06:40 +08:00
JustArchi
4f01dc39fc Code review 2016-07-25 06:08:45 +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
de013850bc Add CustomGamePlayedWhileFarming
Also make it possible for CustomGamePlayedWhileIdle and GamesPlayedWhileIdle to coexist
2016-07-12 04:40:56 +02:00
JustArchi
77413f13e2 Kill HackIgnoreMachineID with fire 2016-07-08 07:16:42 +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
2016-07-07 22:35:22 +02:00
JustArchi
69d6d6e10b Use ASF instead of Main for global logging routines, closes #280 2016-07-04 22:46:08 +02:00
JustArchi
6ada40fc2f Implement NLog for ASF logging, closes #274, #279 2016-07-04 19:22:46 +02:00
JustArchi
dcda639cb1 Misc 2016-07-03 01:19:31 +02:00
JustArchi
27a555dde6 And back to fixing Mono 2016-07-03 01:18:09 +02:00
JustArchi
cd462f607e Move to Fody.Costura for repacking
This should be the best way for both Windows and Mono, plus is much more cleaner, get rid of those crappy tools
2016-07-03 00:46:16 +02:00
JustArchi
4e6723a7e2 Partially revert 9cc7e30
Indeed LibZ seems to not being functional on Mono, so we keep using ILRepack for Mono, and LibZ for Windows
Final binary is compiled on Windows anyway, and it seems to work properly on both Windows and Mono, so this is purely for making people using self-compiled binaries happy
2016-07-02 23:40:57 +02:00