inada-s / zdxsv

Gundam vs. Zeta Gundam private game server
https://zdxsv.net
GNU Affero General Public License v3.0
10 stars 6 forks source link

collect battle result #25

Closed inada-s closed 4 years ago

inada-s commented 4 years ago

We can get a battle-log of wins and losses after the match is over, but for now it is completely ignored. We should collect them and store to database.

Later, I would like to introduce a rating system.

inada-s commented 4 years ago

BattleResult format (from client binary)

SendCommand
SendData16
SendStringData2
SendData8
SendData8
SendData8
SendData8
SendData8
SendData8
SendData8
SendData32
SendData32
SendData32
SendData32
SendData32
SendData8
SendData8
SendData8
SendData8
SendData8
SendData16
SendData16
SendData16
SendData16
SendData16
SendData16
SendData16
SendData16
SetSendCommandLen
Write_Socket

the flag about battle result stored at 0x00c94ea0

inada-s commented 4 years ago

Despite the server sending a 0x6138 command, the client returns no response. Apparently it is necessary to set a flag whether or not to record battle log.

inada-s commented 4 years ago

try to kill a branch at 0034e5c0

inada-s commented 4 years ago

I got it, Apparenly I have to send AskBattleResult packet before NoticeLoginOk. movie: https://www.youtube.com/watch?v=i9tuvk8h8rg


1196-lobby_1         | I1106 18:23:06.006003       1 msg_battle.go:135] == BattleResult ==
1197-lobby_1         | I1106 18:23:06.006622       1 msg_battle.go:136] ID: 9BAKB8
1198-lobby_1         | I1106 18:23:06.006742       1 msg_battle.go:137] Name: 1phn
1199-lobby_1         | I1106 18:23:06.006924       1 msg_battle.go:141] Pos:?
1200:lobby_1         | I1106 18:23:06.007131       1 msg_battle.go:143] C->S [A] ID:0x6138 Seq:14 Body(69 bytes):
1201-lobby_1         | 00000000  67 89 00 11 00 96 38 3b  37 03 1b 05 08 07 01 01  |g.....8;7.......|
1202-lobby_1         | 00000010  0c 1b 03 1d 10 00 00 02  01 01 00 01 00 00 00 01  |................|
1203-lobby_1         | 00000020  00 00 00 01 00 00 06 69  00 00 06 3b 00 00 06 3b  |.......i...;...;|
1204-lobby_1         | 00000030  01 00 00 00 00 00 06 00  00 00 0f 00 08 00 00 00  |................|
1205-lobby_1         | 00000040  19 00 00 03 e7                                    |.....|
1206-lobby_1         |
1207-lobby_1         | I1106 18:23:06.007356       1 msg_battle.go:144] ==================

1209-lobby_1         | I1106 18:23:06.008092       1 msg_battle.go:135] == BattleResult ==
1210-lobby_1         | I1106 18:23:06.008241       1 msg_battle.go:136] ID: N863R3
1211-lobby_1         | I1106 18:23:06.008331       1 msg_battle.go:137] Name: 3phn
1212-lobby_1         | I1106 18:23:06.008507       1 msg_battle.go:141] Pos:?

1201-lobby_1         | 00000000  67 89 00 11 00 96 38 3b  37 03 1b 05 08 07 01 01  |g.....8;7.......|
1202-lobby_1         | 00000010  0c 1b 03 1d 10 00 00 02  01 01 00 01 00 00 00 01  |................|
1203-lobby_1         | 00000020  00 00 00 01 00 00 06 69  00 00 06 3b 00 00 06 3b  |.......i...;...;|
1204-lobby_1         | 00000030  01 00 00 00 00 00 06 00  00 00 0f 00 08 00 00 00  |................|
1205-lobby_1         | 00000040  19 00 00 03 e7                                    |.....|
1206-lobby_1         |
1207-lobby_1         | I1106 18:23:06.007356       1 msg_battle.go:144] ==================

