26.02.2018, 13:28
You should always check if killerid or issuerid is a valid player. If it's not a valid player, killerid and issuerid will be INVALID_PLAYER_ID (which is 0xFFFF, or 65536 - hence the array index out of bounds error at index 65536).