-
Posts
3667 -
Joined
-
Last visited
Posts posted by Dr. McKay
-
-
-
You never set your cookies.
-
Yeah, that should be sufficient.
If I remember correctly, sessionExpired is only emitted for known no-session errors.
-
What exactly is that supposed to mean?
-
Make sure your machine's clock is right and that you have all the typical TLS root certificates installed.
-
I've created a GitHub issue for this, as the module does need to be updated. I'm unsure when I'll have time to get to it, but it should be soon. If anyone relies heavily on this, I can prioritize it.
-
Why is my Steam inventory out-of-date?
Before we delve into Steam's inventory cache, first it helps to know how the economy server works.
When you request a user's Steam inventory, your request goes to the Steam economy server. If the economy server has that inventory in its cache, it returns the cached version. If not, it requests the inventory from the game's item server, caches the result that's returned, and then sends it back to you.
This cache does not automatically expire (in most circumstances). However, there are a few actions that can cause an inventory cache for a particular game to expire:
- Launching the game via Steam
- Quitting the game via Steam
- Accepting a trade offer (or having a sent trade offer accepted) which includes items from the game
- Accepting a real-time trade request, or having a real-time trade request which you sent be accepted*
- Publishers can do it at their discretion
* if a real-time trading session is opened for your account, then all games' inventory caches will be invalidated for your account.
I believe it's also supposed to be possible for Steamworks developers to tell the cache to expire at a certain date and time, but I don't believe it works currently.
The Steam inventory cache is what causes your inventory to not appear up-to-date, especially if you craft/receive a new item while the game is running. The easiest way to invalidate the cache in order to get fresh data is to open a real-time trading session.
- Caffxine and Robert Lutece
-
1
-
1
-
-
Your SteamCommunity instance is not logged on.
-
-
Can I see the code that creates the chat and invites the users?
-
-
There isn't any debug mode that would be terribly useful for this, I'm afraid.
-
No, the original post code is crashing due to some bug that I need to track down.
What kind of chat is this? Group chat or multi-user? Also, is the
chatEnterevent being emitted for it? Can you also listen forchatLeftand see in what order stuff is being emitted? -
Well the error in that screenshot you just provided is caused by you attempting to leave a chat when you aren't connected to Steam.
When you say it happens "every time", it happens every time what happens? Every time someone leaves a chat?
-
This is a bug in the module. How frequently does this happen? Is there a reproducible test case?
-
-
-
Sounds like you aren't checking the error. Can I see the code?
-
You have to check the item schema for that.
-
That change hit the 5.x branch in v5.12.0, and the 6.x branch in v6.3.0.
-
This is being discussed in issue #122.
-
-
tradeOffers is emitted whenever the number of active received trade offers you have changes. This means that it will be emitted when you receive a new offer, or when an offer you previously received is accepted/canceled/declined.
If you need more info about trade offers or you need to act on them, look at steam-tradeoffer-manager.
Using Steam Inventory JSON to send Items - Assetid?
in node-steam-tradeoffer-manager
Posted
Yes.