summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-15 23:27:04 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-15 23:27:04 -0200
commit3fff3d5a023c7709cfe05f85ddec5ec53f92b2fa (patch)
tree5b9011b1e0f36b6c0856ecd5e53ec3e179367d40 /npc/functions
parent18e1c31e3643d3a187ac56ba8f90300ed3490861 (diff)
downloadserverdata-3fff3d5a023c7709cfe05f85ddec5ec53f92b2fa.tar.gz
serverdata-3fff3d5a023c7709cfe05f85ddec5ec53f92b2fa.tar.bz2
serverdata-3fff3d5a023c7709cfe05f85ddec5ec53f92b2fa.tar.xz
serverdata-3fff3d5a023c7709cfe05f85ddec5ec53f92b2fa.zip
Advertise the Mana Launcher
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/clientversion.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index e464c776b..6ee9f26ed 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -150,6 +150,7 @@ function script checkclientversion {
// #ADD_LVL means the user have to right to get some levels. This is a sketch. The code might be deleted.
if (#ADD_LVL) {
+ .@dg=1;
mesn "Jesus Saves";
mesc l("Oh - Welcome to TMW2: Moubootaur Legends!"), 3;
next;
@@ -165,7 +166,7 @@ function script checkclientversion {
mesn "Jesus Saves";
mesc l("Anyway, ##Bwelcome##b, and have fun! If you need anything, we are a keypress from distance!"), 3;
//atcommand "@blvl "+#ADD_LVL;
- getitem TimeFlask, 1;
+ //getitem TimeFlask, 1;
#ADD_LVL=(#ADD_LVL*9)/10;
if ((readparam(BaseExp)+#ADD_LVL > readparam(NextBaseExp))) {
do {
@@ -178,11 +179,13 @@ function script checkclientversion {
#ADD_LVL=0;
// TODO: Use @super debug functions and force player to join a guild. We will need the guild ID, though.
rodex_sendmail(getcharid(0), "TMW2 Team", "Welcome to Moubootaur Legends", "Hey, thanks for believing on us! We hope to have a great time togheter. Any problem, ask for help in #world - the Discord bridge! Enjoy our game!", 20);
- if (ClientVersion >= 24) close;
+ if (ClientVersion < 24) next;
+ /*
next;
mesn "Failsafe Mechanism";
mesc l("Ah... You must update your client first."), 1;
next;
+ */
}
@@ -201,6 +204,7 @@ function script checkclientversion {
mesc l("Warning: You are using an old client."), 1;
next;
mesc l("Please install the new client from [@@https://manaplus.org/|https://manaplus.org/@@]");
+ mesc l("Or use our awesome [@@https://tmw2.org/manalauncher/InstallManaLauncher.exe|Mana Launcher@@] if you're on Windows.");
next;
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.");