1220-lobby_1         | I1106 18:23:06.009559       1 msg_battle.go:144] ==================
1221-lobby_1         | I1106 18:23:06.009624       1 app.go:183] Cmd: __cnet_SendAns_BattleResult
1222-lobby_1         | I1106 18:23:06.010441       1 msg_battle.go:135] == BattleResult ==
1223-lobby_1         | I1106 18:23:06.011145       1 msg_battle.go:136] ID: XLLD97
1224-lobby_1         | I1106 18:23:06.011188       1 msg_battle.go:137] Name: 4phn
1225-lobby_1         | I1106 18:23:06.011215       1 msg_battle.go:141] Pos:?
1226:lobby_1         | I1106 18:23:06.011692       1 msg_battle.go:143] C->S [A] ID:0x6138 Seq:18 Body(69 bytes):
1227-lobby_1         | 00000000  67 89 00 11 00 96 34 37  3b 07 1f 01 0c 1b 1d 1d  |g.....47;.......|
1228-lobby_1         | 00000010  10 1f 07 19 14 00 00 02  01 01 01 00 00 00 00 01  |................|
1229-lobby_1         | 00000020  00 00 00 01 00 00 06 69  00 00 08 da 00 00 08 da  |.......i........|
1230-lobby_1         | 00000030  02 00 00 00 00 00 06 00  00 00 0f 00 08 00 00 00  |................|
1231-lobby_1         | 00000040  16 00 00 03 e7                                    |.....|
1232-lobby_1         |
1233-lobby_1         | I1106 18:23:06.011719       1 msg_battle.go:144] ==================

1242-lobby_1         | I1106 18:23:06.015256       1 msg_battle.go:135] == BattleResult ==
1243-lobby_1         | I1106 18:23:06.015284       1 msg_battle.go:136] ID: K59I2T
1244-lobby_1         | I1106 18:23:06.015335       1 msg_battle.go:137] Name: 2phn
1245-lobby_1         | I1106 18:23:06.015361       1 msg_battle.go:141] Pos:?
1246:lobby_1         | I1106 18:23:06.015396       1 msg_battle.go:143] C->S [A] ID:0x6138 Seq:20 Body(69 bytes):
1247-lobby_1         | 00000000  67 89 00 11 00 96 36 31  3d 05 1d 1f 12 19 1f 1b  |g.....61=.......|
1248-lobby_1         | 00000010  16 1d 05 17 1a 00 00 02  01 01 00 01 00 00 00 00  |................|
1249-lobby_1         | 00000020  00 00 00 01 00 00 06 69  00 00 05 53 00 00 05 53  |.......i...S...S|
1250-lobby_1         | 00000030  01 00 00 00 00 00 06 00  00 00 0f 00 08 00 00 00  |................|
1251-lobby_1         | 00000040  08 00 00 03 e7                                    |.....|
1252-lobby_1         |
inada-s commented 4 years ago

parsed log. it seems wrong (I got this packet after backing to login scene)

26505
1230
0
2
1
1
1
0
1
0
1641
2655
2655
2
0
0
0
0
6
0
15
8
0
18
0
999
inada-s commented 4 years ago

test1

