{"action":"opened","issue":{"url":"https://api.github.com/repos/Holiverh/python-valve/issues/22","labels_url":"https://api.github.com/repos/Holiverh/python-valve/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/Holiverh/python-valve/issues/22/comments","events_url":"https://api.github.com/repos/Holiverh/python-valve/issues/22/events","html_url":"https://github.com/Holiverh/python-valve/issues/22","id":119286933,"number":22,"title":"IndexError: list index out of range","user":{"login":"karl-ulyanov","id":1755660,"avatar_url":"https://avatars.githubusercontent.com/u/1755660?v=3","gravatar_id":"","url":"https://api.github.com/users/karl-ulyanov","html_url":"https://github.com/karl-ulyanov","followers_url":"https://api.github.com/users/karl-ulyanov/followers","following_url":"https://api.github.com/users/karl-ulyanov/following{/other_user}","gists_url":"https://api.github.com/users/karl-ulyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/karl-ulyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karl-ulyanov/subscriptions","organizations_url":"https://api.github.com/users/karl-ulyanov/orgs","repos_url":"https://api.github.com/users/karl-ulyanov/repos","events_url":"https://api.github.com/users/karl-ulyanov/events{/privacy}","received_events_url":"https://api.github.com/users/karl-ulyanov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-28T11:23:07Z","updated_at":"2015-11-28T11:23:07Z","closed_at":null,"body":"Attempting to use RCON and I get this error output:\r\n\r\nC:\\Users\\Administrator\\Desktop\\steamcmd>python r.py\r\nTraceback (most recent call last):\r\n  File \"r.py\", line 6, in <module>\r\n    with RCON(SERVER_ADDRESS, PASSWORD) as rcon:\r\n  File \"build\\bdist.win32\\egg\\valve\\source\\rcon.py\", line 126, in __enter__\r\n  File \"build\\bdist.win32\\egg\\valve\\source\\rcon.py\", line 250, in authenticate\r\n  File \"build\\bdist.win32\\egg\\valve\\source\\rcon.py\", line 226, in __enter__\r\n  File \"build\\bdist.win32\\egg\\valve\\source\\rcon.py\", line 199, in process\r\nIndexError: list index out of range\r\n\r\nMy script is basically just your example with my server info filled in.\r\n\r\nfrom valve.source.rcon import RCON\r\n\r\nSERVER_ADDRESS = (\"127.0.0.1\", 32330)\r\nPASSWORD = \"SNIP\"\r\n\r\nwith RCON(SERVER_ADDRESS, PASSWORD) as rcon:\r\n    print(rcon(\"listplayers\"))\r\n\r\n"}}