DoctorMcKay / node-steam-user

Allows interaction with the Steam network via the Steam client protocol
https://dev.doctormckay.com/forum/7-node-steam-user/
MIT License
888 stars 157 forks source link

TypeError #489

Closed vstrg closed 2 months ago

vstrg commented 2 months ago

Describe the bug

\node_modules\steam-user\components\03-messages.js:655 let multiId = conn.connectionType[0] + conn.connectionId + '#' + (++this._multiCount); ^

TypeError: Cannot read properties of undefined (reading 'connectionType') at SteamUser._processMulti (C:\Users\v\Downloads\test\node_modules\steam-user\components\03-messages.js:655:22) at SteamUser._handleMessage (C:\Users\v\Downloads\test\node_modules\steam-user\components\03-messages.js:577:9) at Coordinator.steamUser._handleMessage (C:\Users\v\Downloads\test\helpers\GameCoordinator.js:43:19) at SteamUser._handleNetMessage (C:\Users\v\Downloads\test\node_modules\steam-user\components\03-messages.js:563:8) at WebSocketConnection._readMessage (C:\Users\v\Downloads\test\node_modules\steam-user\components\connection_protocols\websocket.js:145:13) at WebSocket.emit (node:events:513:28) at C:\Users\v\Downloads\test\node_modules\websocket13\dist\WebSocketBase.js:480:26 at pipe (C:\Users\v\Downloads\test\node_modules\websocket-extensions\lib\pipeline\index.js:37:40) at Pipeline._loop (C:\Users\v\Downloads\test\node_modules\websocket-extensions\lib\pipeline\index.js:44:3) at Pipeline.processIncomingMessage (C:\Users\v\Downloads\test\node_modules\websocket-extensions\lib\pipeline\index.js:13:8) at Extensions.processIncomingMessage (C:\Users\v\Downloads\test\node_modules\websocket-extensions\lib\websocket_extensions.js:133:20) at WebSocket._dispatchDataFrame (C:\Users\v\Downloads\test\node_modules\websocket13\dist\WebSocketBase.js:461:26) at WebSocket._handleFrame (C:\Users\v\Downloads\test\node_modules\websocket13\dist\WebSocketBase.js:458:14) at WebSocket._handleData (C:\Users\v\Downloads\test\node_modules\websocket13\dist\WebSocketBase.js:292:14) at TLSSocket. (C:\Users\v\Downloads\test\node_modules\websocket13\dist\WebSocketBase.js:130:22)

Versions

steam-user v5.0.4 Node.js v18.16.0