Search the Community
Showing results for tags 'help'.
-
When I want to put an item for sale from my Steam inventory, I need to confirm it. The listing to be validated while putting it on sale does not give an id-style value. I can get all the approvals, but the asset_id is not visible in the approval detail. Many items of the same type may be pending sales approval, but I only want to approve the correct one. How can I do that? Is there a method to pull market listings?
-
Hello, Im trying to get my active offers, and for that, my code is: trade_manager.getOffers(e_offer_filter.ActiveOnly, null, function (error, sent, received) { etc... } Im getting the TradeOffer class from the received argument, and I indeed get a valid response. TradeOffer { partner: SteamID { universe: 1, type: 1, instance: 1, accountid: 000} etc...., } The problem is: When I try to use the received[0].getUserDetails, the program crashes and outputs the following error: TypeError: received.getUserDetails is not a function Can someone help me? Im pretty sure Im getting the correct TradeOffer structure, I just can't use its functions.
-
How do I get the direct detection of the bot when I change the content of the /message file. I do not want to close and open the bot and enter the guard code.
-
Hello, I am getting a UnhandledPromiseRejectionWarning: Error: AccountNotFound when trying to Authorize the local SentryFile to get a deviceToken. My code is currently as barebones as it could be. const SteamUser = require("steam-user"); var c = new SteamUser(); c.logOn({ "accountName": "...", "password": "..." }) c.on("loggedOn", (det)=>{ c.setPersona(SteamUser.EPersonaState.Online); c.authorizeLocalSharingDevice("Test-PC").then(res=>{ console.log("token: "+res.deviceToken) }) }) The Online Status successfully updates, however i get a promise Failiure on the authorizeLocalSharingDevice. What am i doing wrong? ~ ty
-
How to comment on the drawing showcase and screenshot and how do I like it?
-
I'd like to create something like !buy and !sell command for my bot but I got error when testing it and I don't know why is that. My code: function peoplechatsell(name){ Methods.readDataBase('./prices.json') .then((Database) => { console.log('hi '+name); if (Database[name]) { var item = Database[name]; var buy_metal = item.buy.metal; var buy_key = item.buy.keys; var myref = Pures_InStock.metal; var mykey = Pures_InStock.keys; console.log(myref) if(myref >= buy_metal && mykey >= buy_key){ console.log('Enough Pure to Buy... Creating Offer'); manager.getInventoryContents(config.bossSteamID, 440, 2, true, function(err, inventory) { if(err) { console.log('Error getting their inventory: ' + err); }else{ var offer = manager.createOffer(config.bossSteamID); var ref = inventory.filter(function (item) { return item.market_hash_name.match('Refined Metal'); }); var scrap = inventory.filter(function (item) { return item.market_hash_name.match('Scrap Metal'); }); var needref = Math.floor(buy_metal); var a = buy_metal*10 - needref*10; var needscrap = Math.floor(a); console.log(needref); console.log(needscrap); offer.addMyItems(ref.slice(0, needref)); offer.addMyItems(scrap.slice(0, needscrap)); manager.getUserInventoryContents(config.bossSteamID, 440, 2, true, function(err, inventory) { if(err) { console.log('Error getting their inventory: ' + err); }else{ var Item = inventory.filter(function (item) { return item.market_hash_name.match(name); }); offer.addTheirItems(Item.slice(0, 1)); offer.send(function (err, status){ if (err) { console.log(err); } else if (status == 'pending'){ community.acceptConfirmationForObject(config.identity_secret, offer.id, function(err) { if (err) { console.log(err); } else { console.log("Offer confirmed"); } }); } else { console.log('Trade offer #'+offer.id+' sent successfully'); } }); } }) } }) } else { console.log('nono'); } } else { return; } }) } const parseAdminMessage = (message) => { if (message == '!update') { updatePrices(); } else if (message == '!code') { var code = SteamTotp.generateAuthCode(config.shared_secret) client.chatMessage(config.bossSteamID, 'Here is the code: ' + code); } else if (message == '!bump') { bumpListings(); } else if (message.indexOf("!sell") === 0) { var name = (message.replace(/^!sell ?/, "")); peoplechatsell(name); } } Error code: hi Battle-Worn Robot Taunt Processor 2 Enough Pure to Buy... Creating Offer C:\Users\User\Desktop\custom-tf2\node_modules\steamcommunity\components\users.js:453 callback(err); ^ TypeError: callback is not a function at C:\Users\User\Desktop\custom-tf2\node_modules\steamcommunity\components\users.js:453:7 at SteamCommunity._checkHttpError (C:\Users\User\Desktop\custom-tf2\node_modules\steamcommunity\components\http.js:110:3) at Request._callback (C:\Users\User\Desktop\custom-tf2\node_modules\steamcommunity\components\http.js:50:61) at Request.self.callback (C:\Users\User\Desktop\custom-tf2\node_modules\request\request.js:185:22) at Request.emit (events.js:198:13) at Request.<anonymous> (C:\Users\User\Desktop\custom-tf2\node_modules\request\request.js:1161:10) at Request.emit (events.js:198:13) at Gunzip.<anonymous> (C:\Users\User\Desktop\custom-tf2\node_modules\request\request.js:1083:12) at Object.onceWrapper (events.js:286:20) at Gunzip.emit (events.js:203:15) Press any key to continue . . .
-
Hey. I want to thank for the creation of "Opskins express trade". Will the function of deposit of things from STEAM directly into "Opskins express trade" be introduced? It was-would be incredibly convenient! There are too many now (has not anyone noticed this?) Intermediate actions: Go to OPKSINS send items from STEAM Select them on the inventory page OPSKINS Click "add to the courier trade" Oh, well, time to spend on it. Therefore, I want to send things from STEAM immediately in "express trade": We open a trade link "express trade". Choose items from the pair and confirm the trade McKey, what do you think about this? I would like to know
-
- express trade
- opskins
-
(and 3 more)
Tagged with:
-
So whilst my bot is trying to log in this happens socket error: Error: connect EACCES XXXXXXXXX:27017 (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. socket closed with an error waiting 1 secs (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. connecting to 72.165.61.185:27018 (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. socket timed out (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. socket closed connecting to 72.165.61.176:27018 (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. socket timed out (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. socket closed connecting to 72.165.61.187:27018 (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. socket timed out (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. socket closed connecting to 72.165.61.175:27018 (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. connected (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. encrypt request (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. handshake complete (node:5600) DeprecationWarning: Calling an asynchronous function without callback is deprecated. Logged in! I replaced the top IP with X After it logs in i then get this: events.js:163 throw er; // Unhandled 'error' event ^ Error: connect ECONNREFUSED 127.0.0.1:3306 at Object.exports._errnoException (util.js:1050:11) at exports._exceptionWithHostPort (util.js:1073:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1093:14) Any help would be appreciated