seler Posted March 22, 2016 Report Share Posted March 22, 2016 Hi there!I have few questiona bout your's node-steam-tradeoffer-manager api.For example, we have 2 steam accounts: user of my website and my bot.1 step - user want to send his item to my bot and I want to put this into mysql, so user will create trade offer but how to automatically accept it as bot and make sql query?2 step - second situation, bot have some item and I want to make trade offer for my user. How to do it? And I want to do sql query when the trade will be accepted by user.Best regards for you, Matt. Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted March 22, 2016 Report Share Posted March 22, 2016 If you don't know how to work with a database from node, you should probably start with an introductory course. Quote Link to comment Share on other sites More sharing options...
seler Posted March 22, 2016 Author Report Share Posted March 22, 2016 If you don't know how to work with a database from node, you should probably start with an introductory course.I know how to but I don't know where, on which function should I do this.And also I have question, all trades to my bot will be automatically accepted? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted March 22, 2016 Report Share Posted March 22, 2016 Only if you set up your bot to automatically accept all trades. Quote Link to comment Share on other sites More sharing options...
Argyl Posted March 22, 2016 Report Share Posted March 22, 2016 Going to suggest that you do some research. Look at the examples. Shows what you need right there. Quote Link to comment Share on other sites More sharing options...
seler Posted March 23, 2016 Author Report Share Posted March 23, 2016 At the moment I know how to accept trade as bot, but how to create trade as bot to user of website? Quote Link to comment Share on other sites More sharing options...
Argyl Posted March 23, 2016 Report Share Posted March 23, 2016 Its all within the documentation. If you don't understand it, then I would suggest the same as McKay and learn more before taking on a big project. Quote Link to comment Share on other sites More sharing options...
seler Posted March 24, 2016 Author Report Share Posted March 24, 2016 What is the solution to hold more than 1 bot in 1 app?var logOnOptions1, var logOnOptions2, var logOnOptions3, etc.?or var bot1 = new SteamCommunity(); var bot2 = new SteamCommunity(); Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted March 24, 2016 Report Share Posted March 24, 2016 Yes, that works. Quote Link to comment Share on other sites More sharing options...
seler Posted March 24, 2016 Author Report Share Posted March 24, 2016 Yes, that works.One of these options is better? Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted March 24, 2016 Report Share Posted March 24, 2016 Well I mean, you have to do both. 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.