lobby_1         | I1106 19:14:46.505617       1 msg_battle.go:135] == BattleResult ==
lobby_1         | I1106 19:14:46.505646       1 msg_battle.go:136] ID: XLLD97
lobby_1         | I1106 19:14:46.505673       1 msg_battle.go:137] Name: 4phn
lobby_1         | I1106 19:14:46.505701       1 msg_battle.go:141] Pos:?
lobby_1         | I1106 19:14:46.505735       1 msg_battle.go:143] C->S [A] ID:0x6138 Seq:1249 Body(69 bytes):
lobby_1         | 00000000  67 89 00 11 00 96 65 64  6a 50 4e 52 5d 54 6c 6e  |g.....edjPNR]Tln|
lobby_1         | 00000010  61 68 76 6a 65 00 00 02  01 03 02 01 00 00 00 01  |ahvje...........|
lobby_1         | 00000020  00 00 00 02 00 00 04 95  00 00 07 b0 00 00 10 14  |................|
lobby_1         | 00000030  02 00 00 00 00 00 06 00  00 00 0f 00 08 00 00 00  |................|
lobby_1         | 00000040  3a 00 00 03 e7                                    |:....|
lobby_1         | 
lobby_1         | I1106 19:14:46.505764       1 msg_battle.go:144] ==================
lobby_1         | I1106 19:14:46.514609       1 server.go:240]     <-172.19.0.1:51560 C->S [Q] ID:0x600E Seq:2031 Body(5 bytes):
lobby_1         | 00000000  00 03 00 30 5a                                    |...0Z|
lobby_1         | 
lobby_1         | I1106 19:14:46.514728       1 app.go:183] Cmd: _cnet_RecvFromLbs_AnswerEchoPacket
--
lobby_1         | I1106 19:14:46.554617       1 msg_battle.go:135] == BattleResult ==
lobby_1         | I1106 19:14:46.554646       1 msg_battle.go:136] ID: N863R3
lobby_1         | I1106 19:14:46.554691       1 msg_battle.go:137] Name: 3phn
lobby_1         | I1106 19:14:46.554748       1 msg_battle.go:141] Pos:?
lobby_1         | I1106 19:14:46.554784       1 msg_battle.go:143] C->S [A] ID:0x6138 Seq:1252 Body(69 bytes):
lobby_1         | 00000000  67 89 00 11 00 96 66 61  6d 55 4d 6f 62 69 6f 6b  |g.....famUMobiok|
lobby_1         | 00000010  66 6d 75 67 6a 00 00 02  01 03 02 01 00 00 00 02  |fmugj...........|
lobby_1         | 00000020  00 00 00 01 00 00 04 95  00 00 07 d8 00 00 12 48  |...............H|
lobby_1         | 00000030  02 00 00 00 00 00 06 00  00 00 0f 00 08 00 00 00  |................|
lobby_1         | 00000040  3e 00 00 03 e7                                    |>....|
lobby_1         | 
lobby_1         | I1106 19:14:46.554848       1 msg_battle.go:144] ==================
lobby_1         | I1106 19:14:46.557770       1 server.go:240]     <-172.19.0.1:51556 C->S [A] ID:0x6103 Seq:1792 Body(33 bytes):
lobby_1         | 00000000  00 01 06 00 0c 01 f7 4b  43 4b 41 58 41 4f 42 42  |.......KCKAXAOBB|
lobby_1         | 00000010  39 00 01 00 02 00 00 00  00 00 20 00 00 00 00 00  |9......... .....|
lobby_1         | 00000020  00                                                |.|
--
lobby_1         | I1106 19:14:46.616083       1 msg_battle.go:135] == BattleResult ==
lobby_1         | I1106 19:14:46.616110       1 msg_battle.go:136] ID: K59I2T
lobby_1         | I1106 19:14:46.616137       1 msg_battle.go:137] Name: 2phn
lobby_1         | I1106 19:14:46.616165       1 msg_battle.go:141] Pos:?
lobby_1         | I1106 19:14:46.616200       1 msg_battle.go:143] C->S [A] ID:0x6138 Seq:1256 Body(69 bytes):
lobby_1         | 00000000  67 89 00 11 00 96 62 5d  51 69 71 6b 66 6d 6b 67  |g.....b]Qiqkfmkg|
lobby_1         | 00000010  6a 61 79 63 6e 00 00 02  01 03 01 02 00 00 00 01  |jaycn...........|
lobby_1         | 00000020  00 00 00 02 00 00 04 95  00 00 07 c1 00 00 0f b0  |................|
lobby_1         | 00000030  01 00 00 00 00 00 06 00  00 00 0f 00 08 00 00 00  |................|
lobby_1         | 00000040  38 00 00 03 e7                                    |8....|
lobby_1         | 
lobby_1         | I1106 19:14:46.616232       1 msg_battle.go:144] ==================
lobby_1         | I1106 19:14:46.624602       1 server.go:240]     <-172.19.0.1:51556 C->S [A] ID:0x6138 Seq:1258 Body(69 bytes):
lobby_1         | 00000000  67 89 00 11 00 96 5c 5f  53 6f 77 69 64 63 65 65  |g.....\_Sowidcee|
lobby_1         | 00000010  68 67 7f 61 6c 00 00 02  01 03 01 02 00 00 00 02  |hg.al...........|
lobby_1         | 00000020  00 00 00 02 00 00 04 95  00 00 0a 5e 00 00 19 82  |...........^....|
--
lobby_1         | I1106 19:14:46.624878       1 msg_battle.go:135] == BattleResult ==
lobby_1         | I1106 19:14:46.624906       1 msg_battle.go:136] ID: 9BAKB8
lobby_1         | I1106 19:14:46.624971       1 msg_battle.go:137] Name: 1phn
lobby_1         | I1106 19:14:46.625003       1 msg_battle.go:141] Pos:?
lobby_1         | I1106 19:14:46.625072       1 msg_battle.go:143] C->S [A] ID:0x6138 Seq:1258 Body(69 bytes):
lobby_1         | 00000000  67 89 00 11 00 96 5c 5f  53 6f 77 69 64 63 65 65  |g.....\_Sowidcee|
lobby_1         | 00000010  68 67 7f 61 6c 00 00 02  01 03 01 02 00 00 00 02  |hg.al...........|
lobby_1         | 00000020  00 00 00 02 00 00 04 95  00 00 0a 5e 00 00 19 82  |...........^....|
lobby_1         | 00000030  01 00 00 00 00 00 06 00  00 00 0f 00 08 00 00 00  |................|
lobby_1         | 00000040  3c 00 00 03 e7                                    |<....|
lobby_1         | 
lobby_1         | I1106 19:14:46.625100       1 msg_battle.go:144] ==================
lobby_1         | I1106 19:14:48.641828       1 server.go:240]     <-172.19.0.1:51562 C->S [Q] ID:0x614C Seq:1647 Body(0 bytes):
lobby_1         | 
lobby_1         | I1106 19:14:48.642012       1 app.go:183] Cmd: _cnet_RecvFromLbs_AnswerTopInformation
lobby_1         | I1106 19:14:48.642055       1 server.go:146]     ->172.19.0.1:51562 C<-S [A] ID:0x614C Seq:1647 Body(1 bytes):
inada-s commented 4 years ago
1258
0x67, 0x89, 0x00, 0x11, 0x00, 0x96, 0x5c, 0x5f, 0x53, 0x6f, 0x77, 0x69, 0x64, 0x63, 0x65, 0x65,
0x68, 0x67, 0x7f, 0x61, 0x6c, 0x00, 0x00, 0x02, 0x01, 0x03, 0x01, 0x02, 0x00, 0x00, 0x00, 0x02,
0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x04, 0x95, 0x00, 0x00, 0x0a, 0x5e, 0x00, 0x00, 0x19, 0x82,
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x08, 0x00, 0x00, 0x00,
0x3c, 0x00, 0x00, 0x03, 0xe7,

