diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-31 13:33:59 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-31 13:33:59 -0300 |
commit | b31b91fa0ff7add0c043b7a0d69da9a4c1824cea (patch) | |
tree | e1154e77a270aafe67e4b5b0c97bb2333913f2b9 | |
parent | 3bb65a17a28fbeeec594b824f5142c40c8af36ed (diff) | |
download | serverdata-b31b91fa0ff7add0c043b7a0d69da9a4c1824cea.tar.gz serverdata-b31b91fa0ff7add0c043b7a0d69da9a4c1824cea.tar.bz2 serverdata-b31b91fa0ff7add0c043b7a0d69da9a4c1824cea.tar.xz serverdata-b31b91fa0ff7add0c043b7a0d69da9a4c1824cea.zip |
Allow older client versions to connect, but client may crash at random
-rw-r--r-- | npc/functions/clientversion.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 9d027f326..31d841fa2 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -87,7 +87,10 @@ function script checkclientversion { next; mesc l("Please install the new client from [@@https://manaplus.org/|https://manaplus.org/@@]"); next; - if (ClientVersion >= 22) return; + if (ClientVersion >= 20) mesc l("Compatibility Support mode enabled. Client may crash AT RANDOM, beware."); + if (ClientVersion >= 20) mesc l("Crazy stuff can happen in overall. YOU HAVE BEEN WARNED TO UPDATE YOUR CLIENT."); + if (ClientVersion >= 20) close; + if (ClientVersion >= 20) return; mesc l("You won't be allowed to play this game until you have an updated client."); next; // Force user to disconnect |