Search the Community
Showing results for tags 'help'.
-
I heard on node-tf2 that I need node-steam-user to use it (I want to combine tokens and craft scrap metal easier than before) and I understood to run npm install tf2 and npm install steam-user, but the rest, I don't know what's going on, I don't even know how to run steam-user now, I'm assuming it has a GUI or just command-line interaction, but I'm looking at the long manual and I'm not finding more help with it. Is there a visual tutorial that carefully explains the basics? Does anyone know if tf2autobot also uses node-tf2?
-
I can get the owned Games that the user has user.getUserOwnedApps([steamid], function (err, response) { if (err) { console.log(err.message); } else { console.log(response); } }); but I don't get the steam family games, how can I get the shared titles, what is the function?
-
Its my first time doing coding at this level of difficulty and sorry in advance if its not the right place to ask. found this old post about a person asking the same question: https://dev.doctormckay.com/topic/2353-change-pwemail-of-account/#comment-7670. The Administrator responded that this is no longer possible and it must be done via the "help site"? What does this mean? Ive been wondering if I should try with cheerio to try and change it, but I wanted to ask you if there is a better way? Thank you
-
I've had somewhat weird behavior inspecting items using the globaloffensive nodejs library. For reference, I use a proxy provider that changes locations whenever requested, so whenever I start the bot, it is from a new IP/location every time, if that helps explain the issue. So I'm using the global offensive nodejs library, I've successfully been able to give it a steam inspect link and it has returned the appropriate response, however at random times I just end up not getting a response anymore. I can literally go to sleep with the same inspect link and the same code giving me a response, and then the next morning I re-run my code and it just does not give a reply to the ECONPreview request. Is there any reason why this behavior might happen? The same bot, code, and inspect link are used every time. The only thing changing might be the location/IP of the proxy.
-
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