Jump to content
McKay Development

Dr. McKay

Administrator
  • Content Count

    2412
  • Joined

  • Last visited


Reputation Activity

  1. Like
    Dr. McKay got a reaction from Op1x3r in acceptConfirmationForObject rate limiting.   
    You can pass your own request instance to the constructor, with a proxy configured using request.defaults.
  2. Like
    Dr. McKay got a reaction from Jmopel in Add random people   
    That sounds an awful lot like spam.
  3. Like
    Dr. McKay reacted to aatmjeets in error code 26   
    Extremely sorry for wasting the time, i figured it out. It was offer.addMyItem, while it should be offer.addTheirItem.
  4. Like
    Dr. McKay got a reaction from Duel Kirk in Can I rely on a server's SteamID ?   
    SteamIDs with type 4 are anonymous gameservers, meaning the SteamID is going to change every time the server restarts. If you want a persistent SteamID, you need to register a gameserver account and use the login token you get on your server. Source-based games usually use tokens by adding +sv_setsteamaccount <token> to your server's command line.
  5. Like
    Dr. McKay got a reaction from sNIP in TradeOffer "updated" property   
    It's the time Steam says the offer changed, which would be Tuesday in your example.
  6. Thanks
    Dr. McKay got a reaction from zujs in How to get tradable time of Dota2 items   
    It's probably in the descriptions array somewhere.
  7. Thanks
    Dr. McKay got a reaction from sergun in acceptConfirmationForObject - Cannot Confirm Market Listings   
    The market listing ID is the creator property.
  8. Thanks
    Dr. McKay got a reaction from aatmjeets in Can't get item link from getUserInventoryContents   
    item.actions is an array. You need to find the action you want.
  9. Thanks
    Dr. McKay got a reaction from What Comes Around in Set account phone number?   
    I'm pretty sure that means that you need to verify your email before continuing. You can request a verification email with steam-user.
  10. Like
    Dr. McKay got a reaction from What Comes Around in Set account phone number?   
    The brackets just mean that it's an optional argument. store.addPhoneNumber('+310***', (err) => {}) is the same as store.addPhoneNumber('+310***', false, (err) => {}).
    If you want to bypass a confirmation, you'd do store.addPhoneNumber('+310***', true, (err) => {})
    The callback doesn't have any other arguments besides err.
  11. Like
    Dr. McKay got a reaction from neverhood in node-globaloffensive - haveGCSession   
    GC sessions are weird and sometimes they go away without wanting to reconnect. That said, some changes have been made somewhat recently, so make sure you're up to date.
    If you are, then I suggest detecting when that happens, and using gamesPlayed([]) then waiting a minute or two and launching CS:GO again.
  12. Like
    Dr. McKay reacted to vrtgn in Getting the eresult.   
    No, you should check when you process the offer. It should be among the first things you check in the offer. 
    You can't act on an offer (e.g. decline the offer) after you've accepted it which you are doing in the above code.  
  13. Like
    Dr. McKay got a reaction from Op1x3r in Getting the eresult.   
    err.eresult is just the number, yes.
  14. Like
    Dr. McKay got a reaction from sNIP in Steam clients running with different local ips, on single nodejs instance.   
    There shouldn't be any problems.
  15. Like
    Dr. McKay got a reaction from metrize in Rich presence   
    getPersonas is a method, not a property.
  16. Like
    Dr. McKay reacted to Shiny in Sending trade offer error   
    I deleted useless code
    function sendSomeItem() { console.log('function started') const partner = '76561198989375284'; const appid = 730; const contextid = 2; const offer = manager.createOffer(partner); offer.addTheirItem({ 'assetid': 18697938160, 'appid': appid, 'contextid': contextid }); offer.setMessage('Test offer'); offer.send((err, status) => { if (err) { console.log(err); } else { console.log(`Sent offer. Status: ${status}.`); } }); } Now i get function started and error that i must have steam guard for at least 15 days. So i think this is working  Thank you so much for that fast answers <3 
  17. Like
    Dr. McKay got a reaction from metrize in Rich presence   
    You need to wait for the loggedOn event, and you also need to call getPersonas to actually get user persona data.
  18. Like
    Dr. McKay got a reaction from Shiny in Setup Newbie Problem   
    Take a look at the examples in the steam-tradeoffer-manager repository. It should be fairly trivial to modify the example to accept all incoming offers into one that declines all incoming offers.
  19. Like
    Dr. McKay got a reaction from sergun in Add random people   
    That sounds an awful lot like spam.
  20. Like
    Dr. McKay got a reaction from sergun in acceptConfirmationForObject Sometimes Doesn't Response   
    Yes, receivedOfferChanged should be your primary way to see if a trade was completed.
  21. Like
    Dr. McKay got a reaction from sergun in acceptConfirmationForObject Sometimes Doesn't Response   
    This is just how Steam works, sadly. When you confirm an incoming trade offer, the confirmation request doesn't respond until all items have been exchanged. If a trade offer contains many items, it's very possible that the request will time out (30 seconds) before all items have been exchanged. In this situation, the trade will still complete in the background.
  22. Like
    Dr. McKay got a reaction from null in Set account phone number?   
    You can use steamstore to add phone numbers.
  23. Like
    Dr. McKay got a reaction from What Comes Around in Set account phone number?   
    You can use steamstore to add phone numbers.
  24. Like
    Dr. McKay got a reaction from E46 in Exporting TrustFactory Status/Level?   
    I don't really know a whole lot about the inner workings of CS:GO, but I'd think that if it's not exposed in the existing profile methods, then it's probably incredibly tricky to retrieve otherwise. I've not seen anything in the protobufs that refer to trust levels.
  25. Like
    Dr. McKay got a reaction from PlanZed in How do I send a trade offer with items on both ends?   
    https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki/TradeOffer#getpartnerinventorycontentsappid-contextid-callback
×
×
  • Create New...