DoctorMcKay / node-tf2

Simple module to interact with the TF2 game coordinator
https://www.npmjs.com/package/tf2
MIT License
54 stars 26 forks source link

SteamGC.on("message" == 4009 #13

Closed Mediumwater closed 7 years ago

Mediumwater commented 7 years ago

Hello, i found out that k_EMsgGCServerGoodbye = 4009, but how to react to that? I mean, should i close the connection and try again or what do that mean? Can you pls help me?

DoctorMcKay commented 7 years ago

Are you using this module? If so, it's already being handled. If not, you'll need to figure out what the best course of action is for your application.

Mediumwater commented 7 years ago

actually i just found out directly after posting this, that the Problem occurs with require("steam"); and then with the SteamGC.on("message", listener out of that package. When i searched the Internet i found your Project at first with the code 4009 mentioned. I decided to let the Issue stay to maybe get a usefull idea how to solve it.

Acutally i think i already found a solution, with just resending my request. Time will tell if its a good solution. Or even if the message 4009 accoures in the normal system behavior, maybe it was just because of the test scenario, which got sometimes executed.

thx for the fast answer 👍