Jump to content
McKay Development

Search the Community

Showing results for tags 'question'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • Releases & Updates
  • Help & Support
    • General
    • Guides
    • node-steam-user
    • node-steamcommunity
    • node-steam-tradeoffer-manager
    • node-steam-session

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Location


Interests

  1. how to receive ticket? such as steamworks SteamUser()->GetAuthSessionTicket()
  2. Hi evereone! I'm stuck on this, please, help me out. manager.on('newOffer', function(offer) { ... acceptOffer(offer, userid, function(err, result) { if(err){ //Steam return error } else { //All fine } }); ... }); If Steam return errors like #11 or #16 etc, that means it's unable to accept the offer at the moment, but it's alright after several seconds. This creates a lot of junk records in my database, since i have to write into it to keep track of the errors and re-accept trades.. Can I delete that offer from polldata to call 'newOffer' again or what else can I use to recall newOffer for not acceptable trades?
  3. i already binded it to steam-users and now i use the cookies from it in steamcommunity. if i try to bind the ip to steamcommunity i get an error that community.Constructor is not a function. community.Constructor({localAddress: ip}); https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#constructoroptions anyone can help me?
  4. Hi. I want to know how to count items in trade offer to make trade offer more useful i've tried this code but it didn't seems working var item_from_me ={ "appid": 440, "contextid": 2, "amount": 1,"assetid": "5148534535", "item.name": "Refined Metal"} var item_from_them ={ "appid": 440, "contextid": 2, "amount": 1,"assetid": "5158673853", "item.name": "Mann Co. Supply Crate Key"}offers.on('newOffer', function (offer) { if (offer > 0) { offers.getOffers({ get_received_offers: 1, active_only: 1, time_historical_cutoff: Math.round(Date.now() / 1000) }, function(error, body) { if(body.response.trade_offers_received) { body.response.trade_offers_received.forEach(function(offer) { if (offer.trade_offer_state == 2) { console.log(offer); console.log('Recieved trade offer: ' + offer.tradeofferid); if (offer.items_to_give === item_from_me * 22 && offer.items_to_recieve === item_from_them) { offers.acceptOffer({tradeOfferId: offer.tradeofferid}); console.log("Offer accepted"); if (offer.steamid_other !== admin) { steam.sendMessage(admin, offer.steamid_other + " just donated!"); } } else { offers.declineOffer({tradeOfferId: offer.tradeofferid}); console.log("Offer declined"); } } }); } }); }
  5. Hello i have a problem with csgo.network v2 bot. after configure, when i start its giving : http://screenshooter.net/102860902/yklnaci http://screenshooter.net/102860902/yodmycw node version 0.12.15 nodejs version 0.12.15 npm version 3.10.7 Can someone help me ?
  6. Hi. How to make it confirm the trade offer like keys or something? Because my bot is currently accepting all offer that only receiving items. New offer #1551249841 from [u:1:342508768]Offer accepted But it didn't confirm the trade. Thanks for helping
  7. i have a VPS with more than 1 ip and i want to asing 1 ip per bot (for mobile conf.) to avoid 429 its that posible?
  8. Okay, so I had this program that was working fine. I reload it and boom! ERRORS CODE: var SteamUser = require('steam-user'); var SteamCommunity = require('steamcommunity'); var SteamTotp = require('steam-totp'); var TradeOfferManager = require('steam-tradeoffer-manager'); // use require('steam-tradeoffer-manager') in production var client = new SteamUser(); var manager = new TradeOfferManager({ "steam": client, // Polling every 30 seconds is fine since we get notifications from Steam "domain": "example.com", // Our domain is example.com "language": "en" // We want English item descriptions }); var community = new SteamCommunity(); // Steam logon options var logOnOptions = { "accountName": "densexsedebjorn", "password": "****", }; client.logOn(logOnOptions); client.on('loggedOn', function() { console.log("Logged into Steam"); }); client.on('webSession', function(sessionID, cookies) { manager.setCookies(cookies, function(err) { if (err) { console.log(err); process.exit(1); // Fatal error since we couldn't get our API key return; } console.log("Got API key: " + manager.apiKey); }); community.setCookies(cookies); community.startConfirmationChecker(30000, "identitySecret"); // Checks and accepts confirmations every 30 seconds }); manager.on('newOffer', function(offer) { /////// });ERROR: events.js:141 throw er; // Unhandled 'error' event ^ Error: RateLimitExceeded at SteamUser._handlers.(anonymous function) (c:\Node.js\Steam\node_modules\steam-user\components\logon.js:320:16) at SteamUser._handleMessage (c:\Node.js\Steam\node_modules\steam-user\components\messages.js:200:29) at emitThree (events.js:97:13) at CMClient.emit (events.js:175:7) at CMClient._netMsgReceived (c:\Node.js\Steam\node_modules\steam-user\node_modules\steam-client\lib\cm_client.js:278:8) at CMClient.handlers.(anonymous function) (c:\Node.js\Steam\node_modules\steam-user\node_modules\steam-client\lib\cm_client.js:386:8) at CMClient._netMsgReceived (c:\Node.js\Steam\node_modules\steam-user\node_modules\steam-client\lib\cm_client.js:260:24) at emitOne (events.js:77:13) at TCPConnection.emit (events.js:169:7) at TCPConnection._readPacket (c:\Node.js\Steam\node_modules\steam-user\node_modules\steam-client\lib\tcp_connection.js:73:7)
  9. When I do itemsToGive.market_name_hashname it only takes the first item in the trade. what if I want for all of them? Please give an example.
  10. Hi, I wrote my own library that interacts with Steam servers. My version of getConfirmations works fine with one bot. It runs periodically every 10 seconds with no issues. Today, I hooked it up with six bots running simultaneously. This is where errors 429 (too many requests) start happening. Seems like steamcommunity.com/mobileconf/conf has a rate limit: 6 requests per minute from the same IP. Am I right?
  11. Hi, I made this code to send offer but the problem that I got that error "Error: HTTP error 401" When I using "manager.setCookies" I got the error access denied because my limited account . So I looked for another module "node-steam-tradeoffers" and it's working with "steam-weblogon" and "steam-web-api-key" and it's send the offers from my limited account, but I need to using your module, so I made this code which can make the api key. var Steam = require('steam'); var SteamWebLogOn = require('steam-weblogon'); var getSteamAPIKey = require('steam-web-api-key'); var SteamCommunity = require('steamcommunity'); var SteamTotp = require('steam-totp'); var TradeOfferManager = require('steam-tradeoffer-manager'); var fs = require('fs'); //var client = new SteamUser(); var community = new SteamCommunity(); var steamClient = new Steam.SteamClient(); var steamUser = new Steam.SteamUser(steamClient); var steamFriends = new Steam.SteamFriends(steamClient); var steamWebLogOn = new SteamWebLogOn(steamClient, steamUser); var manager = new TradeOfferManager({ "steam": steamClient, // Polling every 30 seconds is fine since we get notifications from Steam "domain": "localhost", // Our domain is example.com "language": "en" // We want English item descriptions }); if (fs.existsSync('polldata.json')) { manager.pollData = JSON.parse(fs.readFileSync('polldata.json')); } steamClient.connect(); steamClient.on('connected', function() { steamUser.logOn({ account_name: '*********', password: '***********', two_factor_code: SteamTotp.generateAuthCode('**********************') }); }); steamClient.on('logOnResponse', function(logonResp) { if (logonResp.eresult == Steam.EResult.OK) { console.log('Logged in!'); steamWebLogOn.webLogOn(function(sessionID, newCookie) { getSteamAPIKey({ sessionID: sessionID, webCookie: newCookie }, function(err, APIKey) { manager.apiKey = APIKey; var offer = manager.createOffer("************"); offer.addMyItem({"appid": 730, "contextid": 2, "assetid": "655530455"}); offer.send(function(err, status) { if (err) { console.log("send" + err); } else { console.log("Offer #" + offer.id + " " + status); } }); }); community.setCookies(newCookie); community.startConfirmationChecker(10000, '*********************************'); }); } });
  12. Hello, I would like to try to create steambot using your nice manager. I have read examples, there are only confirmation described, but I want to make bot, that will send tradeoffers by him self. Could you say, is there any example or describe implementation of this construction in short? I have found ('../lib/classes/TradeOffer.js') but how can I call function send(), should I require it from my file or just require ('../lib/index.js') etc?
  13. Ive been getting into nodejs a few months ago and found out about this module a week ago. I started playing around a bit and managed to make myself a nice hour idling script. Ive achieved that with a lot of trial&error + the help of some rather experienced friends. But now Im stuck: Im trying to log into an account that has mobile auth enabled. Ive read into this a little, and its a bit too high for me. Now I hope that an experienced coder/someone who has already done this before could quickly break it down for me, or if it really just is too complicated, tell me so. Thanks in advance, I really hope that I can sometime give something back to this community.
  14. Hello, Someone can help me with this error? " Error: HTTP error 429 ". Print: http://imgur.com/a/cYHEM Code: client.on('loggedOn', function(details){ client.on('webSession', function(sessionID, cookies){ manager.setCookies(cookies, function(err) { if(err) { console.log('setCookies error: '+err); process.exit(1); // Fatal error since we couldn't get our API key return; } var steamapi=manager.apiKey; var SteamcommunityMobileConfirmations = require('steamcommunity-mobile-confirmations'); var steamcommunityMobileConfirmations = new SteamcommunityMobileConfirmations( { steamid: botsteamid, identity_secret: identitysecret, device_id: deviceid, webCookie: cookies, }); setInterval(function(){ checkConfirmations(steamcommunityMobileConfirmations) }, pooling_interval); console.log("[SERVER] The Bot has logged in!"); client.addFriend(admin); client.chatMessage(admin, "[SERVER] Successfully logged in!"); client.setPersona(Steam.EPersonaState.LookingToTrade); }); }); }); Regards.
  15. Hello. I want to do two steam account (at the beginning) working on 1 database. Better to do it in two separate processes? What kind of problems to pay attention?
  16. So which node js packages do i need to communate with the site, i wanna make a system like on big sites such as csgopolygon, csgodouble.And how hard is it to code?
  17. I use code from topic "Minimal code to stay logged in forever..." to stay online. It's working perfectly, but bot keep disconnecting from chat after a while. I tried use "chatLogoff()" on sessionExpired - not working. Setting chatLogon interval to 4000 - not working. chatLogOnFailed event not triggering. Any advice to fix this ? Edit: I tested after "chatLogoff()" bot cannot go online in chat with chatLogon(). Am I doing something wrong ?
  18. I have configured my bot to generate the steam guard app code for the login method. Everything seems fine, but then after a while the bot asks for the code again. Is there a listener for this?
  19. Greetings, Is there any way to fetch contextIDs from Spiral Knight user inventories? I'd give more information, but there's really nothing more to it. If it could be possible, I'd like to load user inventories from Spiral Knights in order to implement trades for it, however this specific game's contextids are quite dynamic and I'd need to know them for to load inventories, or some range to test from, whatever way would make this possible. Many thanks for your attention.
  20. I am having an issue with the recieved trades, here is the log: 2016-08-28T21:20:18.417Z - info: -------------------------------------------------------------------- 2016-08-28T21:20:18.418Z - info: [bOT] New offer #1483101417 from STEAMID64: 765611981081644772016-08-28T21:20:18.455Z - info: [bOT] Partner: 76561198108164477 has a balance of: 0$.2016-08-28T21:20:18.456Z - info: MAG-7 | Metallic DDPAT (Factory New)2016-08-28T21:20:18.457Z - info: Sawed-Off | Yorick (Minimal Wear)2016-08-28T21:20:18.457Z - info: Falchion Case2016-08-28T21:20:18.458Z - info: Operation Breakout Weapon Case2016-08-28T21:20:18.504Z - info: 0.042016-08-28T21:20:18.504Z - info: [bOT] [D] The trade costs: 0.042016-08-28T21:20:18.541Z - info: 0.152016-08-28T21:20:18.541Z - info: [bOT] [D] The trade costs: 0.192016-08-28T21:20:18.583Z - info: 0.032016-08-28T21:20:18.583Z - info: [bOT] [D] The trade costs: 0.222016-08-28T21:20:18.620Z - info: 0.032016-08-28T21:20:18.620Z - info: [bOT] [D] The trade costs: 0.252016-08-28T21:20:18.706Z - info: [bOT] [D] User STEAMID64: 76561198108164477 offered a deposit trade. Look for everything is ok with the trade.2016-08-28T21:20:22.452Z - error: [bOT] [D] Unable to accept offer 1483101417: Cannot load new trade data: Data temporarily unavailable2016-08-28T21:20:22.672Z - info: --------------------------------------------------------------------Whats that?When this happens if its a deposit it doesnt send data to the mysql db so the player doesnt get the money on their balance but the trade is accepted...
  21. So, sorry for my noobness, how do you generate shared secret to use with 2FA (steam-totp)?
  22. Hello guys, im currently getting TradingPartners Inventory from Steams Json Api like this: http://steamcommunity.com/profiles/STEAMID/inventory/json/730/2 In gernal, there seems to be no AssetId which i need to add the Item to the trade offer. Some items contain the assetID in the "view Ingame" link so i could parse it. It looks like that: steam://rungame/730/SteamID/+csgo_econ_action_preview%20S%owner_steamid%A%assetid%D7116476999790771279 So there is a assetId i could use but im not even sure if its the real Items Asset Id of my TradePartners Inventory or just from an Steam CSGO Item to display it. Anyways, for Items like CSGO Cases, there is not even a a link which contains a assetId. How should i provide the Item Informations which TradeOffersManager need? Is there acually any way to use this Steam Api for the trades? Thanks!
  23. Hi guys! I do not know and where to start. I want to make steam bot. On the Internet, many libraries for this, but I settled on (this) because there is someone to ask. What I have in stock: Steam account, which can make and receive exchange Look like that's it. Questions: To begin, I just want to make the authorization, as I realize it is from my computer via a bot. How can I do it? So as for Steam authentication requests from the phone key. Please help experts!
×
×
  • Create New...