Commit Graph

1007 Commits

Author SHA1 Message Date
JustArchi
767471b5a3 Avoid unlocking parental account when it's not needed
Even if user supplies the code, as long as we can determine that it's really not needed
2019-07-20 02:50:48 +02:00
JustArchi
adec280472 Packages update 2019-07-20 02:08:19 +02:00
JustArchi
535ce04a47 Implement enhanced support for SteamParental
- Detect if SteamParental is active
- Verify if the code supplied by user is valid
- If the code is not valid or not supplied, generate it automatically (through local bruteforcing, pending further speed enhancements)

It's really sad seeing how this is possible, Valve seriously, you couldn't dedicate one single request in the backend to verify that? You could easily implement rate-limiting on invalid attempts and make parental more secure, but with the current implementation it's a security joke.
2019-07-20 00:22:50 +02:00
JustArchi
768dd07159 Misc 2019-07-18 13:29:03 +02:00
Ryzhehvost
5c93be940e Split steam messages with respect to newlines (#1329)
* Split steam messages with respect to newlines

* minor fixes and code style

* handle group messages too + code style

* optimize fallback

* dumbest changes in the history of the Earth

* add newline before ...

* handle edge cases properly
2019-07-14 18:30:17 +02:00
JustArchi
0060acf74f Fix GamesPlayedWhileIdle 2019-07-07 12:57:21 +02:00
Vitaliy
d240f6595d Fix circular reference exception from Kestrel (#1313) 2019-07-06 14:34:48 +02:00
JustArchi
d70e71dd68 Closes #1312 2019-07-05 11:39:19 +02:00
JustArchi
b30e3f3b5d Improve owns command to take into account owned packageIDs
Idea thanks to @ryzhehvost
2019-07-02 15:06:01 +02:00
JustArchi
32e0de5a70 Implement basic logic for #1299 2019-06-30 23:33:50 +02:00
JustArchi
4592a20c89 General code review 2019-06-29 15:59:38 +02:00
JustArchi
08926aa2f1 Improve InvalidPassword/RateLimitExceeded procedure
Previously we had this awful "assume rate limit if invalid password" because Steam used to do this falsely for rate limits as well.

Since I can no longer reproduce this false behaviour with latest network, I assume that Valve corrected whatever they had broken back then and the network will properly tell us RLE in RLE condition, and invalid password when account credentials are invalid.

There is still case for invalid account credentials when login key is invalid, and we should still handle that one gracefully.
2019-06-23 02:05:49 +02:00
JustArchi
58691180d0 Misc 2019-06-15 17:24:18 +02:00
JustArchi
b98268a465 R# cleanup, small code improvements 2019-05-19 15:38:06 +02:00
JustArchi
95d71e88fe Improve concurrent entries further 2019-05-04 23:33:08 +02:00
JustArchi
45062e3369 Handle multiple RLE entries concurrently 2019-05-04 23:27:31 +02:00
JustArchi
0be906918f Misc 2019-05-04 23:21:10 +02:00
JustArchi
2442016e0c Closes #1219 2019-05-04 23:19:14 +02:00
JustArchi
8c105b14d1 Misc 2019-04-24 11:27:09 +02:00
JustArchi
cef37286ff Code cleanup 2019-04-18 11:53:27 +02:00
JustArchi
380f84a821 Remove friend-depending library lock
It's even more unreliable than Steam one
2019-04-15 23:20:04 +02:00
JustArchi
0f525967dc Update ClientGamesPlayed into ClientGamesPlayedWithDataBlob 2019-04-15 21:59:12 +02:00
JustArchi
04bf32e372 Improve cooldown when ASF detects recent playing 2019-04-12 13:43:48 +02:00
JustArchi
79b528cdee Do not serialize plugin API objects in IPC API 2019-04-11 22:52:03 +02:00
JustArchi
1b0cb41366 Slightly improve use case in #1185
API key can be pre-fetched after logging in, and cached for longer than an hour, since bot disconnect already triggers the reset. This way we can avoid asking for that later on, and improve performance of API-key oriented features, without drawbacks from doing so early on, and additionally being covered by LoginLimiterDelay which (accidentally) should help in regards to unsupported amount of bots as well.
2019-04-08 12:02:21 +02:00
JustArchi
b42bbda201 Misc 2019-04-04 14:04:36 +02:00
JustArchi
f3c9ab7771 Correct WalletBalance
It can indeed be negative when user does a chargeback (violating Steam ToS and getting suspended in the process)
2019-04-04 12:25:55 +02:00
JustArchi
0abadc24a8 Closes #1180 2019-04-04 12:22:08 +02:00
JustArchi
2260ed48ab Misc 2019-04-04 00:07:41 +02:00
JustArchi
99574f60bd Misc 2019-04-03 23:29:03 +02:00
JustArchi
9999e19d16 Misc 2019-04-03 23:25:52 +02:00
JustArchi
947c9e9f23 Bot-related improvements 2019-04-03 18:57:25 +02:00
JustArchi
c0f2000df1 Improve trade hold fetching 2019-04-03 16:50:19 +02:00
JustArchi
9b01f7d8bf Bot-oriented misc 2019-04-03 16:41:47 +02:00
JustArchi
4920e28ac9 Misc string comparison optimizations 2019-04-02 20:43:17 +02:00
JustArchi
19891c3f59 Respect additional config properties in APIs 2019-03-08 16:24:49 +01:00
JustArchi
ca462f2a82 Implement IBotSteamClient 2019-03-07 16:35:36 +01:00
JustArchi
e6d07f5fd5 Misc 2019-03-03 16:22:25 +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
5e4a90bb70 Allow to find bots by SteamID in selected functions 2019-02-25 23:49:20 +01:00
JustArchi
b27a19462a Closes #1114 2019-02-24 17:11:47 +01:00
JustArchi
65968b4302 Respect custom BotsComparer when navigating through bot names 2019-02-23 08:40:56 +01:00
JustArchi
cebda5b689 Always distribute from the current bot onwards
Forwarding stays the same
2019-02-23 08:35:48 +01:00
JustArchi
71a9f06e55 Implement interactive command console 2019-02-23 04:31:58 +01:00
JustArchi
6822bf6942 Misc 2019-02-19 00:21:39 +01:00
JustArchi
a37f33a746 Misc 2019-02-19 00:07:29 +01:00
JustArchi
22d89d6ea1 Misc 2019-02-19 00:06:50 +01:00
JustArchi
0045183300 Add rename feature for the bots 2019-02-19 00:02:45 +01:00
JustArchi
b677ba8202 Code/style cleanup 2019-02-16 17:34:17 +01:00
JustArchi
46d61196c7 Share HttpClient with SK2 WebAPI 2019-02-11 03:52:14 +01:00