quer / the-steam-awards

Steam multi account module/event (get updates when event for steam)
95 stars 13 forks source link

How to use a script if "SteamParentalCode" is present? #79

Open aVitaliy opened 8 months ago

aVitaliy commented 8 months ago

Hello. How to use the script if I have the password "SteamParentalCode"? There is no information in the config.js file for entering the password for "SteamParentalCode". As a result, the script cannot receive free trading cards from the 2023 sale.

quer commented 8 months ago

it shoud be posibal. As i use the node-steam-user as login system. And there is build in a Parental login. I can build it in, so you can use it.

But i can i get you to do a proff of consept? By using that modul, on a clean project. Just to show, that you can get it to login for you.

And just send the login code. ( not whit the account details, just replace it whit xx or somefing. just so i can see how it shoud/will for it to work.

As i do not have a account, to test whit.

link for the info : https://github.com/DoctorMcKay/node-steam-user/tree/a9e1d2be73760f881f214bd7dffc74fbc7311cc7?tab=readme-ov-file#loggedon

quer commented 8 months ago

I just deleted the comment. as you shoud not share the login here, as all can see it there. You shoud change the password. I think i will be able to add it. i will see if i can get it up before the next card drops.

quer commented 8 months ago

I have create a branch, where you shoud be able to login whit a Parental pin. I can get you to test it. just download that one, then see if it works.

it can be found here: https://github.com/quer/the-steam-awards/tree/Parental-controll

You can read on the wiki how to set it up: https://github.com/quer/the-steam-awards/wiki/Setting-up#account-whit-parental-control

once you have tested it, and it works, i will add it to master.

aVitaliy commented 8 months ago

It does not work for me. The configuration file is like this:

var config = []; config.push({ steam_user: "XXX", steam_pass: "XXX", sharedSecret: "XXX", PIN: "XXX" }); module.exports = config;

Снимок экрана 2023-12-30 142026 Снимок экрана 2023-12-30 142132

quer commented 8 months ago

not sure what it saying, but it looks like it was able to signin. then it shoud have run the parental code also. I tested, whit my own account. and it did work. I might need access to that account, you posted, if i can. Or we can just look at it over a steam chat. Add me on steam and we can have look at it.

It new year, so i might not be able to look at for the next few days.