Jump to content
McKay Development

Felix

Member
  • Posts

    11
  • Joined

  • Last visited

Felix's Achievements

  1. Hello, after 1 or 2 weeks of working my bots have a strange bug with steam confirmation. It's not working at all. I tried to check body of getConfirmations method and there is not full body data, so it's like that Steam is cutting of the part of confirmation information. The screenshot of body is in attachments. It's the lowest part of body. Is it possible to fix it somehow? It's happened 4 times for me and there is no way to get items from bugged bots.
  2. So there is no way to understand what type of this offer by checking it only in offer object? Will check it in DB then. itemsToGive: [], itemsToReceive: [],
  3. http://puu.sh/nOMhD/dedabeee45.png This is that offer.
  4. Mhm, I have 1.21.1. Will update now. This offer was sent (with only items from bot) and accepted so logically itemsToGive was bigger than 0. I will create full debug log for this.
  5. I have only 2 types of sent offers: 1) only items from partner (offer.itemsToReceive only) - deposit type. 2) only items to partner (offer.itemsToGive only) - withdraw type. On "sentOfferChanged" event where "offer.state" is "Accepted" I need to understand what type of this offer. I am checking this with the code that I wrote above. But there is problem sometimes, when I am sending offer with withdraw type and this offer is accepted, bot is telling me that this offer is deposit (but there is offer.itemsToGive.length !== 0). Are there any solutions how to check type of offer in this event except global variables?
  6. I have another question... Sometimes when sent offer is accepted and it is a withdraw offer (only items to partner), I am receiving deposit (only items from partner) notification. Is it bug of steam again or how to control it more better? This is how I am checking state of offers: // ETradeOfferState.Accepted: if (offer.itemsToGive.length !== 0) { // withdraw } else { // deposit }
  7. It is on event "sentOfferChanged" where "offer.state" is "Accepted" and only offer.itemsToReceive. Now it is working well but sometimes there is delay. Steam so slow sometimes.
  8. Thank you. One more question: when I am doing offer.send method and there is status "sent" I am receiving offer.id so I can create offer link for user. But there is delay like 0-5 seconds for this link after status is "sent". In this delay user is receiving: "An error was encountered while processing your request:". So if he will refresh this page in ~5 seconds everything will be ok. Is there any ways to check this delay or only way to fix this is manual timeout?
  9. Hello, sometimes when my sent offer is accepted, I am calling getReceivedItems method and array in "items" argument is empty. This offer is accepted and items are on bot. Why this is happening sometimes? I think that there is only way to fix this is create recalling of this method if array is empty with something like ~5 iterations.
×
×
  • Create New...