Jump to content
McKay Development

Offer cancelTime inaccurate. Why is it?


Recommended Posts

Sorry, But i tested it like this:

var connection = new Steam.SteamClient();
var client = new Steam.SteamUser(connection);
var manager = new TradeOfferManager({
   "steam": client,
   "domain": domain,
   "language": "en",
   "cancelTime": cancel_time,
   "pendingCancelTime": cancel_time
});
var community = new SteamCommunity();
var logOnOptions = {
   "account_name": login_username,
   "password": login_password,
   "two_factor_code": SteamTotp.getAuthCode(login_secret)
};


client.logOn(logOnOptions);

and I am getting errors now:

 

this._connection.send(Buffer.concat([header.toBuffer(), body]));
                  ^
TypeError: Cannot read property 'send' of undefined

Is anything different when I use 'steam' ? I just used 'steam-user' before

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...