Jump to content
McKay Development

Recommended Posts

Hi everyone! :) I'm new to node, js and steam related scripting, so thanks Dr McKay for the place.

 

I'm trying to make some logic for a card trade bot, but I can't find a way to get the appid of the game to which belong the trading card.

I've already debbuged all the properties of the items in a trade offer, but no one match what I'm looking for. The closest I got was by using the numbers which precede in market_hash_name, but this is not a constant in all trading cards, so I need some advice to continue my project.

 

Thanks in advance for any help and sorry for my bad english!

Link to comment
Share on other sites

market_hash_name will be present on every trading card.

 

I missread here, I thought this applies to trading cards aswell

 

The market hash name is never localized, and may not exist if the item isn't marketable.

 

 

Copied from this post: https://dev.doctormckay.com/topic/332-identifying-steam-items/

 

I'm testing and all seems fine! Thank you :)

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