Jump to content
McKay Development

kryo

Member
  • Posts

    17
  • Joined

  • Last visited

Posts posted by kryo

  1. Got this little gem today from TradeOffer#getReceivedItems

        {
          "id": "5688498100",
          "owner": "...",
          "classid": "1618444825",
          "instanceid": "188530170",
          "name": "",
          "pos": 1,
          "appid": 730,
          "contextid": "2",
          "amount": 1,
          "is_stackable": false,
          "assetid": "5688498100",
          "fraudwarnings": [
            
          ],
          "descriptions": [
            
          ],
          "owner_descriptions": [
            
          ],
          "actions": [
            
          ],
          "owner_actions": [
            
          ],
          "tags": [
            
          ],
          "tradable": false,
          "marketable": false,
          "commodity": false,
          "market_tradable_restriction": 0,
          "market_marketable_restriction": 0
        }

    Has anyone seen this before? How can we identify that the item is malformed?

    I'm just going to check for a missing market_hash_name since that's all I need, hopefully there is a way to know for sure.

  2. Hooks for polling is kind of weird in my opinion. What's your use case for declining old incoming offers? There's no limit there and I don't see any reason why you wouldn't be able to act on an offer immediately when newOffer is emitted.

     

    If you offered a custom pollData format that would fix it for me.

    It's just kinda an edge case where if we receive an offer, add to poll data, and put a setTimeout(offer.decline, 30000) the offer might not get declined, for example if the bot goes down.

  3. Ok I did a rm -rf node_modules/ and updated my package.json dependencies as follows:

        "steam-tradeoffer-manager": "github:DoctorMcKay/node-steam-tradeoffer-manager",
        "steam-user": "github:kryogenic/node-steam-user",
        "steamcommunity": "^3.19.1",

    Seems to have solved the issue. Thanks.

     

    While testing this issue I found that if you send an offer too quickly after initializing the manager it will show up as unknownOfferSent instead of the expected sentOfferChanged. On further inspection the offer id in the poll data seems to have increased by about 50.

  4. I've noticed that on occasion (happens every 30 or so offers) I don't receive a newOffer event, the offer is simply forgotten about and eventually canceled automatically. Interestingly, if I send another offer right away (before the first one is canceled) I get a newOffer event for both of them.

    I've only just started noticing this bug, using version 1.19.0: https://github.com/kryogenic/node-steam-tradeoffer-manager/tree/v1.19

  5. I've noticed a lot of 500 errors recently, usually these errors only happen once or twice per offer but I've noticed some cases where I'm completely unable to send a trade offer because it returns a 500 error each time I retry it. These errors are very hard to debug.

     

    I'm wondering if this is a temporary issue that everyone is experiencing, since I used to notice a lot of descriptive errors with eresult params. Also if there is some way to get the error info that would be great to know. I've tried printing the err, response, and body which are { [Error: HTTP error 500] code: 500 }, undefined, and undefined, respectively.

×
×
  • Create New...