Ok, you guys have to do a quest from the dark lord that states to be training from Ervine the Plumber, Finish his quest and there are quests that follows after his, keep doing the quest( it bring you to each town for the quest ). When you get the hat, the rest of the quest is optional.