added xy to npc log