Jump to content
McKay Development

Recommended Posts

I didnt want to submit an issue, because i dont know if its by design.

 

By default the language for the steam-tradeoffer-manager is not set

 

If somebody wants to set it, they need to set it up manually

 

var SteamTradeOfferManager = require("steam-tradeoffer-manager");

manager =   new SteamTradeOfferManager({"language": "en"})

 

----

 

When the language is not set, some properties of the trade offer are not accurate. 

 

itemsToGive and itemsToReceive

 

show the correct appid, contextid, assetid and classid which is important

 

however marketable, commodity and market restrictions are showing wrong info, all those are false (0).

 

i understand that setting up language will show different descriptions and names in some regions. and by not setting the language, you dont get extra info, which saves bandwidth, and speeds up things.

 

So maybe its useful to set the language to "en" by default.

Share this post


Link to post
Share on other sites

It's intentional. If you want names and such, you need to set a language. If you don't need them, don't set it. Not setting a language saves resources and memory as information for the given language needs to be downloaded from Steam separately and cached in memory.

Share this post


Link to post
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...