From 3fff3d5a023c7709cfe05f85ddec5ec53f92b2fa Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 15 Feb 2019 23:27:04 -0200 Subject: Advertise the Mana Launcher --- npc/functions/clientversion.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'npc/functions/clientversion.txt') 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."); -- cgit v1.2.3-60-g2f50