summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2025-01-08 14:17:31 +0100
committerLed Mitz <smoothshifter@tuta.io>2025-01-08 18:36:08 +0000
commitd306dcf35d59950dd786b257222b7bf45d50aac9 (patch)
tree7a16b7cdb1dfb96402067650dbe98ffc3eb6b3ac
parentb8fcb3e0e8749c213663943f2afbc3734cdd1fc0 (diff)
downloadserverdata-d306dcf35d59950dd786b257222b7bf45d50aac9.tar.gz
serverdata-d306dcf35d59950dd786b257222b7bf45d50aac9.tar.bz2
serverdata-d306dcf35d59950dd786b257222b7bf45d50aac9.tar.xz
serverdata-d306dcf35d59950dd786b257222b7bf45d50aac9.zip
Explain how to use quest log and fix typos
-rw-r--r--world/map/db/quest-log.txt11
1 files 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