From f35b6226c1478234ca2b7149f82d251cffca2f56 Mon Sep 17 00:00:00 2001 From: Andrew Gilewsky Date: Tue, 3 Oct 2023 11:25:44 +0100 Subject: [PATCH] Updated opcode indices for 6.5. --- idaplugins/ffnetwork.py | 137 ++++++++++++++++++++-------------------- 1 file changed, 69 insertions(+), 68 deletions(-) diff --git a/idaplugins/ffnetwork.py b/idaplugins/ffnetwork.py index c3bbd6c..49a2183 100644 --- a/idaplugins/ffnetwork.py +++ b/idaplugins/ffnetwork.py @@ -4,80 +4,81 @@ import ida_bytes import ida_search packet_names = { - 2: 'Ping', # note: could be +1 - 3: 'Init', # note: could be +1 - 8: 'Logout', # note: could be +1 - 11: 'CFCancel', # note: could be +1 - 13: 'CFDutyInfo', # note: could be +1 - 14: 'CFNotify', # note: could be +1 - 18: 'CFPreferredRole', # note: could be +1 - 81: 'CrossWorldLinkshellList', # note: could be +1 - 89: 'FellowshipList', # note: could be +1 - 111: 'Playtime', # note: could be +1 - 112: 'CFRegistered', # note: could be +1 - 115: 'Chat', # note: could be +1 - 122: 'RSVData', - 123: 'RSFData', - 124: 'SocialMessage', - 125: 'SocialMessage2', - 127: 'SocialList', - 128: 'SocialRequestResponse', - 129: 'ExamineSearchInfo', - 130: 'UpdateSearchInfo', - 131: 'InitSearchInfo', - 132: 'ExamineSearchComment', - 135: 'ServerNoticeShort', - 136: 'ServerNotice', - 137: 'SetOnlineStatus', - 138: 'LogMessage', - 142: 'Countdown', - 143: 'CountdownCancel', - 148: 'PartyMessage', - 150: 'PlayerAddedToBlacklist', - 151: 'PlayerRemovedFromBlacklist', - 152: 'BlackList', - 159: 'LinkshellList', - 159: 'MailDeleteRequest', - 164: 'MarketBoardItemListingCount', - 165: 'MarketBoardItemListing', - 167: 'MarketBoardPurchase', - 169: 'MarketBoardItemListingHistory', - 170: 'RetainerSaleHistory', - 172: 'MarketBoardSearchResult', - 174: 'FreeCompanyInfo', - 176: 'ExamineFreeCompanyInfo', - 177: 'FreeCompanyDialog', - 202: 'StatusEffectList', - 203: 'StatusEffectListEureka', - 204: 'StatusEffectListBozja', - 205: 'StatusEffectListDouble', - 207: 'EffectResult1', - 208: 'EffectResult4', - 209: 'EffectResult8', - 210: 'EffectResult16', - 212: 'EffectResultBasic1', - 213: 'EffectResultBasic4', - 214: 'EffectResultBasic8', - 215: 'EffectResultBasic16', - 216: 'EffectResultBasic32', - 217: 'EffectResultBasic64', - 218: 'ActorControl', - 219: 'ActorControlSelf', - 220: 'ActorControlTarget', - 221: 'UpdateHpMpTp', - 222: 'ActionEffect1', - 225: 'ActionEffect8', - 226: 'ActionEffect16', - 227: 'ActionEffect24', - 228: 'ActionEffect32', - 231: 'StatusEffectListPlayer', + 2: 'Ping', # note: could be +1/-1 + 3: 'Init', # note: could be +1/-1 + 8: 'Logout', # note: could be +1/-1 + 11: 'CFCancel', # note: could be +1/-1 + 13: 'CFDutyInfo', # note: could be +1/-1 + 14: 'CFNotify', # note: could be +1/-1 + 18: 'CFPreferredRole', # note: could be +1/-1 + 81: 'CrossWorldLinkshellList', # note: could be +1/-1 + 89: 'FellowshipList', # note: could be +1/-1 + 111: 'Playtime', # note: could be +1/-1 + 112: 'CFRegistered', # note: could be +1/-1 + 115: 'Chat', # note: could be +1/-1 + 121: 'RSVData', + 122: 'RSFData', + 123: 'SocialMessage', + 124: 'SocialMessage2', + 126: 'SocialList', + 127: 'SocialRequestResponse', + 128: 'ExamineSearchInfo', + 129: 'UpdateSearchInfo', + 130: 'InitSearchInfo', + 131: 'ExamineSearchComment', + 134: 'ServerNoticeShort', + 135: 'ServerNotice', + 136: 'SetOnlineStatus', + 137: 'LogMessage', + 141: 'Countdown', + 142: 'CountdownCancel', + 147: 'PartyMessage', + 149: 'PlayerAddedToBlacklist', + 150: 'PlayerRemovedFromBlacklist', + 151: 'BlackList', + 157: 'LinkshellList', + 158: 'MailDeleteRequest', + 162: 'MarketBoardItemListingCount', + 164: 'MarketBoardItemListing', + 166: 'MarketBoardPurchase', + 168: 'MarketBoardItemListingHistory', + 169: 'RetainerSaleHistory', + 171: 'MarketBoardSearchResult', + 173: 'FreeCompanyInfo', + 175: 'ExamineFreeCompanyInfo', + 176: 'FreeCompanyDialog', + 201: 'StatusEffectList', + 202: 'StatusEffectListEureka', + 203: 'StatusEffectListBozja', + 204: 'StatusEffectListDouble', + 206: 'EffectResult1', + 207: 'EffectResult4', + 208: 'EffectResult8', + 209: 'EffectResult16', + 211: 'EffectResultBasic1', + 212: 'EffectResultBasic4', + 213: 'EffectResultBasic8', + 214: 'EffectResultBasic16', + 215: 'EffectResultBasic32', + 216: 'EffectResultBasic64', + 217: 'ActorControl', + 218: 'ActorControlSelf', + 219: 'ActorControlTarget', + 220: 'UpdateHpMpTp', + 221: 'ActionEffect1', + 224: 'ActionEffect8', + 225: 'ActionEffect16', + 226: 'ActionEffect24', + 227: 'ActionEffect32', + 230: 'StatusEffectListPlayer', + 231: 'StatusEffectListPlayerDouble', 233: 'UpdateRecastTimes', 235: 'UpdateAllianceNormal', 236: 'UpdateAllianceSmall', 237: 'UpdatePartyMemberPositions', 238: 'UpdateAllianceNormalMemberPositions', 239: 'UpdateAllianceSmallMemberPositions', - 241: 'GCAffiliation', + 241: 'GCAffiliation', # ? 260: 'SpawnPlayer', 261: 'SpawnNPC', 262: 'SpawnBoss',