Search the Community
Showing results for tags 'question'.
-
I know one endpoint for getting additional infos on items (http://api.steampowered.com/IEconItems_730/GetPlayerItems/v0001/?key=KEYHERE&SteamID=IDHERE). But this only works if the item is still in that inventory. What if the inspect-link is from the past? Is there any endpoint that I am missing?
-
Hey, Running into a bit of an issue sometimes with persona_state, it's sometimes null for some reason. Code: Bot.prototype.sendMessage = function(steam_id, send_offline, message) { if (this.client.myFriends[steam_id] === undefined || this.client.myFriends[steam_id] === 2 || this.client.myFriends[steam_id] === 4) { log.error(this.data.name, 'The message recipient is not a friend.'); return false; } this.client.getPersonas([steam_id], (personas) => { if (send_offline == false && personas[steam_id].persona_state == 0) { log.info(this.data.name, 'The recipient is offline, and the request has disabled offline sending.'); return false; } else { // temp. debug log.info(this.data.name, 'Name: ' + personas[steam_id].player_name + ', State: ' + personas[steam_id].persona_state); } log.info(this.data.name, 'Sending the message...'); this.client.chatMessage(steam_id, message); log.success(this.data.name, 'Success!'); return true; }); }; What could cause this? The player it tries to send the message to is a friend, so that's not the issue.
-
Hello, I'm getting this error every now and then after calling postUserComment() and inviteUserToGroup(). Since this happens in rare occasions I wasn't able to check the value of response.body, but i think this happens when i lose the steamcommunity session? .../node_modules/steamcommunity/components/http.js:101 if (response.statusCode == 403 && response.body && response.body.match(/<div id="parental_notice_instructions">Enter your PIN below to exit Family View.<\/div>/)) { TypeError: response.body.match is not a function at SteamCommunity._checkHttpError (.../node_modules/steamcommunity/components/http.js:101:67) at Request._callback (.../node_modules/steamcommunity/components/http.js:50:61) at Request.self.callback (.../node_modules/request/request.js:186:22) at emitTwo (events.js:106:13) at Request.emit (events.js:192:7) at Request.<anonymous> (.../node_modules/request/request.js:1081:10) at emitOne (events.js:96:13) at Request.emit (events.js:189:7) at IncomingMessage.<anonymous> (.../node_modules/request/request.js:1001:12) at Object.onceWrapper (events.js:291:19) Can I handle this somehow? Because it's crashing my app and i don't know how to handle this other than restarting everything with forever. Thanks
-
How would I go with registering a free to play game into the account because it will not play anything not in the account.
-
every any transactions, send/receive trade. why i always get like this:
-
Hi, need help about item name. How can I show the item name for item that I take from the bot? Currently it only shows the name of item that bot received.
-
Hello, I have a problem with my code when I am trying to login() and editProfile() more than one account at once. My script: var community = new SteamCommunity(); var activationProcess = setInterval(prepareActivation, 20000); function prepareActivation() { doLogin(usernames[n], passwords[n]); n++; } function doLogin(accountName, password, authCode, twoFactorCode, captcha) { community.login({ // Some data }, function(err, sessionID, cookies, steamguard) { console.log(community.steamID.getSteamID64()); editProfile(username); }); } function setupProfile(username) { community.editProfile({ 'name' : username, }, function(err) { if (err) { console.log('Failed to Edit Profile'); console.log(err); } }); }As you can see from code I am trying to change SteamCommunity name. I do it through interval because I have 5 accounts. I do not understand why, but I am able to edit profile only for the first account. After that I get this error: Failed to Edit Profile Error: HTTP error 302 at SteamCommunity.<anonymous> (/Users/newbie/Work/Tools/node-steam-community/node_modules/steamcommunity/components/profile.js:123:22) at Request._callback (/Users/newbie/Work/Tools/node-steam-community/node_modules/steamcommunity/components/http.js:67:15) at Request.self.callback (/Users/newbie/Work/Tools/node-steam-community/node_modules/request/request.js:187:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request.<anonymous> (/Users/newbie/Work/Tools/node-steam-community/node_modules/request/request.js:1044:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at Gunzip.<anonymous> (/Users/newbie/Work/Tools/node-steam-community/node_modules/request/request.js:965:12) at emitNone (events.js:91:20) I have no idea why It happens, because when I am trying other methods like joinGroup(), everything works fine. It will be great if someone could tell me the reason. Thank you very much.
-
Hello! I have a question a bout generating a Totp authorization code. Does this works also for login htought Steam Client? It's just a question for use it instead of SteamApp. Thanks for reading me and have a nice gaming!
-
Is there any ways to get two factor code by typing in command and how to set up stock command in steam chat?
-
Firstly, thanks for the great work on steam-user. It's great. I'm having some issues with getting my friends list, having read the docs I understand it can be accessed via myFriends. I've tried the following but it keeps returning undefined. function getMyFriends(callback) { if(err) return callback(err); if(!user.myFriends) callback(null,user.myFriends) } What event do I need to wait for to ensure it holds something?
-
If i don't add the callback handler i got the result = 6 (LoggedInElsewhere) , but if i add the callback handler it goes to the first result: (console.error("Error: Logon failed, Invalid Password or playing in the account." ) . Any tips?
-
I need to make sure the recipient is online before I message him. I have loooked for this and this is what I found: client.getPersonas([SteamID], function (persona) { PersonaState = persona[SteamID].persona_state; console.log(PersonaState); This returns null no matter what state I set for myself. I am very new to node. Not sure where to look, there are no errors in the code. I am friends with the bot and he is able to message me and recieve my messages. It works but I dont want him sending me message when my account is offline which it currently does.
-
Hi, I used this library with pretty much the default code in storehouse-steam.js like 8 months ago. Now if I try to use the library, I keep getting IP blocked by Steam. If I update all the dependencies, it still happens. Node is not my preferred language, and I am not a total idiot, but I am not sure how to resolve this in a simple and efficient matter. It only happens when I have a lot of pending orders to accept. Might just be an issue of "steam sucks", with the library is requesting too many offers at once, but I am not sure the best way to handle this. Just makes me frustrated with Steam that everything worked perfectly, and now I have spent tons of time trying to work out a proper way for this.. I just want to accept a lot of tradeoffers automatically :/
-
i have script tradeoffer with node js. i want this script run in my website using php. how to call this script on php
-
Good afternoon. A question, is it possible to implement the purchase of a single item in the Steam store?
-
Hello! I'm trying to send offers. I can create them and I works fine But, when I try to send the confirmation, 80~90% of the times I get this error: "[Error: Could not find confirmation for object XXXXXXXXXX]" The offer is sent, but then I need to confirm it on my mobile device. What can I do to send the confirmation correctly? This is the code I'm using for send it var text_to_send = "Thanks for playing. Here is you reward :D"; var offer = manager.createOffer(trade_url); offer.addMyItems(items_to_send); offer.setMessage(text_to_send); offer.send(function(err, status) { if (err) { console.log(err); return; } if (status == 'pending') { console.log(`Offer #${offer.id} sent, but requires confirmation`); community.acceptConfirmationForObject(confirmation_key, offer.id, function(err) { if (err) { console.log(err); } else { console.log("Offer confirmed"); bbdd.save();//save to the ddbb } }); } else { console.log(`Offer #${offer.id} sent successfully`); bbdd.save();//save to the ddbb } What I'm doing wrong? Is there other way to confirm my offers sent? Thanks for reading this post and have a nice gaming!
-
Hello, I have some questions about node steamcommunity. Is there a way i can get the last added gift or item that was added to my inventory. and then get the item / gift id that i can accept / activate or send it to someone or so ? Or how can i get my custom URL or profile name for custom url with node steamcommunity ? because my accounts have customURL and not want save them all and check what is for what account . thats why ask can get it with steamcommunity with a parameter ? #https://steamcommunity.com/id/profilenameinURL/inventory/# I try to autoactivate or send to on my other account when someone gift or trade me something. And can i accept and unnpack gift on my account ? And i coded that it work with steamguard but for that i deactivated my mobileauth. can i code it that it save my mobile auth like it saves steamguard that i not always need enter it when login at same machine ? I have forgotten: when i try community.httpRequestGet('https://steamcommunity.com/id/profile/inventory/ or any other link i get error 302 . can the node steamcommunity note follow / follow redirect the url ? Its a bit hard to get through the whole node steamcommunity functions etc not so easy atm for me. Thanks hope someone here can help , and answer my questions.
-
hey i searching a way /method to accept and activate gifts i hope theres a better way as to use cookies and do requests -.-
-
Question how to get assetid after accept offer
pipskas posted a topic in node-steam-tradeoffer-manager
Hi! How to i can get assetid items after accept offer offer.accept(function (err,result) retult return accept or pengind i need get new assetid on my inventory Thank you! -
How to create multi-bot on the same ip address? When you run two accounts I get the error: "Can't check confirmations: HTTP error 429"How to fix it?
-
Hello I created script for creating steam accounts from csv file. Always script creating 2 account and next throw Error code: 84. I have inteval 1 minute every each loop. Its time limit and I need to extend this or other limit?
-
I can't figure out why client.on('webSession', function(sessionID, newCookie){}); will not fire at all on my server client.on('loggedOn', function(details){}); works fine?
-
Hello, I started to receive this error today when I try to start my bot. I've tried to google this but I haven't found any usefull informations on what's exactly wrong. First I've tried to wait 10 minutes and start the bot again, same problem, then I tried to wait 20 minutes and start, then I tried to wait 1 hour and start the bot, it didn't help. How much more should I wait or how should I avoid getting this error? If you need any more informations from me, I'm provide anything, I'm just not sure what would be helpful