samki Posted May 12, 2017 Report Posted May 12, 2017 Hello,I tryed to get the globaloffensive GameCoordinator working for the whole day but it just does not work... My implementation: this._client = new SteamUser(); this._community = new SteamCommunity(); this._manager = new TradeOfferManager({ "steam": self._client, "community": self._community, "language": "en", "pollInterval": 15000, "cancelTime": 650000 }); this._csgo = new GlobalOffensive(self._client); self._client.logOn({ "accountName": self._user, "password": self._pw, "twoFactorCode": totpCode, "rememberPassword": true }); self._client.on('loggedOn', function(details) { console.log("STEAMBOT Logged into Steam as " + self._client.steamID.getSteam3RenderedID()); self._client.setPersona(SteamUser.Steam.EPersonaState.Online); console.log("STEAMBOT set status to online " + self._client.steamID.getSteam3RenderedID()); self._client.gamesPlayed([730]); console.log("STEAMBOT set games played to 730 (csgo) " + self._client.steamID.getSteam3RenderedID()); }); self._csgo.on('connectedToGC', function() { console.log('STEAMBOT connectedToGC - '+ self._steamid + ' - ' + self._user); }); self._csgo.on('disconnectedFromGC', function(reason) { console.log('STEAMBOT disconnectedFromGC - '+ self._steamid + ' - ' + self._user + 'reason: ' + reason); }); self._csgo.on('debug', (msg) => { console.log('CSGO_DEBUG ' + msg); }); Console output: STEAMBOT Logged into Steam as [U:1:xxxxxxxx] STEAMBOT set status to online [U:1:xxxxxxxx] CSGO_DEBUG Connecting because we're playing CS:GO STEAMBOT set games played to 730 (csgo) [U:1:xxxxxxxx] CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 2000 ms STEAMBOT Got web session id: xxxxxxxxxxxx steamID: xxxxxxxxxxxx STEAMBOT Got API key (xxxxxxxxxxxx): xxxxxxxxxxxx CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 4000 ms STEAMBOT Got web session id: xxxxxxxxxxxx steamID: xxxxxxxxxxxx STEAMBOT Got API key (xxxxxxxxxxxx): xxxxxxxxxxxx CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 8000 ms CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 16000 ms CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 32000 ms CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 60000 ms CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 60000 ms CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 60000 ms CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 60000 ms CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 60000 ms CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 60000 ms CSGO_DEBUG Sending GC message ClientHello CSGO_DEBUG Sending hello, setting timer for next attempt to 60000 ms Already disabled the Firewall on my VPS (RamNode) but that did not help.All my trade related node-steam and node-steam-tradeoffer-manager stuff works flawlessly on that server.What could be the issue? Quote
samki Posted May 16, 2017 Author Report Posted May 16, 2017 That was the failure, noticed it right after posting... Thought there was CS:GO on the Account since I had a CS:GO Inventory on it...Works great now, thanks! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.