-
Posts
40 -
Joined
-
Last visited
Posts posted by jafix
-
-
I suggest using node-steamrep. It's a lot more reliable then the notifications from Steam.
-
Hey may i have the full code fixed plzzz i really need this for my bot an ive searched everywhere
Look at the posts above you. It's literally there.
-
As McKay said, offer.itemsToGive is an array of items you will loose after the trade and offer.itemsToReceive is an array of items you will receive after the trade.
-
Creating the offer is probably the easiest way to do it. You don't have to send the offer.
I got it working. Is there a rate limit on creating offers? (Not sending them)
-
Why do you use client.gamesPlayed("Steam Test Bot by Cubson [Not Busy]"); 3 times? You only need to call it once.
For the rest your script should work. Are sure you tested with a "non-trusted" steamid? -
https://www.reddit.com/r/SteamBot/comments/5ztiv6/psa_api_method_shutdown_ieconitems/
I think you should read through this post. -
Hi,
I want to verify if a trade url belongs to an user, I have both the steamid64 and the trade url with access token. How would I do this without creating an offer and checking if the steamid64 I have matches offer.partner.getSteamId64();?
Thanks
-
Err what do you mean by "a fully functional trade bot"?
I'm pretty sure nobody is willing to waste their time on a free bot for someone else. -
You should use steamID64. That's the one that starts with 76.
-
Try with client.gamesPlayed(["Custom message", 440]);
Thanks a bunch!
-
SteamUser = require('steam-user'); const client = new SteamUser();
'client' is how i called steam-user.
True, the event is only fired on a new friend invite.
-
Hey,
I want to display a message as a non-Steam game and I also want to idle a game on the background.
What I have now:
console.log("Logging in to Steam..."); client.logOn(logOnOptions); client.on('loggedOn', () => { console.log('Logged into Steam'); client.setPersona(1); client.gamesPlayed("Custom message", 440); });
But tf2 doesnt idle
-
Though it is possible to listen for friendRelationship
client.on('friendRelationship', function(sid, relationship) { //incoming friend requests if(relationship == 2) { console.log(sid + ' added me.'); } });
sid is the id of the friend who added you
-
Hi,
After I use getInventoryContents I get an array of inventory objects. I want to be able to define a variable to determine how much items i send.
For example:
var amount = 5; offer.addMyItems(inventory[0 - 4]); var amount = 3; offer.addMyItems(inventory[0 - 2]);
-
Same problem, I'm sure I'm connected so that's not the case.
For some reason this only occurs on an empty inventory for me.
After the bot owned cs:go items and the inventory is empty there's no problem. -
If you set a password, it will be encrypted so you will have to disable it first
True, sorry for not mentioning that.
-
-
Thanks, another option i found is https://github.com/DPr00f/steam-api-node
Pretty sure it basically does the same
-
Hello,
Is there a way of getting you inventory contents without having to log in?
-
Would it be possible to recognize card by their game? So you would be able to see them as sets. I don't think this feature exists. And if it exists how do I use it?
-
I'm sometimes getting this error when I'm logging into the bot account in my browser. Obviously this causes the problem. But how do I prevent this?
-
client.logOn(logOnOptions); client.on('loggedOn', () => { console.log('Logged into Steam (JafixBot2)'); client.setPersona(SteamUser.Steam.EPersonaState.Online); client.gamesPlayed('Trading Emoticons And Backgrounds'); client.chatMessage('76561198259000054', 'Logged in!') client.chatMessage('76561198178736621', 'Logged in!') community.startConfirmationChecker('20000', 'secret', function(err) { if (err) { throw err; } }); });
This is the code i use for logging in.
-
I'm getting this error on logging in.
-
This is the error I am getting. What am I doing wrong? I'm getting this error like 75% of the time.
How to show the error title only
in node-steamcommunity
Posted
I suggest to make a custom error handler.