Author | Message | Time |
---|---|---|
Elneroth | Here's all the packet lengths for D2GS. Me and LivedKrad took these from the D2Net.dll Diablo 2 game file. Thanks to UserLoser for posting the address to find it at ;D Note: Undefined means that it has a byte somewhere within the packet to determine the length. [code]0 = 0x01 1 = 0x08 2 = 0x01 3 = 0x0C 4 = 0x01 5 = 0x01 6 = 0x01 7 = 0x06 8 = 0x06 9 = 0x0B 10 = 0x06 11 = 0x06 12 = 0x09 13 = 0x0D 14 = 0x0C 15 = 0x10 16 = 0x10 17 = 0x08 18 = 0x1A 19 = 0x0E 20 = 0x12 21 = 0x0B 22 = Undefined 23 = 0x00 24 = 0x0F 25 = 0x02 26 = 0x02 27 = 0x03 28 = 0x05 29 = 0x03 30 = 0x04 31 = 0x06 32 = 0x0A 33 = 0x0C 34 = 0x0C 35 = 0x0D 36 = 0x5A 37 = 0x5A 38 = Undefined 39 = 0x28 40 = 0x67 41 = 0x61 42 = 0x0F 43 = 0x00 44 = 0x08 45 = 0x00 46 = 0x00 47 = 0x00 48 = 0x00 49 = 0x00 50 = 0x00 51 = 0x00 52 = 0x00 53 = 0x00 54 = 0x00 55 = 0x00 56 = 0x00 57 = 0x00 58 = 0x00 59 = 0x00 60 = 0x00 61 = 0x00 62 = Undefined 63 = 0x08 64 = 0x0D 65 = 0x00 66 = 0x06 67 = 0x00 68 = 0x00 69 = 0x0D 70 = 0x00 71 = 0x0B 72 = 0x0B 73 = 0x00 74 = 0x00 75 = 0x00 76 = 0x10 77 = 0x11 78 = 0x07 79 = 0x01 80 = 0x0F 81 = 0x0E 82 = 0x2A 83 = 0x0A 84 = 0x03 85 = 0x00 86 = 0x00 87 = 0x0E 88 = 0x07 89 = 0x1A 90 = 0x28 91 = Undefined 92 = 0x05 93 = 0x06 94 = 0x26 95 = 0x05 96 = 0x07 97 = 0x02 98 = 0x07 99 = 0x15 100 = 0x00 101 = 0x7 102 = 0x07 103 = 0x10 104 = 0x15 105 = 0x0C 106 = 0x0C 107 = 0x10 108 = 0x10 109 = 0x0A 110 = 0x01 111 = 0x01 112 = 0x01 113 = 0x01 114 = 0x01 115 = 0x20 116 = 0x0A 117 = 0x0D 118 = 0x06 119 = 0x02 120 = 0x15 121 = 0x06 122 = 0x0D 123 = 0x08 124 = 0x06 125 = 0x12 126 = 0x05 127 = 0x0A 128 = 0x00 129 = 0x14 130 = 0x1D 131 = 0x00 132 = 0x00 133 = 0x00 134 = 0x00 135 = 0x00 136 = 0x00 137 = 0x02 138 = 0x06 139 = 0x06 140 = 0x0B 141 = 0x07 142 = 0x0A 143 = 0x21 144 = 0x0D 145 = 0x1A 146 = 0x06 147 = 0x08 148 = Undefined 149 = 0x0D 150 = 0x09 151 = 0x01 152 = 0x07: 153 = 0x10 154 = 0x11 155 = 0x07 156 = Undefined 157 = Undefined 158 = 0x07 159 = 0x08 160 = 0x0A 161 = 0x07 162 = 0x08 163 = 0x18 164 = 0x03 165 = 0x08 166 = Undefined 167 = 0x07 168 = Undefined 169 = 0x07 170 = Undefined 171 = 0x07 172 = Undefined 173 = 0x09 174 = Undefined 175 = 0x01 176 = 0x00 177 = 0x35 178 = Undefined 179 = 0x05[/code] *Edit*: (7/12/05) #18 -> 0x1A *Edit*: (7/13/05) 2:26PM EST #24 -> 0x0F #63 -> 0x08 #89 -> 0x1A | July 13, 2005, 3:54 AM |
LivedKrad | His post is rather unclear. Developers should create an array with 180 elements with each array element width being 4 bytes. Each index of the array is going to correspond to the packet number, and the value will be its length. Values listed as "Undefined" above are 4byte value 0xFFFFFFFF (-1). | July 13, 2005, 10:58 AM |
Elneroth | Has anyone found any updates to this lately? | October 17, 2005, 1:41 PM |
Ringo | there still good, all that needs changing is: [code] 175 = 0x01 176 = 0x00 [/code] to [code] 175 = 0x00 176 = 0x01 [/code] 0xAF droped due to time out is now 0xB0. Other than that, i dont think there was any big server side changes | October 17, 2005, 3:02 PM |