Jump to content


Photo

Adding Gems and Gem Sacks to trade.

node.js node-steam-tradeoffer-manager

Best Answer Dr. McKay , 18 May 2017 - 10:19 PM

This is what the amount property is for.

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 12Ghast

12Ghast

    Newbie

  • Member
  • Pip
  • 2 posts

Posted 18 May 2017 - 10:18 PM

Hey,

I'm having trouble adding a certain amount of gems or gem sacks to a trade atm. I've managed to get the correct market_hash_name and inventory and can add gems/gem sacks to a trade, but it will add the entire stack of gems or sacks that is present in the inventory.

manager.getUserInventoryContents(SENDER.getSteamID64(), 753, 6, true, (ERR, INV, CURR) => {
}

Any way to pass a parameter so that it will only add in 'x' number of gems/gem sacks.

 

(gems/gem sacks are stackable items, not separate)



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,363 posts

Posted 18 May 2017 - 10:19 PM   Best Answer

This is what the amount property is for.



#3 12Ghast

12Ghast

    Newbie

  • Member
  • Pip
  • 2 posts

Posted 22 May 2017 - 03:04 AM

Thanks for your reply :) Figured it out. Sorry for asking what was in the documentation







Also tagged with one or more of these keywords: node.js, node-steam-tradeoffer-manager

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users