zephylac
-
Posts
6 -
Joined
-
Last visited
Posts posted by zephylac
-
-
Hi it's me again but this time I wanna use the methods getPersona but it's not implemented in node-steam. How should I do? Implement it in the code? add steam-user?
-
I guess I would do that
Steam.EChatEntryType.ChatMsg === 1
-
Yes thank you I saw that. But I've looked in to it but there is no documentation on type of chatEntryType. I've look around none of it. So how I can distinguish them?
-
Ok but my problem is that I want to use yours but the node-steam event friendMessage is triggered when someone is typing but I want it to be trigger when I actually receive a message. SO if I want to use yours I need to remove node-steam?
-
Hi,
Today I found this awesome extansion I tried to use it. I implemented it in my codes Here's my problem:
I want to get a message from a friend so I did:
advFriend.on('friendMessage', function(steamID, message) { console.log("Friend message from " + steamID.getSteam3RenderedID() + ": " + message); });
But when I send message to my bot, nothing appears in my console.
Here's how I defined it before:
// Requiresvar Steam = require("steam"),SteamGroups = require("steam-groups"),storage = require('node-persist'),util = require("util"),fs = require("fs"),csgo = require("../"),readlineSync = require("readline-sync"),crypto = require("crypto"),AdvSteamUser = require('steam-user');// Objectsvar bot = new Steam.SteamClient(),steamUser = new Steam.SteamUser(bot),steamFriends = new Steam.SteamFriends(bot),steamGroup = new SteamGroups(bot),steamGC = new Steam.SteamGameCoordinator(bot, 730),CSGOCli = new csgo.CSGOClient(steamUser, steamGC, false),advFriend = new AdvSteamUser(),I can't find the error. I tried several times and solutions. I don't know from where it comes
N.B : I don't have any error reports in my console
getPersonas
in node-steam-user
Posted · Edited by zephylac
Hi I'm using getPersonas to retrieve people's username from a steam id but when I'm calling it ir returns me an error. I've checked npm and I have the last version of steam-user. Is it uncompatible with node-steam?