Jump to content
McKay Development

Stacking rust items (amount)


Recommended Posts

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!

image.png.ded79cb5b13032fd2d8d1f7e6483c995.png

Link to comment
Share on other sites

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 by SimpleThings
Link to comment
Share on other sites

  • 2 weeks later...

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 by SimpleThings
Link to comment
Share on other sites

  • 2 months later...

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

Link to comment
Share on other sites

  • 6 months later...
Posted (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 by SimpleThings
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 by SimpleThings
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...