Skip to content

Instantly share code, notes, and snippets.

@Akkadius
Last active March 22, 2025 04:35
Packet Count by Opcode:
[0x0024] 41
[0x0213] 16
[0x0003] 483
[0x0459] 297
[0x003c] 61
[0x4008] 36
[0x0073] 159
[0x0110] 5
[0x0014] 170
[0x0462] 41
[0x010f] 11
[0x000b] 4
[0x0121] 3
[0x0008] 53
[0x0465] 1
[0x0042] 1262
[0x4002] 520
[0x0460] 4
[0x000a] 1388
[0x0157] 361
[0x0034] 8
[0x0078] 4
[0x0032] 1
[0x0090] 8
[0x0455] 41
[0x015f] 48
[0x003e] 8
[0x0061] 6
[0x0028] 10652
[0x0064] 362
[0x0009] 4
[0x0450] 37
[0x007f] 4
[0x0002] 123
[0x003d] 29
[0x045c] 41
[0x0458] 41
[0x0015] 159
[0x0023] 556
[0x200c] 52
[0x4509] 3
[0x0111] 4
[0x3003] 53
[0x0469] 53
[0x4006] 52
[0x0038] 13
[0x0062] 8
[0x0036] 53
[0x0120] 7
[0x0467] 361
[0x0211] 5
[0x0454] 41
[0x0451] 3
tail -f logs/world_3983638.log | awk '
/Packet S->S/ {
if (match($0, /\[0x[0-9A-Fa-f]+\]/)) {
opcode = substr($0, RSTART, RLENGTH);
count[opcode]++;
}
}
(systime() - last_update >= 5) {
system("clear");
print "Packet Count by Opcode:";
for (i in count) print i, count[i];
last_update = systime();
}'
Packet Count by Opcode:
[0x0213] 5
[0x0024] 3
[0x0003] 93
[0x003c] 22
[0x0459] 72
[0x4008] 3
[0x0021] 4
[0x0073] 38
[0x0110] 3
[0x0014] 50
[0x0011] 1
[0x0462] 6
[0x010f] 9
[0x000b] 4
[0x0121] 3
[0x0008] 6
[0x0465] 1
[0x0042] 555
[0x4002] 120
[0x0460] 1
[0x000a] 418
[0x0157] 82
[0x0078] 2
[0x0090] 19
[0x0032] 3
[0x0455] 6
[0x015f] 6
[0x003e] 1
[0x0061] 4
[0x0028] 5115
[0x0064] 83
[0x0009] 288
[0x0450] 17
[0x007f] 2
[0x0002] 34
[0x003d] 6
[0x045c] 6
[0x0458] 6
[0x0015] 38
[0x0023] 205
[0x200c] 6
[0x4509] 3
[0x3003] 6
[0x0469] 8
[0x4006] 6
[0x0038] 6
[0x0062] 4
[0x0036] 6
[0x0120] 1
[0x0467] 82
[0x007e] 1
[0x000e] 1
[0x0211] 1
[0x007b] 1
[0x0454] 6
Opcode Count Name
0x0002 123 ServerOP_ChannelMessage
0x0003 483 ServerOP_SetZone
0x0008 53 ServerOP_SetConnectInfo
0x0009 4 ServerOP_EmoteMessage
0x000A 1388 ServerOP_ClientList
0x000B 4 ServerOP_Who
0x0014 170 ServerOP_GuildMemberUpdate
0x0015 159 ServerOP_RequestOnlineGuildMembers
0x0023 556 ServerOP_ZoneToZoneRequest
0x0024 41 ServerOP_AcceptWorldEntrance
0x0028 10652 ServerOP_ClientListKA
0x0032 1 ServerOP_GroupLeave
0x0034 8 ServerOP_SpawnCondition
0x0036 53 ServerOP_SetLaunchName
0x0038 13 ServerOP_SpawnPlayerCorpse
0x003C 61 ServerOP_OOZGroupMessage
0x003D 29 ServerOP_DisbandGroup
0x003E 8 ServerOP_GroupJoin
0x0042 1262 ServerOP_IsOwnerOnline
0x0061 6 ServerOP_QGlobalUpdate
0x0062 8 ServerOP_QGlobalDelete
0x0064 362 ServerOP_RequestTellQueue
0x0073 159 ServerOP_GuildTributeOptInToggle
0x0078 4 ServerOP_GuildMemberLevelUpdate
0x007F 4 ServerOP_GuildMembersList
0x0090 8 ServerOP_ParcelDelivery
0x010F 11 ServerOP_GroupInvite
0x0110 5 ServerOP_GroupFollow
0x0111 4 ServerOP_GroupFollowAck
0x0120 7 ServerOP_TraderMessaging
0x0121 3 ServerOP_BazaarPurchase
0x0157 361 ServerOP_AdventureDataRequest
0x015F 48 ServerOP_AdventureZoneData
0x0211 5 ServerOP_FriendsWho
0x0213 16 ServerOP_LFPUpdate
0x0450 37 ServerOP_DzAddRemoveMember
0x0451 3 ServerOP_DzRemoveAllMembers
0x0454 41 ServerOP_DzSetCompass
0x0455 41 ServerOP_DzSetSafeReturn
0x0458 41 ServerOP_DzGetMemberStatuses
0x0459 297 ServerOP_DzUpdateMemberStatus
0x045C 41 ServerOP_DzCreated
0x0460 4 ServerOP_DzLock
0x0462 41 ServerOP_DzLockout
0x0465 1 ServerOP_DzAddPlayer
0x0467 361 ServerOP_DzRequestInvite
0x0469 53 ServerOP_DzGetBulkMemberStatuses
0x200C 52 ServerOP_GetWorldTime
0x3003 53 ServerOP_LSZoneBoot
0x4002 520 ServerOP_QueryServGeneric
0x4006 52 ServerOP_UCSServerStatusRequest
0x4008 36 ServerOP_DiscordWebhookMessage
0x4509 3 ServerOP_CZClientMessageString
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment