summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-01-09 16:21:31 -0300
committerJesusaves <cpntb1@ymail.com>2024-01-09 16:21:31 -0300
commit7153086ed7c552fb0d4baacfff115d9ced9ce627 (patch)
tree9ae8a1b3e019b085d8ae35c02ea8a662ebcbaf27 /npc/functions
parent2701dd89971026d90519c35e99dcfd05f65138bd (diff)
downloadserverdata-7153086ed7c552fb0d4baacfff115d9ced9ce627.tar.gz
serverdata-7153086ed7c552fb0d4baacfff115d9ced9ce627.tar.bz2
serverdata-7153086ed7c552fb0d4baacfff115d9ced9ce627.tar.xz
serverdata-7153086ed7c552fb0d4baacfff115d9ced9ce627.zip
Handle players whom were saved in 011-3 before Eternal Swamps resizing
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/clientversion.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index ea089d602..f588c3e57 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -1143,11 +1143,20 @@ function script clientupdater {
// Lightbringer Election Server Freeze
// sex 15 dez 2023 20:30:00 -03
if ($UPDATE < 1702683000) {
+ // Server not yet ready, prevent connections!
kick(getcharid(3), 6);
end;
}
if (UPDATE < 1702683000) {
UPDATE=1702683000;
+ // You were in Eternal Swamps? Fix coordinates
+ if (getmap() == "011-3") {
+ if (any(true,false))
+ slide 37, 252;
+ else
+ slide 37, 27;
+ }
+ // Lightbringer election results
if (strcharinfo(0) == $LIGHT_HOLDER$) {
.@dg=1;
showavatar NPC_LIGHTBRINGER;