Jump to content
McKay Development

Recommended Posts

Posted (edited)

Hi everyone. Please, could you help me or just explain why am i facing with the next problem.
Explanation:

1) I've installed all of the requirements 

npm install steam-user steamcommunity steam-totp steam-tradeoffer-manager
npm WARN deprecated [email protected]: This package is deprecated. Use destructuring assignment syntax instead.
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

added 145 packages, and audited 146 packages in 9s

3 packages are looking for funding
  run `npm fund` for details

8 vulnerabilities (3 moderate, 5 high)

Some issues need review, and may require choosing

2) right after copied examples/storehouse-steam.js from the official git, filled the authorization data Login Password And sharedsecret

3) Started the code.
4) Then i saw 
 

Quote

Logged into Steam
Cookies set

5) After that i've sent tradeoffer from my second account to the bot's account, waited 10 minutes, and nothing happened. Example code didn't accept my tradeoffer or even didn't write about trade offer, litteraly nothing happened.

I tried to switch on examples/storehouse-steamcommunity.js to try, but the same result.

I even tried to add this code in the example 

client.on('webSession', function(sessionID, cookies) {
	manager.setCookies(cookies, function(err) {
		if (err) {
			console.log(err);
			process.exit(1); // Fatal error
			return;
		}

		console.log("Cookies set");
	});

	community.setCookies(cookies);

	manager.getOffers(1, function(err, sent, received) {
    if (err) {
        console.log('getOffers error:', err);
        return;
    }

    console.log(`Found ${received.length} received offers`);
    received.forEach(offer => {
        console.log(`Offer from ${offer.partner.getSteamID64()}, state: ${offer.state}`);
    });
});
});

and after i reloaded the code without cancelling existing tradeoffer. And the bot sees the active tradeoffer and printing in the cosole offer from [steamid] state: Active.

May be it is known problem and im not the first one?

Edited by LSpeed

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...