Skip to content

Commit

Permalink
Auto save world excluded.
Browse files Browse the repository at this point in the history
UIDs excluded.

git-svn-id: https://cvet.by:8443/svn/FOnlineSource/Main@1661 c2c6a35e-ad2b-4e1f-bb64-97b989be360b

Former-commit-id: 2c07b66c7b08fc74cdf21ec49b927f12e77ef672
  • Loading branch information
cvet authored and cvet committed Oct 30, 2018
1 parent 39128bd commit 14d8d6b
Show file tree
Hide file tree
Showing 20 changed files with 119 additions and 1,350 deletions.
10 changes: 0 additions & 10 deletions Source/Access.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#define CMD_BAN ( 33 )
#define CMD_DELETE_ACCOUNT ( 34 )
#define CMD_CHANGE_PASSWORD ( 35 )
#define CMD_DROP_UID ( 36 )
#define CMD_LOG ( 37 )
#define CMD_DEV_EXEC ( 38 )
#define CMD_DEV_FUNC ( 39 )
Expand Down Expand Up @@ -80,8 +79,6 @@ const CmdDef cmdlist[] =
{ "deleteself", CMD_DELETE_ACCOUNT },
{ "changepassword", CMD_CHANGE_PASSWORD },
{ "changepass", CMD_CHANGE_PASSWORD },
{ "dropuid", CMD_DROP_UID },
{ "drop", CMD_DROP_UID },
{ "log", CMD_LOG },
{ "exec", CMD_DEV_EXEC },
{ "func", CMD_DEV_FUNC },
Expand Down Expand Up @@ -585,13 +582,6 @@ inline bool PackCommand( const string& str, BufferManager& buf, LogFunc logcb, c
buf.Push( new_pass_hash.c_str(), PASS_HASH_SIZE );
}
break;
case CMD_DROP_UID:
{
buf << msg;
buf << msg_len;
buf << cmd;
}
break;
case CMD_LOG:
{
string flags;
Expand Down
10 changes: 0 additions & 10 deletions Source/BufferManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,11 +323,6 @@ bool BufferManager::NeedProcess()

switch( msg )
{
case NETMSG_CHECK_UID0:
case NETMSG_CHECK_UID1:
case NETMSG_CHECK_UID2:
case NETMSG_CHECK_UID3:
case NETMSG_CHECK_UID4:
case NETMSG_LOGIN_SUCCESS:
case NETMSG_LOADMAP:
case NETMSG_CREATE_CLIENT:
Expand Down Expand Up @@ -560,11 +555,6 @@ void BufferManager::SkipMsg( uint msg )
size = NETMSG_POD_PROPERTY_SIZE( 8, 2 );
break;

case NETMSG_CHECK_UID0:
case NETMSG_CHECK_UID1:
case NETMSG_CHECK_UID2:
case NETMSG_CHECK_UID3:
case NETMSG_CHECK_UID4:
case NETMSG_LOGIN_SUCCESS:
case NETMSG_LOADMAP:
case NETMSG_CREATE_CLIENT:
Expand Down
1 change: 0 additions & 1 deletion Source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ set( CLIENT_SOURCE
${THEORA_SOURCE}
Client.cpp Client.h
ClientInterface.cpp
Defence.h
MainClient.cpp
SoundManager.cpp SoundManager.h
)
Expand Down
Loading

0 comments on commit 14d8d6b

Please sign in to comment.