Commit 39c78a4e authored by mercury233's avatar mercury233

update log

parent 56c0d966
......@@ -686,7 +686,7 @@ net.createServer (client) ->
ctos_buffer = ctos_buffer.slice(2 + ctos_message_length)
ctos_message_length = 0
ctos_proto = 0
else
else if ctos_message_length != 17735
log.warn("bad ctos_message length", client.ip, ctos_buffer.length, ctos_message_length, ctos_proto)
break
......@@ -843,7 +843,7 @@ ygopro.ctos_follow 'JOIN_GAME', false, (buffer, info, client, server)->
client.destroy()
else if !info.pass.length and !settings.modules.enable_random_duel and !settings.modules.enable_windbot
ygopro.stoc_die(client, "房间名为空,请填写主机密码")
ygopro.stoc_die(client, "房间名为空,请在主机密码处填写房间名")
else if info.pass.length and settings.modules.mycard_auth and info.pass[0...2] != 'AI'
ygopro.stoc_send_chat(client, '正在读取用户信息...', ygopro.constants.COLORS.BABYBLUE)
......
......@@ -872,7 +872,7 @@
ctos_buffer = ctos_buffer.slice(2 + ctos_message_length);
ctos_message_length = 0;
ctos_proto = 0;
} else {
} else if (ctos_message_length !== 17735) {
log.warn("bad ctos_message length", client.ip, ctos_buffer.length, ctos_message_length, ctos_proto);
break;
}
......@@ -1040,7 +1040,7 @@
});
client.destroy();
} else if (!info.pass.length && !settings.modules.enable_random_duel && !settings.modules.enable_windbot) {
ygopro.stoc_die(client, "房间名为空,请填写主机密码");
ygopro.stoc_die(client, "房间名为空,请在主机密码处填写房间名");
} else if (info.pass.length && settings.modules.mycard_auth && info.pass.slice(0, 2) !== 'AI') {
ygopro.stoc_send_chat(client, '正在读取用户信息...', ygopro.constants.COLORS.BABYBLUE);
if (info.pass.length <= 8) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment