diff options
author | jesusalva <cpntb1@ymail.com> | 2018-02-08 17:41:13 -0200 |
---|---|---|
committer | jesusalva <cpntb1@ymail.com> | 2018-02-08 17:41:13 -0200 |
commit | 0016ab2db19f5aabceab37dd99ce39f5345172ef (patch) | |
tree | 9c6deccdc8a3defcdb1a6d85f427820147309a97 /npc | |
parent | 716dc9da39dd3d462cc3a90fac0e9097d8318e14 (diff) | |
download | serverdata-0016ab2db19f5aabceab37dd99ce39f5345172ef.tar.gz serverdata-0016ab2db19f5aabceab37dd99ce39f5345172ef.tar.bz2 serverdata-0016ab2db19f5aabceab37dd99ce39f5345172ef.tar.xz serverdata-0016ab2db19f5aabceab37dd99ce39f5345172ef.zip |
Add a missing file, report a KNOWN BUG on Zegas quest - because DEVELOPER FAULT.
I'm not fixing this one, so everyone working at scripts may know about it.
Quoting the manual: NPC variables (.)
“exist in the NPC and disappear when the server restarts or the NPC is reloaded.”
They are not unique-by-character, nor unique-by-char-and-npc. They are unique-by-NPC.
Meaning, a change to a "." variable affects EVERYONE in the server.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/005-3/barrel.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/005-3/barrel.txt b/npc/005-3/barrel.txt index 721ec6f97..a60cc55f0 100644 --- a/npc/005-3/barrel.txt +++ b/npc/005-3/barrel.txt @@ -13,6 +13,12 @@ // 3 Bomb Defused.
// 4 Quest Completed.
+// TODO FIXME: KNOWN BUG
+// It is a known bug that using .questCheck and .questState is ABSOLUTELY WRONG
+// A NPC variable affects the whole server, lasting until server restart.
+// Therefore, by using "." variables, it will only work at localhosts.
+// TODO FIXME: KNOWN BUG
+
function script CheckBarrel {
.questCheck = .questCheck + 1;
areamonster "005-3", 24, 34, 45, 42, "Cave Maggot", 1027, 1;
|