Jump to content


Photo

node-steam-user v 4

node.js node-steam-user

Best Answer Ino , 08 January 2019 - 07:35 AM

Are you on the latest v4 commit? That sounds like a bug I fixed a couple weeks ago.

Try to do it. If send one message - this event will be emitted so many times, how much you have accounts. I think the problem with websockets, maybee all accounts connected to one websocket or smth any.

UPDT: Method gamesPlayed() don't work too

OYGg41M.png

const SteamUser = require("./node_modules/node-steam-user-4")

const client1 = new SteamUser()
const client2 = new SteamUser()
client1.logOn({
  accountName: '',
  password: ''
})
client2.logOn({
  accountName: '',
  password: ''
})

client1.on('friendMessage', (senderID, message) => {
  console.log(message)
})

client2.on('friendMessage', (senderID, message) => {
  console.log(message)
})
Go to the full post


  • Please log in to reply
20 replies to this topic

#21 Ino

Ino

    Advanced Member

  • Member
  • PipPipPip
  • 63 posts

Posted 08 January 2019 - 07:35 AM   Best Answer

Are you on the latest v4 commit? That sounds like a bug I fixed a couple weeks ago.

Try to do it. If send one message - this event will be emitted so many times, how much you have accounts. I think the problem with websockets, maybee all accounts connected to one websocket or smth any.

UPDT: Method gamesPlayed() don't work too

OYGg41M.png

const SteamUser = require("./node_modules/node-steam-user-4")

const client1 = new SteamUser()
const client2 = new SteamUser()
client1.logOn({
  accountName: '',
  password: ''
})
client2.logOn({
  accountName: '',
  password: ''
})

client1.on('friendMessage', (senderID, message) => {
  console.log(message)
})

client2.on('friendMessage', (senderID, message) => {
  console.log(message)
})

Edited by Ino, 08 January 2019 - 02:40 PM.






Also tagged with one or more of these keywords: node.js, node-steam-user

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users