SAM icon indicating copy to clipboard operation
SAM copied to clipboard

2 Suggestions

Open KillaBoi opened this issue 3 years ago • 2 comments

Hi Alec!

I hope you have a Merry Christmas and a Happy New Year!

Just 2 suggestions which could possibly be added sometime in the future perhaps (I'll potentially try working on them myself with a PR as well since I'll be in hospital soon and won't have anything to do so might as well code 😛)

The first one is to add Windows Toasts/Alerts for bans applied to profiles that weren't there before either when opening up SAM or when the checks happen as set in the Steam Settings tab.

The second suggestion was to add ConnectCache support however there may be some issues with this since the user has to "Remember this Password" and there's some potential VDF interaction as well before you're able to use ConnectCache tokens to login without 2FA etc...

Let me know what you think about either of these, I personally think the toasts/alerts would be great, idk about the second suggestion myself but yea

KillaBoi avatar Dec 24 '20 23:12 KillaBoi

Hey KillaBoi!

Thanks I hope you are enjoying your Holidays as well!

The alerts for accounts that have been banned on the next check is an interesting idea. Definitely doable. Would definitely have to be a setting users can toggle if they don't want it.

I have been looking a lot into the 'Remember Password' checkbox stuff as there seems to be a few different moving pieces involved with this. I've tried every combination of setting the AutoLoginUser and RememberPassword registry keys in different orders and setting them before/after steam starts with no affect. I have also experimented with forcibly checking the box through memory, which doesn't want to do anything either. There are other vdf files saved in the ../Steam/userdata folder that seem to save additional account related stuff but I'm not sure if any of that is useful to us.

What is the "ConnectCache" you're talking about? Not sure I've looked into that yet.

Also, really sorry to hear you'll be spending time in the hospital. Hope everything works out.

Feel free to reach out on Discord if you want: rex706#6521

rex706 avatar Dec 28 '20 14:12 rex706

That sounds good, I can try working on the alert stuff whilst i'm in the hospital to keep me productive for the few hours that i'll have to stay in.

In terms of the autologin stuff, the "ConnectCache" tokens are located in the config.vdf file and are given to you when you press "Remember Password". This is what is used to identify you the next time you open Steam and it autologs you in. It works in combination with AutoLoginUser and RememberPassword Registry options and upon pressing "Change User" the tokens get revoked for your account. You need the tokens in order to automatically login without 2FA otherwise it'll ask you for the 2FA code.

KillaBoi avatar Jan 01 '21 20:01 KillaBoi