TextDynasty Posted October 23, 2016 Report Share Posted October 23, 2016 Is there a way to use one trade offer manager for two accounts? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted October 23, 2016 Report Share Posted October 23, 2016 No, you'd need to create two separate TradeOfferManager objects. Quote Link to comment Share on other sites More sharing options...
TextDynasty Posted October 23, 2016 Author Report Share Posted October 23, 2016 No, you'd need to create two separate TradeOfferManager objects.thanks for reply, do you mean by creating another folder for another account? Thanks Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted October 23, 2016 Report Share Posted October 23, 2016 No, I mean you need to do new TradeOfferManager twice. Quote Link to comment Share on other sites More sharing options...
TextDynasty Posted October 23, 2016 Author Report Share Posted October 23, 2016 but how about the login? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted October 24, 2016 Report Share Posted October 24, 2016 You'd need two of whatever you're using to login too. Quote Link to comment Share on other sites More sharing options...
TextDynasty Posted October 24, 2016 Author Report Share Posted October 24, 2016 client.logOn({ accountName: config.username1, password: config.password1, "twoFactorCode": SteamTotp.getAuthCode("shared_secret") }); client.logOn({ accountName: config.username2, password: config.password2, "twoFactorCode": SteamTotp.getAuthCode("shared_secret") }); Quote Link to comment Share on other sites More sharing options...
TextDynasty Posted October 24, 2016 Author Report Share Posted October 24, 2016 You'd need two of whatever you're using to login too.Thanks for the fast reply. But do you mean by that? client.logOn({ accountName: config.username1, password: config.password1, "twoFactorCode": SteamTotp.getAuthCode("config.shared_secret") }); client.logOn({ accountName: config.username2, password: config.password2, "twoFactorCode": SteamTotp.getAuthCode("config.shared_secret") }); Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted October 24, 2016 Report Share Posted October 24, 2016 var client1 = new SteamUser(); var client2 = new SteamUser(); Quote Link to comment Share on other sites More sharing options...
TextDynasty Posted October 24, 2016 Author Report Share Posted October 24, 2016 Thanks for the fast reply. So the code should be this? var client1 = new SteamUser(); var client2 = new SteamUser(); client1.logOn({ accountName: config.username1, password: config.password1, "twoFactorCode": SteamTotp.getAuthCode("config.shared_secret") }); client2.logOn({ accountName: config.username2, password: config.password2, "twoFactorCode": SteamTotp.getAuthCode("config.shared_secret") }); Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted October 24, 2016 Report Share Posted October 24, 2016 Yes, that looks correct enough, minus the secrets. Quote Link to comment Share on other sites More sharing options...
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.