You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My theory is that challenge packets are not parsed correctly.
The following will print some warnings related to getServerInfo done in initialize, but getRules and getPlayers will fail because we keep getting challenge packets.
constserver=newSourceServer('185.236.8.19:27015');// Some cstrike serverserver.setTimeout(2000);try{// Set up connectionawaitserver.initialize();constinfo=awaitserver.getServerInfo();console.log(info);construles=awaitserver.getRules();console.log(rules);constplayers=awaitserver.getPlayers();console.log(players);}catch(e){console.error(e);}finally{// Remember to disconnectawaitserver.disconnect();}
The text was updated successfully, but these errors were encountered:
My theory is that challenge packets are not parsed correctly.
The following will print some warnings related to
getServerInfo
done ininitialize
, butgetRules
andgetPlayers
will fail because we keep getting challenge packets.The text was updated successfully, but these errors were encountered: