{"action":"created","issue":{"url":"https://api.github.com/repos/Source-Python-Dev-Team/Source.Python/issues/132","repository_url":"https://api.github.com/repos/Source-Python-Dev-Team/Source.Python","labels_url":"https://api.github.com/repos/Source-Python-Dev-Team/Source.Python/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/Source-Python-Dev-Team/Source.Python/issues/132/comments","events_url":"https://api.github.com/repos/Source-Python-Dev-Team/Source.Python/issues/132/events","html_url":"https://github.com/Source-Python-Dev-Team/Source.Python/issues/132","id":161096630,"number":132,"title":"[Linux, CS:S] SRCDS crash when trying to fire certain inputs on certain entities","user":{"login":"KirillMysnik","id":4525674,"avatar_url":"https://avatars.githubusercontent.com/u/4525674?v=3","gravatar_id":"","url":"https://api.github.com/users/KirillMysnik","html_url":"https://github.com/KirillMysnik","followers_url":"https://api.github.com/users/KirillMysnik/followers","following_url":"https://api.github.com/users/KirillMysnik/following{/other_user}","gists_url":"https://api.github.com/users/KirillMysnik/gists{/gist_id}","starred_url":"https://api.github.com/users/KirillMysnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KirillMysnik/subscriptions","organizations_url":"https://api.github.com/users/KirillMysnik/orgs","repos_url":"https://api.github.com/users/KirillMysnik/repos","events_url":"https://api.github.com/users/KirillMysnik/events{/privacy}","received_events_url":"https://api.github.com/users/KirillMysnik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Source-Python-Dev-Team/Source.Python/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":30,"created_at":"2016-06-19T22:59:48Z","updated_at":"2016-06-21T12:09:56Z","closed_at":null,"body":"Map to reproduce: cs_office (contains `trigger_once` that opens garage door on CT spawn)\r\nCode to reproduce:\r\n```python\r\nfrom filters.entities import EntityIter\r\n\r\ndef load():\r\n    for entity in EntityIter('trigger_once'):\r\n        entity.enable()    # entity.disable crashes too\r\n```\r\n\r\nTested on different linux servers.\r\nAlso affects trigger_multipe and trigger_teleport - that's what I tested on."},"comment":{"url":"https://api.github.com/repos/Source-Python-Dev-Team/Source.Python/issues/comments/227420756","html_url":"https://github.com/Source-Python-Dev-Team/Source.Python/issues/132#issuecomment-227420756","issue_url":"https://api.github.com/repos/Source-Python-Dev-Team/Source.Python/issues/132","id":227420756,"user":{"login":"invincibleqc","id":5444831,"avatar_url":"https://avatars.githubusercontent.com/u/5444831?v=3","gravatar_id":"","url":"https://api.github.com/users/invincibleqc","html_url":"https://github.com/invincibleqc","followers_url":"https://api.github.com/users/invincibleqc/followers","following_url":"https://api.github.com/users/invincibleqc/following{/other_user}","gists_url":"https://api.github.com/users/invincibleqc/gists{/gist_id}","starred_url":"https://api.github.com/users/invincibleqc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/invincibleqc/subscriptions","organizations_url":"https://api.github.com/users/invincibleqc/orgs","repos_url":"https://api.github.com/users/invincibleqc/repos","events_url":"https://api.github.com/users/invincibleqc/events{/privacy}","received_events_url":"https://api.github.com/users/invincibleqc/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T12:09:56Z","updated_at":"2016-06-21T12:09:56Z","body":"> I think you now broke input functions on Windows. That little snippet is only for Linux.\r\n\r\nI originally thought about adding a check against PLATFORM but thought it was useless. Virtual inputs are valid addresses (thunk?) on windows and you are going to crash whenever it passes the & 1 condition as they are not valid in such cases.\r\n\r\n> We should also apply the fix to the input_function attribute.\r\n\r\nGood point, didn't think about that one."}}
{"actor":{"display_login":"invincibleqc"}}