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?