{"action":"created","issue":{"url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/314","labels_url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/314/comments","events_url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/314/events","html_url":"https://github.com/Unvanquished/Unvanquished/issues/314","id":35448965,"number":314,"title":"Running a /devmap disables cheat protection for the next game you join","user":{"login":"Veyrdite","id":6168874,"avatar_url":"https://avatars.githubusercontent.com/u/6168874?v=3","gravatar_id":"","url":"https://api.github.com/users/Veyrdite","html_url":"https://github.com/Veyrdite","followers_url":"https://api.github.com/users/Veyrdite/followers","following_url":"https://api.github.com/users/Veyrdite/following{/other_user}","gists_url":"https://api.github.com/users/Veyrdite/gists{/gist_id}","starred_url":"https://api.github.com/users/Veyrdite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Veyrdite/subscriptions","organizations_url":"https://api.github.com/users/Veyrdite/orgs","repos_url":"https://api.github.com/users/Veyrdite/repos","events_url":"https://api.github.com/users/Veyrdite/events{/privacy}","received_events_url":"https://api.github.com/users/Veyrdite/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Unvanquished/Unvanquished/labels/A-Client","name":"A-Client","color":"f7c6c7"},{"url":"https://api.github.com/repos/Unvanquished/Unvanquished/labels/S-Verified","name":"S-Verified","color":"fad8c7"},{"url":"https://api.github.com/repos/Unvanquished/Unvanquished/labels/T-Bug","name":"T-Bug","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"Kangz","id":472810,"avatar_url":"https://avatars.githubusercontent.com/u/472810?v=3","gravatar_id":"","url":"https://api.github.com/users/Kangz","html_url":"https://github.com/Kangz","followers_url":"https://api.github.com/users/Kangz/followers","following_url":"https://api.github.com/users/Kangz/following{/other_user}","gists_url":"https://api.github.com/users/Kangz/gists{/gist_id}","starred_url":"https://api.github.com/users/Kangz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kangz/subscriptions","organizations_url":"https://api.github.com/users/Kangz/orgs","repos_url":"https://api.github.com/users/Kangz/repos","events_url":"https://api.github.com/users/Kangz/events{/privacy}","received_events_url":"https://api.github.com/users/Kangz/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2014-06-11T03:50:31Z","updated_at":"2015-03-12T22:06:31Z","closed_at":null,"body":"EDIT: Severely edited since first report\r\n\r\nThe game keeps track of whether or not you have permission to cheat and edit cheating variables.  This is determined by whether or not you start a /map or a /devmap\r\n\r\n## Current behaviour\r\nIf the first match you play is non-cheating, then all successive matches (even with /devmap) will not allow you to properly cheat.\r\nIf the first match you play is cheating, then all successive matches (even online) can be cheated in.\r\n\r\nThis bug only seems to apply to cheat-protected variables (like r_showskeleton) and not commands (noclip, god)\r\n\r\n## Reproduction\r\nForcing cheat perms on:\r\n* start the game\r\n* /devmap parpax\r\n* /map parpax\r\n* note that you can change cheat-protected variables\r\n* join an online match\r\n* note that you can change cheat-protected variables\r\n\r\nForcing cheat perms off:\r\n* start the game\r\n* /map parpax\r\n* /devmap parpax\r\n* note that you can NOT change cheat-protected vars\r\n* repeat, etc\r\n\r\n![utcs](https://cloud.githubusercontent.com/assets/6168874/3240034/81a6ae8c-f11b-11e3-9622-7ba257d37649.jpeg)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/comments/78647986","html_url":"https://github.com/Unvanquished/Unvanquished/issues/314#issuecomment-78647986","issue_url":"https://api.github.com/repos/Unvanquished/Unvanquished/issues/314","id":78647986,"user":{"login":"Viech","id":3780206,"avatar_url":"https://avatars.githubusercontent.com/u/3780206?v=3","gravatar_id":"","url":"https://api.github.com/users/Viech","html_url":"https://github.com/Viech","followers_url":"https://api.github.com/users/Viech/followers","following_url":"https://api.github.com/users/Viech/following{/other_user}","gists_url":"https://api.github.com/users/Viech/gists{/gist_id}","starred_url":"https://api.github.com/users/Viech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Viech/subscriptions","organizations_url":"https://api.github.com/users/Viech/orgs","repos_url":"https://api.github.com/users/Viech/repos","events_url":"https://api.github.com/users/Viech/events{/privacy}","received_events_url":"https://api.github.com/users/Viech/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T22:06:31Z","updated_at":"2015-03-12T22:06:31Z","body":"@caldazar-at wrote on IRC:\r\n> I noticed that sometimes debug cvars (cg_thirdpersion, cg_drawbbox) are still active after joining a server. and then you can't reset them because of cheat protection. is that a known bug?\r\nI think this is basically the same issue: Cvars that can only be enabled in devmap mode stay set on the next non-devmap match and cannot even be disabled."}}