1256
0x67, 0x89, 0x00, 0x11, 0x00, 0x96, 0x62, 0x5d, 0x51, 0x69, 0x71, 0x6b, 0x66, 0x6d, 0x6b, 0x67,
0x6a, 0x61, 0x79, 0x63, 0x6e, 0x00, 0x00, 0x02, 0x01, 0x03, 0x01, 0x02, 0x00, 0x00, 0x00, 0x01,
0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x04, 0x95, 0x00, 0x00, 0x07, 0xc1, 0x00, 0x00, 0x0f, 0xb0,
0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x08, 0x00, 0x00, 0x00,
0x38, 0x00, 0x00, 0x03, 0xe7,

1252
0x67, 0x89, 0x00, 0x11, 0x00, 0x96, 0x66, 0x61, 0x6d, 0x55, 0x4d, 0x6f, 0x62, 0x69, 0x6f, 0x6b,
0x66, 0x6d, 0x75, 0x67, 0x6a, 0x00, 0x00, 0x02, 0x01, 0x03, 0x02, 0x01, 0x00, 0x00, 0x00, 0x02,
0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x04, 0x95, 0x00, 0x00, 0x07, 0xd8, 0x00, 0x00, 0x12, 0x48,
0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x08, 0x00, 0x00, 0x00,
0x3e, 0x00, 0x00, 0x03, 0xe7,

