{"action":"closed","issue":{"url":"https://api.github.com/repos/pawn-lang/YSI-Includes/issues/286","repository_url":"https://api.github.com/repos/pawn-lang/YSI-Includes","labels_url":"https://api.github.com/repos/pawn-lang/YSI-Includes/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/pawn-lang/YSI-Includes/issues/286/comments","events_url":"https://api.github.com/repos/pawn-lang/YSI-Includes/issues/286/events","html_url":"https://github.com/pawn-lang/YSI-Includes/issues/286","id":314402747,"number":286,"title":"[y_hooks/CrashDetect] Run time error on 'INVALID_X_ID'","user":{"login":"ReinasL","id":13353568,"avatar_url":"https://avatars2.githubusercontent.com/u/13353568?v=4","gravatar_id":"","url":"https://api.github.com/users/ReinasL","html_url":"https://github.com/ReinasL","followers_url":"https://api.github.com/users/ReinasL/followers","following_url":"https://api.github.com/users/ReinasL/following{/other_user}","gists_url":"https://api.github.com/users/ReinasL/gists{/gist_id}","starred_url":"https://api.github.com/users/ReinasL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ReinasL/subscriptions","organizations_url":"https://api.github.com/users/ReinasL/orgs","repos_url":"https://api.github.com/users/ReinasL/repos","events_url":"https://api.github.com/users/ReinasL/events{/privacy}","received_events_url":"https://api.github.com/users/ReinasL/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-15T10:12:34Z","updated_at":"2018-04-15T12:07:19Z","closed_at":"2018-04-15T12:07:19Z","author_association":"NONE","body":"CrashDetect prints errors on hooked functions, when INVALID_PLAYER/VEHICLE/TEXTDRAW(etc.)_ID is used. ( only on hook'ed functions - public are fine )\r\n\r\nIn this case, player is falling and receiving, dmg from world ( issuerid - INVALID_PLAYER_ID ):\r\n\r\n[debug] Run time error 4: \"Array index out of bounds\"\r\n[debug] AMX backtrace:\r\n[debug] #0 0005d174 in ?? (65535, 19478032) from basic.amx\r\n[debug] #1 0003b59c in ?? (0, 65535, 1101876625, 54, 3, 1, 0, 0, 20, 0, ... <1073741813 arguments>) from basic.amx\r\n[debug] #2 0000a0e4 in public OnPlayerTakeDamage (0, 65535, 1101876625, 54, 3) from basic.amx"}}
{"actor":{"display_login":"Misiur"}}