Jump to content
McKay Development

Getting Items market_hash_name when there's no language in constructor


Recommended Posts

Hey,

 

I'm trying to retrieve the items im getting in trades, but problem is I can't do that when my language is removed from my client constructor

let client = new SteamUser(),
    manager = new TradeOfferManager({
        "steam": client,
        "pollInterval": "10000",
        "cancelTime": "1800000"
    }),

Is there a work around?

 

 

I had to remove language, and adding it back isn't an option

Link to comment
Share on other sites

Why is adding it back not an option?

It's a level bot, and when the inventory gets too big the bot will crash

 

I came up with a solution to simply scan the entire inventory & compare assetid's & then retrieve the name but that's gonna be quite a heavy task, so I was wondering if there's another way

Edited by Kokoman111
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...