SAM icon indicating copy to clipboard operation
SAM copied to clipboard

SAM stopped inserting Code Guard. Everything worked fine before. After today’s update, it stopped entering.

Open csgo51435314 opened this issue 5 months ago • 15 comments

SAM stopped inserting Code Guard. Everything worked fine before. After today’s update, it stopped entering. SAM stopped inserting Code Guard. Everything worked fine before. After today’s update, it stopped entering. SAM stopped inserting Code Guard. Everything worked fine before. After today’s update, it stopped entering.

DON’T UPDATE SAM! Whait a fix

csgo51435314 avatar Jul 16 '25 11:07 csgo51435314

on other computers everything works but there is no update installed.

For the most part, even rolling back to the previous version does not help

csgo51435314 avatar Jul 16 '25 12:07 csgo51435314

Steam client updated for me today and SAM is working fine

rex706 avatar Jul 18 '25 17:07 rex706

Image

I do not know what additional information is needed.

Before everything worked, the SAM update came, I updated, everything stopped working.

only login and password are entered. Guard code is not available.

csgo51435314 avatar Jul 19 '25 04:07 csgo51435314

steam version is lasted and sam

csgo51435314 avatar Jul 19 '25 04:07 csgo51435314

and this shit got frezee

Image

csgo51435314 avatar Jul 19 '25 04:07 csgo51435314

use latest update and try again. I have confirmed it is working even with Russian language selected

rex706 avatar Jul 19 '25 13:07 rex706

not work :{

SAM version is 1.5.9331.17422 steam - lasted

csgo51435314 avatar Jul 19 '25 17:07 csgo51435314

there may be a discrepancy with SAM correctly detecting the code window is ready for input with your version of Steam. It's possible Valve is changing their UI layout under the hood as the day or so it was not working a couple of weeks ago I observed they had completely removed the Document parent UI element SAM sources it's control detection from. what's weird is they seem to have reverted this change a few days after and everything started working again. maybe your region's version has some differences. if you run SAM from the source code you should see this log:

Console.WriteLine("Inputs: " + inputs.Count + " Buttons: " + buttons.Count + " Groups: " + groups.Count + " Images: " + images.Count + " Texts: " + texts.Count);

this is currently the criteria for detecting the code window:

inputs.Count == 0 && buttons.Count == 5 && groups.Count == 0 && images.Count == 3 && texts.Count == 5

I have no problem admitting that this isn't probably the best solution for this sort of thing, but it has been working for the most part for a long time in my case avoiding trying to detect specific text in various languages.

if you can provide me the log output for when it is stuck looking for the steam guard window we can better understand what is going on

rex706 avatar Jul 19 '25 17:07 rex706

if you're not familiar with running from source code in visual studio, you can download this tool:

https://github.com/FlaUI/FlaUInspect

which is what SAM uses under the hood to interact with the Steam windows, and run it as admin. select the Steam Guard window and screenshot the results in the window like this

Image

rex706 avatar Jul 19 '25 17:07 rex706

@csgo51435314 try the latest hotfix

rex706 avatar Jul 19 '25 19:07 rex706

Image

csgo51435314 avatar Jul 21 '25 15:07 csgo51435314

thanks this helps a lot. as you can see, your layout seems to be very different from mine regardless of the language setting. looks like valve is experimenting with different layouts per region as suspected. Tons of 'Custom' elements and still using 'Edit' controls for the input over 'Buttons' in my case. I will need to come up with a more creative way to correctly detect this window for all users

rex706 avatar Jul 21 '25 23:07 rex706

I changed the Steam interface language to English, but the error remains

csgo51435314 avatar Jul 22 '25 06:07 csgo51435314

Image

csgo51435314 avatar Jul 22 '25 06:07 csgo51435314

Image

Hi, did you solve the problem?

Zodd1337 avatar Sep 20 '25 13:09 Zodd1337