diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/clientversion.txt | 73 |
1 files changed, 38 insertions, 35 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index e1c98a41f..d4746b460 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -673,41 +673,6 @@ function script clientupdater { // Karma fix (double check Karma=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) { - .@dg=1; - /* - mesn "Jesus Saves"; - mesc l("Oh - Welcome to TMW2: Moubootaur Legends!"), 3; - next; - mesn "Jesus Saves"; - mesc l("Please, fell at home. You can use ##B#world##b channel to speak to everyone on Discord, IRC and ingame."), 3; - next; - mesn "Jesus Saves"; - mesc l("Our mission statement is to bring fun to all players. You'll get some levels automatically. We advise you to join a guild."), 3; - next; - mesn "Jesus Saves"; - mesc l("If you have any trouble or doubt, don't hesit to call us. There are some cooperative quests, and more of them are being added."), 3; - 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; - //getitem TimeFlask, 1; - #ADD_LVL=(#ADD_LVL*9)/10; - */ - if ((readparam(BaseExp)+#ADD_LVL > readparam(NextBaseExp))) { - do { - .@v=readparam(NextBaseExp)-readparam(BaseExp); - getexp .@v, 0; - #ADD_LVL-=.@v; - } while (readparam(BaseExp)+#ADD_LVL > readparam(NextBaseExp)); - } - 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! Enjoy our game!", 20); - } // Baktar changes // seg out 21 19:32:55 -03 2019 if (UPDATE < 1571697175) { @@ -751,6 +716,44 @@ function script clientupdater { } } + // :// End of Regular Update System + //////////////////////////////////// + + // #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; + mesn "Jesus Saves"; + mesc l("Please, fell at home. You can use ##B#world##b channel to speak to everyone on Discord, IRC and ingame."), 3; + next; + mesn "Jesus Saves"; + mesc l("Our mission statement is to bring fun to all players. You'll get some levels automatically. We advise you to join a guild."), 3; + next; + mesn "Jesus Saves"; + mesc l("If you have any trouble or doubt, don't hesit to call us. There are some cooperative quests, and more of them are being added."), 3; + 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; + //getitem TimeFlask, 1; + #ADD_LVL=(#ADD_LVL*9)/10; + */ + if ((readparam(BaseExp)+#ADD_LVL > readparam(NextBaseExp))) { + do { + .@v=readparam(NextBaseExp)-readparam(BaseExp); + getexp .@v, 0; + #ADD_LVL-=.@v; + } while (readparam(BaseExp)+#ADD_LVL > readparam(NextBaseExp)); + } + 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! Enjoy our game!", 20); + } + if (.@dg) { next; |