{"action":"created","issue":{"url":"https://api.github.com/repos/BigBrotherBot/big-brother-bot/issues/340","labels_url":"https://api.github.com/repos/BigBrotherBot/big-brother-bot/issues/340/labels{/name}","comments_url":"https://api.github.com/repos/BigBrotherBot/big-brother-bot/issues/340/comments","events_url":"https://api.github.com/repos/BigBrotherBot/big-brother-bot/issues/340/events","html_url":"https://github.com/BigBrotherBot/big-brother-bot/issues/340","id":88064026,"number":340,"title":"[IOURT42] client.team returns \"-1\"","user":{"login":"Yascor","id":7915589,"avatar_url":"https://avatars.githubusercontent.com/u/7915589?v=3","gravatar_id":"","url":"https://api.github.com/users/Yascor","html_url":"https://github.com/Yascor","followers_url":"https://api.github.com/users/Yascor/followers","following_url":"https://api.github.com/users/Yascor/following{/other_user}","gists_url":"https://api.github.com/users/Yascor/gists{/gist_id}","starred_url":"https://api.github.com/users/Yascor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yascor/subscriptions","organizations_url":"https://api.github.com/users/Yascor/orgs","repos_url":"https://api.github.com/users/Yascor/repos","events_url":"https://api.github.com/users/Yascor/events{/privacy}","received_events_url":"https://api.github.com/users/Yascor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-06-13T20:51:08Z","updated_at":"2015-06-15T10:00:03Z","closed_at":null,"body":"Hey, time ago I wrote simple plugin and few extra things based on \"client.team\" for my jump server, something like:\r\n>\r\n        if client.team == b3.TEAM_SPEC:\r\n            self.console.write(\"forceteam %s a\" % (client.cid))\r\n            client.message('^3You ^7are moved to the game')\r\n            return\r\n>\r\n\r\nIt worked like a charm until I updated b3 bot few months ago from older 1.10 to newer (dont know exactly when).\r\nTried even now with the latest 1.10 version and is still same, client.team always returns \"-1\" in other gametypes like tdm, ts is same. I put on server few bots and their team values were \"2\" or \"-1\" aftter team/players swap values stayed same as before. Tested with plugins: admin, status, welcome, with/without poweradminurt (swap command in poweradminurt works prety random too). Logs doesnt show anything intresting.\r\n\r\nMaybe I missed something or something did change.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/BigBrotherBot/big-brother-bot/issues/comments/112002966","html_url":"https://github.com/BigBrotherBot/big-brother-bot/issues/340#issuecomment-112002966","issue_url":"https://api.github.com/repos/BigBrotherBot/big-brother-bot/issues/340","id":112002966,"user":{"login":"danielepantaleone","id":1245124,"avatar_url":"https://avatars.githubusercontent.com/u/1245124?v=3","gravatar_id":"","url":"https://api.github.com/users/danielepantaleone","html_url":"https://github.com/danielepantaleone","followers_url":"https://api.github.com/users/danielepantaleone/followers","following_url":"https://api.github.com/users/danielepantaleone/following{/other_user}","gists_url":"https://api.github.com/users/danielepantaleone/gists{/gist_id}","starred_url":"https://api.github.com/users/danielepantaleone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielepantaleone/subscriptions","organizations_url":"https://api.github.com/users/danielepantaleone/orgs","repos_url":"https://api.github.com/users/danielepantaleone/repos","events_url":"https://api.github.com/users/danielepantaleone/events{/privacy}","received_events_url":"https://api.github.com/users/danielepantaleone/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T10:00:03Z","updated_at":"2015-06-15T10:00:03Z","body":"Problem should have been fixed here: https://github.com/BigBrotherBot/big-brother-bot/commit/0ac84f234496de6472ae23e0483c44de08b7c963\r\nCould you give it a try by downloading the latest release from [release-1.10](https://github.com/BigBrotherBot/big-brother-bot/archive/release-1.10.zip) branch?"}}