-
Posts
82 -
Joined
-
Last visited
Everything posted by timgfx
-
Send a variable amount according to the Steam-chat
timgfx replied to TextDynasty's topic in node-steam-tradeoffer-manager
Bots filter the message sent to the specific number (with .replace, .split, whatever) Then convert the data type of that string containing a number to an actual number with parseInt, then it processes the trade with X items -
Multi user I think, the bot invites a user and me. Currently the bot doesn't listen for chatEnter and chatLeft. Only chatUserJoined and charUserLeft, they are both emitted and leaveChat() causes an error in chatUserLeft. I can test chatEnter and chatLeft later today, does steam-user have a debug mode?
-
In the code I posted in the original post it would crash every time a user left a chat. So that means my session expired?
-
He isnt mean he is just saying that if you're not as experienced it's easy to make dumb mistakes, which can cause big issues
-
yea i know already set it up 3 days ago
-
Just trying to see if I was able to get the ranks of my friends without being online
-
What do you mean? Btw I already solved it, used steam-users client as steamClient instead of node-steam's one
-
Getting error when executing getEscrowDuration method
timgfx replied to kaikash's topic in node-steam-tradeoffer-manager
I guess that's because you're on his friends list or something weird Steam did. Ask him for his trade link and try that -
Getting error when executing getEscrowDuration method
timgfx replied to kaikash's topic in node-steam-tradeoffer-manager
http://prntscr.com/br40ch -
Title, I am trying to use steam-user with csgo, https://github.com/joshuaferrara/node-csgo.
-
I see you're using node-csgo. I tried to use it too but can't get it to work! Can you help me?
-
NVM! I found out! AppID: 753, ContextID: 1 for Gifts, 3 for Coupons and 6 for Trading Cards, Backgrounds etc! http://api.steampowered.com/ISteamApps/GetAppList/v2
-
I know how to get inventories from games but I can't seem to find out how I can load my Steam Inventory......
-
I tried that but it didn't work I did this: client.on("loggedOn", function(details, parental) { logonfunc(details, parental); }); client.removeListener("loggedOn", function(details, parental) { logonfunc(details, parental); }); And tried the same with removing the logonfunc function. How would I do it because I'm lost
-
Yeah I get that but how do I remove steam-user listeners once they've been set. I've tried client.removeListener('loggedOn') but I got a lot of errors. I also tried searching in the steam-user files but what I tried didn't work either. "require('util').inherits(SteamUser, require('events').EventEmitter);"
-
I still don't get it. Can you maybe help? :/
-
Question Is any option to get the list of friends.?
timgfx replied to jensej's topic in node-steamcommunity
You can log in with node-steam-user and set the cookies for community. You can use client.on("friendsList", function(){ console.log(client.myFriends); }); I have never done this myself but it should work if I read it right -
The title says it. I am making a bot which you can manage on a webpage. So every time you restart the bot it should remove and add the event listeners again.
-
Yep I figured it out already. It's too much to explain tho and was a lotta copy pasting. And I didn't use JSON since I like using Javascript objects more. Dunno why, more familiar with it I guess. This is my trades.js file now: module.exports = { trade1: { "itemsToReceive": "", "itemsToGive": "" }, trade2: { "itemsToReceive": "", "itemsToGive": "" }, trade3: { "itemsToReceive": "", "itemsToGive": "" }, trade4: { "itemsToReceive": "", "itemsToGive": "" }, trade5: { "itemsToReceive": "", "itemsToGive": "" }, trade6: { "itemsToReceive": "", "itemsToGive": "" }, trade7: { "itemsToReceive": "", "itemsToGive": "" }, trade8: { "itemsToReceive": "", "itemsToGive": "" }, trade9: { "itemsToReceive": "", "itemsToGive": "" }, trade10: { "itemsToReceive": "", "itemsToGive": "" } } //all values represent the market_hash_names of the item
-
Well I think it would be a lot easier if the bot receives offers, I am going to use it as trade bot to buy quicksells (csgo items via csgolounge), and to make it easy people can send their offers and instantly get accepted.
-
I already tried this but it didn't work. Or doesn't multiple games mean that you can farm hours with multiple accounts? It did show I played the game on the date of today but it only showed that the first game in the array was being played