//Quest Log //Quest ID: var id used by client //CommonVar: Used in getq & to set (a view upon the ServerVar, not saved) //ServerVar: Server Variable where the value is stored //SHIFT: Position shifted. (SHIFT * MASK) //MASK: Size of shift to make. ((1 << MASK) - 1) << (SHIFT * MASK) //Quest ID,CommonVar,ServerVar,SHIFT,MASK // N.B: when you migrate a quest to quest log, you also have to use CommonVar // throughout the server code. Failing to do this will result in client-side // quest-log not updating as the player progresses. But it will update on // re-login/switch char. There are no database changes necessary, as // the quest log variables are just a view upon ServerVar. 1,QL_BEGIN,STARTAREA,0,4 2,QL_VALON,STARTAREA,1,4 3,QL_MORGAN,STARTAREA,3,4 4,QL_ZEGAS,STARTAREA,4,4 5,QL_VINCENT,QUEST_SouthTulimshar,4,2 6,QL_HIDENSEEK,QUEST_NorthTulimshar,0,8 7,QL_WELL,QUEST_Nivalis_state,4,4 8,QL_CINDY,QUEST_Nivalis_state,5,4 9,QL_BAKTAR,QUEST_Nivalis_state,0,8 10,QL_BSAGE_INVESTIGATE,QUEST_BlueSage,3,4 11,QL_SOUP,QUEST_SouthTulimshar,0,4 12,QL_SARAH,QUEST_SouthTulimshar,2,2 13,QL_SANDRA,QUEST_SouthTulimshar,6,2 // Not done 14,QL_MINEALL,QUEST_SouthTulimshar,2,8 15,QL_FIERI,QUEST_SouthTulimshar,6,4 16,QL_IMEC,QUEST_NorthTulimshar,4,2 17,QL_BANU,QUEST_NorthTulimshar,5,2 18,QL_ANWAR,QUEST_NorthTulimshar,3,4 19,QL_KYLIAN,QUEST_NorthTulimshar,5,4 20,QL_TERRANITE_ARMOR,QUEST_NorthTulimshar,6,4 // 21 => assassin quest 22,QL_CELESTIA,QUEST_Hurnscald,2,8 // Beheader quest comes in two parts: the flag that you've completed it // and the variable that tracks how many you've killed thus far. The // latter is deleted once you complete the quest. 23,QL_BEHEADER_TERRAC,TERRAC,0,16 24,QL_BEHEADER_COMPLETE,FLAGS,17,1