Jump to content
McKay Development

Jartsu

Member
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Jartsu

  1. Thanks, I'm trying to enter my steamid there, but it tells me that this profile doesn't exist.
  2. Hey, So I have a piece of code: community.getSteamUser(offer.partner, function(data){ if I did a console.log it returns null. I also tried with new SteamID(offer.partner) and also offer.partner.toString() always it's null for me. What am I doing wrong?
  3. Hmm, The confirming doesn't work for me at all :/, What could be the issue (not the same thing what I asked before) community.on('confKeyNeeded', function(tag, callback) { var time = Math.floor(Date.now() / 1000); var key_conf = SteamTotp.getConfirmationKey(config.identity_secret, time, 'conf'); callback(null, time, key_conf); }); community.on('newConfirmation', function(confirmation) { logger.info("newConfirmation requested."); var time_details = Math.floor(Date.now() / 1000); var key_details = SteamTotp.getConfirmationKey(config.identity_secret, time_details+t_offset, 'allow'); confirmation.respond(time_details+t_offset, key_details, true, function(err){ if (err != null) {logger.error("Unable to confirm offer: "+err); return; } logger.info("Trade Accepted with 2FA"); }); });
  4. Hello, Sorry for bad explanation.. After trade is sent, you will be getting a trade id Ex: 7362832 Then I wanted to create a function example: ConfirmTrade(int tradeID) The question what I was asking, is there a possible way creating that function?
  5. Hey, I'm trying to make an "confirmation system". After trade is sent, you can call it, with trade id, so it would be confirmed. Is there already something like that or not? If it's not possible to do something like that, okay. If it's not possible (the tradeid confirming, then) -> After logging in I have that line: community.startConfirmationChecker(10000, account.identity_secret);But it doesn't seem to work for me.
  6. Okay, figured it out. The secret was invalid, but I though it isn't because it was still generating a code for me..
  7. Hey, I'm trying to login to steam, but I keep getting an error "Error: SteamGuardMobile". My time is right, shared secret is right as well, What could be wrong? SteamTotp.getTimeOffset(function(err, offset, latency) { account.twoFactorCode = SteamTotp.generateAuthCode(account.shared_secret, offset); account.auth = false; logger.debug(account); community.login(account, login); });
×
×
  • Create New...