summaryrefslogtreecommitdiff
path: root/npc/custom/Lance
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-05 13:23:07 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-05 13:23:07 +0000
commit288490094a7fe9167747dc78d416940759a31197 (patch)
tree53dc4f5c2375f4b688b53ca8841630ddec5e1f88 /npc/custom/Lance
parent8ec1c47aed09c90343949d57c92760ba84738a46 (diff)
downloadhercules-288490094a7fe9167747dc78d416940759a31197.tar.gz
hercules-288490094a7fe9167747dc78d416940759a31197.tar.bz2
hercules-288490094a7fe9167747dc78d416940759a31197.tar.xz
hercules-288490094a7fe9167747dc78d416940759a31197.zip
- Massive EOL normalization & 'svn:eol-style native' flag setting for all txt/conf/h/c files.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9410 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/custom/Lance')
-rw-r--r--npc/custom/Lance/FR_HallOfFame.c592
-rw-r--r--npc/custom/Lance/FR_MailSystem.c232
-rw-r--r--npc/custom/Lance/FR_WeatherController.c806
3 files changed, 815 insertions, 815 deletions
diff --git a/npc/custom/Lance/FR_HallOfFame.c b/npc/custom/Lance/FR_HallOfFame.c
index e82a9590f..ed03a6af2 100644
--- a/npc/custom/Lance/FR_HallOfFame.c
+++ b/npc/custom/Lance/FR_HallOfFame.c
@@ -1,297 +1,297 @@
-//===== eAthena Script ======================================
-//= Hall of Fame
-//===========================================================
-//===== By ==================================================
-//= [Lance]
-//= Idea from emilylee78
-//===== Version =============================================
-//= 2.3 FINAL
-//===== Compatible With =====================================
-//= eAthena SVN and Freya SVN
-//===== Description =========================================
-//= A Hall of Fame framework. Will update the list on every
-//= login and logout in a safe manner.
-//=
-//= Usage: callfunc "printHallOfFame", $;
-//= $ - Can be either 0 or 1.
-//= 0 - Display the current rankings.
-//= 1 - Display last week's rankings.
-//= Note : Remember to put a close; after calling it.
-//===== Comments ============================================
-//= 1.0 - Initial beta release [Lance]
-//= 1.1 - Fixed typos. Optimized a teeny bit. [Lance]
-//= 1.2 - Bug fixes. [Lance]
-//= 1.3 - Added a more realistic shuffling. [Lance]
-//= 1.4 - Added Weekly Top 10 list. [Lance]
-//= 1.5 - Friggin typos =< + Better shuffling [Lance]
-//= 1.6 - Bugfixes [Lance]
-//= 1.7 - More bugfixes. Type mismatch =P [Lance]
-//= 2.0 - Exclude GMs and add recovery plan.
-//= Suggested by EvilPoringOfDooom. [Lance]
-//= 2.1 - Typo.. again.. T_T [Lance]
-//= 2.2 - Minor updates and added Jury [Lance]
-//= 2.3 - Utilizing eAthena's new scripting engine [Lance]
-//===========================================================
-
-prontera.gat,0,0,0 script OnPCLoginEvent -1,{
- callfunc "HallOfFameInit";
- end;
-
-OnInit:
- // Total Number of Players in Hall of Fame
- // =======================================
- set $HoF_totalCount, 10;
- // Reshuffle (Will affect perfomance) ====
- set $HoF_reshuffle, 1;
- // Minimum GM Lvl to be excluded from HoF=
- set $HoF_minGMLvl, 99;
- // Recovery Plan to Remove GMs ============
- set $@HoF_recovery, 0;
- // =======================================
-
- set $HoF_totalCount, $HoF_totalCount - 1;
- set $@FebruaryD, 28;
- if((gettime(7) % 4) == 0) {
- set $@FebruaryD, 29;
- }
- setarray $@MonthDayThing[1],31, $@FebruaryD,31,30,31,30,31,31,30,31,30,31;
- set $@HoF_TimeUpdateD, $HoF_LastUpdateD;
- set $@HoF_TimeUpdateM, $HoF_LastUpdateM;
- set $@HoF_TimeUpdateY, $HoF_LastUpdateY;
- // Time to do some maths
- set $@TimeNowD, gettime(5);
- set $@TimeNowM, gettime(6);
- set $@TimeNowY, gettime(7);
- // Debug Message --
- debugmes "[Hall of Fame] Last Update is Year " + $@HoF_TimeUpdateY + " Month " + $@HoF_TimeUpdateM + " Day " + $@HoF_TimeUpdateD;
- debugmes "[Hall of Fame] Today is Year " + $@TimeNowY + " Month " + $@TimeNowM + " Day " + $@TimeNowD;
- if(($@TimeNowD - $@HoF_TimeUpdateD) < 0){
- set $@TimeNowD, $@TimeNowD + $@MonthDayThing[$@TimeNowM];
- set $@TimeNowM, $@TimeNowM - 1;
- }
- set $@GapD, $@TimeNowD - $@HoF_TimeUpdateD;
- if(($@TimeNowM - $@HoF_TimeUpdateM) < 0){
- set $@TimeNowM, $@TimeNowM + 12;
- set $@TimeNowY, $@TimeNowY - 1;
- }
- set $@GapM, $@TimeNowM - $@HoF_TimeUpdateM;
- set $@GapY, $@TimeNowY - $@HoF_TimeUpdateY;
- debugmes "[Hall of Fame] Gap is " + $@GapY + " Years " + $@GapM + " Months " + $@GapD + " Days.";
- if($@GapY > 0 || $@GapM > 0 || $@GapD >= 7) {
- callfunc "hallOfFameReset"; // Phew..
- }
- end;
-
-OnClock0000:
- set $HoF_UpdateCount, $HoF_UpdateCount + 1;
- if($HoF_UpdateCount == 7) {
- callfunc "hallOfFameReset";
- }
- end;
-}
-
-prontera.gat,0,0,0 script PCLogoutEvent -1,{
- callfunc "HallOfFameInit";
- end;
-}
-
-function script hallOfFameReset {
- copyarray $HoF_LadderNameO$[0], $HoF_LadderName$[0], $HoF_totalCount;
- copyarray $HoF_LadderBLevelO[0], $HoF_LadderBLevel[0], $HoF_totalCount;
- copyarray $HoF_LadderJLevelO[0], $HoF_LadderJLevel[0], $HoF_totalCount;
- copyarray $HoF_LadderZenyO[0], $HoF_LadderZeny[0], $HoF_totalCount;
- set $@number, $HoF_totalCount + 1;
- deletearray $HoF_LadderName$[0], $@number;
- deletearray $HoF_LadderBLevel[0], $@number;
- deletearray $HoF_LadderJLevel[0], $@number;
- deletearray $HoF_LadderZeny[0], $@number;
- set $HoF_LastUpdateD, gettime(5);
- set $HoF_LastUpdateM, gettime(6);
- set $HoF_LastUpdateY, gettime(7);
- set $HoF_UpdateCount, 0;
- debugmes "[Hall of Fame] System Reset Invoked!";
- return;
-}
-
-function script HallOfFameInit {
- if(getgmlevel() >= $HoF_minGMLvl && $@HoF_recovery != 1) {
- set PCLogoutEvent, 0;
- } else {
- set PCLogoutEvent, 1;
- callfunc "updateHallofFame", $HoF_reshuffle;
- }
- return;
-}
-
-function script updateHallofFame {
- set @i, 0;
- if(getarg(0) == 1){
- goto L_ShuffleName;
- }
- if(BaseLevel >= $HoF_LadderBLevel[$HoF_totalCount]){
- goto L_checkBase;
- }
- goto L_End;
-
-L_ShuffleName:
- if($HoF_LadderName$[@i] == strcharinfo(0)) {
- goto L_ShuffleScore;
- }
- if(@i == $HoF_totalCount) {
- goto L_checkEntry;
- }
- set @i, @i + 1;
- goto L_ShuffleName;
-
-L_ShuffleScore:
- deletearray $HoF_LadderName$[@i],1;
- deletearray $HoF_LadderZeny[@i],1;
- deletearray $HoF_LadderJLevel[@i],1;
- deletearray $HoF_LadderBLevel[@i],1;
- goto L_ShuffleName;
-
-L_checkEntry:
- if(getgmlevel() >= $HoF_minGMLvl){
- end;
- }
- set @i, 0;
- goto L_checkBase;
-
-L_checkBase:
- if(BaseLevel >= $HoF_LadderBLevel[@i]) {
- goto L_BaseOK;
- } else {
- goto L_Increment;
- }
-
-L_BaseOK:
- if(BaseLevel == $HoF_LadderBLevel[@i]){
- goto L_BaseSameLoop;
- } else {
- goto L_NewEntry;
- }
-
-L_BaseSameLoop:
- if(JobLevel >= $HoF_LadderJLevel[@i]) {
- goto L_JobOK;
- } else if(Zeny >= $HoF_LadderZeny[@i]) {
- goto L_ZenyOK;
- }
- goto L_Increment;
-
-L_JobOK:
- if(JobLevel == $HoF_LadderJLevel[@i]) {
- goto L_JobSame;
- } else {
- goto L_NewEntry;
- }
-
-L_ZenyOK:
- if(Zeny == $HoF_LadderZeny[@i]){
- goto L_Increment;
- } else {
- goto L_NewEntry;
- }
-
-L_JobSame:
- if(Zeny >= $HoF_LadderZeny[@i]) {
- goto L_ZenyOK;
- } else {
- goto L_Increment;
- }
-
-L_NewEntry:
- callfunc "hallOfFameNewEntry", @i, strcharinfo(0), BaseLevel, JobLevel, Zeny;
- end;
-
-L_Increment:
- if(@i == $HoF_totalCount) {
- goto L_End;
- } else {
- set @i, @i + 1;
- goto L_checkBase;
- }
-
-L_End:
- return;
-
-}
-
-
-function script hallOfFameNewEntry {
- if(getarg(0) == 0 || getarg(1) != $HoF_LadderName$[getarg(0) - 1]) {
- set @startPos, getarg(0);
- copyarray @HoF_LadderNameB$[0], $HoF_LadderName$[@startPos], $HoF_totalCount;
- copyarray @HoF_LadderBLevelB[0], $HoF_LadderBLevel[@startPos], $HoF_totalCount;
- copyarray @HoF_LadderJLevelB[0], $HoF_LadderJLevel[@startPos], $HoF_totalCount;
- copyarray @HoF_LadderZenyB[0], $HoF_LadderZeny[@startPos], $HoF_totalCount;
- set $HoF_LadderName$[@startPos], getarg(1);
- set $HoF_LadderBLevel[@startPos], getarg(2);
- set $HoF_LadderJLevel[@startPos], getarg(3);
- set $HoF_LadderZeny[@startPos], getarg(4);
- set @startPos, @startPos + 1;
- set @limitPos, $HoF_totalCount - @startPos;
- copyarray $HoF_LadderName$[@startPos], @HoF_LadderNameB$[0], @limitPos;
- copyarray $HoF_LadderBLevel[@startPos], @HoF_LadderBLevelB[0], @limitPos;
- copyarray $HoF_LadderJLevel[@startPos], @HoF_LadderJLevelB[0], @limitPos;
- copyarray $HoF_LadderZeny[@startPos], @HoF_LadderZenyB[0], @limitPos;
- announce "[Hall of Fame] " + getarg(1) + " has made his/herself onto the No. " + @startPos + " ranking in Hall of Fame!", bc_all;
- }
- return;
-}
-
-function script printHallOfFame {
- if(getarg(0) == 1) {
- mes "[Hall of Fame] - Last Week's Rankings";
- for(set @loop, 0; @loop < $HoF_totalCount; set @loop, @loop + 1){
- mes "^ff0000";
- mes "Position No. " + (@loop + 1) + ":^0000ff";
- mes "+================================+";
- mes "^000000Name :" + $HoF_LadderNameO$[@loop];
- mes "BLvl :" + $HoF_LadderBLevelO[@loop];
- mes "JLvl :" + $HoF_LadderJLevelO[@loop];
- mes "Zeny :" + $HoF_LadderZenyO[@loop] + "^0000ff";
- mes "+================================+^000000";
- }
- } else {
- mes "[Hall of Fame] - Current Rankings";
- for(set @loop, 0; @loop < $HoF_totalCount; set @loop, @loop + 1){
- mes "^ff0000";
- mes "Position No. " + (@loop + 1) + ":^0000ff";
- mes "+================================+";
- mes "^000000Name :" + $HoF_LadderName$[@loop];
- mes "BLvl :" + $HoF_LadderBLevel[@loop];
- mes "JLvl :" + $HoF_LadderJLevel[@loop];
- mes "Zeny :" + $HoF_LadderZeny[@loop] + "^0000ff";
- mes "+================================+^000000";
- }
- }
- return;
-}
-
-prontera.gat,180,200,4 script Jury 109,{
- mes "[Jury]";
- mes "Good day. Would you like to view the Hall of Fame?";
- next;
- menu "Yes",L_OK,"No",L_QUIT;
-
-L_OK:
- mes "[Jury]";
- mes "Would you like to view the current or the past rankings?";
-
-L_MENU:
- next;
- menu "Current", L_CUR, "Past", -,"Nevermind",L_QUIT;
- callfunc "printHallOfFame",1;
- goto L_MENU;
-
-L_CUR:
- callfunc "printHallOfFame",0;
- goto L_MENU;
-
-L_QUIT:
- mes "[Jury]";
- mes "Have a nice day then.";
- close;
-
+//===== eAthena Script ======================================
+//= Hall of Fame
+//===========================================================
+//===== By ==================================================
+//= [Lance]
+//= Idea from emilylee78
+//===== Version =============================================
+//= 2.3 FINAL
+//===== Compatible With =====================================
+//= eAthena SVN and Freya SVN
+//===== Description =========================================
+//= A Hall of Fame framework. Will update the list on every
+//= login and logout in a safe manner.
+//=
+//= Usage: callfunc "printHallOfFame", $;
+//= $ - Can be either 0 or 1.
+//= 0 - Display the current rankings.
+//= 1 - Display last week's rankings.
+//= Note : Remember to put a close; after calling it.
+//===== Comments ============================================
+//= 1.0 - Initial beta release [Lance]
+//= 1.1 - Fixed typos. Optimized a teeny bit. [Lance]
+//= 1.2 - Bug fixes. [Lance]
+//= 1.3 - Added a more realistic shuffling. [Lance]
+//= 1.4 - Added Weekly Top 10 list. [Lance]
+//= 1.5 - Friggin typos =< + Better shuffling [Lance]
+//= 1.6 - Bugfixes [Lance]
+//= 1.7 - More bugfixes. Type mismatch =P [Lance]
+//= 2.0 - Exclude GMs and add recovery plan.
+//= Suggested by EvilPoringOfDooom. [Lance]
+//= 2.1 - Typo.. again.. T_T [Lance]
+//= 2.2 - Minor updates and added Jury [Lance]
+//= 2.3 - Utilizing eAthena's new scripting engine [Lance]
+//===========================================================
+
+prontera.gat,0,0,0 script OnPCLoginEvent -1,{
+ callfunc "HallOfFameInit";
+ end;
+
+OnInit:
+ // Total Number of Players in Hall of Fame
+ // =======================================
+ set $HoF_totalCount, 10;
+ // Reshuffle (Will affect perfomance) ====
+ set $HoF_reshuffle, 1;
+ // Minimum GM Lvl to be excluded from HoF=
+ set $HoF_minGMLvl, 99;
+ // Recovery Plan to Remove GMs ============
+ set $@HoF_recovery, 0;
+ // =======================================
+
+ set $HoF_totalCount, $HoF_totalCount - 1;
+ set $@FebruaryD, 28;
+ if((gettime(7) % 4) == 0) {
+ set $@FebruaryD, 29;
+ }
+ setarray $@MonthDayThing[1],31, $@FebruaryD,31,30,31,30,31,31,30,31,30,31;
+ set $@HoF_TimeUpdateD, $HoF_LastUpdateD;
+ set $@HoF_TimeUpdateM, $HoF_LastUpdateM;
+ set $@HoF_TimeUpdateY, $HoF_LastUpdateY;
+ // Time to do some maths
+ set $@TimeNowD, gettime(5);
+ set $@TimeNowM, gettime(6);
+ set $@TimeNowY, gettime(7);
+ // Debug Message --
+ debugmes "[Hall of Fame] Last Update is Year " + $@HoF_TimeUpdateY + " Month " + $@HoF_TimeUpdateM + " Day " + $@HoF_TimeUpdateD;
+ debugmes "[Hall of Fame] Today is Year " + $@TimeNowY + " Month " + $@TimeNowM + " Day " + $@TimeNowD;
+ if(($@TimeNowD - $@HoF_TimeUpdateD) < 0){
+ set $@TimeNowD, $@TimeNowD + $@MonthDayThing[$@TimeNowM];
+ set $@TimeNowM, $@TimeNowM - 1;
+ }
+ set $@GapD, $@TimeNowD - $@HoF_TimeUpdateD;
+ if(($@TimeNowM - $@HoF_TimeUpdateM) < 0){
+ set $@TimeNowM, $@TimeNowM + 12;
+ set $@TimeNowY, $@TimeNowY - 1;
+ }
+ set $@GapM, $@TimeNowM - $@HoF_TimeUpdateM;
+ set $@GapY, $@TimeNowY - $@HoF_TimeUpdateY;
+ debugmes "[Hall of Fame] Gap is " + $@GapY + " Years " + $@GapM + " Months " + $@GapD + " Days.";
+ if($@GapY > 0 || $@GapM > 0 || $@GapD >= 7) {
+ callfunc "hallOfFameReset"; // Phew..
+ }
+ end;
+
+OnClock0000:
+ set $HoF_UpdateCount, $HoF_UpdateCount + 1;
+ if($HoF_UpdateCount == 7) {
+ callfunc "hallOfFameReset";
+ }
+ end;
+}
+
+prontera.gat,0,0,0 script PCLogoutEvent -1,{
+ callfunc "HallOfFameInit";
+ end;
+}
+
+function script hallOfFameReset {
+ copyarray $HoF_LadderNameO$[0], $HoF_LadderName$[0], $HoF_totalCount;
+ copyarray $HoF_LadderBLevelO[0], $HoF_LadderBLevel[0], $HoF_totalCount;
+ copyarray $HoF_LadderJLevelO[0], $HoF_LadderJLevel[0], $HoF_totalCount;
+ copyarray $HoF_LadderZenyO[0], $HoF_LadderZeny[0], $HoF_totalCount;
+ set $@number, $HoF_totalCount + 1;
+ deletearray $HoF_LadderName$[0], $@number;
+ deletearray $HoF_LadderBLevel[0], $@number;
+ deletearray $HoF_LadderJLevel[0], $@number;
+ deletearray $HoF_LadderZeny[0], $@number;
+ set $HoF_LastUpdateD, gettime(5);
+ set $HoF_LastUpdateM, gettime(6);
+ set $HoF_LastUpdateY, gettime(7);
+ set $HoF_UpdateCount, 0;
+ debugmes "[Hall of Fame] System Reset Invoked!";
+ return;
+}
+
+function script HallOfFameInit {
+ if(getgmlevel() >= $HoF_minGMLvl && $@HoF_recovery != 1) {
+ set PCLogoutEvent, 0;
+ } else {
+ set PCLogoutEvent, 1;
+ callfunc "updateHallofFame", $HoF_reshuffle;
+ }
+ return;
+}
+
+function script updateHallofFame {
+ set @i, 0;
+ if(getarg(0) == 1){
+ goto L_ShuffleName;
+ }
+ if(BaseLevel >= $HoF_LadderBLevel[$HoF_totalCount]){
+ goto L_checkBase;
+ }
+ goto L_End;
+
+L_ShuffleName:
+ if($HoF_LadderName$[@i] == strcharinfo(0)) {
+ goto L_ShuffleScore;
+ }
+ if(@i == $HoF_totalCount) {
+ goto L_checkEntry;
+ }
+ set @i, @i + 1;
+ goto L_ShuffleName;
+
+L_ShuffleScore:
+ deletearray $HoF_LadderName$[@i],1;
+ deletearray $HoF_LadderZeny[@i],1;
+ deletearray $HoF_LadderJLevel[@i],1;
+ deletearray $HoF_LadderBLevel[@i],1;
+ goto L_ShuffleName;
+
+L_checkEntry:
+ if(getgmlevel() >= $HoF_minGMLvl){
+ end;
+ }
+ set @i, 0;
+ goto L_checkBase;
+
+L_checkBase:
+ if(BaseLevel >= $HoF_LadderBLevel[@i]) {
+ goto L_BaseOK;
+ } else {
+ goto L_Increment;
+ }
+
+L_BaseOK:
+ if(BaseLevel == $HoF_LadderBLevel[@i]){
+ goto L_BaseSameLoop;
+ } else {
+ goto L_NewEntry;
+ }
+
+L_BaseSameLoop:
+ if(JobLevel >= $HoF_LadderJLevel[@i]) {
+ goto L_JobOK;
+ } else if(Zeny >= $HoF_LadderZeny[@i]) {
+ goto L_ZenyOK;
+ }
+ goto L_Increment;
+
+L_JobOK:
+ if(JobLevel == $HoF_LadderJLevel[@i]) {
+ goto L_JobSame;
+ } else {
+ goto L_NewEntry;
+ }
+
+L_ZenyOK:
+ if(Zeny == $HoF_LadderZeny[@i]){
+ goto L_Increment;
+ } else {
+ goto L_NewEntry;
+ }
+
+L_JobSame:
+ if(Zeny >= $HoF_LadderZeny[@i]) {
+ goto L_ZenyOK;
+ } else {
+ goto L_Increment;
+ }
+
+L_NewEntry:
+ callfunc "hallOfFameNewEntry", @i, strcharinfo(0), BaseLevel, JobLevel, Zeny;
+ end;
+
+L_Increment:
+ if(@i == $HoF_totalCount) {
+ goto L_End;
+ } else {
+ set @i, @i + 1;
+ goto L_checkBase;
+ }
+
+L_End:
+ return;
+
+}
+
+
+function script hallOfFameNewEntry {
+ if(getarg(0) == 0 || getarg(1) != $HoF_LadderName$[getarg(0) - 1]) {
+ set @startPos, getarg(0);
+ copyarray @HoF_LadderNameB$[0], $HoF_LadderName$[@startPos], $HoF_totalCount;
+ copyarray @HoF_LadderBLevelB[0], $HoF_LadderBLevel[@startPos], $HoF_totalCount;
+ copyarray @HoF_LadderJLevelB[0], $HoF_LadderJLevel[@startPos], $HoF_totalCount;
+ copyarray @HoF_LadderZenyB[0], $HoF_LadderZeny[@startPos], $HoF_totalCount;
+ set $HoF_LadderName$[@startPos], getarg(1);
+ set $HoF_LadderBLevel[@startPos], getarg(2);
+ set $HoF_LadderJLevel[@startPos], getarg(3);
+ set $HoF_LadderZeny[@startPos], getarg(4);
+ set @startPos, @startPos + 1;
+ set @limitPos, $HoF_totalCount - @startPos;
+ copyarray $HoF_LadderName$[@startPos], @HoF_LadderNameB$[0], @limitPos;
+ copyarray $HoF_LadderBLevel[@startPos], @HoF_LadderBLevelB[0], @limitPos;
+ copyarray $HoF_LadderJLevel[@startPos], @HoF_LadderJLevelB[0], @limitPos;
+ copyarray $HoF_LadderZeny[@startPos], @HoF_LadderZenyB[0], @limitPos;
+ announce "[Hall of Fame] " + getarg(1) + " has made his/herself onto the No. " + @startPos + " ranking in Hall of Fame!", bc_all;
+ }
+ return;
+}
+
+function script printHallOfFame {
+ if(getarg(0) == 1) {
+ mes "[Hall of Fame] - Last Week's Rankings";
+ for(set @loop, 0; @loop < $HoF_totalCount; set @loop, @loop + 1){
+ mes "^ff0000";
+ mes "Position No. " + (@loop + 1) + ":^0000ff";
+ mes "+================================+";
+ mes "^000000Name :" + $HoF_LadderNameO$[@loop];
+ mes "BLvl :" + $HoF_LadderBLevelO[@loop];
+ mes "JLvl :" + $HoF_LadderJLevelO[@loop];
+ mes "Zeny :" + $HoF_LadderZenyO[@loop] + "^0000ff";
+ mes "+================================+^000000";
+ }
+ } else {
+ mes "[Hall of Fame] - Current Rankings";
+ for(set @loop, 0; @loop < $HoF_totalCount; set @loop, @loop + 1){
+ mes "^ff0000";
+ mes "Position No. " + (@loop + 1) + ":^0000ff";
+ mes "+================================+";
+ mes "^000000Name :" + $HoF_LadderName$[@loop];
+ mes "BLvl :" + $HoF_LadderBLevel[@loop];
+ mes "JLvl :" + $HoF_LadderJLevel[@loop];
+ mes "Zeny :" + $HoF_LadderZeny[@loop] + "^0000ff";
+ mes "+================================+^000000";
+ }
+ }
+ return;
+}
+
+prontera.gat,180,200,4 script Jury 109,{
+ mes "[Jury]";
+ mes "Good day. Would you like to view the Hall of Fame?";
+ next;
+ menu "Yes",L_OK,"No",L_QUIT;
+
+L_OK:
+ mes "[Jury]";
+ mes "Would you like to view the current or the past rankings?";
+
+L_MENU:
+ next;
+ menu "Current", L_CUR, "Past", -,"Nevermind",L_QUIT;
+ callfunc "printHallOfFame",1;
+ goto L_MENU;
+
+L_CUR:
+ callfunc "printHallOfFame",0;
+ goto L_MENU;
+
+L_QUIT:
+ mes "[Jury]";
+ mes "Have a nice day then.";
+ close;
+
} \ No newline at end of file
diff --git a/npc/custom/Lance/FR_MailSystem.c b/npc/custom/Lance/FR_MailSystem.c
index 8111f3dea..f0a6a4638 100644
--- a/npc/custom/Lance/FR_MailSystem.c
+++ b/npc/custom/Lance/FR_MailSystem.c
@@ -1,118 +1,118 @@
-//(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
-//( (c)2005 RagMods Modification Team presents )
-//( ______ __ __ )
-//( /\ _ \/\ \__/\ \ v 1.00.00 )
-//( __\ \ \_\ \ \ ,_\ \ \___ __ ___ __ )
-//( /'__`\ \ __ \ \ \/\ \ _ `\ /'__`\/' _ `\ /'__`\ )
-//( /\ __/\ \ \/\ \ \ \_\ \ \ \ \/\ __//\ \/\ \/\ \_\.\_ )
-//( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ )
-//( \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ )
-//( )
-//( -- [s] [c] [r] [i] [p] [t] [s] -- )
-//( _ _ _ _ _ _ _ _ _ _ _ _ _ )
-//( / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ )
-//( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) )
-//( \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ )
-//( )
-//( Advanced Fusion Maps (c) 2003-2005 The Fusion Project )
-//(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
-//===== eAthena Script ======================================
-//= Mail System (using built in mail function)
-//===========================================================
-//===== By ==================================================
-//= [Lance]
-//===== Version =============================================
-//= 1.0
-//===== Compatible With =====================================
-//= Any flavours of Athena SQL
-//===== Description =========================================
-//= Allows players to send and receive mails without GM lvl.
-//===== Comments ============================================
-//= 1.0 - Initial release [Lance]
-//===========================================================
-prontera.gat,143,171,3 script Messenger 738,1,1,{
- mes "[Messenger Deviruchi]";
- mes "Hiya! I'm the fastest messenger in Rune Midgard!";
- next;
- mes "[Messenger Deviruchi]";
- mes "I can send your friends messages even if he or she is offline!";
- next;
- mes "[Messenger Deviruchi]";
- mes "Wanna try?";
- menu "Yes", MENUSYS, "No", -;
- close;
-
-MENUSYS:
- next;
- mes "[Messenger Deviruchi]";
- mes "What can I do for ya?";
- emotion e_what;
- menu "Check Mail",L_CHECK,"Send Mail",L_SEND, "Leave", -;
- next;
- mes "[Messenger Deviruchi]";
- mes "Do come again!";
- emotion e_no1;
- close;
-
-L_CHECK:
- atcommand strcharinfo(0) + ":@listnewmail";
- menu "Read Mail", L_READ, "Check All Mails",CHKALLMAIL,"Send Mail",L_SEND, "Delete Mail", DELMAIL, "Back", MENUSYS;
- close;
-
-CHKALLMAIL:
- atcommand strcharinfo(0) + ":@listmail";
- menu "Read Mail", L_READ, "Delete Mail", DELMAIL, "Back", MENUSYS;
- close;
-
-L_READ:
- next;
- mes "[Messenger Deviruchi]";
- mes "Please tell me the message number you want to read.";
- input @msgnum;
- next;
- mes "[Messenger Deviruchi]";
- mes "Here it is!";
- emotion e_no1;
- atcommand strcharinfo(0) + ":@readmail " + @msgnum;
- menu "Reply Mail", L_SEND, "Back", MENUSYS;
- close;
-
-L_SEND:
- next;
- mes "[Messenger Deviruchi]";
- mes "Who do you want to send this message to?";
- input @rcpt$;
- next;
- mes "[Messenger Deviruchi]";
- mes "What message do you want to send to him?";
- input @body$;
- next;
- atcommand strcharinfo(0) + ":@sendmail " + @rcpt$ + " " + @body$;
- mes "[Messenger Deviruchi]";
- mes "All done!";
- emotion e_no1;
- menu "Send another mail", L_SEND, "Back", MENUSYS;
- close;
-
-DELMAIL:
- next;
- mes "[Messenger Deviruchi]";
- mes "Which message number do you want me to delete?";
- input @msgnum;
- next;
- mes "[Messenger Deviruchi]";
- mes "Are you sure you want to delete mail no. " + @msgnum + "?";
- menu "Yes",-,"No",DELMAIL, "Back", MENUSYS;
- atcommand strcharinfo(0) + ":@deletemail " + @msgnum;
- mes "[Messenger Deviruchi]";
- mes "All done!";
+//(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
+//( (c)2005 RagMods Modification Team presents )
+//( ______ __ __ )
+//( /\ _ \/\ \__/\ \ v 1.00.00 )
+//( __\ \ \_\ \ \ ,_\ \ \___ __ ___ __ )
+//( /'__`\ \ __ \ \ \/\ \ _ `\ /'__`\/' _ `\ /'__`\ )
+//( /\ __/\ \ \/\ \ \ \_\ \ \ \ \/\ __//\ \/\ \/\ \_\.\_ )
+//( \ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\ )
+//( \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/ )
+//( )
+//( -- [s] [c] [r] [i] [p] [t] [s] -- )
+//( _ _ _ _ _ _ _ _ _ _ _ _ _ )
+//( / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ )
+//( ( e | n | g | l | i | s | h ) ( A | t | h | e | n | a ) )
+//( \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ )
+//( )
+//( Advanced Fusion Maps (c) 2003-2005 The Fusion Project )
+//(=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=)
+//===== eAthena Script ======================================
+//= Mail System (using built in mail function)
+//===========================================================
+//===== By ==================================================
+//= [Lance]
+//===== Version =============================================
+//= 1.0
+//===== Compatible With =====================================
+//= Any flavours of Athena SQL
+//===== Description =========================================
+//= Allows players to send and receive mails without GM lvl.
+//===== Comments ============================================
+//= 1.0 - Initial release [Lance]
+//===========================================================
+prontera.gat,143,171,3 script Messenger 738,1,1,{
+ mes "[Messenger Deviruchi]";
+ mes "Hiya! I'm the fastest messenger in Rune Midgard!";
+ next;
+ mes "[Messenger Deviruchi]";
+ mes "I can send your friends messages even if he or she is offline!";
+ next;
+ mes "[Messenger Deviruchi]";
+ mes "Wanna try?";
+ menu "Yes", MENUSYS, "No", -;
+ close;
- emotion e_no1;
- menu "Delete another mail", DELMAIL, "Back", MENUSYS;
- close;
-
-OnTouch:
- npctalk "Relax.. I'm no bad guy..";
- emotion e_heh;
- end;
+MENUSYS:
+ next;
+ mes "[Messenger Deviruchi]";
+ mes "What can I do for ya?";
+ emotion e_what;
+ menu "Check Mail",L_CHECK,"Send Mail",L_SEND, "Leave", -;
+ next;
+ mes "[Messenger Deviruchi]";
+ mes "Do come again!";
+ emotion e_no1;
+ close;
+
+L_CHECK:
+ atcommand strcharinfo(0) + ":@listnewmail";
+ menu "Read Mail", L_READ, "Check All Mails",CHKALLMAIL,"Send Mail",L_SEND, "Delete Mail", DELMAIL, "Back", MENUSYS;
+ close;
+
+CHKALLMAIL:
+ atcommand strcharinfo(0) + ":@listmail";
+ menu "Read Mail", L_READ, "Delete Mail", DELMAIL, "Back", MENUSYS;
+ close;
+
+L_READ:
+ next;
+ mes "[Messenger Deviruchi]";
+ mes "Please tell me the message number you want to read.";
+ input @msgnum;
+ next;
+ mes "[Messenger Deviruchi]";
+ mes "Here it is!";
+ emotion e_no1;
+ atcommand strcharinfo(0) + ":@readmail " + @msgnum;
+ menu "Reply Mail", L_SEND, "Back", MENUSYS;
+ close;
+
+L_SEND:
+ next;
+ mes "[Messenger Deviruchi]";
+ mes "Who do you want to send this message to?";
+ input @rcpt$;
+ next;
+ mes "[Messenger Deviruchi]";
+ mes "What message do you want to send to him?";
+ input @body$;
+ next;
+ atcommand strcharinfo(0) + ":@sendmail " + @rcpt$ + " " + @body$;
+ mes "[Messenger Deviruchi]";
+ mes "All done!";
+ emotion e_no1;
+ menu "Send another mail", L_SEND, "Back", MENUSYS;
+ close;
+
+DELMAIL:
+ next;
+ mes "[Messenger Deviruchi]";
+ mes "Which message number do you want me to delete?";
+ input @msgnum;
+ next;
+ mes "[Messenger Deviruchi]";
+ mes "Are you sure you want to delete mail no. " + @msgnum + "?";
+ menu "Yes",-,"No",DELMAIL, "Back", MENUSYS;
+ atcommand strcharinfo(0) + ":@deletemail " + @msgnum;
+ mes "[Messenger Deviruchi]";
+ mes "All done!";
+
+ emotion e_no1;
+ menu "Delete another mail", DELMAIL, "Back", MENUSYS;
+ close;
+
+OnTouch:
+ npctalk "Relax.. I'm no bad guy..";
+ emotion e_heh;
+ end;
} \ No newline at end of file
diff --git a/npc/custom/Lance/FR_WeatherController.c b/npc/custom/Lance/FR_WeatherController.c
index db808d8af..b7c803876 100644
--- a/npc/custom/Lance/FR_WeatherController.c
+++ b/npc/custom/Lance/FR_WeatherController.c
@@ -1,403 +1,403 @@
-- script dayNight -1,{
- end;
-
-OnInit:
- if(gettime(3) > 7 && gettime(3) < 19) {
- goto L_Day;
- } else {
- goto L_Night;
- }
-
-L_Day:
- day;
- callfunc "RcloudFlag";
- end;
-
-L_Night:
- night;
- callfunc "cloudFlag";
- end;
-
-OnClock1900:
- goto L_Night;
-
-OnClock0700:
- goto L_Day;
-}
-
-function script cloudFlag {
-setmapflag "alb2trea.gat",mf_clouds;
-setmapflag "alberta.gat",mf_clouds;
-setmapflag "aldebaran.gat",mf_clouds;
-setmapflag "gef_fild00.gat",mf_clouds;
-setmapflag "gef_fild01.gat",mf_clouds;
-setmapflag "gef_fild02.gat",mf_clouds;
-setmapflag "gef_fild03.gat",mf_clouds;
-setmapflag "gef_fild04.gat",mf_clouds;
-setmapflag "gef_fild05.gat",mf_clouds;
-setmapflag "gef_fild06.gat",mf_clouds;
-setmapflag "gef_fild07.gat",mf_clouds;
-setmapflag "gef_fild08.gat",mf_clouds;
-setmapflag "gef_fild09.gat",mf_clouds;
-setmapflag "gef_fild10.gat",mf_clouds;
-setmapflag "gef_fild11.gat",mf_clouds;
-setmapflag "geffen.gat",mf_clouds;
-setmapflag "gl_church.gat",mf_clouds;
-setmapflag "gl_chyard.gat",mf_clouds;
-setmapflag "gl_knt01.gat",mf_clouds;
-setmapflag "gl_knt02.gat",mf_clouds;
-setmapflag "gl_step.gat",mf_clouds;
-setmapflag "glast_01.gat",mf_clouds;
-//setmapflag "hunter_1-1.gat",mf_clouds;
-//setmapflag "hunter_2-1.gat",mf_clouds;
-//setmapflag "hunter_3-1.gat",mf_clouds;
-setmapflag "izlude.gat",mf_clouds;
-setmapflag "job_thief1.gat",mf_clouds;
-//setmapflag "knight_1-1.gat",mf_clouds;
-//setmapflag "knight_2-1.gat",mf_clouds;
-//setmapflag "knight_3-1.gat",mf_clouds;
-setmapflag "mjolnir_01.gat",mf_clouds;
-setmapflag "mjolnir_02.gat",mf_clouds;
-setmapflag "mjolnir_03.gat",mf_clouds;
-setmapflag "mjolnir_04.gat",mf_clouds;
-setmapflag "mjolnir_05.gat",mf_clouds;
-setmapflag "mjolnir_06.gat",mf_clouds;
-setmapflag "mjolnir_07.gat",mf_clouds;
-setmapflag "mjolnir_08.gat",mf_clouds;
-setmapflag "mjolnir_09.gat",mf_clouds;
-setmapflag "mjolnir_10.gat",mf_clouds;
-setmapflag "mjolnir_11.gat",mf_clouds;
-setmapflag "mjolnir_12.gat",mf_clouds;
-setmapflag "moc_fild01.gat",mf_clouds;
-setmapflag "moc_fild02.gat",mf_clouds;
-setmapflag "moc_fild03.gat",mf_clouds;
-setmapflag "moc_fild04.gat",mf_clouds;
-setmapflag "moc_fild05.gat",mf_clouds;
-setmapflag "moc_fild06.gat",mf_clouds;
-setmapflag "moc_fild07.gat",mf_clouds;
-setmapflag "moc_fild08.gat",mf_clouds;
-setmapflag "moc_fild09.gat",mf_clouds;
-setmapflag "moc_fild10.gat",mf_clouds;
-setmapflag "moc_fild11.gat",mf_clouds;
-setmapflag "moc_fild12.gat",mf_clouds;
-setmapflag "moc_fild13.gat",mf_clouds;
-setmapflag "moc_fild14.gat",mf_clouds;
-setmapflag "moc_fild15.gat",mf_clouds;
-setmapflag "moc_fild16.gat",mf_clouds;
-setmapflag "moc_fild17.gat",mf_clouds;
-setmapflag "moc_fild18.gat",mf_clouds;
-setmapflag "moc_fild19.gat",mf_clouds;
-setmapflag "moc_pryd01.gat",mf_clouds;
-setmapflag "moc_pryd02.gat",mf_clouds;
-setmapflag "moc_pryd03.gat",mf_clouds;
-setmapflag "moc_pryd04.gat",mf_clouds;
-setmapflag "moc_pryd05.gat",mf_clouds;
-setmapflag "moc_pryd06.gat",mf_clouds;
-setmapflag "moc_prydb1.gat",mf_clouds;
-setmapflag "moc_ruins.gat",mf_clouds;
-setmapflag "morocc.gat",mf_clouds;
-//setmapflag "new_1-1.gat",mf_clouds;
-//setmapflag "new_1-2.gat",mf_clouds;
-//setmapflag "new_1-3.gat",mf_clouds;
-//setmapflag "new_1-4.gat",mf_clouds;
-setmapflag "pay_arche.gat",mf_clouds;
-setmapflag "pay_fild01.gat",mf_clouds;
-setmapflag "pay_fild02.gat",mf_clouds;
-setmapflag "pay_fild03.gat",mf_clouds;
-setmapflag "pay_fild04.gat",mf_clouds;
-setmapflag "pay_fild05.gat",mf_clouds;
-setmapflag "pay_fild06.gat",mf_clouds;
-setmapflag "pay_fild07.gat",mf_clouds;
-setmapflag "pay_fild08.gat",mf_clouds;
-setmapflag "pay_fild09.gat",mf_clouds;
-setmapflag "pay_fild10.gat",mf_clouds;
-setmapflag "pay_fild11.gat",mf_clouds;
-//setmapflag "priest_1-1.gat",mf_clouds;
-//setmapflag "priest_2-1.gat",mf_clouds;
-//setmapflag "priest_3-1.gat",mf_clouds;
-setmapflag "prontera.gat",mf_clouds;
-setmapflag "prt_are01.gat",mf_clouds;
-setmapflag "prt_fild00.gat",mf_clouds;
-setmapflag "prt_fild01.gat",mf_clouds;
-setmapflag "prt_fild02.gat",mf_clouds;
-setmapflag "prt_fild03.gat",mf_clouds;
-setmapflag "prt_fild04.gat",mf_clouds;
-setmapflag "prt_fild05.gat",mf_clouds;
-setmapflag "prt_fild06.gat",mf_clouds;
-setmapflag "prt_fild07.gat",mf_clouds;
-setmapflag "prt_fild08.gat",mf_clouds;
-setmapflag "prt_fild09.gat",mf_clouds;
-setmapflag "prt_fild10.gat",mf_clouds;
-setmapflag "prt_fild11.gat",mf_clouds;
-setmapflag "prt_maze01.gat",mf_clouds;
-setmapflag "prt_maze02.gat",mf_clouds;
-setmapflag "prt_maze03.gat",mf_clouds;
-setmapflag "prt_monk.gat",mf_clouds;
-setmapflag "cmd_fild01.gat",mf_clouds;
-setmapflag "cmd_fild02.gat",mf_clouds;
-setmapflag "cmd_fild03.gat",mf_clouds;
-setmapflag "cmd_fild04.gat",mf_clouds;
-setmapflag "cmd_fild05.gat",mf_clouds;
-setmapflag "cmd_fild06.gat",mf_clouds;
-setmapflag "cmd_fild07.gat",mf_clouds;
-setmapflag "cmd_fild08.gat",mf_clouds;
-setmapflag "cmd_fild09.gat",mf_clouds;
-setmapflag "cmd_in01.gat",mf_clouds;
-setmapflag "cmd_in02.gat",mf_clouds;
-setmapflag "gef_fild12.gat",mf_clouds;
-setmapflag "gef_fild13.gat",mf_clouds;
-setmapflag "gef_fild14.gat",mf_clouds;
-setmapflag "alde_gld.gat",mf_clouds;
-setmapflag "pay_gld.gat",mf_clouds;
-setmapflag "prt_gld.gat",mf_clouds;
-setmapflag "alde_alche.gat",mf_clouds;
-setmapflag "yuno.gat",mf_clouds;
-setmapflag "yuno_fild01.gat",mf_clouds;
-setmapflag "yuno_fild02.gat",mf_clouds;
-setmapflag "yuno_fild03.gat",mf_clouds;
-setmapflag "yuno_fild04.gat",mf_clouds;
-setmapflag "ama_fild01.gat",mf_clouds;
-setmapflag "ama_test.gat",mf_clouds;
-setmapflag "amatsu.gat",mf_clouds;
-setmapflag "gon_fild01.gat",mf_clouds;
-setmapflag "gon_test.gat",mf_clouds;
-setmapflag "gonryun.gat",mf_clouds;
-setmapflag "umbala.gat",mf_clouds;
-setmapflag "um_fild01.gat",mf_clouds;
-setmapflag "um_fild02.gat",mf_clouds;
-setmapflag "um_fild03.gat",mf_clouds;
-setmapflag "um_fild04.gat",mf_clouds;
-setmapflag "niflheim.gat",mf_clouds;
-setmapflag "nif_fild01.gat",mf_clouds;
-setmapflag "nif_fild02.gat",mf_clouds;
-setmapflag "nif_in.gat",mf_clouds;
-setmapflag "yggdrasil01.gat",mf_clouds;
-setmapflag "valkyrie.gat",mf_clouds;
-setmapflag "lou_fild01.gat",mf_clouds;
-setmapflag "louyang.gat",mf_clouds;
-setmapflag "nguild_gef.gat",mf_clouds;
-setmapflag "nguild_prt.gat",mf_clouds;
-setmapflag "nguild_pay.gat",mf_clouds;
-setmapflag "nguild_alde.gat",mf_clouds;
-setmapflag "jawaii.gat",mf_clouds;
-setmapflag "jawaii_in.gat",mf_clouds;
-setmapflag "gefenia01.gat",mf_clouds;
-setmapflag "gefenia02.gat",mf_clouds;
-setmapflag "gefenia03.gat",mf_clouds;
-setmapflag "gefenia04.gat",mf_clouds;
-setmapflag "payon.gat",mf_clouds;
-setmapflag "ayothaya.gat",mf_clouds;
-setmapflag "ayo_in01.gat",mf_clouds;
-setmapflag "ayo_in02.gat",mf_clouds;
-setmapflag "ayo_fild01.gat",mf_clouds;
-setmapflag "ayo_fild02.gat",mf_clouds;
-setmapflag "que_god01.gat",mf_clouds;
-setmapflag "que_god02.gat",mf_clouds;
-setmapflag "yuno_fild05.gat",mf_clouds;
-setmapflag "yuno_fild07.gat",mf_clouds;
-setmapflag "yuno_fild08.gat",mf_clouds;
-setmapflag "yuno_fild09.gat",mf_clouds;
-setmapflag "yuno_fild11.gat",mf_clouds;
-setmapflag "yuno_fild12.gat",mf_clouds;
-setmapflag "alde_tt02.gat",mf_clouds;
-setmapflag "einbech.gat",mf_clouds;
-setmapflag "einbroch.gat",mf_clouds;
-setmapflag "ein_fild06.gat",mf_clouds;
-setmapflag "ein_fild07.gat",mf_clouds;
-setmapflag "ein_fild08.gat",mf_clouds;
-setmapflag "ein_fild09.gat",mf_clouds;
-setmapflag "ein_fild10.gat",mf_clouds;
-setmapflag "que_sign01.gat",mf_clouds;
-setmapflag "ein_fild03.gat",mf_clouds;
-setmapflag "ein_fild04.gat",mf_clouds;
-setmapflag "lhz_fild02.gat",mf_clouds;
-setmapflag "lhz_fild03.gat",mf_clouds;
-return;
-}
-
-function script RcloudFlag {
-removemapflag "alb2trea.gat",mf_clouds;
-removemapflag "alberta.gat",mf_clouds;
-removemapflag "aldebaran.gat",mf_clouds;
-removemapflag "gef_fild00.gat",mf_clouds;
-removemapflag "gef_fild01.gat",mf_clouds;
-removemapflag "gef_fild02.gat",mf_clouds;
-removemapflag "gef_fild03.gat",mf_clouds;
-removemapflag "gef_fild04.gat",mf_clouds;
-removemapflag "gef_fild05.gat",mf_clouds;
-removemapflag "gef_fild06.gat",mf_clouds;
-removemapflag "gef_fild07.gat",mf_clouds;
-removemapflag "gef_fild08.gat",mf_clouds;
-removemapflag "gef_fild09.gat",mf_clouds;
-removemapflag "gef_fild10.gat",mf_clouds;
-removemapflag "gef_fild11.gat",mf_clouds;
-removemapflag "geffen.gat",mf_clouds;
-removemapflag "gl_church.gat",mf_clouds;
-removemapflag "gl_chyard.gat",mf_clouds;
-removemapflag "gl_knt01.gat",mf_clouds;
-removemapflag "gl_knt02.gat",mf_clouds;
-removemapflag "gl_step.gat",mf_clouds;
-removemapflag "glast_01.gat",mf_clouds;
-removemapflag "hunter_1-1.gat",mf_clouds;
-removemapflag "hunter_2-1.gat",mf_clouds;
-removemapflag "hunter_3-1.gat",mf_clouds;
-removemapflag "izlude.gat",mf_clouds;
-removemapflag "mjolnir_01.gat",mf_clouds;
-removemapflag "mjolnir_02.gat",mf_clouds;
-removemapflag "mjolnir_03.gat",mf_clouds;
-removemapflag "mjolnir_04.gat",mf_clouds;
-removemapflag "mjolnir_05.gat",mf_clouds;
-removemapflag "mjolnir_06.gat",mf_clouds;
-removemapflag "mjolnir_07.gat",mf_clouds;
-removemapflag "mjolnir_08.gat",mf_clouds;
-removemapflag "mjolnir_09.gat",mf_clouds;
-removemapflag "mjolnir_10.gat",mf_clouds;
-removemapflag "mjolnir_11.gat",mf_clouds;
-removemapflag "mjolnir_12.gat",mf_clouds;
-removemapflag "moc_fild01.gat",mf_clouds;
-removemapflag "moc_fild02.gat",mf_clouds;
-removemapflag "moc_fild03.gat",mf_clouds;
-removemapflag "moc_fild04.gat",mf_clouds;
-removemapflag "moc_fild05.gat",mf_clouds;
-removemapflag "moc_fild06.gat",mf_clouds;
-removemapflag "moc_fild07.gat",mf_clouds;
-removemapflag "moc_fild08.gat",mf_clouds;
-removemapflag "moc_fild09.gat",mf_clouds;
-removemapflag "moc_fild10.gat",mf_clouds;
-removemapflag "moc_fild11.gat",mf_clouds;
-removemapflag "moc_fild12.gat",mf_clouds;
-removemapflag "moc_fild13.gat",mf_clouds;
-removemapflag "moc_fild14.gat",mf_clouds;
-removemapflag "moc_fild15.gat",mf_clouds;
-removemapflag "moc_fild16.gat",mf_clouds;
-removemapflag "moc_fild17.gat",mf_clouds;
-removemapflag "moc_fild18.gat",mf_clouds;
-removemapflag "moc_fild19.gat",mf_clouds;
-removemapflag "moc_pryd01.gat",mf_clouds;
-removemapflag "moc_pryd02.gat",mf_clouds;
-removemapflag "moc_pryd03.gat",mf_clouds;
-removemapflag "moc_pryd04.gat",mf_clouds;
-removemapflag "moc_pryd05.gat",mf_clouds;
-removemapflag "moc_pryd06.gat",mf_clouds;
-removemapflag "moc_prydb1.gat",mf_clouds;
-removemapflag "moc_ruins.gat",mf_clouds;
-removemapflag "morocc.gat",mf_clouds;
-removemapflag "new_1-1.gat",mf_clouds;
-removemapflag "new_1-2.gat",mf_clouds;
-removemapflag "new_1-3.gat",mf_clouds;
-removemapflag "new_1-4.gat",mf_clouds;
-removemapflag "pay_arche.gat",mf_clouds;
-removemapflag "pay_fild01.gat",mf_clouds;
-removemapflag "pay_fild02.gat",mf_clouds;
-removemapflag "pay_fild03.gat",mf_clouds;
-removemapflag "pay_fild04.gat",mf_clouds;
-removemapflag "pay_fild05.gat",mf_clouds;
-removemapflag "pay_fild06.gat",mf_clouds;
-removemapflag "pay_fild07.gat",mf_clouds;
-removemapflag "pay_fild08.gat",mf_clouds;
-removemapflag "pay_fild09.gat",mf_clouds;
-removemapflag "pay_fild10.gat",mf_clouds;
-removemapflag "pay_fild11.gat",mf_clouds;
-removemapflag "priest_1-1.gat",mf_clouds;
-removemapflag "priest_2-1.gat",mf_clouds;
-removemapflag "priest_3-1.gat",mf_clouds;
-removemapflag "prontera.gat",mf_clouds;
-removemapflag "prt_are01.gat",mf_clouds;
-removemapflag "prt_fild00.gat",mf_clouds;
-removemapflag "prt_fild01.gat",mf_clouds;
-removemapflag "prt_fild02.gat",mf_clouds;
-removemapflag "prt_fild03.gat",mf_clouds;
-removemapflag "prt_fild04.gat",mf_clouds;
-removemapflag "prt_fild05.gat",mf_clouds;
-removemapflag "prt_fild06.gat",mf_clouds;
-removemapflag "prt_fild07.gat",mf_clouds;
-removemapflag "prt_fild08.gat",mf_clouds;
-removemapflag "prt_fild09.gat",mf_clouds;
-removemapflag "prt_fild10.gat",mf_clouds;
-removemapflag "prt_fild11.gat",mf_clouds;
-removemapflag "prt_maze01.gat",mf_clouds;
-removemapflag "prt_maze02.gat",mf_clouds;
-removemapflag "prt_maze03.gat",mf_clouds;
-removemapflag "prt_monk.gat",mf_clouds;
-removemapflag "cmd_fild01.gat",mf_clouds;
-removemapflag "cmd_fild02.gat",mf_clouds;
-removemapflag "cmd_fild03.gat",mf_clouds;
-removemapflag "cmd_fild04.gat",mf_clouds;
-removemapflag "cmd_fild05.gat",mf_clouds;
-removemapflag "cmd_fild06.gat",mf_clouds;
-removemapflag "cmd_fild07.gat",mf_clouds;
-removemapflag "cmd_fild08.gat",mf_clouds;
-removemapflag "cmd_fild09.gat",mf_clouds;
-removemapflag "gef_fild12.gat",mf_clouds;
-removemapflag "gef_fild13.gat",mf_clouds;
-removemapflag "gef_fild14.gat",mf_clouds;
-removemapflag "alde_gld.gat",mf_clouds;
-removemapflag "pay_gld.gat",mf_clouds;
-removemapflag "prt_gld.gat",mf_clouds;
-removemapflag "alde_alche.gat",mf_clouds;
-removemapflag "yuno.gat",mf_clouds;
-removemapflag "yuno_fild01.gat",mf_clouds;
-removemapflag "yuno_fild02.gat",mf_clouds;
-removemapflag "yuno_fild03.gat",mf_clouds;
-removemapflag "yuno_fild04.gat",mf_clouds;
-removemapflag "ama_fild01.gat",mf_clouds;
-removemapflag "ama_test.gat",mf_clouds;
-removemapflag "amatsu.gat",mf_clouds;
-removemapflag "gon_fild01.gat",mf_clouds;
-removemapflag "gon_in.gat",mf_clouds;
-removemapflag "gon_test.gat",mf_clouds;
-removemapflag "gonryun.gat",mf_clouds;
-removemapflag "umbala.gat",mf_clouds;
-removemapflag "um_fild01.gat",mf_clouds;
-removemapflag "um_fild02.gat",mf_clouds;
-removemapflag "um_fild03.gat",mf_clouds;
-removemapflag "um_fild04.gat",mf_clouds;
-removemapflag "niflheim.gat",mf_clouds;
-removemapflag "nif_fild01.gat",mf_clouds;
-removemapflag "nif_fild02.gat",mf_clouds;
-removemapflag "nif_in.gat",mf_clouds;
-removemapflag "yggdrasil01.gat",mf_clouds;
-removemapflag "valkyrie.gat",mf_clouds;
-removemapflag "lou_fild01.gat",mf_clouds;
-removemapflag "louyang.gat",mf_clouds;
-removemapflag "nguild_gef.gat",mf_clouds;
-removemapflag "nguild_prt.gat",mf_clouds;
-removemapflag "nguild_pay.gat",mf_clouds;
-removemapflag "nguild_alde.gat",mf_clouds;
-removemapflag "jawaii.gat",mf_clouds;
-removemapflag "jawaii_in.gat",mf_clouds;
-removemapflag "gefenia01.gat",mf_clouds;
-removemapflag "gefenia02.gat",mf_clouds;
-removemapflag "gefenia03.gat",mf_clouds;
-removemapflag "gefenia04.gat",mf_clouds;
-removemapflag "payon.gat",mf_clouds;
-removemapflag "ayothaya.gat",mf_clouds;
-removemapflag "ayo_in01.gat",mf_clouds;
-removemapflag "ayo_in02.gat",mf_clouds;
-removemapflag "ayo_fild01.gat",mf_clouds;
-removemapflag "ayo_fild02.gat",mf_clouds;
-removemapflag "que_god01.gat",mf_clouds;
-removemapflag "que_god02.gat",mf_clouds;
-removemapflag "yuno_fild05.gat",mf_clouds;
-removemapflag "yuno_fild07.gat",mf_clouds;
-removemapflag "yuno_fild08.gat",mf_clouds;
-removemapflag "yuno_fild09.gat",mf_clouds;
-removemapflag "yuno_fild11.gat",mf_clouds;
-removemapflag "yuno_fild12.gat",mf_clouds;
-removemapflag "alde_tt02.gat",mf_clouds;
-removemapflag "einbech.gat",mf_clouds;
-removemapflag "einbroch.gat",mf_clouds;
-removemapflag "ein_fild06.gat",mf_clouds;
-removemapflag "ein_fild07.gat",mf_clouds;
-removemapflag "ein_fild08.gat",mf_clouds;
-removemapflag "ein_fild09.gat",mf_clouds;
-removemapflag "ein_fild10.gat",mf_clouds;
-removemapflag "que_sign01.gat",mf_clouds;
-removemapflag "ein_fild03.gat",mf_clouds;
-removemapflag "ein_fild04.gat",mf_clouds;
-removemapflag "lhz_fild02.gat",mf_clouds;
-removemapflag "lhz_fild03.gat",mf_clouds;
-return;
-}
-
-
+- script dayNight -1,{
+ end;
+
+OnInit:
+ if(gettime(3) > 7 && gettime(3) < 19) {
+ goto L_Day;
+ } else {
+ goto L_Night;
+ }
+
+L_Day:
+ day;
+ callfunc "RcloudFlag";
+ end;
+
+L_Night:
+ night;
+ callfunc "cloudFlag";
+ end;
+
+OnClock1900:
+ goto L_Night;
+
+OnClock0700:
+ goto L_Day;
+}
+
+function script cloudFlag {
+setmapflag "alb2trea.gat",mf_clouds;
+setmapflag "alberta.gat",mf_clouds;
+setmapflag "aldebaran.gat",mf_clouds;
+setmapflag "gef_fild00.gat",mf_clouds;
+setmapflag "gef_fild01.gat",mf_clouds;
+setmapflag "gef_fild02.gat",mf_clouds;
+setmapflag "gef_fild03.gat",mf_clouds;
+setmapflag "gef_fild04.gat",mf_clouds;
+setmapflag "gef_fild05.gat",mf_clouds;
+setmapflag "gef_fild06.gat",mf_clouds;
+setmapflag "gef_fild07.gat",mf_clouds;
+setmapflag "gef_fild08.gat",mf_clouds;
+setmapflag "gef_fild09.gat",mf_clouds;
+setmapflag "gef_fild10.gat",mf_clouds;
+setmapflag "gef_fild11.gat",mf_clouds;
+setmapflag "geffen.gat",mf_clouds;
+setmapflag "gl_church.gat",mf_clouds;
+setmapflag "gl_chyard.gat",mf_clouds;
+setmapflag "gl_knt01.gat",mf_clouds;
+setmapflag "gl_knt02.gat",mf_clouds;
+setmapflag "gl_step.gat",mf_clouds;
+setmapflag "glast_01.gat",mf_clouds;
+//setmapflag "hunter_1-1.gat",mf_clouds;
+//setmapflag "hunter_2-1.gat",mf_clouds;
+//setmapflag "hunter_3-1.gat",mf_clouds;
+setmapflag "izlude.gat",mf_clouds;
+setmapflag "job_thief1.gat",mf_clouds;
+//setmapflag "knight_1-1.gat",mf_clouds;
+//setmapflag "knight_2-1.gat",mf_clouds;
+//setmapflag "knight_3-1.gat",mf_clouds;
+setmapflag "mjolnir_01.gat",mf_clouds;
+setmapflag "mjolnir_02.gat",mf_clouds;
+setmapflag "mjolnir_03.gat",mf_clouds;
+setmapflag "mjolnir_04.gat",mf_clouds;
+setmapflag "mjolnir_05.gat",mf_clouds;
+setmapflag "mjolnir_06.gat",mf_clouds;
+setmapflag "mjolnir_07.gat",mf_clouds;
+setmapflag "mjolnir_08.gat",mf_clouds;
+setmapflag "mjolnir_09.gat",mf_clouds;
+setmapflag "mjolnir_10.gat",mf_clouds;
+setmapflag "mjolnir_11.gat",mf_clouds;
+setmapflag "mjolnir_12.gat",mf_clouds;
+setmapflag "moc_fild01.gat",mf_clouds;
+setmapflag "moc_fild02.gat",mf_clouds;
+setmapflag "moc_fild03.gat",mf_clouds;
+setmapflag "moc_fild04.gat",mf_clouds;
+setmapflag "moc_fild05.gat",mf_clouds;
+setmapflag "moc_fild06.gat",mf_clouds;
+setmapflag "moc_fild07.gat",mf_clouds;
+setmapflag "moc_fild08.gat",mf_clouds;
+setmapflag "moc_fild09.gat",mf_clouds;
+setmapflag "moc_fild10.gat",mf_clouds;
+setmapflag "moc_fild11.gat",mf_clouds;
+setmapflag "moc_fild12.gat",mf_clouds;
+setmapflag "moc_fild13.gat",mf_clouds;
+setmapflag "moc_fild14.gat",mf_clouds;
+setmapflag "moc_fild15.gat",mf_clouds;
+setmapflag "moc_fild16.gat",mf_clouds;
+setmapflag "moc_fild17.gat",mf_clouds;
+setmapflag "moc_fild18.gat",mf_clouds;
+setmapflag "moc_fild19.gat",mf_clouds;
+setmapflag "moc_pryd01.gat",mf_clouds;
+setmapflag "moc_pryd02.gat",mf_clouds;
+setmapflag "moc_pryd03.gat",mf_clouds;
+setmapflag "moc_pryd04.gat",mf_clouds;
+setmapflag "moc_pryd05.gat",mf_clouds;
+setmapflag "moc_pryd06.gat",mf_clouds;
+setmapflag "moc_prydb1.gat",mf_clouds;
+setmapflag "moc_ruins.gat",mf_clouds;
+setmapflag "morocc.gat",mf_clouds;
+//setmapflag "new_1-1.gat",mf_clouds;
+//setmapflag "new_1-2.gat",mf_clouds;
+//setmapflag "new_1-3.gat",mf_clouds;
+//setmapflag "new_1-4.gat",mf_clouds;
+setmapflag "pay_arche.gat",mf_clouds;
+setmapflag "pay_fild01.gat",mf_clouds;
+setmapflag "pay_fild02.gat",mf_clouds;
+setmapflag "pay_fild03.gat",mf_clouds;
+setmapflag "pay_fild04.gat",mf_clouds;
+setmapflag "pay_fild05.gat",mf_clouds;
+setmapflag "pay_fild06.gat",mf_clouds;
+setmapflag "pay_fild07.gat",mf_clouds;
+setmapflag "pay_fild08.gat",mf_clouds;
+setmapflag "pay_fild09.gat",mf_clouds;
+setmapflag "pay_fild10.gat",mf_clouds;
+setmapflag "pay_fild11.gat",mf_clouds;
+//setmapflag "priest_1-1.gat",mf_clouds;
+//setmapflag "priest_2-1.gat",mf_clouds;
+//setmapflag "priest_3-1.gat",mf_clouds;
+setmapflag "prontera.gat",mf_clouds;
+setmapflag "prt_are01.gat",mf_clouds;
+setmapflag "prt_fild00.gat",mf_clouds;
+setmapflag "prt_fild01.gat",mf_clouds;
+setmapflag "prt_fild02.gat",mf_clouds;
+setmapflag "prt_fild03.gat",mf_clouds;
+setmapflag "prt_fild04.gat",mf_clouds;
+setmapflag "prt_fild05.gat",mf_clouds;
+setmapflag "prt_fild06.gat",mf_clouds;
+setmapflag "prt_fild07.gat",mf_clouds;
+setmapflag "prt_fild08.gat",mf_clouds;
+setmapflag "prt_fild09.gat",mf_clouds;
+setmapflag "prt_fild10.gat",mf_clouds;
+setmapflag "prt_fild11.gat",mf_clouds;
+setmapflag "prt_maze01.gat",mf_clouds;
+setmapflag "prt_maze02.gat",mf_clouds;
+setmapflag "prt_maze03.gat",mf_clouds;
+setmapflag "prt_monk.gat",mf_clouds;
+setmapflag "cmd_fild01.gat",mf_clouds;
+setmapflag "cmd_fild02.gat",mf_clouds;
+setmapflag "cmd_fild03.gat",mf_clouds;
+setmapflag "cmd_fild04.gat",mf_clouds;
+setmapflag "cmd_fild05.gat",mf_clouds;
+setmapflag "cmd_fild06.gat",mf_clouds;
+setmapflag "cmd_fild07.gat",mf_clouds;
+setmapflag "cmd_fild08.gat",mf_clouds;
+setmapflag "cmd_fild09.gat",mf_clouds;
+setmapflag "cmd_in01.gat",mf_clouds;
+setmapflag "cmd_in02.gat",mf_clouds;
+setmapflag "gef_fild12.gat",mf_clouds;
+setmapflag "gef_fild13.gat",mf_clouds;
+setmapflag "gef_fild14.gat",mf_clouds;
+setmapflag "alde_gld.gat",mf_clouds;
+setmapflag "pay_gld.gat",mf_clouds;
+setmapflag "prt_gld.gat",mf_clouds;
+setmapflag "alde_alche.gat",mf_clouds;
+setmapflag "yuno.gat",mf_clouds;
+setmapflag "yuno_fild01.gat",mf_clouds;
+setmapflag "yuno_fild02.gat",mf_clouds;
+setmapflag "yuno_fild03.gat",mf_clouds;
+setmapflag "yuno_fild04.gat",mf_clouds;
+setmapflag "ama_fild01.gat",mf_clouds;
+setmapflag "ama_test.gat",mf_clouds;
+setmapflag "amatsu.gat",mf_clouds;
+setmapflag "gon_fild01.gat",mf_clouds;
+setmapflag "gon_test.gat",mf_clouds;
+setmapflag "gonryun.gat",mf_clouds;
+setmapflag "umbala.gat",mf_clouds;
+setmapflag "um_fild01.gat",mf_clouds;
+setmapflag "um_fild02.gat",mf_clouds;
+setmapflag "um_fild03.gat",mf_clouds;
+setmapflag "um_fild04.gat",mf_clouds;
+setmapflag "niflheim.gat",mf_clouds;
+setmapflag "nif_fild01.gat",mf_clouds;
+setmapflag "nif_fild02.gat",mf_clouds;
+setmapflag "nif_in.gat",mf_clouds;
+setmapflag "yggdrasil01.gat",mf_clouds;
+setmapflag "valkyrie.gat",mf_clouds;
+setmapflag "lou_fild01.gat",mf_clouds;
+setmapflag "louyang.gat",mf_clouds;
+setmapflag "nguild_gef.gat",mf_clouds;
+setmapflag "nguild_prt.gat",mf_clouds;
+setmapflag "nguild_pay.gat",mf_clouds;
+setmapflag "nguild_alde.gat",mf_clouds;
+setmapflag "jawaii.gat",mf_clouds;
+setmapflag "jawaii_in.gat",mf_clouds;
+setmapflag "gefenia01.gat",mf_clouds;
+setmapflag "gefenia02.gat",mf_clouds;
+setmapflag "gefenia03.gat",mf_clouds;
+setmapflag "gefenia04.gat",mf_clouds;
+setmapflag "payon.gat",mf_clouds;
+setmapflag "ayothaya.gat",mf_clouds;
+setmapflag "ayo_in01.gat",mf_clouds;
+setmapflag "ayo_in02.gat",mf_clouds;
+setmapflag "ayo_fild01.gat",mf_clouds;
+setmapflag "ayo_fild02.gat",mf_clouds;
+setmapflag "que_god01.gat",mf_clouds;
+setmapflag "que_god02.gat",mf_clouds;
+setmapflag "yuno_fild05.gat",mf_clouds;
+setmapflag "yuno_fild07.gat",mf_clouds;
+setmapflag "yuno_fild08.gat",mf_clouds;
+setmapflag "yuno_fild09.gat",mf_clouds;
+setmapflag "yuno_fild11.gat",mf_clouds;
+setmapflag "yuno_fild12.gat",mf_clouds;
+setmapflag "alde_tt02.gat",mf_clouds;
+setmapflag "einbech.gat",mf_clouds;
+setmapflag "einbroch.gat",mf_clouds;
+setmapflag "ein_fild06.gat",mf_clouds;
+setmapflag "ein_fild07.gat",mf_clouds;
+setmapflag "ein_fild08.gat",mf_clouds;
+setmapflag "ein_fild09.gat",mf_clouds;
+setmapflag "ein_fild10.gat",mf_clouds;
+setmapflag "que_sign01.gat",mf_clouds;
+setmapflag "ein_fild03.gat",mf_clouds;
+setmapflag "ein_fild04.gat",mf_clouds;
+setmapflag "lhz_fild02.gat",mf_clouds;
+setmapflag "lhz_fild03.gat",mf_clouds;
+return;
+}
+
+function script RcloudFlag {
+removemapflag "alb2trea.gat",mf_clouds;
+removemapflag "alberta.gat",mf_clouds;
+removemapflag "aldebaran.gat",mf_clouds;
+removemapflag "gef_fild00.gat",mf_clouds;
+removemapflag "gef_fild01.gat",mf_clouds;
+removemapflag "gef_fild02.gat",mf_clouds;
+removemapflag "gef_fild03.gat",mf_clouds;
+removemapflag "gef_fild04.gat",mf_clouds;
+removemapflag "gef_fild05.gat",mf_clouds;
+removemapflag "gef_fild06.gat",mf_clouds;
+removemapflag "gef_fild07.gat",mf_clouds;
+removemapflag "gef_fild08.gat",mf_clouds;
+removemapflag "gef_fild09.gat",mf_clouds;
+removemapflag "gef_fild10.gat",mf_clouds;
+removemapflag "gef_fild11.gat",mf_clouds;
+removemapflag "geffen.gat",mf_clouds;
+removemapflag "gl_church.gat",mf_clouds;
+removemapflag "gl_chyard.gat",mf_clouds;
+removemapflag "gl_knt01.gat",mf_clouds;
+removemapflag "gl_knt02.gat",mf_clouds;
+removemapflag "gl_step.gat",mf_clouds;
+removemapflag "glast_01.gat",mf_clouds;
+removemapflag "hunter_1-1.gat",mf_clouds;
+removemapflag "hunter_2-1.gat",mf_clouds;
+removemapflag "hunter_3-1.gat",mf_clouds;
+removemapflag "izlude.gat",mf_clouds;
+removemapflag "mjolnir_01.gat",mf_clouds;
+removemapflag "mjolnir_02.gat",mf_clouds;
+removemapflag "mjolnir_03.gat",mf_clouds;
+removemapflag "mjolnir_04.gat",mf_clouds;
+removemapflag "mjolnir_05.gat",mf_clouds;
+removemapflag "mjolnir_06.gat",mf_clouds;
+removemapflag "mjolnir_07.gat",mf_clouds;
+removemapflag "mjolnir_08.gat",mf_clouds;
+removemapflag "mjolnir_09.gat",mf_clouds;
+removemapflag "mjolnir_10.gat",mf_clouds;
+removemapflag "mjolnir_11.gat",mf_clouds;
+removemapflag "mjolnir_12.gat",mf_clouds;
+removemapflag "moc_fild01.gat",mf_clouds;
+removemapflag "moc_fild02.gat",mf_clouds;
+removemapflag "moc_fild03.gat",mf_clouds;
+removemapflag "moc_fild04.gat",mf_clouds;
+removemapflag "moc_fild05.gat",mf_clouds;
+removemapflag "moc_fild06.gat",mf_clouds;
+removemapflag "moc_fild07.gat",mf_clouds;
+removemapflag "moc_fild08.gat",mf_clouds;
+removemapflag "moc_fild09.gat",mf_clouds;
+removemapflag "moc_fild10.gat",mf_clouds;
+removemapflag "moc_fild11.gat",mf_clouds;
+removemapflag "moc_fild12.gat",mf_clouds;
+removemapflag "moc_fild13.gat",mf_clouds;
+removemapflag "moc_fild14.gat",mf_clouds;
+removemapflag "moc_fild15.gat",mf_clouds;
+removemapflag "moc_fild16.gat",mf_clouds;
+removemapflag "moc_fild17.gat",mf_clouds;
+removemapflag "moc_fild18.gat",mf_clouds;
+removemapflag "moc_fild19.gat",mf_clouds;
+removemapflag "moc_pryd01.gat",mf_clouds;
+removemapflag "moc_pryd02.gat",mf_clouds;
+removemapflag "moc_pryd03.gat",mf_clouds;
+removemapflag "moc_pryd04.gat",mf_clouds;
+removemapflag "moc_pryd05.gat",mf_clouds;
+removemapflag "moc_pryd06.gat",mf_clouds;
+removemapflag "moc_prydb1.gat",mf_clouds;
+removemapflag "moc_ruins.gat",mf_clouds;
+removemapflag "morocc.gat",mf_clouds;
+removemapflag "new_1-1.gat",mf_clouds;
+removemapflag "new_1-2.gat",mf_clouds;
+removemapflag "new_1-3.gat",mf_clouds;
+removemapflag "new_1-4.gat",mf_clouds;
+removemapflag "pay_arche.gat",mf_clouds;
+removemapflag "pay_fild01.gat",mf_clouds;
+removemapflag "pay_fild02.gat",mf_clouds;
+removemapflag "pay_fild03.gat",mf_clouds;
+removemapflag "pay_fild04.gat",mf_clouds;
+removemapflag "pay_fild05.gat",mf_clouds;
+removemapflag "pay_fild06.gat",mf_clouds;
+removemapflag "pay_fild07.gat",mf_clouds;
+removemapflag "pay_fild08.gat",mf_clouds;
+removemapflag "pay_fild09.gat",mf_clouds;
+removemapflag "pay_fild10.gat",mf_clouds;
+removemapflag "pay_fild11.gat",mf_clouds;
+removemapflag "priest_1-1.gat",mf_clouds;
+removemapflag "priest_2-1.gat",mf_clouds;
+removemapflag "priest_3-1.gat",mf_clouds;
+removemapflag "prontera.gat",mf_clouds;
+removemapflag "prt_are01.gat",mf_clouds;
+removemapflag "prt_fild00.gat",mf_clouds;
+removemapflag "prt_fild01.gat",mf_clouds;
+removemapflag "prt_fild02.gat",mf_clouds;
+removemapflag "prt_fild03.gat",mf_clouds;
+removemapflag "prt_fild04.gat",mf_clouds;
+removemapflag "prt_fild05.gat",mf_clouds;
+removemapflag "prt_fild06.gat",mf_clouds;
+removemapflag "prt_fild07.gat",mf_clouds;
+removemapflag "prt_fild08.gat",mf_clouds;
+removemapflag "prt_fild09.gat",mf_clouds;
+removemapflag "prt_fild10.gat",mf_clouds;
+removemapflag "prt_fild11.gat",mf_clouds;
+removemapflag "prt_maze01.gat",mf_clouds;
+removemapflag "prt_maze02.gat",mf_clouds;
+removemapflag "prt_maze03.gat",mf_clouds;
+removemapflag "prt_monk.gat",mf_clouds;
+removemapflag "cmd_fild01.gat",mf_clouds;
+removemapflag "cmd_fild02.gat",mf_clouds;
+removemapflag "cmd_fild03.gat",mf_clouds;
+removemapflag "cmd_fild04.gat",mf_clouds;
+removemapflag "cmd_fild05.gat",mf_clouds;
+removemapflag "cmd_fild06.gat",mf_clouds;
+removemapflag "cmd_fild07.gat",mf_clouds;
+removemapflag "cmd_fild08.gat",mf_clouds;
+removemapflag "cmd_fild09.gat",mf_clouds;
+removemapflag "gef_fild12.gat",mf_clouds;
+removemapflag "gef_fild13.gat",mf_clouds;
+removemapflag "gef_fild14.gat",mf_clouds;
+removemapflag "alde_gld.gat",mf_clouds;
+removemapflag "pay_gld.gat",mf_clouds;
+removemapflag "prt_gld.gat",mf_clouds;
+removemapflag "alde_alche.gat",mf_clouds;
+removemapflag "yuno.gat",mf_clouds;
+removemapflag "yuno_fild01.gat",mf_clouds;
+removemapflag "yuno_fild02.gat",mf_clouds;
+removemapflag "yuno_fild03.gat",mf_clouds;
+removemapflag "yuno_fild04.gat",mf_clouds;
+removemapflag "ama_fild01.gat",mf_clouds;
+removemapflag "ama_test.gat",mf_clouds;
+removemapflag "amatsu.gat",mf_clouds;
+removemapflag "gon_fild01.gat",mf_clouds;
+removemapflag "gon_in.gat",mf_clouds;
+removemapflag "gon_test.gat",mf_clouds;
+removemapflag "gonryun.gat",mf_clouds;
+removemapflag "umbala.gat",mf_clouds;
+removemapflag "um_fild01.gat",mf_clouds;
+removemapflag "um_fild02.gat",mf_clouds;
+removemapflag "um_fild03.gat",mf_clouds;
+removemapflag "um_fild04.gat",mf_clouds;
+removemapflag "niflheim.gat",mf_clouds;
+removemapflag "nif_fild01.gat",mf_clouds;
+removemapflag "nif_fild02.gat",mf_clouds;
+removemapflag "nif_in.gat",mf_clouds;
+removemapflag "yggdrasil01.gat",mf_clouds;
+removemapflag "valkyrie.gat",mf_clouds;
+removemapflag "lou_fild01.gat",mf_clouds;
+removemapflag "louyang.gat",mf_clouds;
+removemapflag "nguild_gef.gat",mf_clouds;
+removemapflag "nguild_prt.gat",mf_clouds;
+removemapflag "nguild_pay.gat",mf_clouds;
+removemapflag "nguild_alde.gat",mf_clouds;
+removemapflag "jawaii.gat",mf_clouds;
+removemapflag "jawaii_in.gat",mf_clouds;
+removemapflag "gefenia01.gat",mf_clouds;
+removemapflag "gefenia02.gat",mf_clouds;
+removemapflag "gefenia03.gat",mf_clouds;
+removemapflag "gefenia04.gat",mf_clouds;
+removemapflag "payon.gat",mf_clouds;
+removemapflag "ayothaya.gat",mf_clouds;
+removemapflag "ayo_in01.gat",mf_clouds;
+removemapflag "ayo_in02.gat",mf_clouds;
+removemapflag "ayo_fild01.gat",mf_clouds;
+removemapflag "ayo_fild02.gat",mf_clouds;
+removemapflag "que_god01.gat",mf_clouds;
+removemapflag "que_god02.gat",mf_clouds;
+removemapflag "yuno_fild05.gat",mf_clouds;
+removemapflag "yuno_fild07.gat",mf_clouds;
+removemapflag "yuno_fild08.gat",mf_clouds;
+removemapflag "yuno_fild09.gat",mf_clouds;
+removemapflag "yuno_fild11.gat",mf_clouds;
+removemapflag "yuno_fild12.gat",mf_clouds;
+removemapflag "alde_tt02.gat",mf_clouds;
+removemapflag "einbech.gat",mf_clouds;
+removemapflag "einbroch.gat",mf_clouds;
+removemapflag "ein_fild06.gat",mf_clouds;
+removemapflag "ein_fild07.gat",mf_clouds;
+removemapflag "ein_fild08.gat",mf_clouds;
+removemapflag "ein_fild09.gat",mf_clouds;
+removemapflag "ein_fild10.gat",mf_clouds;
+removemapflag "que_sign01.gat",mf_clouds;
+removemapflag "ein_fild03.gat",mf_clouds;
+removemapflag "ein_fild04.gat",mf_clouds;
+removemapflag "lhz_fild02.gat",mf_clouds;
+removemapflag "lhz_fild03.gat",mf_clouds;
+return;
+}
+
+