Jump to content
McKay Development

profesor

Member
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

profesor's Achievements

  1. Id argue float alone would be enough and pattern id makes it bulletproof. But I guess your addition wont hurt. I think you don't need all that. Same applies for cases and stickers, they are all identical. If you have 5 vanilla BFK from 5 diff users and one withdraws it does not matter which one you return. Or if someone buys/withdraws a case or vanilla knife you can send whichever one of the tradable stock. All you need to store is the class_id, the count and ownership. Exact unit is irrelevant. Ye thats exactly why I suggested that. No possibility of any gaps no additional requests needed no need to implement caps on bots. Its a stopgap/workaround but what can you do when they pull shit like that.
  2. What happens when you have multiple outbound offers, unless you cap it at one live outbound offer and like you said accept only one trade after a successful update. But all that can be done better like I said by replacing assetId by hashing float value with pattern ID, this is unique and immutable, no gaps ever.
  3. I guess you are right. As long as you make it airtight to fetch inventory on each accepted trade that could work. It is risky though as certain regions might have access to endpoints while yours might have issues that would create gaps (multiple trades that you sent are accepted by recipients in a short window where your system failed to update). Ridiculous on how they let it happen and not fix it for so long... Another a bit safer method would be mapping float values from incoming and outgoing trades that would be more bulletproof. For assets without float values there is no point in mapping exact units as they are all identical anyways and count book keeping is all you need.
  4. As I was writing an explanation on why that would not work I realised it potentially could depending on your actual needs, so I stand corrected. What I meant is that if someone sends you 5 x AK Redline FT you will not be able to map the old IDs to the new ones unless you track float to match that way.
  5. This would work fine for single item trades but exact pairings of assets still cant be achieved using that.
×
×
  • Create New...