Commit Graph

6801 Commits

Author SHA1 Message Date
Lucki
b37e8cc757 Add Fair trades to MatchActively (#1375)
* Add Fair trades to MatchActively

* Address code review

- Copy inventory before comparing because the functions modifies it
- Preserve state between matches
- Take comparing users non tradable items into account
- Prioritize any bots over fair bots

* Don't split the search

* Improve sort order and

hopefully give a copy to IsTradeNeutralOrBetter()

* finally create a copy

* Also filter for type and rarity

* Update the value

* Optimizations

* Preserve state over trades

and give copies to functions.

* More copies

* Add itemsToGive to theirInventory

* Don't create two hashsets
2019-08-26 00:21:54 +02:00
JustArchi
d74f13c567 Code review 2019-08-25 19:25:28 +02:00
dependabot-preview[bot]
3278703157 Bump ASF-WebConfigGenerator from 5740a32 to 4b42901
Bumps [ASF-WebConfigGenerator](https://github.com/JustArchiNET/ASF-WebConfigGenerator) from `5740a32` to `4b42901`.
- [Release notes](https://github.com/JustArchiNET/ASF-WebConfigGenerator/releases)
- [Commits](5740a32bb4...4b4290158f)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 01:34:24 +00:00
dependabot-preview[bot]
30495979cf Bump wiki from 63951f0 to 5e25268
Bumps [wiki](https://github.com/JustArchiNET/ArchiSteamFarm.wiki) from `63951f0` to `5e25268`.
- [Release notes](https://github.com/JustArchiNET/ArchiSteamFarm.wiki/releases)
- [Commits](63951f0001...5e2526801d)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 01:26:48 +00:00
dependabot-preview[bot]
1f2a49819d Bump ASF-ui from 540b8ed to 4e5e5ec
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `540b8ed` to `4e5e5ec`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](540b8ed419...4e5e5ec585)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-20 01:27:10 +00:00
JustArchi
ca2109d3d7 Open TradingLock and API key check for public 2019-08-16 16:37:55 +02:00
dependabot-preview[bot]
c95924d7d6 Bump ASF-ui from d1bc1aa to 540b8ed
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `d1bc1aa` to `540b8ed`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](d1bc1aa973...540b8ed419)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-14 01:33:18 +00:00
dependabot-preview[bot]
9221158c9d Bump ASF-WebConfigGenerator from 5b0800d to 5740a32
Bumps [ASF-WebConfigGenerator](https://github.com/JustArchiNET/ASF-WebConfigGenerator) from `5b0800d` to `5740a32`.
- [Release notes](https://github.com/JustArchiNET/ASF-WebConfigGenerator/releases)
- [Commits](5b0800d944...5740a32bb4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-14 01:26:06 +00:00
dependabot-preview[bot]
44d551a271 Bump ASF-ui from 6de90fe to d1bc1aa
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `6de90fe` to `d1bc1aa`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](6de90fef0d...d1bc1aa973)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-13 01:35:12 +00:00
dependabot-preview[bot]
c2bffb6712 Bump ASF-WebConfigGenerator from facad89 to 5b0800d
Bumps [ASF-WebConfigGenerator](https://github.com/JustArchiNET/ASF-WebConfigGenerator) from `facad89` to `5b0800d`.
- [Release notes](https://github.com/JustArchiNET/ASF-WebConfigGenerator/releases)
- [Commits](facad89af1...5b0800d944)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-13 01:27:47 +00:00
JustArchi
038f290439 Misc 2019-08-12 13:06:07 +02:00
dependabot-preview[bot]
d8794b42b5 Bump ASF-ui from 736d9b0 to 6de90fe
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `736d9b0` to `6de90fe`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](736d9b09cf...6de90fef0d)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 01:27:14 +00:00
JustArchi
bf1eb6c948 Bump 2019-08-10 19:26:25 +02:00
JustArchi
aab52e470c Translations update 4.0.4.0 2019-08-10 19:24:06 +02:00
JustArchi
64bd8308ca R# code review 2019-08-10 17:38:49 +02:00
JustArchi
7d197ecebf Correct usage of IdleRefundableGames 2019-08-10 01:24:22 +02:00
dependabot-preview[bot]
51ccd950ef Bump ASF-ui from 82f96d5 to 2dcd2ca
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `82f96d5` to `2dcd2ca`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](82f96d5413...2dcd2cacb1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-09 01:35:19 +00:00
dependabot-preview[bot]
031691c255 Bump ASF-WebConfigGenerator from 704fd4a to 98d199d
Bumps [ASF-WebConfigGenerator](https://github.com/JustArchiNET/ASF-WebConfigGenerator) from `704fd4a` to `98d199d`.
- [Release notes](https://github.com/JustArchiNET/ASF-WebConfigGenerator/releases)
- [Commits](704fd4af9d...98d199dd14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-09 01:27:43 +00:00
JustArchi
4c6254359f Move statically copied files to overlay 2019-08-08 23:56:12 +02:00
JustArchi
055ede7f49 Kill IBotHackNewChat plugin interface 2019-08-07 13:02:43 +02:00
dependabot-preview[bot]
40bd33d66e Bump ASF-WebConfigGenerator from af3eb59 to 704fd4a
Bumps [ASF-WebConfigGenerator](https://github.com/JustArchiNET/ASF-WebConfigGenerator) from `af3eb59` to `704fd4a`.
- [Release notes](https://github.com/JustArchiNET/ASF-WebConfigGenerator/releases)
- [Commits](af3eb59f21...704fd4af9d)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-07 01:34:42 +00:00
dependabot-preview[bot]
2fb56f1886 Bump ASF-ui from 67d9bf0 to 82f96d5
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `67d9bf0` to `82f96d5`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](67d9bf0b86...82f96d5413)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-07 01:26:47 +00:00
dependabot-preview[bot]
f634385b41 Bump ASF-WebConfigGenerator from 0ee5895 to af3eb59
Bumps [ASF-WebConfigGenerator](https://github.com/JustArchiNET/ASF-WebConfigGenerator) from `0ee5895` to `af3eb59`.
- [Release notes](https://github.com/JustArchiNET/ASF-WebConfigGenerator/releases)
- [Commits](0ee5895766...af3eb59f21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 01:44:48 +00:00
dependabot-preview[bot]
2383fddb63 Bump ASF-ui from 10b54f4 to 67d9bf0
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `10b54f4` to `67d9bf0`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](10b54f498e...67d9bf0b86)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 01:36:36 +00:00
dependabot-preview[bot]
105aaed14f Bump wiki from cf62093 to 0d0471a
Bumps [wiki](https://github.com/JustArchiNET/ArchiSteamFarm.wiki) from `cf62093` to `0d0471a`.
- [Release notes](https://github.com/JustArchiNET/ArchiSteamFarm.wiki/releases)
- [Commits](cf62093dde...0d0471a2d7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-06 01:27:19 +00:00
Vitaliy
737aa622b7 Fix wallet code redeeming due to Steam changes (#1358)
* Fix wallet code redeeming due to Steam changes

* Revert "Fix wallet code redeeming due to Steam changes"

This reverts commit a993b26e

* Add AssumeWalletKeyOnBadActivationCode parameter to RedeemingPreferences, add according flags for redeem^
2019-08-05 14:41:37 +02:00
JustArchi
5fe8631e4f Misc 2019-08-05 11:59:36 +02:00
dependabot-preview[bot]
9aa8ffad80 Bump wiki from 2de61c9 to cf62093
Bumps [wiki](https://github.com/JustArchiNET/ArchiSteamFarm.wiki) from `2de61c9` to `cf62093`.
- [Release notes](https://github.com/JustArchiNET/ArchiSteamFarm.wiki/releases)
- [Commits](2de61c9dc8...cf62093dde)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-05 01:46:17 +00:00
dependabot-preview[bot]
bee7f02f9a Bump ASF-ui from 956bfe2 to 10b54f4
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `956bfe2` to `10b54f4`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](956bfe280b...10b54f498e)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-05 01:38:28 +00:00
dependabot-preview[bot]
13befa5a92 Bump ASF-WebConfigGenerator from d8d85bf to 0ee5895
Bumps [ASF-WebConfigGenerator](https://github.com/JustArchiNET/ASF-WebConfigGenerator) from `d8d85bf` to `0ee5895`.
- [Release notes](https://github.com/JustArchiNET/ASF-WebConfigGenerator/releases)
- [Commits](d8d85bf88c...0ee5895766)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-05 01:30:43 +00:00
JustArchi
99b2d250ee Misc 2019-08-03 16:32:07 +02:00
JustArchi
36b2a4b505 Add support of ASF_PATH to shell scripts + misc 2019-08-03 02:16:16 +02:00
Łukasz Domeradzki
3ce215417b Misc 2019-08-03 01:47:01 +02:00
Łukasz Domeradzki
ad36491782 Misc 2019-08-03 01:46:37 +02:00
dependabot-preview[bot]
2ffb401b9e Bump ASF-ui from 7ea6809 to 956bfe2
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `7ea6809` to `956bfe2`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](7ea68099d3...956bfe280b)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-02 01:39:35 +00:00
dependabot-preview[bot]
97d9450f58 Bump ASF-WebConfigGenerator from 2b4c720 to d8d85bf
Bumps [ASF-WebConfigGenerator](https://github.com/JustArchiNET/ASF-WebConfigGenerator) from `2b4c720` to `d8d85bf`.
- [Release notes](https://github.com/JustArchiNET/ASF-WebConfigGenerator/releases)
- [Commits](2b4c720366...d8d85bf88c)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-02 01:29:31 +00:00
Łukasz Domeradzki
38e227b298 Bump to .NET Framework 4.8 (#1210) 2019-08-01 23:31:07 +02:00
JustArchi
8e036d00ce Misc 2019-08-01 21:24:55 +02:00
JustArchi
6b06b7fb82 Misc code review
@abrynos forgot to add logic for deleted IPC.config file 😁
2019-08-01 21:21:43 +02:00
Sebastian Göls
4cf66478cb Feature handle ipc config changes (#1349)
* Handle changes to IPC.config

* Only restart ArchiKestrel instead of ASF as a whole

* Fix autocomplete mistake https://www.youtube.com/watch?v=s1BDBT9LQJg

* Rename methods as requested and Handle multiple write events correctly

* Revert requested changes
2019-08-01 21:12:48 +02:00
JustArchi
ba30ac8e85 Kill deprecated commands API endpoint 2019-08-01 12:39:34 +02:00
dependabot-preview[bot]
45b072ca9c Bump ASF-WebConfigGenerator from b5a9372 to 2b4c720
Bumps [ASF-WebConfigGenerator](https://github.com/JustArchiNET/ASF-WebConfigGenerator) from `b5a9372` to `2b4c720`.
- [Release notes](https://github.com/JustArchiNET/ASF-WebConfigGenerator/releases)
- [Commits](b5a937284b...2b4c720366)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-01 01:38:40 +00:00
dependabot-preview[bot]
b1ca4f17ba Bump ASF-ui from 9f23ddc to 7ea6809
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `9f23ddc` to `7ea6809`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](9f23ddc5ef...7ea68099d3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-01 01:30:31 +00:00
dependabot-preview[bot]
7206bc919a Bump ASF-ui from 72f15fc to 9f23ddc
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `72f15fc` to `9f23ddc`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](72f15fc8b0...9f23ddc5ef)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-31 01:26:57 +00:00
dependabot-preview[bot]
6c22a1f18f Bump ASF-ui from b1efef6 to 72f15fc
Bumps [ASF-ui](https://github.com/JustArchiNET/ASF-ui) from `b1efef6` to `72f15fc`.
- [Release notes](https://github.com/JustArchiNET/ASF-ui/releases)
- [Commits](b1efef6287...72f15fc8b0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-30 01:34:46 +00:00
dependabot-preview[bot]
9bb00fcff1 Bump wiki from 0c58cef to 2de61c9
Bumps [wiki](https://github.com/JustArchiNET/ArchiSteamFarm.wiki) from `0c58cef` to `2de61c9`.
- [Release notes](https://github.com/JustArchiNET/ArchiSteamFarm.wiki/releases)
- [Commits](0c58cef4c8...2de61c9dc8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-30 01:27:10 +00:00
JustArchi
498fb2cd51 Misc 2019-07-29 17:04:16 +02:00
JustArchi
96ccb331dc Rewrite GitHub releases for ASF-ui
@JustArchiNET/asf-ui-dev Summary of changes:

Old:
- GET GitHub/Releases is rip (rewritten)
- GET GitHub/Releases/{version:required} is rip (renamed)

New:
- GET GitHub/Release, returns the most recent release (can be pre, can be stable)
- GET GitHub/Release/{version:required}, works like before, but also accepts "latest" as version for fetching latest stable release.

Expected usage:
- GET GitHub/Release for fetching most recent release
- If release equals user release, don't do anything more and save requests, display changelog
- Check if the release you fetched is stable, if yes, skip the extra request, otherwise, GET GitHub/Release/latest for latest stable.
- If stable release equals user's release, don't do anything more and save request, show both changelogs (pre and stable)
- Otherwise, decide if you want to also GET GitHub/Release/{userVersion} for that specific release.

Adapt appropriately for usage (I'd recommend to check if user has enabled pre-releases in the first place, because if he's on stable channel then likely you shouldn't display him pre-release changelogs at all, and skip the first request).

If in doubt, check swagger doc.
2019-07-29 17:01:09 +02:00
JustArchi
90e4b26969 Misc 2019-07-28 23:06:41 +02:00
JustArchi
dd25910d73 Bump 2019-07-28 22:45:57 +02:00