sarpdunno Posted April 3, 2019 Report Posted April 3, 2019 Hello logOn method not working. Stucked on "751" I try debugging and my logs => Quote
Dr. McKay Posted April 4, 2019 Report Posted April 4, 2019 751 is LogOnResponse. Show your code, you probably did something wrong. Quote
CellSplitter Posted April 4, 2019 Report Posted April 4, 2019 (edited) Try this for Login let client = new SteamUser(), manager = new TradeOfferManager({ "steam": client, "pollInterval": "10000", "cancelTime": "1800000" // 30m in ms }), community = new SteamCommunity();//Logging inclient.logOn({ accountName: CONFIG.USERNAME, password: CONFIG.PASSWORD, twoFactorCode: SteamTotp.getAuthCode(CONFIG.SHAREDSECRET)}); client.on("loggedOn", function() { client.getPersonas([client.steamID], (personas) => { console.log("["+getTime()+"] " + " Logged in as " + personas[client.steamID].player_name + " [ " + client.steamID + " ]."); client.setPersona(SteamUser.Steam.EPersonaState.Online); });}); client.on("webSession", (sessionID, cookies) => { manager.setCookies(cookies, (ERR) => { if (ERR) { console.log("## An error occurred while setting cookies."); } else { console.log("## Websession created and cookies set."); } }); Edited April 4, 2019 by CellSplitter Quote
sarpdunno Posted April 4, 2019 Author Report Posted April 4, 2019 Stucked on steamGuard. I fixed thanks. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.