Commit Graph

64 Commits

Author SHA1 Message Date
JustArchi
d455b3704d Closes #485 2017-03-13 01:46:11 +01:00
JustArchi
220e56dfda Misc 2017-03-02 21:52:39 +01:00
JustArchi
b3dea6fb91 Closes #484 2017-03-02 21:51:36 +01:00
JustArchi
441651d29b Bump default MaxStringContentLength for WCF 2017-02-23 17:40:12 +01:00
JustArchi
d554c57b34 Misc 2017-02-11 17:18:50 +01:00
JustArchi
befc71f358 Code cleanup 2017-02-11 17:09:15 +01:00
JustArchi
72045e5f71 Add WCF metadata publishing, #448 2017-02-11 16:06:05 +01:00
JustArchi
d495d649ba Make WCF accept commands starting with '!' as well 2017-02-07 10:49:58 +01:00
JustArchi
8926297614 WCFProtocol -> WCFBinding
More appropriate
2017-02-03 09:59:02 +01:00
JustArchi
72141c53a3 Cleanup + missing CG bits 2017-02-03 09:56:18 +01:00
JustArchi
24350dcba5 Closes #448
Everything works on Windows, pending tests on Mono
2017-02-03 09:54:09 +01:00
JustArchi
fc4574d143 Closes #445
Review https://github.com/JustArchi/ArchiSteamFarm/wiki/Logging for examples once I'm done updating the wiki
2017-01-31 01:10:01 +01:00
JustArchi
21fa824b60 HttpTimeout -> ConnectionTimeout
Since HttpTimeout started affecting WCF timeout as well, and now I'm about to add yet another responsibility to this, this should be renamed to ConnectionTimeout.
Basically new HeartBeats() are cool, but user should have a direct way to configure the number of failed attempts allowed, as it can differ between stable and unstable networks, same like HttpTimeout.
This change apart from renaming HttpTimeout makes HeartBeats depend on it, allowing ConnectionTimeout / 10 failed attempts, and giving ConnectionTimeout / 30 minutes for steam servers to respond to out connection attempt. Both divisions are rounded up.
This should allow people with less unstable networks to get less clients being abandoned due to steam instability
2017-01-22 20:10:28 +01:00
JustArchi
dd8c1a79e4 Localizing... 2017-01-06 16:29:34 +01:00
JustArchi
28e2cfbc7c Localizing... 2017-01-06 15:32:12 +01:00
JustArchi
ba8d70aebb Copyright update 2017-01-02 20:05:21 +01:00
JustArchi
2f1b6311ac Use HttpTimeout for WCF timeout 2016-12-29 10:40:35 +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
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
00fb1b7c69 Misc 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
JustArchi
711d573e28 Misc 2016-12-11 18:16:55 +01:00
JustArchi
e90780ddac Fix WCF on Mono
It doesn't support metadata in tcp binding
2016-12-11 17:58:53 +01:00
JustArchi
cf4e9172ee Closes #373 2016-12-11 16:56:33 +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
b937ba9307 Misc 2016-11-15 15:44:44 +01:00
JustArchi
adbabb5264 Bring back WCF address denied message 2016-11-15 15:43:34 +01:00
JustArchi
cba64531fa Make it possible to combine --server --client 2016-11-13 15:51:35 +01:00
JustArchi
7cec546749 Misc 2016-11-09 09:26:07 +01:00
JustArchi
6b744ea0d9 Fix WCF 2016-11-06 17:08:44 +01:00
JustArchi
8b3b822938 Rewrite entire ASF logging, as preparation for #354 2016-11-06 12:06:02 +01:00
JustArchi
fcfbd2453d Misc 2016-10-27 22:51:44 +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
9594357d56 Misc code analysis fixes 2016-08-13 04:39:17 +02:00
JustArchi
7025659151 Refactoring for upcoming GUI app 2016-08-02 06:04:44 +02:00
JustArchi
d85d41c215 General improvements 2016-08-01 18:17:51 +02:00
stackia
914936acdc Revert "Make WCF interface async"
This reverts commit fbb24506e2.
2016-07-30 12:17:01 +08:00
stackia
fbb24506e2 Make WCF interface async 2016-07-30 11:51:00 +08: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
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
feb3fbfe59 Get used to null propagation 2016-07-10 20:17:35 +02:00
JustArchi
561fb66e7a Correct harmless VS code analysis warnings 2016-07-08 07:41:36 +02:00
JustArchi
cdcaa9b06c Code review 2016-05-30 01:57:06 +02:00
JustArchi
b8faca2517 Gigantic code review (with ReSharper) 2016-05-13 06:32:42 +02:00
JustArchi
9d97ca16e8 Misc WCF code review 2016-05-07 15:24:09 +02:00
JustArchi
415ee8cc57 Misc 2016-04-25 11:10:39 +02:00
JustArchi
fa12ffd9d0 Add headlness mode 2016-04-06 16:37:45 +02:00
JustArchi
23d9dcffe7 Enable AccountPlayingDelay of 0, WCFHostname of null and add code for fixing fuckups 2016-03-22 17:26:39 +01:00