summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r--npc/functions/clientversion.txt35
1 files changed, 22 insertions, 13 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 269bb0470..c2e85c791 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -22,9 +22,21 @@ function script checkclientversion {
mesc l("Oh, noes! Due lack of translators, some languages were removed from this project.");
mesc l("You might have been affected. Please, select your desired language.");
asklanguage(LANG_IN_SHIP);
- if (!#ADD_LVL)
- close;
}
+ if (is_admin() && UPDATE < 1528369855) {
+ UPDATE=1528369855;
+ dispbottom l("Client Version: @@", ClientVersion); // This is to debug UPDATE system.
+ }
+ if (UPDATE < 1531786864) {
+ UPDATE=1531786864;
+ skill TMW2_FAKESKILL, 1, 0;
+ skill TMW2_FAKESKILL2, 1, 0;
+ }
+
+
+
+
+
// #ADD_LVL means the user have to right to get some levels. This is a sketch. The code might be deleted.
if (#ADD_LVL) {
mesn "Jesus Saves";
@@ -41,25 +53,22 @@ function script checkclientversion {
next;
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;
+ //atcommand "@blvl "+#ADD_LVL;
+ getitem TimeFlask, 1;
+ getexp #ADD_LVL, 0;
#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! And take this change!", 20);
+ 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;
next;
mesn "Failsafe Mechanism";
mesc l("Ah... You must update your client first."), 1;
next;
}
- if (is_admin() && UPDATE < 1528369855) {
- UPDATE=1528369855;
- dispbottom l("Client Version: @@", ClientVersion); // This is to debug UPDATE system.
- }
- if (UPDATE < 1531786864) {
- UPDATE=1531786864;
- skill TMW2_FAKESKILL, 1, 0;
- skill TMW2_FAKESKILL2, 1, 0;
- }
+
+
+
+
if (ClientVersion >= 24) return;