{"action":"created","issue":{"url":"https://api.github.com/repos/SLASHEM-Extended/SLASHEM-Extended/issues/11","repository_url":"https://api.github.com/repos/SLASHEM-Extended/SLASHEM-Extended","labels_url":"https://api.github.com/repos/SLASHEM-Extended/SLASHEM-Extended/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/SLASHEM-Extended/SLASHEM-Extended/issues/11/comments","events_url":"https://api.github.com/repos/SLASHEM-Extended/SLASHEM-Extended/issues/11/events","html_url":"https://github.com/SLASHEM-Extended/SLASHEM-Extended/issues/11","id":208620477,"number":11,"title":"Traps may crush monster data","user":{"login":"ssakusha","id":25859218,"avatar_url":"https://avatars.githubusercontent.com/u/25859218?v=3","gravatar_id":"","url":"https://api.github.com/users/ssakusha","html_url":"https://github.com/ssakusha","followers_url":"https://api.github.com/users/ssakusha/followers","following_url":"https://api.github.com/users/ssakusha/following{/other_user}","gists_url":"https://api.github.com/users/ssakusha/gists{/gist_id}","starred_url":"https://api.github.com/users/ssakusha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssakusha/subscriptions","organizations_url":"https://api.github.com/users/ssakusha/orgs","repos_url":"https://api.github.com/users/ssakusha/repos","events_url":"https://api.github.com/users/ssakusha/events{/privacy}","received_events_url":"https://api.github.com/users/ssakusha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-18T07:00:19Z","updated_at":"2017-02-18T17:56:06Z","closed_at":null,"body":"Hello.\r\nI discover serious concern at source codes.\r\n\r\nMonsters knows trap with data area \"mon->mtrapseen\".\r\nIf monster trapped, the monster knows its trap type. See trap.c:\r\n\r\n>            mtmp->mtrapseen |= (1 << (tt - 1));\r\n\r\nBut, see monst.h:\r\n\r\n>    long mtrapseen; /* bitmap of traps we've been trapped in */\r\n\r\nI fear that other data may break with it, if trap numbers over \"sizeof(long)\".\r\nPlease check it.\r\n\r\n  #Note: FHS patch handles it temporaly.(see #ifdef HONEY_OVERFLOWED_TRAP)\r\n  #But it has only under 64 traps.\r\n  #And Slash'EM Extended has over 200 traps...\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SLASHEM-Extended/SLASHEM-Extended/issues/comments/280862912","html_url":"https://github.com/SLASHEM-Extended/SLASHEM-Extended/issues/11#issuecomment-280862912","issue_url":"https://api.github.com/repos/SLASHEM-Extended/SLASHEM-Extended/issues/11","id":280862912,"user":{"login":"Elronnd","id":11526194,"avatar_url":"https://avatars.githubusercontent.com/u/11526194?v=3","gravatar_id":"","url":"https://api.github.com/users/Elronnd","html_url":"https://github.com/Elronnd","followers_url":"https://api.github.com/users/Elronnd/followers","following_url":"https://api.github.com/users/Elronnd/following{/other_user}","gists_url":"https://api.github.com/users/Elronnd/gists{/gist_id}","starred_url":"https://api.github.com/users/Elronnd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elronnd/subscriptions","organizations_url":"https://api.github.com/users/Elronnd/orgs","repos_url":"https://api.github.com/users/Elronnd/repos","events_url":"https://api.github.com/users/Elronnd/events{/privacy}","received_events_url":"https://api.github.com/users/Elronnd/received_events","type":"User","site_admin":false},"created_at":"2017-02-18T17:56:06Z","updated_at":"2017-02-18T17:56:06Z","body":"Thanks for the report.  I'm pretty sure the best way to handle this is to make multiple bitmaps for that (mtrapseen1, mtrapseen2, mtrapseen3, mtrapseen4) and then a couple of macros: settrapseen and istrapseen that automatically choose the right one."}}
{"actor":{"display_login":"Elronnd"}}