SimpleThings Posted January 10, 2021 Report Posted January 10, 2021 Hello. I wonder is it possible to stack rust items? For example, i want to group 4 items into one with amount: 4. The red box shows stacked items with amount 33. Is this possible to be done by some module or something? Like i have 100 pants and i want do convert it to one item with amount 100. Thanks in advice, stay safe! Quote
Dr. McKay Posted January 10, 2021 Report Posted January 10, 2021 Stacking is handled by the game, not by Steam. Maybe you could stack those items in-game somehow. If not, it's possible that the game will auto-stack items when you trade them. Quote
SimpleThings Posted January 10, 2021 Author Report Posted January 10, 2021 I don't really know how it works, thats why i asked. I wont say name but there is a site where i deposit skins one by one and if i win f.e jackpot, im getting most of them stacked. No idea how are they doing it. Thanks for your replay tho Quote
SimpleThings Posted January 11, 2021 Author Report Posted January 11, 2021 (edited) I'm doing research but i can't really find anything for that. Edited January 11, 2021 by SimpleThings Fixed Quote
Dr. McKay Posted January 12, 2021 Report Posted January 12, 2021 Your best bet is to try to trade the unstacked items to another account and then back again. If that doesn't auto-stack them, you're pretty much SOL. Quote
SimpleThings Posted January 12, 2021 Author Report Posted January 12, 2021 (edited) Yeah, im using 2 bots for trading, one for storage and one which is used for the withdraws/deposits in one file. They are sending offers each other. If i take amount 2 by item with amount 10 (10 stacks) there will be 2 items with amounts 2 and 8, but i cant really group them back. Thats the point. I guess they have tons of these items in stacks and they are just giving prizes by names and not assetids. No idea how they do it, but yeah. Lets say i deposited 10 items with different asset ids, if i win, they are giving me item with one asset id and amount 10. I guess im rly SOL Still thanks for your help dude. Best of luck and stay safe! Edited January 12, 2021 by SimpleThings Quote
SimpleThings Posted January 21, 2021 Author Report Posted January 21, 2021 (edited) Yo Kay, are you sure there is no any way of stacking rust items by the tradeoffers? These guys resent my winnings 3 times, and with every offer the items were getting stacked over and over again. I googled 15 hours and couldnt find anything Edited January 21, 2021 by SimpleThings Quote
SimpleThings Posted January 21, 2021 Author Report Posted January 21, 2021 Oh.. well their bot is not "in game". No idea how they do that tho but w.e. Stay safe dude and ty Quote
Mister Posted March 31, 2021 Report Posted March 31, 2021 Hey Simple not sure if you still have this problem, but seems like Steam auto stack rust items whenever they feel like it, looks like it's more frequent when you have a higher volume of trade/more items in the inventory. Don't think there is a way to control this behavior SimpleThings 1 Quote
SimpleThings Posted October 2, 2021 Author Report Posted October 2, 2021 Thanks for the answer Mister. Im still trying to deal with this, i guess you're correct. That's actually not quite right, because i checked the bot's items and he had like 10 items in total, and when he sent me an offer, the items were stacked. Quote
Dr. McKay Posted October 3, 2021 Report Posted October 3, 2021 https://steamapi.xpaw.me/#IInventoryService/CombineItemStacks SimpleThings 1 Quote
SimpleThings Posted October 6, 2021 Author Report Posted October 6, 2021 Thanks Dr. McKay. I'll do my best to see how it works. Wish it was in the tradeoffer manager tho Quote
SimpleThings Posted October 7, 2021 Author Report Posted October 7, 2021 Can i see some example code or something, because i do not understand how this works. Like when to call that, on accetOffer() or ... no idea. Thanks in advice. Quote
Dr. McKay Posted October 8, 2021 Report Posted October 8, 2021 You would call it whenever you want to combine some item stacks in your inventory. When you want to do it is up to you. That method doesn't belong in steam-tradeoffer-manager since it has nothing to do with trade offers. SimpleThings 1 Quote
SimpleThings Posted October 8, 2021 Author Report Posted October 8, 2021 I have no idea how to do that, but i'll do my best. Thank you Kay! Quote
SimpleThings Posted October 8, 2021 Author Report Posted October 8, 2021 Kay, can you show me in a code how this works please? I know you're super busy but i just don't understand how that works. Like i have to put item's assetids in there or what... Thank you. Quote
Dr. McKay Posted October 9, 2021 Report Posted October 9, 2021 I've never used it myself. I'm sure you can figure it out. I'm going to assume that you pass the asset ID of the stack you want to put onto another one as fromitemid, the asset ID of the stack you want to put items onto as toassetid, and the amount of items you want to move as quantity. SimpleThings 1 Quote
SimpleThings Posted October 9, 2021 Author Report Posted October 9, 2021 Alright, thanks bro. I'll do my best to do it. Quote
SimpleThings Posted October 9, 2021 Author Report Posted October 9, 2021 (edited) I got this! Thank you. Edited October 9, 2021 by SimpleThings Quote
SimpleThings Posted October 9, 2021 Author Report Posted October 9, 2021 (edited) Mr. Kay, do you have any idea how i can stack these items, getting them by my inventory. Example: CEconItem { id: '3387261523668970097', amount: 3, market_hash_name: 'Blue Bandana', }, CEconItem { id: '3387261523668970097', amount: 1, market_hash_name: 'Blue Bandana', }, CEconItem { id: '3387261523668970097', amount: 1, market_hash_name: 'Blue Bandana', }, CEconItem { id: '3387261523668970092', amount: 1, market_hash_name: 'Yellow Bandana', }, CEconItem { id: '3387261523668970092', amount: 3, market_hash_name: 'Yellow Bandana', } Because on this post method i can only post one assetid in From and To variables, but what if the items are more than 2, such as in this situation above. I'd like to get a result such as: CEconItem { id: '3387261523668970097', amount: 5, market_hash_name: 'Blue Bandana', }, CEconItem { id: '3387261523668970092', amount: 4, market_hash_name: 'Yellow Bandana', } Thanks in advice. Edited October 9, 2021 by SimpleThings Quote
SimpleThings Posted October 9, 2021 Author Report Posted October 9, 2021 Bro, this thing ate my items. With each stack, my items dissapear from my inventory, they are not traded or something, they are just gone after the stacks. What is going on? I did itemFrom and itemTo assetids with the same assetid, and my item is just gone, i just tried now. Quote
Dr. McKay Posted October 10, 2021 Report Posted October 10, 2021 The fromitemid asset id should disappear, and the amount of the toitemid should increment by however much the amount of the fromitemid was. Quote
SimpleThings Posted October 10, 2021 Author Report Posted October 10, 2021 (edited) It deleted like 10 of my items. I have no idea where they are, because fromitemid and toitemid were exactly the same. I have no idea if i can get these items back, but people should be aware of it. I created a function to stack the items, but i had a small bug where i did not put if(fromItem != toItem) and yeah.. that happened. Edited October 10, 2021 by SimpleThings Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.