1249
0x67, 0x89, 0x00, 0x11, 0x00, 0x96, 0x65, 0x64, 0x6a, 0x50, 0x4e, 0x52, 0x5d, 0x54, 0x6c, 0x6e,
0x61, 0x68, 0x76, 0x6a, 0x65, 0x00, 0x00, 0x02, 0x01, 0x03, 0x02, 0x01, 0x00, 0x00, 0x00, 0x01,
0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x04, 0x95, 0x00, 0x00, 0x07, 0xb0, 0x00, 0x00, 0x10, 0x14,
0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x0f, 0x00, 0x08, 0x00, 0x00, 0x00,
0x3a, 0x00, 0x00, 0x03, 0xe7,

=== RUN   Test_ParseBattleResult
=== RUN   Test_ParseBattleResult/test1-1p
==================
26505
1230
0
2
1
3
1
2
2
2
1173
2654
6530
1
0
0
0
0
6
0
15
8
0
60
0
999

==================
=== RUN   Test_ParseBattleResult/test1-2p
==================
26505
1230
0
2
1
3
1
2
1
2
1173
1985
4016
1
0
0
0
0
6
0
15
8
0
56
0
999

==================
=== RUN   Test_ParseBattleResult/test1-3p
==================
26505
1230
0
2
1
3
2
1
2
1
1173
2008
4680
2
0
0
0
0
6
0
15
8
0
62
0
999

==================
=== RUN   Test_ParseBattleResult/test1-4p
==================
26505
1230
0
2
1
3
2
1
1
2
1173
1968
4116
2
0
0
0
0
6
0
15
8
0
58
0
999
inada-s commented 4 years ago
スクリーンショット 2019-11-07 05 24 09 スクリーンショット 2019-11-07 05 24 29 スクリーンショット 2019-11-07 05 24 45
inada-s commented 4 years ago

vlcsnap-2019-11-07-06h59m30s334

1p

 {
  "unk_01": 26505,
  "battle_code": "123\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
  "unk_03": 0,
  "unk_04": 0,
  "unk_05": 2,
  "unk_06": 1,
  "battle_count": 1,
  "win_count": 1,
  "lose_count": 0,
  "unk_10": 3,
  "unk_11": 1,
  "unk_12": 2633,
  "unk_13": 2052,
  "unk_14": 2052,
  "side": 1,
  "unk_16": 0,
  "unk_17": 0,
  "unk_18": 0,
  "unk_19": 0,
  "unk_20": 6,
  "unk_21": 0,
  "unk_22": 15,
  "unk_23": 8,
  "unk_24": 0,
  "unk_25": 10,
  "unk_26": 0,
  "unk_27": 999
}

2p

{
  "unk_01": 26505,
  "battle_code": "123\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
  "unk_03": 0,
  "unk_04": 0,
  "unk_05": 2,
  "unk_06": 1,
  "battle_count": 1,
  "win_count": 1,
  "lose_count": 0,
  "unk_10": 0,
  "unk_11": 1,
  "unk_12": 2633,
  "unk_13": 1453,
  "unk_14": 1453,
  "side": 1,
  "unk_16": 0,
  "unk_17": 0,
  "unk_18": 0,
  "unk_19": 0,
  "unk_20": 6,
  "unk_21": 0,
  "unk_22": 15,
  "unk_23": 8,
  "unk_24": 0,
  "unk_25": 8,
  "unk_26": 0,
  "unk_27": 999
}

3p

