diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-14 23:38:31 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-14 23:38:31 +0000 |
commit | 7b5a33083c2b411e37f9412091937c18dbe92e29 (patch) | |
tree | 958618a37e721e0072a0191dce1cc027ccba07c3 /src/login/account.h | |
parent | 178e1269471a35507a1965fdb1548f052312a6a3 (diff) | |
download | hercules-7b5a33083c2b411e37f9412091937c18dbe92e29.tar.gz hercules-7b5a33083c2b411e37f9412091937c18dbe92e29.tar.bz2 hercules-7b5a33083c2b411e37f9412091937c18dbe92e29.tar.xz hercules-7b5a33083c2b411e37f9412091937c18dbe92e29.zip |
* Added 'birthdate' field to account data. For SQL apply upgrade_svn14672.sql to upgrade table `login`; for TXT no action is necessary, as it upgrades itself.
- Control panel developers are encouraged to enable players to modify this value, as it is required for new character deletion (2010-08-03aRagexeRE and later, not yet implemented).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14672 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login/account.h')
-rw-r--r-- | src/login/account.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/login/account.h b/src/login/account.h index 4cc9b353b..650f2c661 100644 --- a/src/login/account.h +++ b/src/login/account.h @@ -41,7 +41,7 @@ AccountDB* ACCOUNTDB_CONSTRUCTOR(ACCOUNTDB_ENGINE_4)(void); struct mmo_account { int account_id; - char userid[24]; + char userid[NAME_LENGTH]; char pass[32+1]; // 23+1 for plaintext, 32+1 for md5-ed passwords char sex; // gender (M/F/S) char email[40]; // e-mail (by default: a@a.com) @@ -52,6 +52,7 @@ struct mmo_account unsigned int logincount;// number of successful auth attempts char lastlogin[24]; // date+time of last successful login char last_ip[16]; // save of last IP of connection + char birthdate[10+1]; // assigned birth date (format: YYYY-MM-DD, default: 0000-00-00) int account_reg2_num; struct global_reg account_reg2[ACCOUNT_REG2_NUM]; // account script variables (stored on login server) }; |