-
Posts
3601 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
Question getPersonas not working with module.exports
Dr. McKay replied to Space Engineer's topic in node-steam-user
If the code you posted in your original post is that entire file, then that specific client is not logged on. You instead created a new one. -
Question getPersonas not working with module.exports
Dr. McKay replied to Space Engineer's topic in node-steam-user
Did you ever log on with the client? -
Discussion Joining CHAT Group at every boot?
Dr. McKay replied to roughnecks's topic in node-steam-user
Once you join a chat room group, you're in it for good. There's no need to join it every time you log in. You can check which groups you're in using getGroups. -
Check error.
-
Without seeing exactly how parseMessage is called, all I can suggest is that maybe you want that if to be if (!message || !message.startsWith('!'))
-
BREAKING CHANGES: steam-user v4 now available on npm
Dr. McKay replied to Dr. McKay's topic in node-steam-user
I'm pinning this thread again because of numerous recent questions about changes made in v4. -
It was removed in v4 because it no longer works.
-
Question Getting highlights in Group CHAT
Dr. McKay replied to roughnecks's topic in node-steam-user
As far as I'm aware, that's the only bbcode that works in chat. Everything else is a /command or an :emoji:. -
That SteamID (like all 64-bit SteamIDs) is too big to be represented as a JavaScript number. It's being rounded. Wrap it in quotes.
-
Question Getting highlights in Group CHAT
Dr. McKay replied to roughnecks's topic in node-steam-user
You need to use bbcode: [mention=accountid]@name[/mention] -
Can you show the code you're using to try to join the group chat?
-
There's no reason you shouldn't be able to use the number with getClanChatGroupInfo. That is your group's 64-bit SteamID. The ID in your group edit page is the accountid portion of your group's SteamID. You can turn it into a full SteamID by putting it in this string: "[g:1:x]" For example, the Valve group's accountid is 4, so we get https://steamcommunity.com/gid/[g:1:4]
-
Why would there be? You sent the offer, you should know that it was sent.
-
Of course that isn't going to work. No incoming trades that you can see will ever be in state 9 (CreatedNeedsConfirmation), so newOffer and receivedOfferChanged aren't going to emit with that state. Trades that you send that require confirmation are created in state 9, so sentOfferChanged isn't going to emit with that state because a trade can't change into state 9.
-
Question Using loginKey gives Error: InvalidPassword
Dr. McKay replied to Lenny McLennington's topic in node-steam-user
You probably want to use require("./login.json") and not just require("login.json"). -
I've just added it in v3.40.0.
-
If you're using a loginkey, don't send the password.
-
If it's a trade you sent but haven't confirmed yet, that's CreatedNeedsConfirmation. The other party can't see it. If it's a trade you received that you accepted but haven't confirmed yet, it's still Active. The confirmationMethod property is how you can tell if an incoming trade has an outstanding confirmation.
-
How to delete all crates in the inventory.
Dr. McKay replied to vrtgn's topic in node-steam-tradeoffer-manager
No, you can't pass an array to deleteItem. You'll need to call it for each item individually. -
Question Setting costum String as current playing
Dr. McKay replied to Karbust's topic in node-steam-user
Setting snooze worked fine for me. If you're not in-game, you will appear as "Away" in the newest Steam client, with a "ZZZ" icon. If you're in-game, just the "ZZZ" icon will appear. If you want a custom in-game string, make the string the first entry in your array that you pass to gamesPlayed. -
You probably want to use steam.uploadAvatar and not community.uploadAvatar. Also, attach a callback. Also also, don't use the auto-confirmation checker.
-
Read the docs, please.