All Activity
- Past hour
-
I think I am using the latest version since I just installed the module const SteamUser = require('steam-user'); const config = require('./config.json'); const client = new SteamUser(); const logOnOptions = { accountName: config.username, password: config.password }; client.logOn(logOnOptions); client.on('loggedOn', () => { //mensaje cuando se logra iniciar sesion console.log('Entraste a Steam :)'); console.log("Logged into Steam as " + client.steamID.getSteam3RenderedID() + " /// "); //ponerse el estado En Linea client.setPersona(SteamUser.EPersonaState.Online); //p
-
D:\bot\bot.js:75 var persona = personas[steamID.getSteamID64()]; ^ TypeError: Cannot read property '76561198987247955' of null at D:\bot\bot.js:75:27 at Immediate.<anonymous> (D:\bot\node_modules\steam-user\node_modules\@doctormckay\stdlib\components\promises.js:90:6) at processImmediate (internal/timers.js:461:21)
- Today
-
XexcellX started following node-steamcommunity
-
D:\bot\bot.js:75 var persona = personas[steamID.getSteamID64()]; ^ TypeError: Cannot read property '76561198987247955' of null at D:\bot\bot.js:75:27 at Immediate.<anonymous> (D:\bot\node_modules\steam-user\node_modules\@doctormckay\stdlib\components\promises.js:90:6) at processImmediate (internal/timers.js:461:21)
-
The documentation is on GitHub. I would need to see the entire error output to help you with that at all.
-
NoiseBaphomet changed their profile photo
-
Hello, I am really new to this and I would very much appreciate you helping me, I already have time looking at the github but it confuses me since there are no examples, my question is how can I get the nickname when I receive a message from some steam friend? look they use getpersona but always sends me mistakes I had already left this behind but the truth is that I am not satisfied I just want to be able to do something like... [automatic message] Hello "nickname", I am currently resting blablabla
-
NoiseBaphomet reacted to a post in a topic: How to get user's nickname?
-
Hi, I'm new, where can I find the documentation? I have error in "var persona = personas[steamID.getSteamID64()]; ^ in [
-
NoiseBaphomet joined the community
- Yesterday
-
" Cannot read property 'conf' of undefined "
XexcellX replied to XexcellX's topic in node-steamcommunity
thanks for the solution, everything works now -
Chika reacted to a post in a topic: Is that possible to use cookies to mimic a steam-user or steam-community login?
-
Chika changed their profile photo
-
" Cannot read property 'conf' of undefined "
Dr. McKay replied to XexcellX's topic in node-steamcommunity
You're using the automatic confirmation checker, which has had this notice on its documentation page for 3.5 years: - Last week
-
XexcellX joined the community
-
This same error keeps happening and I don't know how to fix it I've tried reinstalling the module and that doesn't seem to work. I've narrowed down where the error occurs and it seams to be occurring when it exits this: After that code the function ends and it stops managing the trade which is where the error seems to occur. Once processOffer is complete and it exits the manager on it seems to crash and I just need help fixing it please
-
Connecting to TCP CM: 162.254.192.100:27019 TCP connection established Handled message: ChannelEncryptRequest Channel encrypt request: protocol 1, universe 1, nonce bc0de10cc2a4456ef794c347a 6cc2922, 0 remaining bytes Sending message: ChannelEncryptResponse Handled message: ChannelEncryptResult Sending message: ClientLogon Logon message timeout elapsed. Attempting relog. Looks to be a timeout error. I decided to create a new VPS (giving me a new IP) and sure enough, it works now! Seems like my old VPS
-
Jesse changed their profile photo
-
user.logOn never resolves when running on VPS
Dr. McKay replied to ImVerse's topic in node-steam-user
There is no timeout for connection attempts because when Steam goes down, it can stay down for a while and we want to be able to reconnect automatically. Add this and you can get some more descriptive output: client.on('debug', (msg) => console.log(msg)); -
Hello, I'm using the steam-user and steamcommunity packages to create a trade bot. When I run my node program on a VPS, the program fails to login into steam without emitting an errors. I presume this is because the VPS can't connect to Steam servers? But wouldn't a timeout exception occur? Here's my code: const SteamUser = require('steam-user'); const SteamTotp = require('steam-totp'); var client = new SteamUser(); var logOnOptions = { accountName: this.doc.credentials.accountName, password: this.doc.credentials.password, twoFactorCode: SteamTotp.generateAuthCode(thi
-
ImVerse joined the community
-
client.on('friendMessage', function(steamID, message){ var msg_him=Object.keys(Config.reply); var msg_my=Object.values(Config.reply); var replycount=msg_my.length; for (var i = replycount - 1; i >= 0; i--) { if (message==msg_him[i]) { //if (message.indexOf(msg_him[i]) >= 0) client.chatMessage(steamID,msg_my[i]); } } }) Config.js "reply":{ "谁是大帅比":"当然是venfiw", "代购":"当前代购折扣为:8折,需要7天以上Steam好友,请用QQ联系我, 554515860", "hello":"hi" } when some send hello in chat, ur bot will send hi or u can use : if (message.indexOf(
-
https://github.com/DoctorMcKay/node-steamcommunity/wiki/CSteamUser#commentmessage-callback
-
Tayhay joined the community
-
Currently there is getAllCommentsa and deleteComment I think we need createComment, what do you guys think?
-
How do I when someone sends the link to a steam profile in the chat send request automatically
-
Ze das Couves joined the community
- Earlier
-
caburasdev joined the community
-
The error event is only emitted (in this module) when you get disconnected from Steam, and the module will not attempt to auto-reconnect. Handling the error event isn't going to act like handling the uncaughtException event; it's not going to prevent crashes for other errors besides Steam disconnects.