{
  "unk_01": 26505,
  "battle_code": "123\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
  "unk_03": 0,
  "unk_04": 0,
  "unk_05": 2,
  "unk_06": 1,
  "battle_count": 1,
  "win_count": 0,
  "lose_count": 1,
  "unk_10": 1,
  "unk_11": 1,
  "unk_12": 2633,
  "unk_13": 1224,
  "unk_14": 1224,
  "side": 2,
  "unk_16": 0,
  "unk_17": 0,
  "unk_18": 0,
  "unk_19": 0,
  "unk_20": 6,
  "unk_21": 0,
  "unk_22": 15,
  "unk_23": 8,
  "unk_24": 0,
  "unk_25": 8,
  "unk_26": 0,
  "unk_27": 999
}

4p

{
  "unk_01": 26505,
  "battle_code": "123\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
  "unk_03": 0,
  "unk_04": 0,
  "unk_05": 2,
  "unk_06": 1,
  "battle_count": 1,
  "win_count": 0,
  "lose_count": 1,
  "unk_10": 1,
  "unk_11": 2,
  "unk_12": 2633,
  "unk_13": 1446,
  "unk_14": 1446,
  "side": 2,
  "unk_16": 0,
  "unk_17": 0,
  "unk_18": 0,
  "unk_19": 0,
  "unk_20": 6,
  "unk_21": 0,
  "unk_22": 15,
  "unk_23": 8,
  "unk_24": 0,
  "unk_25": 6,
  "unk_26": 0,
  "unk_27": 999
}

2633/60 = 43.8833333333

inada-s commented 4 years ago

キャプチャ

1p
{
  "unk_01": 26505,
  "battle_code": "123\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
  "unk_03": 0,
  "unk_04": 0,
  "unk_05": 2,
  "unk_06": 1,
  "battle_count": 1,
  "win_count": 1,
  "lose_count": 0,
  "kill_count": 2,
  "death_count": 0,
  "total_frame": 3387,
  "unk_13": 2398,
  "unk_14": 2398,
  "side": 1,
  "unk_16": 0,
  "unk_17": 0,
  "unk_18": 0,
  "unk_19": 0,
  "unk_20": 6,
  "unk_21": 0,
  "unk_22": 15,
  "unk_23": 8,
  "unk_24": 0,
  "unk_25": 11,
  "unk_26": 0,
  "unk_27": 999
}

2p
{
  "unk_01": 26505,
  "battle_code": "123\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
  "unk_03": 0,
  "unk_04": 0,
  "unk_05": 2,
  "unk_06": 1,
  "battle_count": 1,
  "win_count": 1,
  "lose_count": 0,
  "kill_count": 0,
  "death_count": 0,
  "total_frame": 3387,
  "unk_13": 200,
  "unk_14": 200,
  "side": 1,
  "unk_16": 0,
  "unk_17": 0,
  "unk_18": 0,
  "unk_19": 0,
  "unk_20": 6,
  "unk_21": 0,
  "unk_22": 15,
  "unk_23": 8,
  "unk_24": 0,
  "unk_25": 11,
  "unk_26": 0,
  "unk_27": 999
}
3p
{
  "unk_01": 26505,
  "battle_code": "123\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
  "unk_03": 0,
  "unk_04": 0,
  "unk_05": 2,
  "unk_06": 1,
  "battle_count": 1,
  "win_count": 0,
  "lose_count": 1,
  "kill_count": 0,
  "death_count": 0,
  "total_frame": 3387,
  "unk_13": 400,
  "unk_14": 400,
  "side": 2,
  "unk_16": 0,
  "unk_17": 0,
  "unk_18": 0,
  "unk_19": 0,
  "unk_20": 6,
  "unk_21": 0,
  "unk_22": 15,
  "unk_23": 8,
  "unk_24": 0,
  "unk_25": 11,
  "unk_26": 0,
  "unk_27": 999
}

4p
{
  "unk_01": 26505,
  "battle_code": "123\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
  "unk_03": 0,
  "unk_04": 0,
  "unk_05": 2,
  "unk_06": 1,
  "battle_count": 1,
  "win_count": 0,
  "lose_count": 1,
  "kill_count": 0,
  "death_count": 2,
  "total_frame": 3387,
  "unk_13": 0,
  "unk_14": 0,
  "side": 2,
  "unk_16": 0,
  "unk_17": 0,
  "unk_18": 0,
  "unk_19": 0,
  "unk_20": 6,
  "unk_21": 0,
  "unk_22": 15,
  "unk_23": 8,
  "unk_24": 0,
  "unk_25": 13,
  "unk_26": 0,
  "unk_27": 999
}
inada-s commented 4 years ago

