Selaa lähdekoodia

* Added support for the 2006/04/04a Sakexe packet version. [Zephiris]

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5904 54d463be-8e91-2dee-dedb-b68131a5f0ec
Zephiris 19 vuotta sitten
vanhempi
commit
8a7018deb0
3 muutettua tiedostoa jossa 126 lisäystä ja 105 poistoa
  1. 3 0
      Changelog-Trunk.txt
  2. 105 104
      conf-tmpl/battle/client.conf
  3. 18 1
      db/packet_db.txt

+ 3 - 0
Changelog-Trunk.txt

@@ -3,6 +3,9 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+2006/04/05
+	* Added support for the 2006/04/04a Sakexe packet version. [Zephiris]
+
 2006/04/04
 	* Added inter config connection_ping_interval which specifies interval in
 	  hours at which mysql_ping's must be done on all connection handles to keep

+ 105 - 104
conf-tmpl/battle/client.conf

@@ -1,104 +1,105 @@
-//      ______  __    __                                 
-//     /\  _  \/\ \__/\ \                                
-//   __\ \ \L\ \ \ ,_\ \ \___      __    ___      __     
-// /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\   
-///\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \L\.\_ 
-//\ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\
-// \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/
-//  _   _   _   _   _   _   _     _   _   _   _   _   _
-// / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \ 
-//( e | n | g | l | i | s | h ) ( A | t | h | e | n | a )
-// \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/
-//
-//--------------------------------------------------------------
-// eAthena Battle Configuration File
-// Originally Translated by Peter Kieser <pfak@telus.net>
-// Made in to plainer English by Ancyker
-//--------------------------------------------------------------
-//Note 1: Directives can be set using on/off, yes/no or 1/0.
-//Note 2: All rates are in percents, 100 would mean 100%, 200
-//   would mean 200%, etc
-//Note 3: Value is not limited to 60K (see below)
-// Other Information:
-// All options are limited to a max of 60K (aprox) which is 600%
-// or 60secs as appropiate.
-// 1000 miliseconds is 1 second.
-// Unless otherwise specified, the minimum value is 0 for all
-// features.
-//--------------------------------------------------------------
-
-// Set here which client version do you accept. Add all values of clients:
-// Clients older than accepted versions, and versions not set to 'accepted'
-// here will be rejected when logging in
-//   1: Clients 2004-09-06aSakray and older (packet versions 4-9)
-//   2: 2004-09-06aSakexe (version 10)
-//   4: 2004-09-21aSakray (version 11)
-//   8: 2004-10-11aSakexe (version 12)
-//  16: 2004-10-25aSakexe (version 13)
-//  32: 2004-11-01aSakexe (version 14)
-//  64: 2004-12-06aSakexe (version 15)
-// 128: 2005-01-10aSakexe (version 16)
-// 256: 2005-05-09aSakexe (version 17)
-// 512: 2005-06-28aSakexe (version 18)
-// default value: 1023 (all clients)
-packet_ver_flag: 1023
-
-// valid range of dye's and styles on the client
-min_hair_style: 0
-max_hair_style: 23
-min_hair_color: 0
-max_hair_color: 8
-min_cloth_color: 0 
-max_cloth_color: 4
-
-//"hair style" number that identifies pet.
-//NOTE: The client uses the "hair style" field in the mob packet to tell them apart from mobs.
-//This value is always higher than the max hair-style available in said client.
-//Known values to work (all 2005 clients):
-//older sakexes: 20
-//sakexe 0614: 24
-//sakexe 0628 (and later): 100
-pet_hair_style: 100
-
-// Visible area size (how many squares away from a player can they see)
-area_size: 14
-
-// Maximum user LV to send to client
-//   (Default is 99..  Never go above 127)
-//
-// this is only useful if you have adjusted your client
-// to expect levels higher then 99
-max_lv: 99
-
-// Level required to display an aura.
-// NOTE: This assumes that sending max_lv to the client will display the aura. aura_lv must not be less than max_lv.
-// Example: If max_lv is 99, and aura_lv is 150, characters with level 99~149 will be sent as being all level 98,
-// and only characters with level 150 or more will be reported as having level 99.
-aura_lv: 99
-
-// Will tuxedo and wedding dresses be shown when worn? (Note 1)
-wedding_modifydisplay: no
-
-// Save Clothes color. (This will degrade performance) (Note 1)
-save_clothcolor: yes
-
-// Do not display cloth colors for the wedding class?
-// Note: Both save_clothcolor and wedding_modifydisplay have to be enabled
-// for this option to take effect. Set this to yes if your cloth palettes 
-// pack doesn't has wedding palettes (or has less than the other jobs)
-wedding_ignorepalette: no
-
-// Do not display cloth colors for the Xmas class?
-// Set this to yes if your cloth palettes pack doesn't has Xmas palettes (or has less than the other jobs)
-xmas_ignorepalette: no
-
-// Set this to 1 if your clients have langtype problems and can't display motd properly
-motd_type: 0
-
-// Show eAthena version to users when the login?
-display_version: yes
-
-// When affected with the "Hallucination" status effect, send the effect to client? (Note 1)
-// Note: Set to 'no' if the client lags due to the "Wavy" screen effect.
-display_hallucination: yes
-
+//      ______  __    __                                 
+//     /\  _  \/\ \__/\ \                                
+//   __\ \ \L\ \ \ ,_\ \ \___      __    ___      __     
+// /'__`\ \  __ \ \ \/\ \  _ `\  /'__`\/' _ `\  /'__`\   
+///\  __/\ \ \/\ \ \ \_\ \ \ \ \/\  __//\ \/\ \/\ \L\.\_ 
+//\ \____\\ \_\ \_\ \__\\ \_\ \_\ \____\ \_\ \_\ \__/.\_\
+// \/____/ \/_/\/_/\/__/ \/_/\/_/\/____/\/_/\/_/\/__/\/_/
+//  _   _   _   _   _   _   _     _   _   _   _   _   _
+// / \ / \ / \ / \ / \ / \ / \   / \ / \ / \ / \ / \ / \ 
+//( e | n | g | l | i | s | h ) ( A | t | h | e | n | a )
+// \_/ \_/ \_/ \_/ \_/ \_/ \_/   \_/ \_/ \_/ \_/ \_/ \_/
+//
+//--------------------------------------------------------------
+// eAthena Battle Configuration File
+// Originally Translated by Peter Kieser <pfak@telus.net>
+// Made in to plainer English by Ancyker
+//--------------------------------------------------------------
+//Note 1: Directives can be set using on/off, yes/no or 1/0.
+//Note 2: All rates are in percents, 100 would mean 100%, 200
+//   would mean 200%, etc
+//Note 3: Value is not limited to 60K (see below)
+// Other Information:
+// All options are limited to a max of 60K (aprox) which is 600%
+// or 60secs as appropiate.
+// 1000 miliseconds is 1 second.
+// Unless otherwise specified, the minimum value is 0 for all
+// features.
+//--------------------------------------------------------------
+
+// Set here which client version do you accept. Add all values of clients:
+// Clients older than accepted versions, and versions not set to 'accepted'
+// here will be rejected when logging in
+//    1: Clients 2004-09-06aSakray and older (packet versions 4-9)
+//    2: 2004-09-06aSakexe (version 10)
+//    4: 2004-09-21aSakray (version 11)
+//    8: 2004-10-11aSakexe (version 12)
+//   16: 2004-10-25aSakexe (version 13)
+//   32: 2004-11-01aSakexe (version 14)
+//   64: 2004-12-06aSakexe (version 15)
+//  128: 2005-01-10aSakexe (version 16)
+//  256: 2005-05-09aSakexe (version 17)
+//  512: 2005-06-28aSakexe (version 18)
+// 1024: 2006-04-04aSakexe (version 19)
+// default value: 2047 (all clients)
+packet_ver_flag: 2047
+
+// valid range of dye's and styles on the client
+min_hair_style: 0
+max_hair_style: 23
+min_hair_color: 0
+max_hair_color: 8
+min_cloth_color: 0 
+max_cloth_color: 4
+
+//"hair style" number that identifies pet.
+//NOTE: The client uses the "hair style" field in the mob packet to tell them apart from mobs.
+//This value is always higher than the max hair-style available in said client.
+//Known values to work (all 2005 clients):
+//older sakexes: 20
+//sakexe 0614: 24
+//sakexe 0628 (and later): 100
+pet_hair_style: 100
+
+// Visible area size (how many squares away from a player can they see)
+area_size: 14
+
+// Maximum user LV to send to client
+//   (Default is 99..  Never go above 127)
+//
+// this is only useful if you have adjusted your client
+// to expect levels higher then 99
+max_lv: 99
+
+// Level required to display an aura.
+// NOTE: This assumes that sending max_lv to the client will display the aura. aura_lv must not be less than max_lv.
+// Example: If max_lv is 99, and aura_lv is 150, characters with level 99~149 will be sent as being all level 98,
+// and only characters with level 150 or more will be reported as having level 99.
+aura_lv: 99
+
+// Will tuxedo and wedding dresses be shown when worn? (Note 1)
+wedding_modifydisplay: no
+
+// Save Clothes color. (This will degrade performance) (Note 1)
+save_clothcolor: yes
+
+// Do not display cloth colors for the wedding class?
+// Note: Both save_clothcolor and wedding_modifydisplay have to be enabled
+// for this option to take effect. Set this to yes if your cloth palettes 
+// pack doesn't has wedding palettes (or has less than the other jobs)
+wedding_ignorepalette: no
+
+// Do not display cloth colors for the Xmas class?
+// Set this to yes if your cloth palettes pack doesn't has Xmas palettes (or has less than the other jobs)
+xmas_ignorepalette: no
+
+// Set this to 1 if your clients have langtype problems and can't display motd properly
+motd_type: 0
+
+// Show eAthena version to users when the login?
+display_version: yes
+
+// When affected with the "Hallucination" status effect, send the effect to client? (Note 1)
+// Note: Set to 'no' if the client lags due to the "Wavy" screen effect.
+display_hallucination: yes
+

+ 18 - 1
db/packet_db.txt

@@ -748,5 +748,22 @@ packet_ver: 18
 0x25d,-1
 0x25e,4
 
-// Add new packets here
+//2006-04-04aSakexe by blackhole89
 packet_ver: 19
+0x009b,37,wanttoconnection,9:21:28:32:36
+0x00a2,11,solvecharname,7
+0x008c,12,getcharnamerequest,8
+0x00a7,15,walktoxy,12
+0x0116,17,dropitem,8:15
+0x00f5,13,takeitem,9
+0x009f,24,useitem,9:20
+0x0072,26,useskilltoid,11:18:22
+0x0113,40,useskilltopos,5:15:29:38
+0x0085,12,changedir,7:11
+0x007e,120,useskilltoposinfo,5:15:29:38:40
+0x0094,23,movetokafra,5:19
+0x00f7,26,movefromkafra,11:22
+0x0190,18,actionrequest,7:17
+
+// Add new packets here
+packet_ver: 20