Просмотр исходного кода

- Fixed a "player not attached" error in the Moscovia quest. (bugreport:3041)
- Fixed a race condition in the Arunafeltz quest blocking progress. (bugreport:2782)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13734 54d463be-8e91-2dee-dedb-b68131a5f0ec

brianluau 16 лет назад
Родитель
Сommit
9148464d0a
3 измененных файлов с 9 добавлено и 26 удалено
  1. 3 0
      npc/Changelog.txt
  2. 4 24
      npc/quests/quests_moscovia.txt
  3. 2 2
      npc/quests/quests_nameless.txt

+ 3 - 0
npc/Changelog.txt

@@ -1,5 +1,8 @@
 Date		Added
 ======
+2009/05/07
+	- Fixed a "player not attached" error in the Moscovia quest. (bugreport:3041) [brianluau]
+	- Fixed a race condition in the Arunafeltz quest blocking progress. (bugreport:2782)
 2009/05/04
 	- Added a missing zeny check in the Jawaii Bartender. (bugreport:2897) [brianluau]
 	- Added a missing 'close' in the Mage quest Bookshelf. (bugreport:2873)

+ 4 - 24
npc/quests/quests_moscovia.txt

@@ -3,7 +3,7 @@
 //===== By: ================================================== 
 //= Kisuka
 //===== Current Version: ===================================== 
-//= 1.1
+//= 1.2
 //===== Compatible With: ===================================== 
 //= eAthena SVN
 //===== Description: ========================================= 
@@ -13,6 +13,7 @@
 //===== Additional Comments: ================================= 
 //= 1.0 First version. [Kisuka]
 //= 1.1 Small fixes on The Moving Island. [Kisuka]
+//= 1.2 Fixed a "player not attached" error. [brianluau]
 //============================================================ 
 
 //============================================================================
@@ -3136,7 +3137,8 @@ mosk_fild01,86,104,3	script	Aged Stranger#npc	963,{
 		mes "only his own.-";
 		set mos_whale_edq,14;
 		close2;
-		donpcevent "#Island Control Tower::OnEnable";
+		sleep2 20000;
+		set mos_whale_edq,15;
 		end;
 	}
 	else if (mos_whale_edq == 14) {
@@ -4969,28 +4971,6 @@ OnTimer300000:
 	end;
 }
 
-mosk_fild01,21,21,0	script	#Island Control Tower	-1,{
-OnInit:
-	disablenpc "#Island Control Tower";
-	stopnpctimer;
-	end;
-
-OnEnable:
-	enablenpc "#Island Control Tower";
-	initnpctimer;
-	end;
-
-OnDisable:	
-	disablenpc "#Island Control Tower";
-	stopnpctimer;
-	end;
-
-OnTimer20000:
-	set mos_whale_edq,15;
-	disablenpc "#Island Control Tower";
-	end;
-}
-
 //============================================================================
 // Help Mikhail
 //============================================================================

+ 2 - 2
npc/quests/quests_nameless.txt

@@ -3,7 +3,7 @@
 //===== By: ================================================== 
 //= L0ne_W0lf
 //===== Current Version: ===================================== 
-//= 2.0
+//= 2.1
 //===== Compatible With: ===================================== 
 //= eAthena SVN
 //===== Description: ========================================= 
@@ -54,6 +54,7 @@
 //=     moved OnMyMobDead for access quest to a different NPC.
 //= 1.9 Fixed mapwarp warping to disabled map. [L0ne_W0lf]
 //= 2.0 Removed duplicate dialog. [L0ne_W0lf]
+//= 2.1 Fixed a race condition blocking progress. [brianluau]
 //============================================================ 
 
 // Nameless Island and Cursed Monestary Access Quest
@@ -2329,7 +2330,6 @@ OnTouch:
 		set .@nawara,rand(1,10);
 		if (.@nawara < 5) {
 			hideoffnpc "Foreign Merchant#aru2";
-			set aru_em,6;
 		}
 		else {
 			set aru_em,2;