{"action":"created","issue":{"url":"https://api.github.com/repos/sonicsnes/node-gamedig/issues/90","repository_url":"https://api.github.com/repos/sonicsnes/node-gamedig","labels_url":"https://api.github.com/repos/sonicsnes/node-gamedig/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/sonicsnes/node-gamedig/issues/90/comments","events_url":"https://api.github.com/repos/sonicsnes/node-gamedig/issues/90/events","html_url":"https://github.com/sonicsnes/node-gamedig/issues/90","id":367158921,"node_id":"MDU6SXNzdWUzNjcxNTg5MjE=","number":90,"title":"CSGO returning wrong player count","user":{"login":"bbashy","id":1149200,"node_id":"MDQ6VXNlcjExNDkyMDA=","avatar_url":"https://avatars3.githubusercontent.com/u/1149200?v=4","gravatar_id":"","url":"https://api.github.com/users/bbashy","html_url":"https://github.com/bbashy","followers_url":"https://api.github.com/users/bbashy/followers","following_url":"https://api.github.com/users/bbashy/following{/other_user}","gists_url":"https://api.github.com/users/bbashy/gists{/gist_id}","starred_url":"https://api.github.com/users/bbashy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbashy/subscriptions","organizations_url":"https://api.github.com/users/bbashy/orgs","repos_url":"https://api.github.com/users/bbashy/repos","events_url":"https://api.github.com/users/bbashy/events{/privacy}","received_events_url":"https://api.github.com/users/bbashy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-05T10:51:39Z","updated_at":"2018-10-06T07:07:46Z","closed_at":null,"author_association":"NONE","body":"Got a server that's showing 2 empty players. Haven't seen it before and not sure what's causing it.\r\n\r\n```\r\nstatus;\r\nhostname: Germany #670,701 - free @ fshost.me\r\nversion : 1.36.5.4/13654 790/7268 secure  [G:1:1981476]\r\nudp/ip  : 195.201.198.206:26387  (public ip: 195.201.198.206)\r\nos      :  Linux\r\ntype    :  community dedicated\r\nmap     : de_overpass\r\nplayers : 0 humans, 0 bots (12/0 max) (hibernating)\r\n\r\n# userid name uniqueid connected ping loss state rate adr\r\n#end\r\n```\r\n\r\n```\r\ngamedig --type csgo --host 195.201.198.206 --port 26387\r\n\r\n{\r\n    \"name\":\"Germany #670,701 - free @ fshost.me\",\r\n    \"map\":\"de_overpass\",\r\n    \"password\":true,\r\n    \"raw\":{\r\n        \"protocol\":17,\r\n        \"folder\":\"csgo\",\r\n        \"game\":\"Counter-Strike: Global Offensive\",\r\n        \"steamappid\":730,\r\n        \"numplayers\":2,\r\n        \"numbots\":0,\r\n        \"listentype\":\"d\",\r\n        \"environment\":\"l\",\r\n        \"secure\":1,\r\n        \"version\":\"1.36.5.4\",\r\n        \"port\":26387,\r\n        \"steamid\":\"85568392922020900\",\r\n        \"tags\":\"empty,secure\",\r\n        \"gameid\":\"730\",\r\n        \"rules\":{\r\n\r\n        }\r\n    },\r\n    \"maxplayers\":12,\r\n    \"players\":[\r\n        {\r\n\r\n        },\r\n        {\r\n\r\n        }\r\n    ],\r\n    \"bots\":[\r\n\r\n    ],\r\n    \"query\":{\r\n        \"host\":\"195.201.198.206\",\r\n        \"address\":\"195.201.198.206\",\r\n        \"port\":26387,\r\n        \"port_query\":26387,\r\n        \"type\":\"csgo\",\r\n        \"pretty\":\"Counter-Strike: Global Offensive\",\r\n        \"duration\":1051,\r\n        \"attempts\":1\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/sonicsnes/node-gamedig/issues/comments/427552296","html_url":"https://github.com/sonicsnes/node-gamedig/issues/90#issuecomment-427552296","issue_url":"https://api.github.com/repos/sonicsnes/node-gamedig/issues/90","id":427552296,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzU1MjI5Ng==","user":{"login":"sonicsnes","id":517502,"node_id":"MDQ6VXNlcjUxNzUwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/517502?v=4","gravatar_id":"","url":"https://api.github.com/users/sonicsnes","html_url":"https://github.com/sonicsnes","followers_url":"https://api.github.com/users/sonicsnes/followers","following_url":"https://api.github.com/users/sonicsnes/following{/other_user}","gists_url":"https://api.github.com/users/sonicsnes/gists{/gist_id}","starred_url":"https://api.github.com/users/sonicsnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonicsnes/subscriptions","organizations_url":"https://api.github.com/users/sonicsnes/orgs","repos_url":"https://api.github.com/users/sonicsnes/repos","events_url":"https://api.github.com/users/sonicsnes/events{/privacy}","received_events_url":"https://api.github.com/users/sonicsnes/received_events","type":"User","site_admin":false},"created_at":"2018-10-06T07:07:46Z","updated_at":"2018-10-06T07:07:46Z","author_association":"OWNER","body":"You can see in the raw.numplayers that the server is indicating that it contains 2 players. If it doesn't get information about these players, gamedig fills out the remaining slots with empty objects. I can't say for sure exactly what causes csgo to do this, but it may be that two players are connecting."}}
{"actor":{"display_login":"sonicsnes"}}