-
Posts
84 -
Joined
-
Last visited
Posts posted by timgfx
-
-
This is what I'm talking about: https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOfferManager#constructoroptions
Unlike the steam property it isn't said what it's for. What I expect it to do is use its request thing, but I'm not too sure
-
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?No, the original post code is crashing due to some bug that I need to track down.
What kind of chat is this? Group chat or multi-user? Also, is the
chatEnter
event being emitted for it? Can you also listen forchatLeft
and see in what order stuff is being emitted? -
Well the error in that screenshot you just provided is caused by you attempting to leave a chat when you aren't connected to Steam.
When you say it happens "every time", it happens every time what happens? Every time someone leaves a chat?
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
-
-
I think your friends must be in game to get ranks
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 onlineI want to know what you're using node-csgo for.
-
No, it's better that you separate them and make them communicate using socket.io
Then they would still both have to be in the same process because I don't think socket.io can 'travel' to other servers
-
Title! I'm wondering because this would be the easiest way to make the bot and the website communicate in my opinion (Tell me if theres a better way though!)
-
Can I ask what you're trying to do with it?
What do you mean? Btw I already solved it, used steam-users client as steamClient instead of node-steam's one
-
but, https://gyazo.com/17ce849b860f6ae68d87492629bf248d wtf, lol?
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
-
Hello!
I keep getting an error when I'm doing:
manager.getEscrowDuration('76561198016511109', 'EMv1iKH8', function(err, daysTheirEscrow, daysYourEscrow) {
if(err) console.log(err);
});
And getting: Error: This Trade URL is no longer valid for sending a trade offer to noname.
But the funny thing is that https://steamcommunity.com/tradeoffer/new/?partner=324417112&token=EMv1iKH8 tradeurl works fine
What am I suppose to do?
Thanks!
-
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!
-
I know how to get inventories from games but I can't seem to find out how I can load my Steam Inventory......
-
As per the documentation, you need to pass the actual function that you want to remove as a listener to removeListener.
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? :/
-
-
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.
-
then loop through itemsToReceive and validate each market_hash_name
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
Bot Got Hacked??
in node-steam-tradeoffer-manager
Posted
A friend of mine got all his items taken by that exact profile too. The thing is that some guy helped him set up the bot, and could just download the config..