From b31b91fa0ff7add0c043b7a0d69da9a4c1824cea Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 31 Jul 2018 13:33:59 -0300 Subject: Allow older client versions to connect, but client may crash at random --- npc/functions/clientversion.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'npc/functions/clientversion.txt') 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 -- cgit v1.2.3-70-g09d2