From The Mana World
m |
m (Jesusalva moved page Dev:Quest log.txt to Archive:Quest log.txt: TMWA Quest Log content is no longer relevant, but Evol2 guidelines still not written) |
(No difference)
|
Revision as of 19:22, 23 January 2022
Quest Log in Server Data (TMWA)
Quest ID: var id used by client
CommonVar: Used in getq & to set
ServerVar: Server Varaible value is stored
SHIFT: Posistion shifted. (SHIFT * MASK)
MASK: Size of shift to make. ((1 << MASK) - 1) << (SHIFT * MASK)
From world/map/conf/tmwa-map.conf -> quest_db: db/quest-log.txt:
Quest ID,CommonVar,ServerVar,SHIFT,MASK
//Quest Log //Quest ID: var id used by client //CommonVar: Used in get & to set //ServerVar: Server Varaible value is stored //SHIFT: Posistion shifted. (SHIFT * MASK) //MASK: Size of shift to make. ((1 << MASK) - 1) << (SHIFT * MASK) //Quest ID,CommonVar,ServerVar,SHIFT,MASK 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
The var used in the quest log can be set with just the value and the bitmasking is taken care of in the server.
L_Carpet: mes "[Sorfina]"; mes "\"Try to take a few steps and walk to that carpet over there."; mes "Press [###keyMoveUp;] to move up, press [###keyMoveDown;] to move down, "; mes "press [###keyMoveLeft;] to move left, press [###keyMoveRight;] to move right "; mes " or click on the place you want to go to.\""; set QL_BEGIN, 1; goto L_Close;