Jump to content
McKay Development

Dr. McKay

Administrator
  • Posts

    3389
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Dr. McKay got a reaction from CUTONI8 in Do AssetIDs change?   
    Assuming we're talking about Valve games and games using Steam Inventory Service (which is not all games on Steam), asset IDs change when:
    The item is traded The item is modified (e.g. painted in TF2, renamed in TF2/CSGO) The item is attempted to be traded but the trade fails and is rolled back There are probably also a few other weird cases where an asset ID changes because this is Valve we're talking about.
  2. Like
    Dr. McKay reacted to aethez in Confusing Error   
    I am currently using v.12.16.3

    I already got the issue fixed though, like you said it was an issue with me Importing TradeOffer. I removed all my code with that import and it started working again.

    Thanks alot!
  3. Thanks
    Dr. McKay got a reaction from Sync in Using proxy   
    My mistake; you pass the request into the SteamCommunity constructor, then pass that SteamCommunity instance to the TradeOfferManager constructor as the community property.
  4. Thanks
    Dr. McKay got a reaction from Sync in Using proxy   
    Yes, you won't really be able to run more than 10-15 bots on a single IP. You'll need to use proxies or multiple IPs on your machines. You can have steam-tradeoffer-manager use a proxy by setting a request instance with a proxy set using request.defaults to the TradeOfferManager constructor.
  5. 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.
  6. Like
    Dr. McKay got a reaction from Jmopel in Add random people   
    That sounds an awful lot like spam.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. Like
    Dr. McKay got a reaction from venfiw in acceptConfirmationForObject - Cannot Confirm Market Listings   
    The market listing ID is the creator property.
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. 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.  
  17. Like
    Dr. McKay got a reaction from Op1x3r in Getting the eresult.   
    err.eresult is just the number, yes.
  18. 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.
  19. Like
    Dr. McKay got a reaction from metrize in Rich presence   
    getPersonas is a method, not a property.
  20. 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 
  21. 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.
  22. 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.
  23. Like
    Dr. McKay got a reaction from sergun in Add random people   
    That sounds an awful lot like spam.
  24. 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.
  25. 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.
×
×
  • Create New...