-
Posts
3575 -
Joined
-
Last visited
Everything posted by Dr. McKay
-
The documentation is on GitHub. I would need to see the entire error output to help you with that at all.
-
" Cannot read property 'conf' of undefined "
Dr. McKay replied to XexcellX's topic in node-steamcommunity
You're using the automatic confirmation checker, which has had this notice on its documentation page for 3.5 years: -
user.logOn never resolves when running on VPS
Dr. McKay replied to ImVerse's topic in node-steam-user
There is no timeout for connection attempts because when Steam goes down, it can stay down for a while and we want to be able to reconnect automatically. Add this and you can get some more descriptive output: client.on('debug', (msg) => console.log(msg)); -
https://github.com/DoctorMcKay/node-steamcommunity/wiki/CSteamUser#commentmessage-callback
-
The error event is only emitted (in this module) when you get disconnected from Steam, and the module will not attempt to auto-reconnect. Handling the error event isn't going to act like handling the uncaughtException event; it's not going to prevent crashes for other errors besides Steam disconnects.
-
Connection errors are communicated through the error event. If you don't handle error on an EventEmitter, then Node.js will terminate the process.
-
No idea, that's entirely up to the game's developer.
-
Presently the only way I'm aware of to handle that is to scrape and parse that page.
-
steam-user will automatically reconnect when it can if Steam goes down. Once it reconnects it will automatically renegotiate its web session. It will still be necessary to refresh your web session with webLogOn from time to time, but not as a response to Steam outages.
-
You shouldn't be using relog when your web session expires. Just call webLogOn and webSession will get emitted again.
-
Any way to await a getInventoryContents()?
Dr. McKay replied to Koncealed's topic in node-steam-tradeoffer-manager
steam-tradeoffer-manager does not presently support promises (async/await), although that's planned for the near future. In the meantime, you'll need to wrap the call in a Promise. -
Including Steam Items In Trade Offer ?
Dr. McKay replied to SENPAY98K's topic in node-steam-tradeoffer-manager
Yes, you'd need to request both inventories separately. -
It's possible. You could try deleting the local cache. On Windows, delete the entire folder %localappdata%\doctormckay\node-steam-tradeoffer-manager
-
Including Steam Items In Trade Offer ?
Dr. McKay replied to SENPAY98K's topic in node-steam-tradeoffer-manager
Your Steam Community inventory is AppID 753, ContextID 6. So replace 730 with 753 and 2 with 6. -
Wait, why are you looking at rawJson? Of course the item description wouldn't be in there.
-
Use 'english' as the language.
-
Sorry, I have no experience with the Steam datagram relay.
-
Let me see your constructor code.
-
Yes, you would want to use NetHook (and NetHookAnalyzer) to inspect the traffic going to and from the GC when you do a trade-up if you wanted to implement it yourself.