Commit Graph

84 Commits

Author SHA1 Message Date
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
JustArchi
9cc7e30c98 Switch from ILRepack to LibZ
We tried ILMerge, we tried ILRepack, so now maybe LibZ will do it's thing?
The objective is solving false-positives of AVs, it might get reverted if there is no improvement
2016-07-02 23:31:37 +02:00
JustArchi
bd028ba459 Packages update 2016-06-29 21:33:38 +02:00
JustArchi
a4383cdb89 Implement superior ProtectedDataForCurrentUser encryption 2016-06-28 05:24:30 +02:00
JustArchi
d5514422b6 Kill Base64 encryption
It doesn't make any sense when AES is available, not to mention that it's not even proper encryption...
2016-06-28 04:52:00 +02:00
JustArchi
8d9fbce2ed Add support for encrypted passwords, closes #267 2016-06-28 04:32:48 +02:00
JustArchi
951d58161f Use SharedInfo + Add ConfigGenerator version check 2016-06-27 02:07:27 +02:00
JustArchi
d68bb01174 Add MaxTradeHoldDuration 2016-06-27 01:45:41 +02:00
JustArchi
03ee96057f Add GiftsLimiterDelay 2016-06-24 22:26:52 +02:00
JustArchi
70bdd34d66 Increase default LoginLimiterDelay to 10
Seems to fix semi-rare 429 rate-limiting errors. Maybe GabeN increased limits?
2016-06-23 16:00:15 +02:00
JustArchi
38f48841bd Time to break things, closes #169 2016-06-19 05:57:29 +02:00
JustArchi
2ebce59ee7 WIP: Gigantic work on #252
TODO: Market confirmations, cleanup, code review, shitload of tests...
2016-06-19 05:40:46 +02:00
JustArchi
fc0d0abaaf Update blacklist, closes #232 2016-06-09 19:12:16 +02:00
JustArchi
a5f7e7988c Change default FarmingDelay from 5 to 15
Now that we have event-based mechanism, we don't need to check that often, but still keep fuckups in mind
2016-06-09 01:15:48 +02:00
JustArchi
aae41d5c1f Add IsBotAccount + misc 2016-06-04 22:02:38 +02:00
JustArchi
85dea3ab70 Mono: Prefer performance over memory
Every user can further fine-tune it however he wishes with https://github.com/JustArchi/ArchiSteamFarm/wiki/Low-memory-setup
2016-06-03 00:16:31 +02:00
JustArchi
f406034c63 Mono: Prefer more aggressive GC 2016-06-01 22:43:11 +02:00