Jump to content
McKay Development

Recommended Posts

Posted

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

Posted

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

Posted (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 by SimpleThings
  • 2 weeks later...
Posted (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 by SimpleThings
  • 2 months later...
Posted

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

  • 6 months later...
Posted

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.

Posted

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.

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
Posted

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.

Posted (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 by SimpleThings

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...
×
×
  • Create New...