Commit Graph

1073 Commits

Author SHA1 Message Date
JustArchi
ce5443ca9a Closes #1848 2020-06-15 15:55:59 +02:00
JustArchi
6287bc85fe @abrynos improvements 2020-06-13 21:55:24 +02:00
JustArchi
6804f5b5f7 Fix for multiple licenses for the same package 2020-06-13 21:45:37 +02:00
JustArchi
73014c71a1 Always schedule package for refresh on token change 2020-06-13 13:03:13 +02:00
JustArchi
5f7978f21e Open OwnedPackageIDsReadOnly for plugin usage 2020-06-11 14:23:28 +02:00
JustArchi
a9c1d58ddc Misc 2020-06-09 23:09:13 +02:00
JustArchi
0fa4d5e2a6 Refactor package info and their access tokens, add ISteamPICSChanges plugin interface 2020-06-09 22:56:04 +02:00
JustArchi
3203daf787 Remove PICSSemaphore
It should be no longer needed
2020-06-09 19:45:12 +02:00
JustArchi
5351e61687 Open SteamApps and SteamFriends for optional plugin usage 2020-06-07 21:07:19 +02:00
JustArchi
a84d16a1dd Expose ASF's PackagesData for optional plugin usage 2020-06-07 20:00:06 +02:00
JustArchi
2865259a6a Enable SK2 debug only with debugging config, not just debug build 2020-06-06 22:06:32 +02:00
Vitaliy
b8a6397533 Fix farming games with non-public package data (#1827)
* Use AccessTokens to retrieve package data, update SteamKit

* Force retrieving data about games with null AppIDs

* Change validation of OnlineStatus property
2020-06-06 15:00:05 +02:00
JustArchi
5afd22a507 Fix NRE with CustomGamePlayedWhileFarming 2020-06-06 11:14:05 +02:00
JustArchi
a5d85a211d Add /Api/{Bots}/Input endpoint
Makes https://github.com/JustArchiNET/ASF-ui/issues/888 (and similar actions) possible
2020-06-03 19:26:59 +02:00
JustArchi
1e0b874952 Use the same for multiple games 2020-06-02 13:21:02 +02:00
JustArchi
2c49920ea8 Allow CustomGamePlayedWhileFarming to make use of appID and gameName of the currently farmed title 2020-06-02 13:02:35 +02:00
JustArchi
01482e8dd0 Misc 2020-05-21 22:47:23 +02:00
JustArchi
771d8b3391 Do not attempt to join chat if the account is limited
It won't work anyway
2020-05-21 11:03:29 +02:00
JustArchi
2b16198f22 Add LoginLimiter to cross-process semaphores 2020-05-20 23:09:27 +02:00
JustArchi
6c22724835 Implement OS-wide, cross-process semaphores for ASF instances
Distinction is preserved on webproxy basis (even for LoginLimiter which shouldn't work like that)

Addresses crucial part of #1798
2020-05-20 22:01:29 +02:00
JustArchi
05b697879d Update Bot.cs 2020-04-24 16:50:58 +02:00
Sebastian Göls
b65d8fb703 Make HasMobileAuthenticator part of API (#1743) 2020-04-19 13:17:06 +02:00
JustArchi
83e6addd94 DON'T LOOK
I warned you.
2020-04-18 18:33:27 +02:00
JustArchi
5d4e2eaf64 Use string indices 2020-04-18 18:28:15 +02:00
JustArchi
b23f634c9b Implement IAsyncDisposable for all ASF classes that can make use of it 2020-04-18 17:52:11 +02:00
JustArchi
4b4b323164 R# code improvements 2020-04-18 16:54:57 +02:00
JustArchi
18d5893db1 Fix debugging listener 2020-04-18 14:24:56 +02:00
JustArchi
06d9014ebe Use botName identifier for new SteamClient logging context 2020-04-18 14:15:20 +02:00
JustArchi
12b940d1df Final misc optimizations 2020-03-06 00:18:30 +01:00
JustArchi
847c78b650 R# cleanup 2020-03-05 21:05:40 +01:00
Vitaliy
6657945b7d Use IAsyncEnumerable for getting inventory (#1652)
* Use IAsyncEnumerable for getting inventory

* Don't suppress exceptions, catch them in ResponseUnpackBoosters

* Make sure we don't get duplicate assets during unpack

* Rewrite inventory filters to LINQ methods

* Add handling duplicate items, mark GetInventory as obsolete, catch exceptions from getting inventory errors

* Mark GetInventoryEnumerable as NotNull, don't check received inventory for null, use comparison with nullable values

* Use specific types of exceptions, log exceptions using LogGenericWarningException, handle IOException separately (without logging the exception), remove default null value

* Use old method signature for obsolete API

* Use error level for generic exceptions

* Fix wantedSets not being used

* Correct exception types, rename function

* Replace exception types

* Make SendTradeOfferAsync that accepts Func<Steam.Asset, bool> as a filter

* Fix missing targetSteamID in ResponseTransferByRealAppIDs

* Make parameter name readable

* Rename method
2020-02-22 18:03:22 +01:00
JustArchi
0370168b02 Happy new year 2020-02-01 23:33:35 +01:00
JustArchi
1c9c88948c Closes #1619 2020-01-30 18:45:51 +01:00
JustArchi
2bf1b5643a Misc 2020-01-27 19:37:23 +01:00
JustArchi
f0292a07b9 Misc 2020-01-01 12:45:32 +01:00
JustArchi
ffeaf8480e Increase MaxTwoFactorCodeFailures
SERIOUSLY VOLVO?
2019-12-29 19:09:41 +01:00
JustArchi
b840e2ae1b Closes #1516 2019-11-23 19:40:58 +01:00
JustArchi
fe2091c71a Improvement in regards to #1513 2019-11-20 19:58:51 +01:00
JustArchi
71fdc829a1 Misc 2019-11-20 17:59:24 +01:00
JustArchi
469f6d0d95 Closes #1513 2019-11-20 17:56:35 +01:00
JustArchi
ce5bf02313 Closes #1505 2019-11-14 21:37:26 +01:00
JustArchi
53849b1106 Kill MarkTradeMessagesAsRead 2019-11-06 20:25:32 +01:00
JustArchi
2e83f51a9d Code cleanup after #1482 2019-11-06 18:56:34 +01:00
Ryzhehvost
60f7dc6323 Extra BotBehaviour options to mark as read only messages from bots, and only incoming trade offer messages (#1482)
* add MarkBotsMessagesAsRead

* added MarkTradeMessagesAsRead; made MarkBotsMessagesAsRead work in group chats too

* requested changes

* why do you hate me so much?

* requested changes
2019-11-06 18:42:23 +01:00
JustArchi
af9721dc40 Fix ASF not finding correct SteamFamilySharingIDs
The relevant fix lies in xpath, the rest is misc refactor
2019-11-04 20:28:48 +01:00
JustArchi
b4ed859bcb Closes #1472 2019-10-20 21:36:27 +02:00
JustArchi
a0dfb28e59 R# cleanup 2019-10-13 17:21:40 +02:00
JustArchi
97f67711ee Misc 2019-10-05 22:35:39 +02:00
JustArchi
067293eeb5 Start with .NET Core 3.0 code enhancements 2019-09-27 20:43:11 +02:00
Łukasz Domeradzki
5b4867c387 Update ASF to .NET Core 3.0 (#1427)
* Initial bump to .net core 3.0

* Update cc.sh

* Update appveyor.yml

* Update ArchiSteamFarm.csproj

* Update appveyor.yml

* Update .travis.yml

* Build corrections

* Cleanup

* Update .travis.yml

* Don't publish trimmed for now

* Update ArchiSteamFarm.csproj
2019-09-26 20:28:25 +02:00