Add <player> and <npc> to the error events

Script Generates Error, Server Generates Exception both can have player
and NPC where available now.