Jump to content
McKay Development

Search the Community

Showing results for tags 'nodejs'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • Releases & Updates
  • Help & Support
    • General
    • Guides
    • node-steam-user
    • node-steamcommunity
    • node-steam-tradeoffer-manager

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Location


Interests

Found 6 results

  1. Good day, So I am kind of new to js and this may be a noob question, if it is I am very sorry for asking. But here is what I am having issues with: const getInventory = () => { manager.loadInventory(730, 2, true, (err, inventory) => { if (inventory) { return inventory; } if (err) { console.log(err); } }) } So I export this function, but when I try console logging it, it doesn't return anything, just undefined. But when I put inventory into a callback, I get it. Is there something I am missing here? Thanks!
  2. Hello, bot successfully accepts first trade offer but does not accept next day or second offer; my console log is : trade offer status : undefined.
  3. I've tried sending all my friends a message. so i made a function for that: function messageAllCommand() { var messageAll = readlineSync.question('Enter message: '); for (var friend in client.myFriends) { console.log(friend); client.chatMessage(friend, messageAll); } }but somewhy, it seems really random who gets the message tho it prints everyone's id it but still don't send everyone the message. here are the ID's: https://pastebin.com/5NGqV340 E.G: it printed the user id: 76561198278317090 but didn't sent the message. and it printed the user id: 76561198173748582 this time it sent the message. I checked and friendsList was emitted before BTW this forum is real good and i get answers.
  4. Is there a module to confirm sell orders on mobile, I have over 25k+ items that I want to sell and I haven't found a module to confirm mobile orders.
  5. Hi everyone, have this nodejs backend which is calling the Steam api via passport-steam to log a user in. This is working and in this code I am getting the user back. app.get( //regex to validate auth/steam/ and auth/steam/return /^\/auth\/steam(\/return)?$/, passport.authenticate('steam', { failureRedirect: '/' }), (req, res) => { console.dir(req.user); res.redirect('/account'); } );So I have user as req.user in the callback after the Steam Login passes. My question is: What is the best (AND MOST SECURE!) way to pass this req.user to a route, which I will then call GET from the Frontend Framework so I can get this data to the Frontend? Furthermore, how does my Frontend communicate with my nodejs bot in a secure manner? (maybe this is a broad question but worht a try!) Right now I have this route set up: app.get('/account', (req, res) => { res.send({user: req.user}); });But user is null. Any help is appreciated!
  6. Hello McKay. First of all I wanna say thank you for your contribution. I saw all these node-steam-* modules and came this forum. I wanna say I'm proud of you and you are doing great libraries here. I'm a deeply experienced javascript developer. If you have some problems to fix or maintain some modules, maybe I can help you. NOTE: I don't know anything about steam dev api and how trade works... Can we have some section for contributors talk about internal issues? That way I can learn very fast how steam trade works and other stuffs too... Maybe 'Developers' or 'Contributors' might be good name for new section. What do you think? BTW: If I did something wrong please forgive me. I don't have much experience with Forum
×
×
  • Create New...