Quote:
Originally Posted by lvszoc
it don't work...
because nothing bytes between two quests...
example
Code:
97 00 00 00
10 00
58
01 01 01 01
14 00
53 4E 5F 43 4F 4E 5F 51 4E 4F 5F 45 55 5F 43 4F 4E 53 5F 32 _CON_QNO_EU_CONS
01 00 00 00 00
01
4D 1D 00 00
99 00 00 00 _2......M.......
10 01
58 01
01 01
01
14 00
53 4E 5F 43 4F 4E 5F 51 4E 4F 5F 45 55 5F 43 4F 4E 53 5F 34
01 00 00 00 00
01 4C 1D 00 00
reader reads 01 4D 1D 00 00 in while and read one byte "99" for while detection, but this byte a part of second quest
|
oh sry,I sent you the old code..
byte nextdata = p.ReadUInt8();
if (nextdata == 1)
{
p.ReadUInt32();
}
that's the one I use at that part,but I dunno about the last 5 bytes o_O
I've never got that in the end,lol.
EDIT:
BTW if you read this:
[dword] id
[word] sth
[byte] if this byte is 0x58,you'll need to read +5 bytes at the end of it^^,I guess:P