Commit Graph

105 Commits

Author SHA1 Message Date
Łukasz Domeradzki
4258fed873 Closes #2500 (#2501)
* Start work on #2500

* Update Bot.cs

* Misc refactor

* Update Bot.cs

* Add fallback for older plugins

* Misc

* Apply feedback
2022-01-23 00:14:14 +01:00
Archi
b030755eb6 Remove !password command
This was one of the most counter-intuitive commands ever implemented, just use !encrypt
2021-11-23 21:14:40 +01:00
Archi
b64ad59eff Move checksum check a bit above
It's pointless to let user waste bandwidth on the full ASF asset if checksum is not available right away
2021-11-23 11:58:12 +01:00
Łukasz Domeradzki
99569ee3fe Implement additional checksum verification for ASF builds (#2453)
* #2452

* Fix netf

* Apply feedback

* Misc

* Misc

* Apply feedback
2021-11-18 21:16:47 +01:00
Łukasz Domeradzki
bfbeb91633 Refuse to run as root without explicit ignore (#2427)
* Refuse to run as root without explicit ignore

* Apply feedback

* Detect docker a bit better

* Guard more OS parts behind ifdefs

* Fix warnings

* Further fixes
2021-10-17 00:11:04 +02:00
Archi
fc0c916137 Extend warnings for --cryptkey and lack of it
@Abrynos
2021-10-13 23:24:07 +02:00
Sebastian Göls
be027523ac Warn about insecure passwords (#2419)
* Add warnings about password security

* Warn about weak steam passwords even if they are encrypted

* Apply feedback

* Apply feedback

* Simplify code

* Move return criteria up a bit for increased performance

* Choose more fitting strings for localization

* Extract const value

* Fix incorrect null reference warning

* Switch prefix operator for postfix one

Co-authored-by: Łukasz Domeradzki <JustArchi@JustArchi.net>

* Add tests

* Disable CA1724

The type name Utilities conflicts in whole or in part with the namespace name 'Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.Utilities'.

* Tell users why their password is considered weak

* Apply feedback

* Merge resource comments

* Misc.

* Use library for password testing and Run testing in background

* Clean up

* OncSeparate forbidden phrases forfor IPC passwords (once again)

* Additionally check encryption key

* Add comment about {0}

Co-authored-by: Łukasz Domeradzki <JustArchi@JustArchi.net>
2021-10-13 21:44:48 +02:00
Archi
2b41fd5983 Unify idling -> farming
We should use farm when we mean automatically playing games in order to receive card drops.
2021-06-23 23:48:48 +02:00
Archi
df8967b79d Update Strings.Designer.cs 2021-05-30 17:21:43 +02:00
Archi
ae9f3bd380 Post-cleanup after #2330 2021-05-30 17:02:58 +02:00
Chr_
ad9a0d6768 Commands added: (#2330)
* add `BotPointsBalance` strings

* add command `points`

* Merge branch 'main' of https://github.com/chr233/ArchiSteamFarm into main

* reset changes to `ResponseRedeem` by mistake

* fix code style
GetPointsBalance now returns `uint` instead of `int`

* fix code style

* fix code style
2021-05-30 16:42:08 +02:00
Archi
fe43aa6cb6 Convert UTF-8 BOM to files to UTF-8 2021-05-22 19:45:27 +02:00
JustArchi
bf89c005d7 Refactor a few bot config properties, add auto-migration 2021-05-08 22:00:25 +02:00
JustArchi
3c4755ab4c Remove unused string 2021-04-23 23:47:12 +02:00
JustArchi
62e6acc037 Add log entry stating GamesPlayedWhileIdle 2021-03-25 23:58:41 +01:00
JustArchi
835d567fec Abort startup if config directory could not be found
We do not require any config files, but config directory - yes, we won't bother creating it manually as it heavily suggests user mistake, such as --path to the wrong directory.
2020-11-28 23:55:09 +01:00
JustArchi
51ad3b0c76 Improve runtime compatibility
This commit does 3 things:
- adds safeguard against running generic-netf in unsupported environments
- adds notice about providing ASF with unknown command-line arguments
- refactors old pre+post args parsing into a single window
2020-11-19 21:01:17 +01:00
JustArchi
42f388e370 Closes #1950 2020-09-05 12:51:03 +02:00
JustArchi
8587667e27 Handle InvalidPassword Steam screwup
Works exactly the same as TwoFactorCodeMismatch, apparently it's too hard for Valve to tell the client "hey, our password validator module is currently down and we're unable to log you in", no, "INVALID PASSWORD" is the right answer.
2020-08-16 13:33:05 +02:00
JustArchi
06b1b8deeb Misc trade logging enhancements 2020-08-11 11:34:32 +02:00
JustArchi
4ead85965a Add another superpower: fetching 2FA deviceID automatically 2020-07-05 00:45:13 +02:00
JustArchi
87fb343828 Add uptime to stats command 2020-07-04 12:13:31 +02:00
JustArchi
b47ecaa5f9 Remove unused string 2020-06-03 19:30:13 +02:00
JustArchi
40d57e500b Revert "Add checksum"
This reverts commit 1678f5127f.
2019-11-24 23:18:15 +01:00
JustArchi
1678f5127f Add checksum 2019-11-24 23:01:27 +01: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
d4624919e5 Slightly improve password generation 2019-07-20 19:55:29 +02:00
JustArchi
16cb4320a3 Update routine code review/cleanup 2019-04-30 14:31:24 +02:00
JustArchi
98398c6770 Misc 2019-04-12 13:46:45 +02:00
JustArchi
04bf32e372 Improve cooldown when ASF detects recent playing 2019-04-12 13:43:48 +02:00
JustArchi
6cb7c04a99 Misc 2019-04-08 21:35:58 +02:00
JustArchi
285449b3ea State count of handled confirmations in 2fa commands 2019-04-08 21:15:09 +02:00
JustArchi
07b8978866 Limit ASF to a single instance per directory 2019-03-29 23:07:06 +01:00
JustArchi
36fa2b8b4d Add BGR command + API info
@mrburrburr you might want to somehow make use of it (maybe show next to key icon? I don't know)
2019-02-26 19:59:04 +01:00
JustArchi
71a9f06e55 Implement interactive command console 2019-02-23 04:31:58 +01:00
JustArchi
2347925b1c Closes #951 2019-02-10 06:35:20 +01:00
JustArchi
94a61e4189 Closes #1057 2019-01-24 07:06:04 +01:00
Łukasz Domeradzki
0f2a816b92 Implement plugin system (#1020)
* Implement basic plugin system

* The dawn of new era

* Add plugins warning

* Move more members to PublicAPI

* Open commands for the plugins

* Add IBotHackNewChat

* Run plugin events in parallel

* Use properties in IPlugin

* Hook our custom plugin into CI to ensure it compiles

* Fix dotnet brain damage

* Add IBotsComparer

* Add code documentation

* Add IBotTradeOffer

* Add IBotTradeOffer example

* Add IBotTradeOfferResults

* Final bulletproofing

* Final renaming
2019-01-10 22:33:07 +01:00
JustArchi
d016acd39f Add warning about excessive bots count 2018-12-26 17:25:08 +01:00
JustArchi
bb6276835f Code review, bugfixing, remove loot& command 2018-12-04 02:05:09 +01:00
JustArchi
def23e5ba9 Remove excessive debug from new feature
As it's not needed anymore
2018-12-02 06:24:36 +01:00
JustArchi
515c654511 Code cleanup 2018-11-24 03:20:04 +01:00
MisakaDev
ab6ce7c7e5 Add !level command (#946)
* add !level command

* Added blank lines

* Fix https://github.com/JustArchiNET/ArchiSteamFarm/pull/946

* Fix №2 https://github.com/JustArchiNET/ArchiSteamFarm/pull/946
2018-11-14 20:51:21 +01:00
JustArchi
3603f1d315 Cleanup 2018-11-04 19:47:48 +01:00
MisakaDev
c50b70d3e3 Add !balance command (#935)
* Add !balance command

* Fix pull https://github.com/JustArchiNET/ArchiSteamFarm/pull/935

* Fix #2 pull https://github.com/JustArchiNET/ArchiSteamFarm/pull/935#partial-pull-merging
2018-11-03 18:42:40 +01:00
JustArchi
88ae59d514 R# Cleanup after #919 2018-10-15 23:16:15 +02:00
Vital7
526a38a840 Add TargetBotNotConnected string (#919)
* Add TargetBotNotConnected string

* Fix encoding
2018-10-15 23:13:56 +02:00
JustArchi
40fc400ab2 Misc 2018-09-23 02:31:03 +02:00
JustArchi
bd2e146bef SteamParentalPIN -> SteamParentalCode + fixes for @Aareksio 2018-09-22 15:50:11 +02:00
JustArchi
3b82187824 Add changelog during update
Thanks @Abrynos
2018-09-21 03:29:54 +02:00