Commit graph

82 commits

Author SHA1 Message Date
JustArchi
efec44e593 R# code improvements & cleanups 2021-04-11 00:33:32 +02:00
JustArchi
f66d5e6116 Remove unneeded restriction 2020-12-04 20:05:45 +01:00
JustArchi
bf89a162e2 Misc 2020-11-28 19:25:17 +01:00
JustArchi
3bdd6c76b9 Update ArchiSteamFarm.sln.DotSettings 2020-11-17 20:13:29 +01:00
JustArchi
e82560259b Final code cleanup 2020-11-14 22:37:00 +01:00
JustArchi
f2c95bc075 Update ArchiSteamFarm.sln.DotSettings 2020-11-11 21:35:40 +01:00
JustArchi
6a811008eb More code cleanups 2020-11-11 18:02:17 +01:00
JustArchi
60ae4977da Initial code cleanup 2020-11-11 16:51:31 +01:00
JustArchi
8ae8bc649e Code style updates 2020-11-11 15:48:55 +01:00
JustArchi
e14df4f83b Misc 2020-07-05 00:58:59 +02:00
JustArchi
01482e8dd0 Misc 2020-05-21 22:47:23 +02:00
JustArchi
af2c5c98ef Update ArchiSteamFarm.sln.DotSettings 2020-04-23 19:15:30 +02:00
JustArchi
847c78b650 R# cleanup 2020-03-05 21:05:40 +01:00
JustArchi
930d953ef4 Update ArchiSteamFarm.sln.DotSettings 2019-09-14 22:00:42 +02:00
JustArchi
64bd8308ca R# code review 2019-08-10 17:38:49 +02:00
JustArchi
47aa0d03af Code cleanup 2019-07-28 21:15:35 +02:00
JustArchi
178ca64cfa Implement non-blocking IO saving for databases 2019-07-25 17:09:20 +02:00
JustArchi
adec280472 Packages update 2019-07-20 02:08:19 +02:00
JustArchi
b98268a465 R# cleanup, small code improvements 2019-05-19 15:38:06 +02:00
JustArchi
b677ba8202 Code/style cleanup 2019-02-16 17:34:17 +01:00
JustArchi
e0ede90525 Closes #1036 2019-01-15 12:23:20 +01:00
JustArchi
18d5f1938f Open configs for public API 2019-01-14 21:50:23 +01:00
JustArchi
e1e9a9f457 Rider cleanup 2019-01-14 19:11:17 +01:00
JustArchi
cf63065681 Implement redirection RFC in WebBrowser 2019-01-06 19:20:24 +01:00
JustArchi
f8aa8babcf R# cleanup 2018-12-15 00:27:15 +01:00
JustArchi
3b607b1294 Misc 2018-10-17 20:28:17 +02:00
JustArchi
f4a96c681e R# cleanup 2018-10-17 20:22:55 +02:00
JustArchi
7ab19aa806 Refactor ASF commands for future actions
Closes #891
2018-09-15 22:34:32 +02:00
JustArchi
9534d2b9f0 R# cleanup 2018-09-08 00:46:40 +02:00
Łukasz Domeradzki
e18c8ffa55
Rewrite IPC from HttpListener to KestrelHttpServer (#898)
* Debug tests

* Update

* Add support for IPCPassword

* Misc

* Misc

* Update

* Misc

* Cut dependencies to bare minimum

* Update

* Update

* Update

* Update

* Add support for websockets

* Cleanup and preparation for merge

* Add missing mapping of / -> index.html

* Add support for custom path + misc

* Misc

* Declare latest compatibility version

* Fix harmless error on /Api/Log websocket disconnect
2018-09-08 00:05:23 +02:00
Vital7
ca9a3458fb Autoaccepting wallet gift cards (#885)
* Add accepting of wallet gift cards

* Split function by two, move bot-related parts to Bot.cs, better xpath

* Remove unneccessary warning

* Forgot to remove beginning chars

* Request data to separate variable, session request in GetDigital..., variable renaming

* Modify XPath a bit to make it more understandable

* Move substring call further, length checking

* Implement semaphore and queue

* Fix typo

* SessionID comment, entries are in alphabetical order

* Add a few spaces to xpath

* Logging: warning -> error

* Dispose GiftCardsSemaphore

* General formatting fixes

* Final formatting fixes, HandledGifts check

* AcceptGifts config value handling

* Handling 0 in function argument
2018-08-20 03:33:09 +02:00
JustArchi
16d002f99b Misc code cleanup 2018-07-27 04:52:14 +02:00
JustArchi
7c789c62f4 Disable EditorConfig for R# until it gets better support with it 2018-07-11 16:59:40 +02:00
JustArchi
2a1d5d1e60 Correct R# modifiers orders 2018-07-10 15:05:06 +02:00
JustArchi
06aad0c7d1 Misc 2018-07-10 14:54:01 +02:00
JustArchi
aaff52a40e Misc 2018-07-10 14:53:04 +02:00
JustArchi
dfb90624e8 R# Code cleanup 2018-06-16 07:47:07 +02:00
JustArchi
152ba0bdf2 Code review 2018-06-04 16:54:22 +02:00
JustArchi
87fb401928 Packages update 2018-03-29 01:52:39 +02:00
JustArchi
423200fd38 Add /Api/WWW/Directory 2018-03-15 01:55:24 +01:00
JustArchi
3682eefc02 Code review 2018-03-09 15:43:25 +01:00
JustArchi
1deb5e0d0a Add /Api/ASF, #732 2018-01-28 01:52:07 +01:00
JustArchi
6bbff6ab4e Happy new year 2018-01-01 02:56:53 +01:00
JustArchi
83821e9994 Make usage of login keys optional 2017-11-28 21:31:45 +01:00
JustArchi
d5f44f8f6c ReSharper: update header 2017-11-18 17:27:06 +01:00
JustArchi
2d767c41aa Fix latest Steam notifications fuckup
Initially the issue was observed in #697, but that itself wasn't exactly what was fixed here, as multiple evaluation of the same trade is still wanted scenario.

The real issue was reported in http://steamcommunity.com/groups/ascfarm/discussions/1/2425614539578192287/

In a huge TL;DR, Steam is now sending trades notification each time something fetches current trade offers, be it ASF, the user, or some other script.

This will lead to possible ASF trade loop, as we'll get wanted notification about new trades, fetch them, leave some trades untouched, get new notification about trades and so on.

Initially I wanted to fix this in dirty way by just ignoring any extra notifications that happened since API call until 5 extra seconds after we were done with entire parsing, but I found much better solution - Steam actually includes extra info about amount of trades/items in notification (makes sense, since Steam client displays that info too). We can make use of that info and simply ignore any extra notification that results in same or smaller count.

Thanks to that we didn't only add a decent workaround for this recent Steam fuckup, but we also improved internal ASF code that will no longer schedule extra parsing if we accepted/rejected only some of the trades, making me happy with the actual solution.
2017-11-18 17:20:24 +01:00
JustArchi
070e91a6f9 Misc improvement 2017-11-17 17:50:14 +01:00
JustArchi
054949419f Misc ReSharper 2017-11-12 21:21:42 +01:00
JustArchi
336a965903 ReSharper update 2017-11-11 19:12:26 +01:00
JustArchi
6929bf09f3 Add extra helper links 2017-09-28 05:07:23 +02:00