I don't know the meaning of all the values, but I could extract enough information to record the results.

inada-s commented 4 years ago

Total frame seems to be the value of the first game.

inada-s commented 4 years ago

OnMatching code: 0x6917

request

    jal     $00345dc0       # 00350628:0c0d1770 ▲SetSendData8

response

    jal     $003458c0       # 003500e0:0c0d1630 ▲GetRecvData8
    jal     $003458d0       # 0035010c:0c0d1634 ▲GetRecvData16
    jal     $003458f0       # 00350138:0c0d163c ▲GetRecvData32
    jal     $003458f0       # 00350164:0c0d163c ▲GetRecvData32
    jal     $003458f0       # 00350190:0c0d163c ▲GetRecvData32
    jal     $003458f0       # 003501bc:0c0d163c ▲GetRecvData32
    jal     $003458f0       # 003501e8:0c0d163c ▲GetRecvData32
inada-s commented 4 years ago

0x6145

_cnet_RecvFromLbs_AnswerPersonalRecordData
  new 7 (16 hits)
    Line 19:    jal     $003458c0       # 0034eae0:0c0d1630 ▲GetRecvData8
    Line 22:    jal     $003458c0       # 0034eaec:0c0d1630 ▲GetRecvData8
    Line 45:    jal     $003458f0       # 0034eb48:0c0d163c ▲GetRecvData32
    Line 48:    jal     $003458f0       # 0034eb54:0c0d163c ▲GetRecvData32
    Line 51:    jal     $003458f0       # 0034eb60:0c0d163c ▲GetRecvData32
    Line 54:    jal     $003458c0       # 0034eb6c:0c0d1630 ▲GetRecvData8
    Line 57:    jal     $003458f0       # 0034eb78:0c0d163c ▲GetRecvData32
    Line 60:    jal     $003458f0       # 0034eb84:0c0d163c ▲GetRecvData32
    Line 63:    jal     $003458f0       # 0034eb90:0c0d163c ▲GetRecvData32
    Line 66:    jal     $003458f0       # 0034eb9c:0c0d163c ▲GetRecvData32
    Line 69:    jal     $003458f0       # 0034eba8:0c0d163c ▲GetRecvData32
    Line 72:    jal     $003458f0       # 0034ebb4:0c0d163c ▲GetRecvData32
    Line 75:    jal     $003458f0       # 0034ebc0:0c0d163c ▲GetRecvData32
    Line 78:    jal     $003458f0       # 0034ebcc:0c0d163c ▲GetRecvData32
    Line 81:    jal     $003458f0       # 0034ebd8:0c0d163c ▲GetRecvData32
    Line 84:    jal     $003458f0       # 0034ebe4:0c0d163c ▲GetRecvData32

6146

  new 8 (9 hits)
    Line 19:    jal     $003458c0       # 0034ec60:0c0d1630 ▲GetRecvData8
    Line 22:    jal     $003458c0       # 0034ec6c:0c0d1630 ▲GetRecvData8
    Line 42:    jal     $00345920       # 0034ecbc:0c0d1648 ▲GetRecvDataString
    Line 45:    jal     $003458c0       # 0034ecc8:0c0d1630 ▲GetRecvData8
    Line 48:    jal     $003458c0       # 0034ecd4:0c0d1630 ▲GetRecvData8
    Line 51:    jal     $003458c0       # 0034ece0:0c0d1630 ▲GetRecvData8
    Line 54:    jal     $003458c0       # 0034ecec:0c0d1630 ▲GetRecvData8
    Line 57:    jal     $003458c0       # 0034ecf8:0c0d1630 ▲GetRecvData8
    Line 60:    jal     $003458c0       # 0034ed04:0c0d1630 ▲GetRecvData8
inada-s commented 4 years ago

28 merged