From d306dcf35d59950dd786b257222b7bf45d50aac9 Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Wed, 8 Jan 2025 14:17:31 +0100 Subject: Explain how to use quest log and fix typos --- world/map/db/quest-log.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/world/map/db/quest-log.txt b/world/map/db/quest-log.txt index 67f8e813..db810d6e 100644 --- a/world/map/db/quest-log.txt +++ b/world/map/db/quest-log.txt @@ -1,10 +1,15 @@ //Quest Log //Quest ID: var id used by client -//CommonVar: Used in getq & to set -//ServerVar: Server Varaible value is stored -//SHIFT: Posistion shifted. (SHIFT * MASK) +//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 -- cgit v1.2.3-70-g09d2