Browse Source

- Removed some mail config settings and atcommands not required anymore.
- Added documentation for script commands: openmail and homshuffle.

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

zephyrus 17 năm trước cách đây
mục cha
commit
baa7b210d9
5 tập tin đã thay đổi với 24 bổ sung24 xóa
  1. 2 0
      Changelog-Trunk.txt
  2. 1 0
      conf/Changelog.txt
  3. 3 21
      conf/atcommand_athena.conf
  4. 0 3
      conf/inter_athena.conf
  5. 18 0
      doc/script_commands.txt

+ 2 - 0
Changelog-Trunk.txt

@@ -9,6 +9,8 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 	* Added the new mail system implementation (Requires more test and
 	  optimizations) [Zephyrus]
 	- Updated the mail DB structure.
+	* Removed some mail config settings and atcommands not required anymore.
+	- Added documentation for script commands: openmail and homshuffle.
 2007/10/21
 	* Fixed a small mistake in r11503 causing a fatal error&exit on unix
 	  when you try to do a graceful exit (by ctrl+c for example) [ultramage]

+ 1 - 0
conf/Changelog.txt

@@ -3,6 +3,7 @@ Date	Added
 2007/10/22
 	* Rev. 11551 Fixed nopenalty entries for Turbo Track maps. [L0ne_W0lf]
 	* Rev. 11546 Added Turbo Track map flags. [L0ne_W0lf]
+	* Removed the mail_server_enable setting as it's not required. [Zephyrus]
 2007/10/13
 	* Renamed the config default_skill_delay to default_walk_delay as that is
 	  the only thing it does now.

+ 3 - 21
conf/atcommand_athena.conf

@@ -157,28 +157,10 @@ version: 1
 whodrops: 1
 
 //---------------------------------------------------------------
-// 0: Mail System - SQL Only commands - Must be enabled
+// 0: Mail System - SQL Only commands
 
-// Check # of messages.
-checkmail: 1
-
-// List all messages.
-listmail: 1
-
-// List only new mail.
-listnewmail: 1
-
-// Read a message.
-readmail: 1
-
-// Send mail.
-sendmail: 1
-
-// Send priority mail (tagged with Priority and cannot be deleted until read)
-sendprioritymail: 80
-
-// Delete a message.
-deletemail: 1
+// Opens mail Window.
+mail: 1
 
 //---------------------------
 // 10: Super player+ commands

+ 0 - 3
conf/inter_athena.conf

@@ -151,9 +151,6 @@ mail_db: mail
 //Use SQL item_db and mob_db for the map server
 use_sql_db: no
 
-// Use SQL Mail Server
-mail_server_enable: no
-
 // Nick for sending mainchat 
 // messages like whisper
 main_chat_nick: Main

+ 18 - 0
doc/script_commands.txt

@@ -6087,5 +6087,23 @@ server and the egg will disappear when anyone tries to hatch it.
 
 ---------------------------------------
 
+*openmail;
+
+This will open a character's Mail window on the client connected to the 
+invoking character.
+
+    mes "Close this window to open your mail inbox.";
+    close2;
+    openmail;
+    end;
+
+---------------------------------------
+
+*homshuffle
+
+This will recalculate the homunculus stats acording to its level, of the 
+current invoking character.
+
+---------------------------------------
 Whew.
 That's about all of them.