summaryrefslogtreecommitdiff
path: root/src/char_sql/char.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-10-18 11:29:30 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-10-18 11:29:30 +0000
commit64ffd93566bb6dc40dbc338aac969adfc1615ed7 (patch)
treed1162e2272714f88bcf974ba2c3c75b53da92571 /src/char_sql/char.h
parent76a15224480ae093a7bf1ff456acbbde45a8c153 (diff)
downloadhercules-64ffd93566bb6dc40dbc338aac969adfc1615ed7.tar.gz
hercules-64ffd93566bb6dc40dbc338aac969adfc1615ed7.tar.bz2
hercules-64ffd93566bb6dc40dbc338aac969adfc1615ed7.tar.xz
hercules-64ffd93566bb6dc40dbc338aac969adfc1615ed7.zip
Removed the char_rename setting in favor of a PACKETVER define.
Inverted the way renames are counted: '0' now means 'no renames left' (the default). Please make sure your database matches this new behavior before starting the server. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14093 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.h')
-rw-r--r--src/char_sql/char.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/char_sql/char.h b/src/char_sql/char.h
index a40340cfb..bd9f06d3e 100644
--- a/src/char_sql/char.h
+++ b/src/char_sql/char.h
@@ -17,6 +17,12 @@ enum {
TABLE_GUILD_STORAGE,
};
+// server->client protocol version
+// 20061023 - 2006-10-23aSakexe+ - 0x6b, 0x6d
+#ifndef PACKETVER
+ #define PACKETVER 20061023
+#endif
+
int memitemdata_to_sql(const struct item items[], int max, int id, int tableswitch);
int mapif_sendall(unsigned char *buf,unsigned int len);