summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorFate <fate.tmw@googlemail.com>2008-11-01 22:39:26 +0000
committerFate <fate.tmw@googlemail.com>2008-11-01 22:39:26 +0000
commit4cfdb3620ccbd0de6bd53c5f22e7b6d3801627bf (patch)
tree20471d3a652d35a193b6c9873b45eded59bd3e63 /src/main.cpp
parent885a9c145464a2b376edfd1c9677b84f6d4a8ce5 (diff)
downloadmana-4cfdb3620ccbd0de6bd53c5f22e7b6d3801627bf.tar.gz
mana-4cfdb3620ccbd0de6bd53c5f22e7b6d3801627bf.tar.bz2
mana-4cfdb3620ccbd0de6bd53c5f22e7b6d3801627bf.tar.xz
mana-4cfdb3620ccbd0de6bd53c5f22e7b6d3801627bf.zip
* Updated GUI table and model to better handle NULL widgets during initialisation
* On SMSG_MOVE et al., ignore boots and glove information-- that information is incorrect and we're guaranteed to already have the correct information anyway. * Properly decode `is dead' information for PCs, so that dead players, when encountered, will be lying on the ground, dead, rather than standing. * Use `skills.xml' file from client data to determine skill names * Report client version number (hereby bumped to 1) in unused charserver slot (ignored by vanilla eAthena)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 373dc100..6c9fe45c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -600,7 +600,8 @@ void charLogin(Network *network, LoginData *loginData)
outMsg.writeInt32(loginData->account_ID);
outMsg.writeInt32(loginData->session_ID1);
outMsg.writeInt32(loginData->session_ID2);
- outMsg.writeInt16(0); // unknown
+ // [Fate] The next word is unused by the old char server, so we squeeze in tmw client version information
+ outMsg.writeInt16(TMW_CLIENT_PROTOCOL_VERSION);
outMsg.writeInt8(loginData->sex);
// We get 4 useless bytes before the real answer comes in