To collect unlucky doom essences in DragonFable, travel to Necropolis and speak with Artix.
From there you will want to run the haunted castle quest. The essences come out of that quest line, so follow it through rather than wandering the area hoping for a drop.