浏览代码

- Now the server will by default perform symmetric adding of friends
- > TODO - symmetric deletion (http://www.eathena.ws/board/index.php?showtopic=130749)
- Added a first approximation of warps for the new maps (by $ephiroth)
- Added Rachel and Veins to the list of @go destinations

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

ultramage 18 年之前
父节点
当前提交
e46b9e7d41

+ 5 - 1
Changelog-Trunk.txt

@@ -4,6 +4,10 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2007/01/03
+	* Added Rachel and Veins to the list of @go destinations.
+	* Added a first approximation of warps for the new maps (by $ephiroth).
+	* Now the server will by default perform symmetric adding of friends. [ultramage]
+	  > TODO - symmetric deletion (http://www.eathena.ws/board/index.php?showtopic=130749)
 	* Fixed TURBO FIFO defines.
 	* Moved refusal of a known packet versions to clif_parse_WantToConnection
 	  and made it check for non-player object with that id.
@@ -16,7 +20,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 	* Added support for text/comments at the end of monster spawn lines (<tab> required)
 	* Added the official behavior of monsters regaining full hp when they morph.
 	  > info at http://www.eathena.ws/board/index.php?showtopic=130103
-	* Fixed pc_calc_skilltree ignoring prerequisites / joblvl requirements.
+	* Fixed pc_calc_skilltree ignoring prerequisites / joblvl requirements for soullinked skills.
 	  > TODOs at http://www.eathena.ws/board/index.php?showtopic=130788
 	* Re-applied change r9593 that got accidentally reverted by r9595. [ultramage]
 

+ 1 - 0
conf-tmpl/Changelog.txt

@@ -1,6 +1,7 @@
 Date	Added
 
 2007/01/03
+	* Changed friend_auto_add to 'yes' (closer to official, except for one detail)
 	* Changed monster_class_change_full_recover to 'yes' (official) [ultramage]
 2006/12/20
 	* Fixed the meaning of stdout_with_ansisequence and changed the default 

+ 2 - 1
conf-tmpl/battle/player.conf

@@ -126,7 +126,8 @@ show_hp_sp_gain: yes
 
 // If set, when A accepts B as a friend, B will also be added to A's friend 
 // list, otherwise, only A appears in B's friend list.
-friend_auto_add: no
+// NOTE: this setting only enables friend auto-adding; auto-deletion does not work yet
+friend_auto_add: yes
 
 // Are other requests accepted during [various things[party,guild]] a request or not?
 // It does not accept by no accepted by yes.

+ 2 - 0
npc/Changelog.txt

@@ -34,6 +34,8 @@ KarLaeda
 Date		Added
 ======
 
+2007/01/03
+	* Added Veins and Thor Dungeon warps, +fixed some headers [ultramage]
 2006/12/28
 	* Fixed typo in the Priest Quest [KarLaeda]
 2006/12/25

+ 4 - 1
npc/scripts_warps.conf

@@ -36,6 +36,7 @@ npc: npc/warps/cities/payon.txt
 npc: npc/warps/cities/prontera.txt
 npc: npc/warps/cities/rachel.txt
 npc: npc/warps/cities/umbala.txt
+npc: npc/warps/cities/veins.txt
 npc: npc/warps/cities/yggdrasil.txt
 npc: npc/warps/cities/yuno.txt
 // -------------------------- Dungeons --------------------------
@@ -53,6 +54,7 @@ npc: npc/warps/dungeons/gon_dun.txt
 npc: npc/warps/dungeons/ice_dun.txt
 npc: npc/warps/dungeons/izlude_dun.txt
 npc: npc/warps/dungeons/juperos.txt
+npc: npc/warps/dungeons/kiel_dun.txt
 npc: npc/warps/dungeons/lhalzen_dun.txt
 npc: npc/warps/dungeons/louyang_dun.txt
 npc: npc/warps/dungeons/lutie_dun.txt
@@ -64,9 +66,9 @@ npc: npc/warps/dungeons/prt_dun.txt
 npc: npc/warps/dungeons/rachel_dun.txt
 npc: npc/warps/dungeons/thana_dun.txt
 //npc: npc/warps/dungeons/thana_custom.txt
+npc: npc/warps/dungeons/thor_dun.txt
 npc: npc/warps/dungeons/umbala_dun.txt
 npc: npc/warps/dungeons/yuno_dun.txt
-npc: npc/warps/dungeons/kiel_dun.txt
 // --------------------------- Fields ---------------------------
 npc: npc/warps/fields/amatsu_fild.txt
 npc: npc/warps/fields/com_fild.txt
@@ -84,6 +86,7 @@ npc: npc/warps/fields/payon_fild.txt
 npc: npc/warps/fields/prontera_fild.txt
 npc: npc/warps/fields/rachel_fild.txt
 npc: npc/warps/fields/umbala_fild.txt
+npc: npc/warps/fields/veins_fild.txt
 npc: npc/warps/fields/yuno_fild.txt
 npc: npc/warps/fields/abyss_warper.txt
 // --------------------------- Others ---------------------------

+ 18 - 0
npc/warps/cities/veins.txt

@@ -0,0 +1,18 @@
+//===== Athena Script ========================================
+//= Veins City Warp Script
+//===== By: ==================================================
+//= $ephiroth
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= Any Athena Version
+//===== Description: =========================================
+//= Warp Points for Veins
+//===== Additional Comments: =================================
+//= 1.0 Initial version [$ephiroth]
+//============================================================
+
+//= Veins City ================================================
+veins.gat,218,361,0	warp	veinswarp0501	1,1,ve_fild06.gat,152,221
+veins.gat,146,24,0		warp	veinswarp0502	1,1,ve_fild07.gat,148,370
+rachel.gat,130,20,0	warp	veinswarp0503	1,1,ve_fild02.gat,196,379

+ 14 - 1
npc/warps/dungeons/ice_dun.txt

@@ -1,4 +1,17 @@
-//Ice Dungeon Warps
+//===== Athena Script ========================================
+//= Ice Dungeon Warp Script
+//===== By: ==================================================
+//= Playtester
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= Any Athena Version
+//===== Description: =========================================
+//= Warp Points for Ice Dungeon
+//===== Additional Comments: =================================
+//= 1.0 Initial version [Playtester]
+//============================================================
+
 ice_dun01.gat,157,10,0	warp	ice001	1,1,ra_fild01.gat,233,330
 ice_dun01.gat,145,153,0	warp	ice002	1,1,ice_dun02.gat,151,155
 ice_dun02.gat,151,160,0	warp	ice003	1,1,ice_dun01.gat,146,157

+ 20 - 0
npc/warps/dungeons/thor_dun.txt

@@ -0,0 +1,20 @@
+//===== Athena Script ========================================
+//= Thor's Volcano Dungeon Warp Script
+//===== By: ==================================================
+//= $ephiroth
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= Any Athena Version 
+//===== Description: =========================================
+//= Warp Points for Thor's Volcano Dungeon
+//===== Additional Comments: =================================
+//= 1.0 Initial version [$ephiroth]
+//============================================================
+
+//= Thor's Volcano Dungeon====================================
+thor_v01.gat,21,223,0	warp	thor00	1,1,ve_fild03.gat,168,238
+thor_v01.gat,202,34,0	warp	thor01	1,1,thor_v02.gat,74,205
+thor_v02.gat,72,206,0	warp	thor02	1,1,thor_v01.gat,199,34
+thor_v02.gat,191,55,0	warp	thor03	1,1,thor_v03.gat,31,272
+thor_v03.gat,28,272,0	warp	thor04	1,1,thor_v02.gat,190,57

+ 14 - 1
npc/warps/fields/rachel_fild.txt

@@ -1,4 +1,17 @@
-//Rachel Fields
+//===== Athena Script ========================================
+//= Rachel Field Warp Script
+//===== By: ==================================================
+//= Playtester
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= Any Athena Version
+//===== Description: =========================================
+//= Warp Points for Rachel Field
+//===== Additional Comments: =================================
+//= 1.0 Initial version [Playtester]
+//============================================================
+
 ra_fild01.gat,233,334,0	warp	ra000	1,1,ice_dun01.gat,157,14
 ra_fild01.gat,305,38,0	warp	ra001	1,1,ra_fild04.gat,324,375
 ra_fild04.gat,324,379,0	warp	ra002	1,1,ra_fild01.gat,305,42

+ 35 - 0
npc/warps/fields/veins_fild.txt

@@ -0,0 +1,35 @@
+//===== Athena Script ========================================
+//= Veins Field Warp Script
+//===== By: ==================================================
+//= $ephiroth
+//===== Current Version: =====================================
+//= 1.0
+//===== Compatible With: =====================================
+//= Any Athena Version
+//===== Description: =========================================
+//= Warp Points for Veins Field
+//===== Additional Comments: =================================
+//= 1.0 Initial version [$ephiroth]
+//============================================================
+
+//= Beins Field (ve_fild) ====================================
+ve_fild02.gat,196,382,0	warp	veinswarp5001	1,1,rachel.gat,130,23
+ve_fild06.gat,154,219,0	warp	veinswarp5002	1,1,veins.gat,218,358
+ve_fild07.gat,147,372,0	warp	veinswarp5003	1,1,veins.gat,146,27
+ve_fild03.gat,168,241,0	warp	veinswarp5004	1,1,thor_v01.gat,21,226
+ve_fild01.gat,243,369,0	warp	veinswarp5005	1,1,ra_fild11.gat,232,29
+ra_fild11.gat,232,26,0	warp	veinswarp5006	1,1,ve_fild01.gat,243,366
+ve_fild01.gat,367,263,0	warp	veinswarp5007	1,1,ve_fild02.gat,33,259
+ve_fild02.gat,30,259,0	warp	veinswarp5008	1,1,ve_fild01.gat,364,263
+ve_fild01.gat,351,95,0	warp	veinswarp5009	1,1,ve_fild02.gat,76,133
+ve_fild02.gat,73,133,0	warp	veinswarp5010	1,1,ve_fild01.gat,348,95
+ve_fild01.gat,185,19,0	warp	veinswarp5011	1,1,ve_fild04.gat,174,337
+ve_fild04.gat,174,340,0	warp	veinswarp5012	1,1,ve_fild01.gat,185,22
+ve_fild02.gat,385,309,0	warp	veinswarp5013	1,1,ra_fild13.gat,31,311
+ra_fild13.gat,28,311,0	warp	veinswarp5014	1,1,ve_fild02.gat,382,309
+ve_fild03.gat,355,222,0	warp	veinswarp5015	1,1,ve_fild04.gat,46,249
+ve_fild04.gat,43,249,0	warp	veinswarp5016	1,1,ve_fild03.gat,353,221
+ve_fild03.gat,222,42,0	warp	veinswarp5017	1,1,ve_fild05.gat,204,330
+ve_fild05.gat,206,331,0	warp	veinswarp5018	1,1,ve_fild03.gat,222,45
+ve_fild04.gat,115,49,0	warp	veinswarp5019	1,1,ve_fild06.gat,84,179
+ve_fild06.gat,84,176,0	warp	veinswarp5020	1,1,ve_fild04.gat,115,52

+ 2 - 0
src/common/mapindex.h

@@ -29,6 +29,8 @@ extern char mapindex_cfgfile[80];
 #define MAP_LIGHTHALZEN "lighthalzen.gat"
 #define MAP_EINBECH "einbech.gat"
 #define MAP_HUGEL "hugel.gat"
+#define MAP_RACHEL "rachel.gat"
+#define MAP_VEINS "veins.gat"
 #define MAP_JAIL "sec_pri.gat"
 unsigned short mapindex_name2id(char*);
 const char* mapindex_id2name(unsigned short);

+ 2 - 0
src/map/atcommand.c

@@ -3324,6 +3324,8 @@ int atcommand_go(
 		{ MAP_LIGHTHALZEN,	158,  92  },	//  20=Lighthalzen
 		{ MAP_EINBECH,		70,   95  },	//  21=Einbech
 		{ MAP_HUGEL,		96,  145  },		//  22=Hugel
+		{ MAP_RACHEL,		130,  110  },		//  23=Rachel
+		{ MAP_VEINS,		216,  123  },		//  24=Veins
 	};
  
 	nullpo_retr(-1, sd);

+ 1 - 1
src/map/battle.c

@@ -4244,7 +4244,7 @@ void battle_set_defaults() {
 	battle_config.autospell_stacking = 0;
 	battle_config.override_mob_names = 0;
 	battle_config.min_chat_delay = 0;
-	battle_config.friend_auto_add = 0;
+	battle_config.friend_auto_add = 1;
 	battle_config.hvan_explosion_intimate = 45000;	//[orn]
 	battle_config.homunculus_show_growth = 0;	//[orn]
 	battle_config.homunculus_friendly_rate = 100;