From 17f2f4fac7588cef7e34adbe6a9cd501e8b24b05 Mon Sep 17 00:00:00 2001 From: Lupus Date: Tue, 24 Oct 2006 10:12:06 +0000 Subject: removed unused map locations. freed some RAM, fixed Novice Grounds, JobQ warps git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9052 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/Changelog.txt | 3 + npc/custom/Lance/FR_WeatherController.c | 18 +-- npc/jobs/novice/novice.txt | 204 ++++++++------------------------ npc/warps/other/jobquests.txt | 27 +---- 4 files changed, 62 insertions(+), 190 deletions(-) (limited to 'npc') diff --git a/npc/Changelog.txt b/npc/Changelog.txt index cc21cd73f..dede7b011 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -34,6 +34,9 @@ KarLaeda Date Added ====== 10/24 + * Updated Novie Training Grounds: typos, bugs, removed extra maps, duplicates [Lupus] + - Removed some unused job-quest map aliases to free some RAM. Thanks to theultramage for pointing it out. + !!!WARNING!!! Wipe your memo db. Map indexes have been shifted. * Added official Gonryun Power Arena [KarLaeda] * Removed 2nd entrance warp to Novice Geffen Castle [Lupus] - minor fixes in Novice Exchanger diff --git a/npc/custom/Lance/FR_WeatherController.c b/npc/custom/Lance/FR_WeatherController.c index dcc3dd31a..098a2c039 100644 --- a/npc/custom/Lance/FR_WeatherController.c +++ b/npc/custom/Lance/FR_WeatherController.c @@ -48,14 +48,14 @@ 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 "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 "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; @@ -112,9 +112,9 @@ 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 "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; diff --git a/npc/jobs/novice/novice.txt b/npc/jobs/novice/novice.txt index aaa971bcd..007a8618a 100644 --- a/npc/jobs/novice/novice.txt +++ b/npc/jobs/novice/novice.txt @@ -1,9 +1,9 @@ //===== eAthena Script ======================================= -//= Ep 8.5+ Novice Training Grounds +//= Ep 9+ Novice Training Grounds //===== By: ================================================== //= Dr.Evil & MasterOfMuppets //===== Current Version: ===================================== -//= 1.4 +//= 1.5 //===== Compatible With: ===================================== //= eAthena SVN 3422+(Requires jA Script System) //===== Description: ========================================= @@ -16,6 +16,7 @@ //= 1.2 Removed Duplicates [Silent] //= 1.3 Removed Duplicates [Toms] //= 1.4 Added Kafra Free Cart Tickets, as in official one [Lupus] +//= 1.5 Fixed warps, removed map duplicates, typos [Lupus] //============================================================ //==================================================================== @@ -24,13 +25,13 @@ //Bulletin Board new_1-1.gat,66,114,4 script Bulletin Board 111,{ mes "^FF0000=================================^000000"; - mes "^FF0000 ==^000000 ^E40CAA[Welcome] ^CC0000to^FF9000Training ^0000FFGrounds^E40CAA [Welcome] ^FF0000==^000000"; + mes "^FF0000 ==^000000 ^E40CAA[Welcome] ^CC0000to^FF9000Training ^0000FFGrounds^FF0000==^000000"; mes "^FF0000=================================^000000"; close; } new_1-1.gat,53,114,4 script Shion 727,{ - if(BaseJob != Job_Novice || Upper==1) goto L_Fail; + if(BaseJob != Job_Novice || Upper) goto L_Fail; switch (NEW_MES_FLAG0) { case 0: mes "[Shion]"; mes "Hello there~"; @@ -239,7 +240,7 @@ new_1-1.gat,144,107,2 script Guard#02 105,{ //Receptionist new_1-2.gat,100,29,4 script Receptionist 86,{ - if(BaseJob != Job_Novice || Upper==1) goto L_Fail; + if(BaseJob != Job_Novice || Upper) goto L_Fail; mes "[Training Grounds Receptionist]"; mes "Welcome!"; mes "You are at the entrance"; @@ -295,7 +296,7 @@ L_loop: } end; case 3: mes "[Training Grounds Receptionist]"; - mes "This training grounds was established in order to provide useful information to new players of Ragnarok Online by the Rune-Midgarts Kingdom's Board of Education."; + mes "This training grounds was established in order to provide useful information to new players of Ragnarok Online by the Rune-Midgards Kingdom's Board of Education."; next; mes "[Training Grounds Receptionist]"; mes "The training course is organized into two parts: the Basic Knowledge classes, and Field Combat training."; @@ -438,7 +439,7 @@ new_1-2.gat,99,105,4 script Interfaces Instructor 751,{ next; if ( select("What? No.","Yes, please send me!") == 1 ) { mes "[Chris]"; - mes "Then, find me later when you need me.."; + mes "Then, find me later when you need me."; close; } else { mes "[Chris]"; @@ -456,7 +457,7 @@ new_1-2.gat,99,105,4 script Interfaces Instructor 751,{ mes "Do you need my help?"; mes "Can I see your application?"; mes "Hmm..."; - mes "You didn't take the skill lectures."; + mes "You didn't take the items lectures."; mes "The Item Instructor is on my rightside."; next; switch( select("Thanks!","Lectures are boring.","Cancel") ) { @@ -474,7 +475,7 @@ new_1-2.gat,99,105,4 script Interfaces Instructor 751,{ next; if ( select("What? No.","Yes, please send me!") == 1 ) { mes "[Chris]"; - mes "Then, find me later when you need me.."; + mes "Then, find me later when you need me."; close; } else { mes "[Chris]"; @@ -671,7 +672,7 @@ new_1-2.gat,83,111,4 script Skill Instructor 753,{ mes "You've finished all the courses."; mes "Ah, you came back to see me"; mes "because I am so nice."; - mes "is it right?"; + mes "Is it right?"; mes "have you met the Assistants?"; next; switch( select("Send me to the next course.","Assistants?","I want to go to town.") ) { @@ -714,7 +715,7 @@ new_1-2.gat,83,111,4 script Skill Instructor 753,{ mes "Make a right from here and go straight,"; mes "you will see her."; mes "HaHaHa!"; - mes "why don't you hurry up to meet"; + mes "Why don't you hurry up to meet"; mes "her?"; close; } @@ -730,7 +731,7 @@ L_battle: } new_1-2.gat,115,111,4 script Item Instructor 726,{ -disable_items; + disable_items; if (!(NEW_MES_FLAG3)) { mes "[Alice]"; mes "Hmm... I am so bored."; @@ -868,7 +869,7 @@ disable_items; mes "Shecil will be dissapointed."; mes "Why don't you go meet her?"; next; - menu "yes, I will meet her.",-,"Boring, I want to go to Practical Course.",L_battle1,"What do I have todo to goto town?",L_kafra; + menu "Yes, I will meet her.",-,"Boring, I want to go to Practical Course.",L_battle1,"How to get to town?",L_kafra; mes "[Alice]"; mes "It's a good idea."; mes "Shecil is on the left side of the hall."; @@ -964,7 +965,7 @@ new_1-2.gat,118,108,4 script Kafra Employee 94,{ mes "I see, you must want to teleport to a town in Rune-Midgard imediately. First, let me briefly inform you about the different towns and cities in Ragnarok."; next; mes "[Kafra Employee]"; - mes "Prontera is the capital of the Rune-Midgarts kingdom, and its satellite, Izlude, is closeby."; + mes "Prontera is the capital of the Rune-Midgards kingdom, and its satellite, Izlude, is closeby."; next; mes "[Kafra Employee]"; mes "^996633Morroc^000000 is in the desert. It's the town where you can change your job to the Thief and Assassin classes."; @@ -1101,6 +1102,7 @@ L_loop: if (!(NEW_JOBLVUP)) { set NEW_JOBLVUP,1; set JobExp,JobExp+151; + getitem 7059,5; } mes "Remember though, that in the case of Equipment, each item takes up one Inventory Slot. The maximum number of items that can be placed in Kafra Storage is 30,000."; break; @@ -1115,6 +1117,10 @@ L_loop: mes "[Kafra Employee]"; mes "We thank our valued customers for their great support and continue to provide them with the best"; mes "of service."; + if (!(NEW_WARPTICKET)) { + set NEW_WARPTICKET,1; + getitem 7060,5; + } break; case 4: mes "[Kafra Employee]"; mes "The Kafra Corporation"; @@ -1154,8 +1160,9 @@ L_prewarp: getitem 2112,1; getitem 601,10; getitem 602,2; - getitem 7059,5; - getitem 7060,5; + if(!NEW_JOBLVUP) getitem 7059,5; + if(!NEW_WARPTICKET) getitem 7060,5; + //don't give Cart Tickets } set NEW_MES_FLAG0,0; set NEW_MES_FLAG1,0; @@ -1167,6 +1174,7 @@ L_prewarp: set NEW_LVUP1,0; set NEW_JOBLVUP,0; set NEW_CARTTICKET,0; + set NEW_WARPTICKET,0; set NEW_ADVSUIT,0; return; } @@ -2030,11 +2038,7 @@ new_1-2.gat,38,182,4 script Helper 92,{ percentheal 100,100; } close2; - switch ( rand(3) ) { - case 0: warp "new_1-3.gat",96,21; break; - case 1: warp "new_2-3.gat",96,21; break; - case 2: warp "new_3-3.gat",96,21; - } + warp "new_1-3.gat",96,21; end; } else { mes "[Kane]"; @@ -2354,8 +2358,8 @@ L_equip: return; } -//Training Center Employee functions -function script training_personnel { +//Training Center Employee +new_1-3.gat,95,30,4 script Training Center Employee#1 84,{ mes "[Hoffman]"; mes "Hey there~"; mes "I'm here to provide"; @@ -2379,128 +2383,35 @@ function script training_personnel { mes "They're not impossible for"; mes "Novices. So would you"; mes "like to try?"; - next; - return; -} -function script training_personnel0 { - mes "[Hoffman]"; - mes "Hmmm...?"; - mes "Are you worried about going"; - mes "to more challenging places? That's"; - mes "understandable, since you're still"; - mes "a new adventurer. Good luck~"; close; - return; -} -function script training_personnel1 { - mes "[Hoffman]"; - mes "Hmmm...?"; - mes "Are you worried about going"; - mes "to more challenging places? That's"; - mes "understandable, since you're still"; - mes "a new adventurer. Good luck~"; - close2; - warp "new_1-3.gat",96,21; - return; -} -function script training_personnel2 { - mes "[Hoffman]"; - mes "Hmmm...?"; - mes "Are you worried about going"; - mes "to more challenging places? That's"; - mes "understandable, since you're still"; - mes "a new adventurer. Good luck~"; - close2; - warp "new_" + rand(2,3) + "-3.gat",96,21; - return; -} -function script training_personnel3 { - mes "[Hoffman]"; - mes "You must like"; - mes "rough challenges,"; - mes "don't you? Please"; - mes "be careful, it can get"; - mes "pretty difficult..."; - close2; - warp "new_" + rand(4,5) + "-3.gat",96,21; - return; } -new_1-3.gat,95,30,4 script Training Center Employee::TrainingCenterEmploye#1 84,{ - callfunc "training_personnel"; - switch( select("I don't want a challenge~","I wanna fight tough monsters!","Cancel.") ) { - case 1: callfunc "training_personnel2"; break; - case 2: callfunc "training_personnel3"; break; - case 3: callfunc "training_personnel0"; - } -} -new_2-3.gat,95,30,4 script Training Center Employee::TrainingCenterEmploye#2 84,{ - callfunc "training_personnel"; - switch( select("I don't want a challenge~","I wanna fight tough monsters!","Cancel.") ) { - case 1: callfunc "training_personnel1"; break; - case 2: callfunc "training_personnel3"; break; - case 3: callfunc "training_personnel0"; - } -} -new_3-3.gat,95,30,4 script Training Center Employee::TrainingCenterEmploye#3 84,{ - callfunc "training_personnel"; - switch( select("I don't want a challenge~","I wanna fight tough monsters!","Cancel.") ) { - case 1: callfunc "training_personnel1"; break; - case 2: callfunc "training_personnel3"; break; - case 3: callfunc "training_personnel0"; - } -} -new_4-3.gat,95,30,4 script Training Center Employee::TrainingCenterEmploye#4 84,{ - callfunc "training_personnel"; - switch( select("I don't want a challenge~","I wanna fight tough monsters!","Cancel.") ) { - case 1: callfunc "training_personnel1"; break; - case 2: callfunc "training_personnel2"; break; - case 3: callfunc "training_personnel0"; - } -} -new_5-3.gat,95,30,4 script Training Center Employee::TrainingCenterEmploye#5 84,{ - callfunc "training_personnel"; - switch( select("I don't want a challenge~","I wanna fight tough monsters!","Cancel.") ) { - case 1: callfunc "training_personnel1"; break; - case 2: callfunc "training_personnel2"; break; - case 3: callfunc "training_personnel0"; - } -} - -- script supervision 85,{ +new_1-3.gat,96,174,4 script Keyman#1 85,{ mes "[Keyman]"; mes "Hmmm!"; mes "You have practised a lot, would you like to go on with further training?"; next; - menu "Yes",L1,"No",L2; -L1: mes "[Keyman]"; + if(select("Yes","No")==1){ + mes "[Keyman]"; mes "Don't forget about everything you've learnt here. Have a nice trip."; - next; - warp "new_1-4.gat",99,10; close2; warp "new_1-4.gat",99,10; end; -L2: mes "[Keyman]"; - mes "So you want to stay here longer? Continue training, and train hard!"; - close; + } + mes "[Keyman]"; + mes "So you want to stay here longer? Continue training, and train hard!"; + close; } -new_1-3.gat,96,174,4 duplicate(supervision) Petugas Pemeriksa#01 85 -new_2-3.gat,96,174,4 duplicate(supervision) Petugas Pemeriksa#02 85 -new_3-3.gat,96,174,4 duplicate(supervision) Petugas Pemeriksa#03 85 -new_4-3.gat,96,174,4 duplicate(supervision) Petugas Pemeriksa#04 85 -new_5-3.gat,96,174,4 duplicate(supervision) Petugas Pemeriksa#05 85 //Novice Instructor new_1-4.gat,91,22,4 script Novice Instructor 57,{ mes "[Bruce]"; mes "You have come from far away."; mes "Thank you for coming here"; - if(Sex == 1) goto L_FEMALE; - mes "Mr '"+strcharinfo(0)+"'"; - goto L_CONT; -L_FEMALE: - mes "Ms '"+strcharinfo(0)+"'"; -L_CONT: + if(sex) + mes "Mr '"+strcharinfo(0)+"'"; + else + mes "Ms '"+strcharinfo(0)+"'"; mes "It's nice to meet you."; mes "My name is Bruce, and I come"; mes "from Rune-Midgard."; @@ -3492,6 +3403,7 @@ L_cleararg: set NEW_JOBLVUP,0; set NEW_GETITEM,0; set NEW_CARTTICKET,0; + set NEW_WARPTICKET,0; set NEW_ADVSUIT,0; set NOV_3_SWORDMAN,0; set NOV_3_ARCHER,0; @@ -3503,37 +3415,17 @@ L_cleararg: } // Training Ground Mobs -// new_1-3.gat new_1-3.gat,0,0,0,0 monster Fabre 1184,5,0,0,0 new_1-3.gat,0,0,0,0 monster Poring 1002,10,0,0,0 new_1-3.gat,0,0,0,0 monster ChonChon 1011,10,0,0,0 new_1-3.gat,0,0,0,0 monster Lunatic 1063,10,0,0,0 new_1-3.gat,0,0,0,0 monster Drops 1113,10,0,0,0 - -// new_2-3.gat -new_2-3.gat,0,0,0,0 monster Condor 1009,10,0,0,0 -new_2-3.gat,0,0,0,0 monster Willow 1010,10,0,0,0 -new_2-3.gat,0,0,0,0 monster Roda Frog 1012,10,0,0,0 -new_2-3.gat,0,0,0,0 monster Shell Picky 1050,10,0,0,0 -new_2-3.gat,0,0,0,0 monster Fabre 1184,5,0,0,0 - -// new_3-3.gat -new_3-3.gat,0,0,0,0 monster Condor 1009,10,0,0,0 -new_3-3.gat,0,0,0,0 monster Willow 1010,10,0,0,0 -new_3-3.gat,0,0,0,0 monster Roda Frog 1012,10,0,0,0 -new_3-3.gat,0,0,0,0 monster Shell Picky 1050,10,0,0,0 -new_3-3.gat,0,0,0,0 monster Fabre 1184,5,0,0,0 - -// new_4-3.gat -new_4-3.gat,0,0,0,0 monster Spore 1014,10,0,0,0 -new_4-3.gat,0,0,0,0 monster Thief Bug Larva 1051,10,0,0,0 -new_4-3.gat,0,0,0,0 monster Rocker 1052,10,0,0,0 -new_4-3.gat,0,0,0,0 monster Thief Bug Female 1017,10,0,0,0 -new_4-3.gat,0,0,0,0 monster Fabre 1184,5,0,0,0 - -// new_5-3.gat -new_5-3.gat,0,0,0,0 monster Spore 1014,10,0,0,0 -new_5-3.gat,0,0,0,0 monster Thief Bug Larva 1051,10,0,0,0 -new_5-3.gat,0,0,0,0 monster Rocker 1052,10,0,0,0 -new_5-3.gat,0,0,0,0 monster Thief Bug Female 1017,10,0,0,0 -new_5-3.gat,0,0,0,0 monster Fabre 1184,5,0,0,0 +// Unsure about the following mobs +new_1-3.gat,0,0,0,0 monster Condor 1009,2,0,0,0 +new_1-3.gat,0,0,0,0 monster Willow 1010,2,0,0,0 +new_1-3.gat,0,0,0,0 monster Roda Frog 1012,2,0,0,0 +new_1-3.gat,0,0,0,0 monster Shell Picky 1050,2,0,0,0 +new_1-3.gat,0,0,0,0 monster Spore 1014,1,0,0,0 +new_1-3.gat,0,0,0,0 monster Thief Bug Larva 1051,1,0,0,0 +new_1-3.gat,0,0,0,0 monster Rocker 1052,1,0,0,0 +new_1-3.gat,0,0,0,0 monster Thief Bug Female 1017,1,0,0,0 diff --git a/npc/warps/other/jobquests.txt b/npc/warps/other/jobquests.txt index 734a87a99..47bc38732 100644 --- a/npc/warps/other/jobquests.txt +++ b/npc/warps/other/jobquests.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= Athena (1.0) //===== Current Version: ===================================== -//= 1.3b +//= 1.4a //===== Compatible With: ===================================== //= Any Athena Version; RO Version Ep4+ //===== Description: ========================================= @@ -23,24 +23,13 @@ //============================================================================== //Novice //============================================================================== -//new_1-1.gat,148,112,0 warp new11 2,3,new_1-2.gat,100,9 -//new_1-1.gat,166,112,0 warp new12 2,2,new_1-2.gat,100,153 -//new_1-2.gat,100,150,0 warp new12-1 2,1,new_1-1.gat,162,112 -//new_1-1.gat,169,75,0 warp new13 2,2,new_1-2.gat,182,163 -//new_1-2.gat,182,159,0 warp new13-1 2,2,new_1-1.gat,165,75 -//new_1-1.gat,169,147,0 warp new14 2,2,new_1-2.gat,18,163 -//new_1-2.gat,18,159,0 warp new14-1 2,2,new_1-1.gat,165,147 -//new_1-2.gat,100,122,0 warp new15 2,1,new_1-2.gat,100,162 -//new_1-2.gat,100,165,0 warp new15-1 2,1,new_1-2.gat,100,119 -//new_1-2.gat,126,106,0 warp new16 2,4,new_1-2.gat,160,171 -//new_1-2.gat,153,171,0 warp new16-1 2,4,new_1-2.gat,123,106 new_1-1.gat,148,112,0 warp newwarp6001 2,2,new_1-2.gat,100,9 new_1-2.gat,100,6,0 warp newwarp6002 2,2,new_1-1.gat,144,112 new_1-2.gat,126,106,0 warp newwarp6003 2,2,new_1-2.gat,160,171 new_1-2.gat,156,171,0 warp newwarp6004 2,2,new_1-2.gat,123,106 new_1-2.gat,73,106,0 warp newwarp6005 2,2,new_1-2.gat,41,172 new_1-2.gat,46,172,0 warp newwarp6006 2,2,new_1-2.gat,78,106 -new_1-3.gat,96,175,0 warp new17 3,2,new_1-4.gat,100,14 +//new_1-3.gat,96,175,0 warp new17 3,2,new_1-4.gat,100,14 //============================================================================== //Swordman @@ -50,18 +39,6 @@ sword_1-1.gat,223,243,0 warp SwordWarp1 2,2,sword_1-1.gat,12,206 sword_1-1.gat,192,206,0 warp SwordWarp2 2,2,sword_1-1.gat,215,205 sword_1-1.gat,223,205,0 warp SwordWarp3 2,2,sword_1-1.gat,12,168 sword_1-1.gat,192,168,0 warp SwordWarp4 2,2,sword_1-1.gat,215,167 -sword_2-1.gat,65,117,0 warp swd201 1,1,sword_2-1.gat,10,245 -sword_2-1.gat,98,27,0 warp swd202 1,1,sword_2-1.gat,11,207 -sword_2-1.gat,161,27,0 warp swd203 1,1,sword_2-1.gat,11,207 -sword_2-1.gat,223,205,0 warp swd204 1,1,sword_2-1.gat,11,168 -sword_2-1.gat,223,243,0 warp swd205 1,1,sword_2-1.gat,11,206 -sword_2-1.gat,239,117,0 warp swd206 1,1,sword_2-1.gat,11,169 -sword_3-1.gat,65,117,0 warp swd301 1,1,sword_3-1.gat,10,245 -sword_3-1.gat,98,27,0 warp swd302 1,1,sword_3-1.gat,11,207 -sword_3-1.gat,161,27,0 warp swd303 1,1,sword_3-1.gat,11,207 -sword_3-1.gat,223,205,0 warp swd304 1,1,sword_3-1.gat,11,168 -sword_3-1.gat,223,243,0 warp swd305 1,1,sword_3-1.gat,11,206 -sword_3-1.gat,239,117,0 warp swd306 1,1,sword_3-1.gat,11,169 // Underground cave sword_1-1.gat,65,117,0 warp swd101 1,1,sword_1-1.gat,10,245 sword_1-1.gat,98,27,0 warp swd102 1,1,sword_1-1.gat,11,207 -- cgit v1.2.3-60-g2f50