Can you post the problem? If is the missing parameter problem for quest->add (line 1652 and line 2991) you can simply add 0 as the last parameter and it'll work just fine. quest->add(sd, quest_id, 0)