summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
blob: 2f0dabfc54914b8f2cc09aef90deaf69264a0fc8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Evol functions.
// Author:
//    4144
// Description:
//    Function checking the client version and reports if it is too old.
// Known versions:
//   2  Nov 10 2014
//   3  Nov 28 2014
//   4  Jan 5  2015
//   5  Jan 20 2015
//   6  Feb 17 2015
//   7  Mar 2  2015
//   8  May 1  2015
//   9  Aug 12 2015
//  10  Aug 16 2015
//  11  Aug 21 2015
//  12  Sep 28 2015
//  14  Oct 15 2015
//  15  Oct 26 2015
//  16  Jan 5  2016
// First supported version:
//  2

function	script	checkclientversion	{
    if (ClientVersion > 7) return;

    mesn "Narrator";
    mes col("Warning.", 9);
    mes col("Warning.", 9);
    mes col("Warning: You are using an old client.", 9);
    next;
    mes col("Not all features will work.", 9);
    next;
    mes col("Please install the new client from http://www.evolonline.org/ or http://manaplus.org/", 9);
    next;
    return;
}