viewing paste Unknown #55162 | C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
 
void CPacketLenMgr::InitPacketLengthComplex()
{
    AddPacketLength(HEADER_CZ_REQUEST_ACT2, 7, 7, FALSE);
    AddPacketLength(HEADER_CZ_USE_SKILL2, 10, 10, FALSE);
    AddPacketLength(HEADER_CZ_REQUEST_MOVE2, 5, 5, FALSE);
    AddPacketLength(HEADER_CZ_REQUEST_TIME2, 6, 6, FALSE);
    AddPacketLength(HEADER_CZ_CHANGE_DIRECTION2, 5, 5, FALSE);
    AddPacketLength(HEADER_CZ_ITEM_PICKUP2, 6, 6, FALSE);
    AddPacketLength(HEADER_CZ_ITEM_THROW2, 6, 6, FALSE);
    AddPacketLength(HEADER_CZ_MOVE_ITEM_FROM_BODY_TO_STORE2, 8, 8, FALSE);
    AddPacketLength(HEADER_CZ_MOVE_ITEM_FROM_STORE_TO_BODY2, 8, 8, FALSE);
    AddPacketLength(HEADER_CZ_USE_SKILL_TOGROUND2, 10, 10, FALSE);
    AddPacketLength(HEADER_CZ_USE_SKILL_TOGROUND_WITHTALKBOX2, 31, 31, FALSE);
    AddPacketLength(HEADER_CZ_REQNAME2, 6, 6, FALSE);
    AddPacketLength(HEADER_CZ_REQNAME_BYGID2, 6, 6, FALSE);
    AddPacketLength(HEADER_CZ_SSILIST_ITEM_CLICK, 14, 14, FALSE);
    AddPacketLength(HEADER_CZ_SEARCH_STORE_INFO_NEXT_PAGE, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_SEARCH_STORE_INFO, -1, 15, FALSE);
    AddPacketLength(HEADER_CZ_REQ_TRADE_BUYING_STORE, -1, 12, FALSE);
    AddPacketLength(HEADER_CZ_REQ_CLICK_TO_BUYING_STORE, 6, 6, FALSE);
    AddPacketLength(HEADER_CZ_REQ_CLOSE_BUYING_STORE, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REQ_OPEN_BUYING_STORE, -1, 89, FALSE);
    AddPacketLength(HEADER_CZ_PARTY_BOOKING_REQ_REGISTER, 18, 18, FALSE);
    AddPacketLength(HEADER_CZ_JOIN_BATTLE_FIELD, 8, 8, FALSE);
    AddPacketLength(HEADER_CZ_ITEMLISTWIN_RES, -1, 12, FALSE);
    AddPacketLength(HEADER_CZ_ENTER2, sizeof(PACKET_CZ_ENTER2), sizeof(PACKET_CZ_ENTER2), FALSE);
    AddPacketLength(HEADER_CZ_PARTY_JOIN_REQ, 26, 26, FALSE);
    AddPacketLength(HEADER_CZ_GANGSI_RANK, 4, 4, FALSE);
    AddPacketLength(HEADER_CZ_ADD_FRIENDS, 26, 26, FALSE);
    AddPacketLength(HEADER_CZ_COMMAND_MER, 5, 5, FALSE);
    AddPacketLength(HEADER_CZ_ACK_STORE_PASSWORD, 36, 36, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH01, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH02, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH03, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH04, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH05, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH06, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH07, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH08, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH09, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH10, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH11, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH12, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH13, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH14, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH15, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH16, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH17, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH18, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH19, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH20, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH21, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH22, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH23, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH24, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH25, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH26, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH27, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH28, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH29, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH30, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH31, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH32, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH33, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH34, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH35, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH36, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH37, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH38, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH39, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH40, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH41, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH42, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH43, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH44, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH45, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH46, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH47, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH48, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH49, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH50, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH51, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH52, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH53, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH54, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH55, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH56, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH57, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH58, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH59, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH60, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH61, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH62, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH63, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH64, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH65, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH66, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH67, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH68, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH69, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH70, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH71, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH72, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH73, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH74, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH75, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH76, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH77, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH78, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH79, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH80, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH81, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH82, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH83, 2, 2, FALSE);
    AddPacketLength(HEADER_ZC_REASSEMBLY_AUTH84, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH01, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH02, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH03, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH04, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH05, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH06, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH07, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH08, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH09, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH10, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH11, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH12, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH13, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH14, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH15, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH16, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH17, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH18, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH19, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH20, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH21, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH22, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH23, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH24, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH25, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH26, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH27, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH28, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH29, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH30, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH31, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH32, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH33, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH34, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH35, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH36, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH37, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH38, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH39, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH40, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH41, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH42, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH43, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH44, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH45, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH46, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH47, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH48, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH49, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH50, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH51, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH52, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH53, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH54, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH55, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH56, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH57, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH58, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH59, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH60, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH61, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH62, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH63, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH64, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH65, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH66, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH67, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH68, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH69, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH70, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH71, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH72, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH73, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH74, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH75, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH76, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH77, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH78, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH79, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH80, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH81, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH82, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH83, 2, 2, FALSE);
    AddPacketLength(HEADER_CZ_REASSEMBLY_AUTH84, 2, 2, FALSE);
}
 
Viewed 470 times, submitted by mrdiablo.