use explicit offset widths for print_data calls

This commit is contained in:
Martin Michelsen
2022-09-01 17:52:58 -07:00
parent 6eb77a7193
commit e8f79628ca
10 changed files with 47036 additions and 47036 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ void CatSession::on_channel_input(
string full_cmd = prepend_command_header( string full_cmd = prepend_command_header(
this->channel.version, this->channel.crypt_in.get(), command, flag, data); this->channel.version, this->channel.crypt_in.get(), command, flag, data);
print_data(stdout, full_cmd); print_data(stdout, full_cmd, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::OFFSET_16_BITS);
} }
void CatSession::dispatch_on_channel_error(Channel& ch, short events) { void CatSession::dispatch_on_channel_error(Channel& ch, short events) {
+2 -2
View File
@@ -238,7 +238,7 @@ Channel::Message Channel::recv(bool print_contents) {
vector<struct iovec> iovs; vector<struct iovec> iovs;
iovs.emplace_back(iovec{.iov_base = header_data.data(), .iov_len = header_data.size()}); iovs.emplace_back(iovec{.iov_base = header_data.data(), .iov_len = header_data.size()});
iovs.emplace_back(iovec{.iov_base = command_data.data(), .iov_len = command_data.size()}); iovs.emplace_back(iovec{.iov_base = command_data.data(), .iov_len = command_data.size()});
print_data(stderr, iovs, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::DISABLE_COLOR); print_data(stderr, iovs, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::DISABLE_COLOR | PrintDataFlags::OFFSET_16_BITS);
if (use_terminal_colors && this->terminal_recv_color != TerminalFormat::NORMAL) { if (use_terminal_colors && this->terminal_recv_color != TerminalFormat::NORMAL) {
print_color_escape(stderr, TerminalFormat::NORMAL, TerminalFormat::END); print_color_escape(stderr, TerminalFormat::NORMAL, TerminalFormat::END);
@@ -344,7 +344,7 @@ void Channel::send(uint16_t cmd, uint32_t flag, const void* data, size_t size,
command_data_log.info("Sending to %s (version=%s command=%02hX flag=%02" PRIX32 ")", command_data_log.info("Sending to %s (version=%s command=%02hX flag=%02" PRIX32 ")",
this->name.c_str(), name_for_version(version), cmd, flag); this->name.c_str(), name_for_version(version), cmd, flag);
} }
print_data(stderr, send_data.data(), logical_size, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::DISABLE_COLOR); print_data(stderr, send_data.data(), logical_size, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::DISABLE_COLOR | PrintDataFlags::OFFSET_16_BITS);
if (use_terminal_colors && this->terminal_send_color != TerminalFormat::NORMAL) { if (use_terminal_colors && this->terminal_send_color != TerminalFormat::NORMAL) {
print_color_escape(stderr, TerminalFormat::NORMAL, TerminalFormat::END); print_color_escape(stderr, TerminalFormat::NORMAL, TerminalFormat::END);
} }
+8 -8
View File
@@ -49,7 +49,7 @@ void ReplaySession::check_for_password(shared_ptr<const Event> ev) const {
auto check_pw = [&](const string& pw) { auto check_pw = [&](const string& pw) {
if (!this->required_password.empty() && !pw.empty() && (pw != this->required_password)) { if (!this->required_password.empty() && !pw.empty() && (pw != this->required_password)) {
print_data(stderr, ev->data); print_data(stderr, ev->data, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::OFFSET_16_BITS);
throw runtime_error("sent password is incorrect"); throw runtime_error("sent password is incorrect");
} }
}; };
@@ -64,7 +64,7 @@ void ReplaySession::check_for_password(shared_ptr<const Event> ev) const {
ref_access_key = this->required_access_key; ref_access_key = this->required_access_key;
} }
if (ak != ref_access_key) { if (ak != ref_access_key) {
print_data(stderr, ev->data); print_data(stderr, ev->data, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::OFFSET_16_BITS);
throw runtime_error("sent access key is incorrect"); throw runtime_error("sent access key is incorrect");
} }
}; };
@@ -340,7 +340,7 @@ ReplaySession::ReplaySession(
} }
if (parsing_command.get()) { if (parsing_command.get()) {
string expected_start = string_printf("%016zX |", parsing_command->data.size()); string expected_start = string_printf("%04zX |", parsing_command->data.size());
if (starts_with(line, expected_start)) { if (starts_with(line, expected_start)) {
// Parse out the hex part of the hex/ASCII dump // Parse out the hex part of the hex/ASCII dump
string mask_bytes; string mask_bytes;
@@ -551,24 +551,24 @@ void ReplaySession::on_command_received(
this->bytes_received += full_command.size(); this->bytes_received += full_command.size();
if (c->receive_events.empty()) { if (c->receive_events.empty()) {
print_data(stderr, full_command); print_data(stderr, full_command, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::OFFSET_16_BITS);
throw runtime_error("received unexpected command for client"); throw runtime_error("received unexpected command for client");
} }
auto& ev = c->receive_events.front(); auto& ev = c->receive_events.front();
if (full_command.size() != ev->data.size()) { if (full_command.size() != ev->data.size()) {
replay_log.error("Expected command:"); replay_log.error("Expected command:");
print_data(stderr, ev->data); print_data(stderr, ev->data, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::OFFSET_16_BITS);
replay_log.error("Received command:"); replay_log.error("Received command:");
print_data(stderr, full_command); print_data(stderr, full_command, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::OFFSET_16_BITS);
throw runtime_error("received command sizes do not match"); throw runtime_error("received command sizes do not match");
} }
for (size_t x = 0; x < full_command.size(); x++) { for (size_t x = 0; x < full_command.size(); x++) {
if ((full_command[x] & ev->mask[x]) != (ev->data[x] & ev->mask[x])) { if ((full_command[x] & ev->mask[x]) != (ev->data[x] & ev->mask[x])) {
replay_log.error("Expected command:"); replay_log.error("Expected command:");
print_data(stderr, ev->data); print_data(stderr, ev->data, 0, nullptr, PrintDataFlags::PRINT_ASCII | PrintDataFlags::OFFSET_16_BITS);
replay_log.error("Received command:"); replay_log.error("Received command:");
print_data(stderr, full_command, 0, ev->data.data()); print_data(stderr, full_command, 0, ev->data.data(), PrintDataFlags::PRINT_ASCII | PrintDataFlags::OFFSET_16_BITS);
throw runtime_error("received command data does not match expected data"); throw runtime_error("received command data does not match expected data");
} }
} }
+33300 -33300
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+5255 -5255
View File
File diff suppressed because it is too large Load Diff
+92 -92
View File
@@ -2,118 +2,118 @@ I 22913 2022-06-30 23:45:35 - [IPStackSimulator] Client fd 29 connected via fd 2
I 22913 2022-06-30 23:45:38 - [IPStackSimulator] Client opened TCP connection 29+23232323238C0707 (10.0.1.5:1799 -> 35.35.35.35:9100) I 22913 2022-06-30 23:45:38 - [IPStackSimulator] Client opened TCP connection 29+23232323238C0707 (10.0.1.5:1799 -> 35.35.35.35:9100)
I 22913 2022-06-30 23:45:38 - [Server] Client connected: C-1 on virtual connection 0x1048042b0 via T-9100-PC-split_reconnect-VI I 22913 2022-06-30 23:45:38 - [Server] Client connected: C-1 on virtual connection 0x1048042b0 via T-9100-PC-split_reconnect-VI
I 22913 2022-06-30 23:45:38 - [Commands] Sending to C-1 (version=PC command=0019 flag=00000000) I 22913 2022-06-30 23:45:38 - [Commands] Sending to C-1 (version=PC command=0019 flag=00000000)
0000000000000000 | B0 00 19 00 23 23 23 23 ED 13 00 00 00 00 00 00 | ####T$ 0000 | B0 00 19 00 23 23 23 23 ED 13 00 00 00 00 00 00 | ####T$
0000000000000010 | 00 00 00 00 00 00 00 00 00 19 00 97 00 23 23 23 | ### 0010 | 00 00 00 00 00 00 00 00 00 19 00 97 00 23 23 23 | ###
0000000000000020 | 23 EC 13 00 00 00 00 00 00 00 00 00 00 00 00 00 | #(# 0020 | 23 EC 13 00 00 00 00 00 00 00 00 00 00 00 00 00 | #(#
0000000000000030 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0030 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000050 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0050 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000070 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0070 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000080 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0080 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000090 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0090 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00000000000000A0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00A0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
I 22913 2022-06-30 23:45:38 - [IPStackSimulator] Connected TCP connection 29+23232323238C0707 (10.0.1.5:1799 -> 35.35.35.35:9100) to game server I 22913 2022-06-30 23:45:38 - [IPStackSimulator] Connected TCP connection 29+23232323238C0707 (10.0.1.5:1799 -> 35.35.35.35:9100) to game server
I 22913 2022-06-30 23:45:38 - [IPStackSimulator] Client closed TCP connection 29+23232323238C0707 (10.0.1.5:1799 -> 35.35.35.35:9100) I 22913 2022-06-30 23:45:38 - [IPStackSimulator] Client closed TCP connection 29+23232323238C0707 (10.0.1.5:1799 -> 35.35.35.35:9100)
I 22913 2022-06-30 23:45:38 - [Server] Client disconnected: C-1 on virtual connection 0x1048042b0 I 22913 2022-06-30 23:45:38 - [Server] Client disconnected: C-1 on virtual connection 0x1048042b0
I 22913 2022-06-30 23:45:38 - [IPStackSimulator] Client opened TCP connection 29+2323232323280708 (10.0.1.5:1800 -> 35.35.35.35:9000) I 22913 2022-06-30 23:45:38 - [IPStackSimulator] Client opened TCP connection 29+2323232323280708 (10.0.1.5:1800 -> 35.35.35.35:9000)
I 22913 2022-06-30 23:45:38 - [Server] Client connected: C-2 on virtual connection 0x103704560 via T-5100-GC-login_server-VI I 22913 2022-06-30 23:45:38 - [Server] Client connected: C-2 on virtual connection 0x103704560 via T-5100-GC-login_server-VI
I 22913 2022-06-30 23:45:38 - [Commands] Sending to C-2 (version=GC command=0017 flag=00000000) I 22913 2022-06-30 23:45:38 - [Commands] Sending to C-2 (version=GC command=0017 flag=00000000)
0000000000000000 | 17 00 0C 01 44 72 65 61 6D 43 61 73 74 20 50 6F | DreamCast Po 0000 | 17 00 0C 01 44 72 65 61 6D 43 61 73 74 20 50 6F | DreamCast Po
0000000000000010 | 72 74 20 4D 61 70 2E 20 43 6F 70 79 72 69 67 68 | rt Map. Copyrigh 0010 | 72 74 20 4D 61 70 2E 20 43 6F 70 79 72 69 67 68 | rt Map. Copyrigh
0000000000000020 | 74 20 53 45 47 41 20 45 6E 74 65 72 70 72 69 73 | t SEGA Enterpris 0020 | 74 20 53 45 47 41 20 45 6E 74 65 72 70 72 69 73 | t SEGA Enterpris
0000000000000030 | 65 73 2E 20 31 39 39 39 00 00 00 00 00 00 00 00 | es. 1999 0030 | 65 73 2E 20 31 39 39 39 00 00 00 00 00 00 00 00 | es. 1999
0000000000000040 | 00 00 00 00 09 34 05 C1 F4 A4 7B 40 54 68 69 73 | 4 {@This 0040 | 00 00 00 00 09 34 05 C1 F4 A4 7B 40 54 68 69 73 | 4 {@This
0000000000000050 | 20 73 65 72 76 65 72 20 69 73 20 69 6E 20 6E 6F | server is in no 0050 | 20 73 65 72 76 65 72 20 69 73 20 69 6E 20 6E 6F | server is in no
0000000000000060 | 20 77 61 79 20 61 66 66 69 6C 69 61 74 65 64 2C | way affiliated, 0060 | 20 77 61 79 20 61 66 66 69 6C 69 61 74 65 64 2C | way affiliated,
0000000000000070 | 20 73 70 6F 6E 73 6F 72 65 64 2C 20 6F 72 20 73 | sponsored, or s 0070 | 20 73 70 6F 6E 73 6F 72 65 64 2C 20 6F 72 20 73 | sponsored, or s
0000000000000080 | 75 70 70 6F 72 74 65 64 20 62 79 20 53 45 47 41 | upported by SEGA 0080 | 75 70 70 6F 72 74 65 64 20 62 79 20 53 45 47 41 | upported by SEGA
0000000000000090 | 20 45 6E 74 65 72 70 72 69 73 65 73 20 6F 72 20 | Enterprises or 0090 | 20 45 6E 74 65 72 70 72 69 73 65 73 20 6F 72 20 | Enterprises or
00000000000000A0 | 53 4F 4E 49 43 54 45 41 4D 2E 20 54 68 65 20 70 | SONICTEAM. The p 00A0 | 53 4F 4E 49 43 54 45 41 4D 2E 20 54 68 65 20 70 | SONICTEAM. The p
00000000000000B0 | 72 65 63 65 64 69 6E 67 20 6D 65 73 73 61 67 65 | receding message 00B0 | 72 65 63 65 64 69 6E 67 20 6D 65 73 73 61 67 65 | receding message
00000000000000C0 | 20 65 78 69 73 74 73 20 6F 6E 6C 79 20 69 6E 20 | exists only in 00C0 | 20 65 78 69 73 74 73 20 6F 6E 6C 79 20 69 6E 20 | exists only in
00000000000000D0 | 6F 72 64 65 72 20 74 6F 20 72 65 6D 61 69 6E 20 | order to remain 00D0 | 6F 72 64 65 72 20 74 6F 20 72 65 6D 61 69 6E 20 | order to remain
00000000000000E0 | 63 6F 6D 70 61 74 69 62 6C 65 20 77 69 74 68 20 | compatible with 00E0 | 63 6F 6D 70 61 74 69 62 6C 65 20 77 69 74 68 20 | compatible with
00000000000000F0 | 70 72 6F 67 72 61 6D 73 20 74 68 61 74 20 65 78 | programs that ex 00F0 | 70 72 6F 67 72 61 6D 73 20 74 68 61 74 20 65 78 | programs that ex
0000000000000100 | 70 65 63 74 20 69 74 2E 00 00 00 00 | pect it. 0100 | 70 65 63 74 20 69 74 2E 00 00 00 00 | pect it.
I 22913 2022-06-30 23:45:38 - [IPStackSimulator] Connected TCP connection 29+2323232323280708 (10.0.1.5:1800 -> 35.35.35.35:9000) to game server I 22913 2022-06-30 23:45:38 - [IPStackSimulator] Connected TCP connection 29+2323232323280708 (10.0.1.5:1800 -> 35.35.35.35:9000) to game server
I 22913 2022-06-30 23:45:38 - [Commands] Received from C-2 (version=GC command=00DB flag=00000000) I 22913 2022-06-30 23:45:38 - [Commands] Received from C-2 (version=GC command=00DB flag=00000000)
0000000000000000 | DB 00 E0 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0000 | DB 00 E0 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000010 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0010 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000020 | 00 00 00 00 31 30 46 38 36 32 37 38 00 00 00 00 | 10F86278 0020 | 00 00 00 00 31 30 46 38 36 32 37 38 00 00 00 00 | 10F86278
0000000000000030 | 00 00 00 00 31 31 31 31 31 31 31 31 31 31 31 31 | 111111111111 0030 | 00 00 00 00 31 31 31 31 31 31 31 31 31 31 31 31 | 111111111111
0000000000000040 | 00 00 00 00 00 00 00 00 00 00 00 00 31 00 00 00 | 1 0040 | 00 00 00 00 00 00 00 00 00 00 00 00 31 00 00 00 | 1
0000000000000050 | 31 30 46 38 36 32 37 38 00 00 00 00 00 00 00 00 | 10F86278 0050 | 31 30 46 38 36 32 37 38 00 00 00 00 00 00 00 00 | 10F86278
0000000000000060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0060 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000070 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0070 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000080 | 31 31 31 31 31 31 31 31 31 31 31 31 00 00 00 00 | 111111111111 0080 | 31 31 31 31 31 31 31 31 31 31 31 31 00 00 00 00 | 111111111111
0000000000000090 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0090 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00000000000000A0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00A0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00000000000000B0 | 70 61 73 73 77 6F 72 64 00 00 00 00 00 00 00 00 | password 00B0 | 70 61 73 73 77 6F 72 64 00 00 00 00 00 00 00 00 | password
00000000000000C0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00C0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00000000000000D0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00D0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
I 22913 2022-06-30 23:45:38 - [Commands] Sending to C-2 (version=GC command=009A flag=00000002) I 22913 2022-06-30 23:45:38 - [Commands] Sending to C-2 (version=GC command=009A flag=00000002)
0000000000000000 | 9A 02 04 00 | 0000 | 9A 02 04 00 |
I 22913 2022-06-30 23:45:38 - [Commands] Received from C-2 (version=GC command=009E flag=00000001) I 22913 2022-06-30 23:45:38 - [Commands] Received from C-2 (version=GC command=009E flag=00000001)
0000000000000000 | 9E 01 50 01 00 00 FF FF FF FF FF FF 00 00 00 00 | P 0000 | 9E 01 50 01 00 00 FF FF FF FF FF FF 00 00 00 00 | P
0000000000000010 | 00 00 00 00 31 00 00 00 00 01 00 00 00 00 00 00 | 1 0010 | 00 00 00 00 31 00 00 00 00 01 00 00 00 00 00 00 | 1
0000000000000020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000030 | 00 00 00 00 00 00 00 00 00 00 00 00 31 30 46 38 | 10F8 0030 | 00 00 00 00 00 00 00 00 00 00 00 00 31 30 46 38 | 10F8
0000000000000040 | 36 32 37 38 00 00 00 00 00 00 00 00 31 31 31 31 | 6278 1111 0040 | 36 32 37 38 00 00 00 00 00 00 00 00 31 31 31 31 | 6278 1111
0000000000000050 | 31 31 31 31 31 31 31 31 00 00 00 00 31 30 46 38 | 11111111 10F8 0050 | 31 31 31 31 31 31 31 31 00 00 00 00 31 30 46 38 | 11111111 10F8
0000000000000060 | 36 32 37 38 00 00 00 00 00 00 00 00 00 00 00 00 | 6278 0060 | 36 32 37 38 00 00 00 00 00 00 00 00 00 00 00 00 | 6278
0000000000000070 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0070 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000080 | 00 00 00 00 00 00 00 00 00 00 00 00 31 31 31 31 | 1111 0080 | 00 00 00 00 00 00 00 00 00 00 00 00 31 31 31 31 | 1111
0000000000000090 | 31 31 31 31 31 31 31 31 00 00 00 00 00 00 00 00 | 11111111 0090 | 31 31 31 31 31 31 31 31 00 00 00 00 00 00 00 00 | 11111111
00000000000000A0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00A0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00000000000000B0 | 00 00 00 00 00 00 00 00 00 00 00 00 4E 4F 20 44 | NO D 00B0 | 00 00 00 00 00 00 00 00 00 00 00 00 4E 4F 20 44 | NO D
00000000000000C0 | 41 54 41 00 00 00 00 00 00 00 00 00 00 00 00 00 | ATA 00C0 | 41 54 41 00 00 00 00 00 00 00 00 00 00 00 00 00 | ATA
00000000000000D0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00D0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00000000000000E0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00E0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00000000000000F0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 00F0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000100 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0100 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000110 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0110 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000120 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0120 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000130 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0130 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
0000000000000140 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | 0140 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
I 22913 2022-06-30 23:45:38 - [Commands] Sending to C-2 (version=GC command=0004 flag=00000000) I 22913 2022-06-30 23:45:38 - [Commands] Sending to C-2 (version=GC command=0004 flag=00000000)
0000000000000000 | 04 00 2C 00 00 00 01 00 78 62 F8 10 39 98 AC 82 | , xb 9 0000 | 04 00 2C 00 00 00 01 00 78 62 F8 10 39 98 AC 82 | , xb 9
0000000000000010 | 0E 89 2A 49 00 01 00 00 00 00 00 00 FF FF FF FF | *I 0010 | 0E 89 2A 49 00 01 00 00 00 00 00 00 FF FF FF FF | *I
0000000000000020 | FF FF FF FF FF FF FF FF FF FF FF FF | 0020 | FF FF FF FF FF FF FF FF FF FF FF FF |
I 22913 2022-06-30 23:45:38 - [Commands] Sending to C-2 (version=GC command=001A flag=00000000) I 22913 2022-06-30 23:45:38 - [Commands] Sending to C-2 (version=GC command=001A flag=00000000)
0000000000000000 | D5 00 2C 00 59 6F 75 20 61 72 65 20 63 6F 6E 6E | , You are conn 0000 | D5 00 2C 00 59 6F 75 20 61 72 65 20 63 6F 6E 6E | , You are conn
0000000000000010 | 65 63 74 65 64 20 74 6F 20 09 43 36 41 6C 65 78 | ected to C6Alex 0010 | 65 63 74 65 64 20 74 6F 20 09 43 36 41 6C 65 78 | ected to C6Alex
0000000000000020 | 61 6E 64 72 69 61 09 43 37 2E 00 00 | andria C7. 0020 | 61 6E 64 72 69 61 09 43 37 2E 00 00 | andria C7.
I 22913 2022-06-30 23:45:39 - [Commands] Received from C-2 (version=GC command=0096 flag=00000000) I 22913 2022-06-30 23:45:39 - [Commands] Received from C-2 (version=GC command=0096 flag=00000000)
0000000000000000 | 96 00 0C 00 7C 49 C8 1B D5 05 00 00 | |I 0000 | 96 00 0C 00 7C 49 C8 1B D5 05 00 00 | |I
I 22913 2022-06-30 23:45:39 - [Commands] Sending to C-2 (version=GC command=00B1 flag=00000000) I 22913 2022-06-30 23:45:39 - [Commands] Sending to C-2 (version=GC command=00B1 flag=00000000)
0000000000000000 | B1 00 1C 00 32 30 32 32 3A 30 37 3A 30 31 3A 20 | 2022:07:01: 0000 | B1 00 1C 00 32 30 32 32 3A 30 37 3A 30 31 3A 20 | 2022:07:01:
0000000000000010 | 30 36 3A 34 35 3A 33 39 2E 30 30 30 | 06:45:39.000 0010 | 30 36 3A 34 35 3A 33 39 2E 30 30 30 | 06:45:39.000
I 22913 2022-06-30 23:45:39 - [Commands] Received from C-2 (version=GC command=0099 flag=00000000) I 22913 2022-06-30 23:45:39 - [Commands] Received from C-2 (version=GC command=0099 flag=00000000)
0000000000000000 | 99 00 04 00 | 0000 | 99 00 04 00 |
I 22913 2022-06-30 23:45:40 - [Commands] Received from C-2 (version=GC command=00D6 flag=00000000) I 22913 2022-06-30 23:45:40 - [Commands] Received from C-2 (version=GC command=00D6 flag=00000000)
0000000000000000 | D6 00 04 00 | 0000 | D6 00 04 00 |
I 22913 2022-06-30 23:45:40 - [Commands] Sending to C-2 (version=GC command=0007 flag=00000008) I 22913 2022-06-30 23:45:40 - [Commands] Sending to C-2 (version=GC command=0007 flag=00000008)
0000000000000000 | 07 06 C8 00 11 00 00 11 FF FF FF FF 04 00 41 6C | Al 0000 | 07 06 C8 00 11 00 00 11 FF FF FF FF 04 00 41 6C | Al
0000000000000010 | 65 78 61 6E 64 72 69 61 00 00 00 00 00 00 00 00 | exandria 0010 | 65 78 61 6E 64 72 69 61 00 00 00 00 00 00 00 00 | exandria
0000000000000020 | 11 00 00 11 11 22 22 11 04 0F 47 6F 20 74 6F 20 | "" Go to 0020 | 11 00 00 11 11 22 22 11 04 0F 47 6F 20 74 6F 20 | "" Go to
0000000000000030 | 6C 6F 62 62 79 00 00 00 00 00 00 00 11 00 00 11 | lobby 0030 | 6C 6F 62 62 79 00 00 00 00 00 00 00 11 00 00 11 | lobby
0000000000000040 | 11 33 33 11 04 0F 49 6E 66 6F 72 6D 61 74 69 6F | 33 Informatio 0040 | 11 33 33 11 04 0F 49 6E 66 6F 72 6D 61 74 69 6F | 33 Informatio
0000000000000050 | 6E 00 00 00 00 00 00 00 11 00 00 11 11 55 55 11 | n UU 0050 | 6E 00 00 00 00 00 00 00 11 00 00 11 11 55 55 11 | n UU
0000000000000060 | 04 0F 50 72 6F 78 79 20 73 65 72 76 65 72 00 00 | Proxy server 0060 | 04 0F 50 72 6F 78 79 20 73 65 72 76 65 72 00 00 | Proxy server
0000000000000070 | 00 00 00 00 11 00 00 11 11 44 44 11 04 0F 44 6F | DD Do 0070 | 00 00 00 00 11 00 00 11 11 44 44 11 04 0F 44 6F | DD Do
0000000000000080 | 77 6E 6C 6F 61 64 20 71 75 65 73 74 73 00 00 00 | wnload quests 0080 | 77 6E 6C 6F 61 64 20 71 75 65 73 74 73 00 00 00 | wnload quests
0000000000000090 | 11 00 00 11 11 88 88 11 04 0F 44 69 73 63 6F 6E | Discon 0090 | 11 00 00 11 11 88 88 11 04 0F 44 69 73 63 6F 6E | Discon
00000000000000A0 | 6E 65 63 74 00 00 00 00 00 00 00 00 11 00 00 11 | nect 00A0 | 6E 65 63 74 00 00 00 00 00 00 00 00 11 00 00 11 | nect
00000000000000B0 | 11 99 99 11 04 0F 43 6C 65 61 72 20 6C 69 63 65 | Clear lice 00B0 | 11 99 99 11 04 0F 43 6C 65 61 72 20 6C 69 63 65 | Clear lice
00000000000000C0 | 6E 73 65 00 00 00 00 00 | nse 00C0 | 6E 73 65 00 00 00 00 00 | nse
I 22913 2022-06-30 23:45:40 - [Commands] Sending to C-2 (version=GC command=0004 flag=00000000) I 22913 2022-06-30 23:45:40 - [Commands] Sending to C-2 (version=GC command=0004 flag=00000000)
0000000000000000 | 04 00 2C 00 00 00 01 00 78 62 F8 10 39 98 AC 82 | , xb 9 0000 | 04 00 2C 00 00 00 01 00 78 62 F8 10 39 98 AC 82 | , xb 9
0000000000000010 | 0E 89 2A 49 00 00 00 00 00 00 00 00 FF FF FF FF | *I 0010 | 0E 89 2A 49 00 00 00 00 00 00 00 00 FF FF FF FF | *I
0000000000000020 | FF FF FF FF FF FF FF FF FF FF FF FF | 0020 | FF FF FF FF FF FF FF FF FF FF FF FF |
I 22913 2022-06-30 23:45:41 - [Commands] Received from C-2 (version=GC command=0010 flag=00000000) I 22913 2022-06-30 23:45:41 - [Commands] Received from C-2 (version=GC command=0010 flag=00000000)
0000000000000000 | 10 00 0C 00 11 00 00 11 11 88 88 11 | 0000 | 10 00 0C 00 11 00 00 11 11 88 88 11 |
I 22913 2022-06-30 23:45:41 - [Server] Client disconnected: C-2 on virtual connection 0x103704560 I 22913 2022-06-30 23:45:41 - [Server] Client disconnected: C-2 on virtual connection 0x103704560
I 22913 2022-06-30 23:45:41 - [IPStackSimulator] Server closed TCP connection 29+2323232323280708 (10.0.1.5:1800 -> 35.35.35.35:9000) I 22913 2022-06-30 23:45:41 - [IPStackSimulator] Server closed TCP connection 29+2323232323280708 (10.0.1.5:1800 -> 35.35.35.35:9000)
I 22913 2022-06-30 23:45:45 - [IPStackSimulator] Client fd 29 disconnected I 22913 2022-06-30 23:45:45 - [IPStackSimulator] Client fd 29 disconnected
+1572 -1572
View File
File diff suppressed because it is too large Load Diff