[CF-Devel] Server/Client code bug in Item1Cmd()

Michael Toennies mtx93 at informatik.uni-bremen.de
Fri Oct 27 13:53:58 CDT 2000


Hi

I just write a directx windows client.

It will be a client with some great features like .PNG grafix
HiColor (64k) colors in 800x600 and 1024x768, sound, sound streaming, etc.

I receycle a directx engine from an old full prize game i wrote and so i
was after a week nearly finished with the core engine and 70% of the cmds.

I use the code of the 095.7 client to include structures and cmds.

Now, I just run in a bug in the Item1Cmd() of the client, but also the
server
has a bug in his sending packet. The error happens if you have items with
big
names above 127 chars. Then the client crashes and/or the inventroy breaks.

It happens when the SC_VERSION is >= 1023 .


i include a dump of the package the SC_VERSION is 1022.
then this is generated.

CHAR[111]: 's' 115 (0x115)
CHAR[112]: 'm' 109 (0x109)
CHAR[113]: 'a' 97 (0x97)
CHAR[114]: 'l' 108 (0x108)
CHAR[115]: 'l' 108 (0x108)
CHAR[116]: ' ' 32 (0x32)
CHAR[117]: 'f' 102 (0x102)
CHAR[118]: 'i' 105 (0x105)
CHAR[119]: 'r' 114 (0x114)
CHAR[120]: 'e' 101 (0x101)
CHAR[121]: 'b' 98 (0x98)
CHAR[122]: 'a' 97 (0x97)
CHAR[123]: 'l' 108 (0x108)
CHAR[124]: 'l' 108 (0x108)
CHAR[125]: ']: 'l' 108 (0x108)
CHAR[191]: 'i' 105 (0x105)
CHAR[192]: 's' 115 (0x115)
CHAR[193]: 'm' 109 (0x109)
CHAR[194]: 'a' 97 (0x97)
CHAR[195]: 'n' 110 (0x110)
CHAR[196]: ' ' 32 (0x32)
CHAR[197]: '(' 40 (0x40)
CHAR[198]: 'A' 65 (0x65)
CHAR[199]: 't' 116 (0x116)
CHAR[200]: 't' 116 (0x116)
CHAR[201]: 'u' 117 (0x117)
CHAR[202]: 'n' 110 (0x110)
CHAR[203]: 'e' 101 (0x101)
CHAR[204]: 'd' 100 (0x100)
CHAR[205]: ':' 58 (0x58)
CHAR[206]: ' ' 32 (0x32)
CHAR[207]: 'S' 83 (0x83)
CHAR[208]: 'u' 117 (0x117)
CHAR[209]: 'm' 109 (0x109)
CHAR[210]: 'm' 109 (0x109)
CHAR[211]: 'o' 111 (0x111)
CHAR[212]: 'n' 110 (0x110)
CHAR[213]: 'i' 105 (0x105)
CHAR[214]: 'n' 110 (0x110)
CHAR[215]: 'g' 103 (0x103)
CHAR[216]: ')' 41 (0x41)
CHAR[217]: '(' 40 (0x40)
CHAR[218]: 'R' 82 (0x82)
CHAR[219]: 'e' 101 (0x101)
CHAR[220]: 'p' 112 (0x112)
CHAR[221]: 'e' 101 (0x101)
CHAR[222]: 'l' 108 (0x108)
CHAR[223]: 'l' 108 (0x108)
CHAR[224]: 'e' 101 (0x101)
CHAR[225]: 'd' 100 (0x100)
CHAR[226]: ':' 58 (0x58)
CHAR[227]: ' ' 32 (0x32)
CHAR[228]: 'T' 84 (0x84)
CHAR[229]: 'u' 117 (0x117)
CHAR[230]: 'r' 114 (0x114)
CHAR[231]: 'n' 110 (0x110)
CHAR[232]: 'i' 105 (0x105)
CHAR[233]: 'n' 110 (0x110)
CHAR[234]: 'g' 103 (0x103)
CHAR[235]: ')' 41 (0x41)
CHAR[236]: '09 (0x109)
CHAR[268]: 'm' 109 (0x109)
CHAR[269]: 'u' 117 (0x117)
CHAR[270]: 'n' 110 (0x110)
CHAR[271]: 'e' 101 (0x101)
CHAR[272]: ':' 58 (0x58)
CHAR[273]: ' ' 32 (0x32)
CHAR[274]: 'p' 112 (0x112)
CHAR[275]: 'h' 104 (0x104)
CHAR[276]: 'y' 121 (0x121)
CHAR[277]: 's' 115 (0x115)
CHAR[278]: 'i' 105 (0x105)
CHAR[279]: 'c' 99 (0x99)
CHAR[280]: 'a' 97 (0x97)
CHAR[281]: 'l' 108 (0x108)
CHAR[282]: ',' 44 (0x44)
CHAR[283]: ' ' 32 (0x32)
CHAR[284]: 'm' 109 (0x109)
CHAR[285]: 'a' 97 (0x97)
CHAR[286]: 'g' 103 (0x103)
CHAR[287]: 'i' 105 (0x105)
CHAR[288]: 'c' 99 (0x99)
CHAR[289]: 'a' 97 (0x97)
CHAR[290]: 'l' 108 (0x108)
CHAR[291]: ',' 44 (0x44)
CHAR[292]: ' ' 32 (0x32)
CHAR[293]: 'f' 102 (0x102)
CHAR[294]: 'i' 105 (0x105)
CHAR[295]: 'r' 114 (0x114)
CHAR[296]: 'e' 101 (0x101)
CHAR[297]: ',' 44 (0x44)
CHAR[298]: ' ' 32 (0x32)
CHAR[299]: 'e' 101 (0x101)
CHAR[300]: 'l' 108 (0x108)
CHAR[301]: 'e' 101 (0x101)
CHAR[302]: 'c' 99 (0x99)
CHAR[303]: 't' 116 (0x116)
CHAR[304]: 'r' 114 (0x114)
CHAR[305]: 'i' 105 (0x105)
CHAR[306]: 'c' 99 (0x99)
CHAR[307]: 'i' 105 (0x105)
CHAR[308]: 't' 116 (0x116)
CHAR[309]: 'y' 121 (0x121)
CHAR[310]: ',' 44 (0x44)
CHAR[311]: ' ' 32 (0x32)
CHAR[312]: 'c' 99 (0x99)
CHAR[313]: 'o' 111 (0x111)
CHAR[314]: 'l' 108 (0x108)
CHAR[315]: 'd' 100 (0x100)
CHAR[316]: ',' 44 (0x44)
CHAR[317]: ' ' 32 (0x32)
CHAR[318]: 'c' 99 (0x99)
CHAR[319]: 'o' 111 (0x111)
CHAR[320]: 'n' 110 (0x110)
CHAR[321]: 'f' 102 (0x102)
CHAR[322]: 'u' 117 (0x117)
CHAR[323]: 's' 115 (0x115)
CHAR[324]: 'i' 105 (0x105)
CHAR[325]: 'o' 111 (0x111)
CHAR[326]: 'n' 110 (0x110)
CHAR[327]: ',' 44 (0x44)
CHAR[328]: ' ' 32 (0x32)
CHAR[329]: 'a' 97 (0x97)
CHAR[330]: 'c' 99 (0x99)
CHAR[331]: 'i' 105 (0x105)
CHAR[332]: 'd' 100 (0x100)
CHAR[333]: ',' 44 (0x44)
CHAR[334]: ' ' 32 (0x32)
CHAR[335]: 'd' 100 (0x100)
CHAR[336]: 'r' 114 (0x114)
CHAR[337]: 'a' 97 (0x97)
CHAR[338]: 'i' 105 (0x105)
CHAR[339]: 'n' 110 (0x110)
CHAR[340]: ',' 44 (0x44)
CHAR[341]: ' ' 32 (0x32)
CHAR[342]: 'w' 119 (0x119)
CHAR[343]: 'e' 101 (0x101)
CHAR[344]: 'a' 97 (0x97)
CHAR[345]: 'p' 112 (0x112)
CHAR[346]: 'o' 111 (0x111)
CHAR[347]: 'n' 110 (0x110)
CHAR[348]: 'm' 109 (0x109)
CHAR[349]: 'a' 97 (0x97)
CHAR[350]: 'g' 103 (0x103)
CHAR[351]: 'i' 105 (0x105)
CHAR[352]: 'c' 99 (0x99)
CHAR[353]: ',' 44 (0x44)
CHAR[354]: ' ' 32 (0x32)
CHAR[355]: 'g' 103 (0x103)
CHAR[356]: 'h' 104 (0x104)
CHAR[357]: 'o' 111 (0x111)
CHAR[358]: 's' 115 (0x115)
CHAR[359]: 't' 116 (0x116)
CHAR[360]: 'h' 104 (0x104)
CHAR[361]: 'i' 105 (0x105)
CHAR[362]: 't' 116 (0x116)
CHAR[363]: ',' 44 (0x44)
CHAR[364]: ' ' 32 (0x32)
CHAR[365]: 'p' 112 (0x112)
CHAR[366]: 'o' 111 (0x111)
CHAR[367]: 'i' 105 (0x105)
CHAR[368]: 's' 115 (0x115)
CHAR[369]: 'o' 111 (0x111)
CHAR[370]: 'n' 110 (0x110)
CHAR[371]: ',' 44 (0x44)
CHAR[372]: ' ' 32 (0x32)
CHAR[373]: 's' 115 (0x115)
CHAR[374]: 'l' 108 (0x108)
CHAR[375]: 'o' 111 (0x111)
CHAR[376]: 'w' 119 (0x119)
CHAR[377]: ',' 44 (0x44)
CHAR[378]: ' ' 32 (0x32)
CHAR[379]: 'p' 112 (0x112)
CHAR[380]: 'a' 97 (0x97)
CHAR[381]: 'r' 114 (0x114)
CHAR[382]: 'a' 97 (0x97)
CHAR[383]: 'l' 108 (0x108)
CHAR[384]: 'y' 121 (0x121)
CHAR[385]: 'z' 122 (0x122)
CHAR[386]: 'e' 101 (0x101)
CHAR[387]: ',' 44 (0x44)
CHAR[388]: ' ' 32 (0x32)
CHAR[389]: 't' 116 (0x116)
CHAR[390]: 'u' 117 (0x117)
CHAR[391]: 'r' 114 (0x114)
CHAR[392]: 'n' 110 (0x110)
CHAR[393]: ' ' 32 (0x32)
CHAR[394]: 'u' 117 (0x117)
CHAR[395]: 'n' 110 (0x110)
CHAR[396]: 'd' 100 (0x100)
CHAR[397]: 'e' 101 (0x101)
CHAR[398]: 'a' 97 (0x97)
CHAR[399]: 'd' 100 (0x100)
CHAR[400]: ',' 44 (0x44)
CHAR[401]: ' ' 32 (0x32)
CHAR[402]: 'f' 102 (0x102)
CHAR[403]: 'e' 101 (0x101)
CHAR[404]: 'a' 97 (0x97)
CHAR[405]: 'r' 114 (0x114)
CHAR[406]: ')' 41 (0x41)

And now the broken packets you got if you use SC_VERSION = 0124 or greater.
Also the strcpy() of the names looks not right.
And why is the item name double copied with a zero string?
CHAR[105]: 'm' 109 (0x109)
CHAR[106]: 'a' 97 (0x97)
CHAR[107]: 'g' 103 (0x103)
CHAR[108]: 'i' 105 (0x105)
CHAR[109]: 'c' 99 (0x99)
CHAR[110]: ' ' 32 (0x32)
CHAR[111]: 'b' 98 (0x98)
CHAR[112]: 'u' 117 (0x117)
CHAR[113]: 'l' 108 (0x108)
CHAR[114]: 'l' 108 (0x108)
CHAR[115]: 'e' 101 (0x101)
CHAR[116]: 't' 116 (0x116)
CHAR[117]: '' 102 (0x102)
CHAR[180]: 'i' 105 (0x105)
CHAR[181]: 'r' 114 (0x114)
CHAR[182]: 'e' 101 (0x101)
CHAR[183]: 'b' 98 (0x98)
CHAR[184]: 'a' 97 (0x97)
CHAR[185]: 'l' 108 (0x108)
CHAR[186]: 'l' 108 (0x108)
CHAR[187]: 'R[257]: 'a' 97 (0x97)
CHAR[258]: 'l' 108 (0x108)
CHAR[259]: 'i' 105 (0x105)
CHAR[260]: 's' 115 (0x115)
CHAR[261]: 'm' 109 (0x109)
CHAR[262]: 'a' 97 (0x97)
CHAR[263]: 'n' 110 (0x110)
CHAR[264]: ' ' 32 (0x32)
CHAR[265]: '(' 40 (0x40)
CHAR[266]: 'A' 65 (0x65)
CHAR[267]: 't' 116 (0x116)
CHAR[268]: 't' 116 (0x116)
CHAR[269]: 'u' 117 (0x117)
CHAR[270]: 'n' 110 (0x110)
CHAR[271]: 'e' 101 (0x101)
CHAR[272]: 'd' 100 (0x100)
CHAR[273]: ':' 58 (0x58)
CHAR[274]: ' ' 32 (0x32)
CHAR[275]: 'S' 83 (0x83)
CHAR[276]: 'u' 117 (0x117)
CHAR[277]: 'm' 109 (0x109)
CHAR[278]: 'm' 109 (0x109)
CHAR[279]: 'o' 111 (0x111)
CHAR[280]: 'n' 110 (0x110)
CHAR[281]: 'i' 105 (0x105)
CHAR[282]: 'n' 110 (0x110)
CHAR[283]: 'g' 103 (0x103)
CHAR[284]: ')' 41 (0x41)
CHAR[285]: '(' 40 (0x40)
CHAR[286]: 'R' 82 (0x82)
CHAR[287]: 'e' 101 (0x101)
CHAR[288]: 'p' 112 (0x112)
CHAR[289]: 'e' 101 (0x101)
CHAR[290]: 'l' 108 (0x108)
CHAR[291]: 'l' 108 (0x108)
CHAR[292]: 'e' 101 (0x101)
CHAR[293]: 'd' 100 (0x100)
CHAR[294]: ':' 58 (0x58)
CHAR[295]: ' ' 32 (0x32)
CHAR[296]: 'T' 84 (0x84)
CHAR[297]: 'u' 117 (0x117)
CHAR[298]: 'r' 114 (0x114)
CHAR[299]: 'n' 110 (0x110)
CHAR[300]: 'i' 105 (0x105)
CHAR[301]: 'n' 110 (0x110)
CHAR[302]: 'g' 103 (0x103)
CHAR[303]: ')' 41 (0x41)
CHAR[304]: 'HAR[332]: 'e' 101 (0x101)
CHAR[333]: 'd' 100 (0x100)
CHAR[334]: ':' 58 (0x58)
CHAR[335]: ' ' 32 (0x32)
CHAR[336]: 'S' 83 (0x83)
CHAR[337]: 'u' 117 (0x117)
CHAR[338]: 'm' 109 (0x109)
CHAR[339]: 'm' 109 (0x109)
CHAR[340]: 'o' 111 (0x111)
CHAR[341]: 'n' 110 (0x110)
CHAR[342]: 'i' 105 (0x105)
CHAR[343]: 'n' 110 (0x110)
CHAR[344]: 'g' 103 (0x103)
CHAR[345]: ')' 41 (0x41)
CHAR[346]: '(' 40 (0x40)
CHAR[347]: 'R' 82 (0x82)
CHAR[348]: 'e' 101 (0x101)
CHAR[349]: 'p' 112 (0x112)
CHAR[350]: 'e' 101 (0x101)
CHAR[351]: 'l' 108 (0x108)
CHAR[352]: 'l' 108 (0x108)
CHAR[353]: 'e' 101 (0x101)
CHAR[354]: 'd' 100 (0x100)
CHAR[355]: ':' 58 (0x58)
CHAR[356]: ' ' 32 (0x32)
CHAR[357]: 'T' 84 (0x84)
CHAR[358]: 'u' 117 (0x117)
CHAR[359]: 'r' 114 (0x114)
CHAR[360]: 'n' 110 (0x110)
CHAR[361]: 'i' 105 (0x105)
CHAR[362]: 'n' 110 (0x110)
CHAR[363]: 'g' 103 (0x103)
CHAR[364]: ')' 41 (0x41)
CHAR[365]: '409]: 'a' 97 (0x97)
CHAR[410]: 'l' 108 (0x108)
CHAR[411]: ',' 44 (0x44)
CHAR[412]: ' ' 32 (0x32)
CHAR[413]: 'm' 109 (0x109)
CHAR[414]: 'a' 97 (0x97)
CHAR[415]: 'g' 103 (0x103)
CHAR[416]: 'i' 105 (0x105)
CHAR[417]: 'c' 99 (0x99)
CHAR[418]: 'a' 97 (0x97)
CHAR[419]: 'l' 108 (0x108)
CHAR[420]: ',' 44 (0x44)
CHAR[421]: ' ' 32 (0x32)
CHAR[422]: 'f' 102 (0x102)
CHAR[423]: 'i' 105 (0x105)
CHAR[424]: 'r' 114 (0x114)
CHAR[425]: 'e' 101 (0x101)
CHAR[426]: ',' 44 (0x44)
CHAR[427]: ' ' 32 (0x32)
CHAR[428]: 'e' 101 (0x101)
CHAR[429]: 'l' 108 (0x108)
CHAR[430]: 'e' 101 (0x101)
CHAR[431]: 'c' 99 (0x99)
CHAR[432]: 't' 116 (0x116)
CHAR[433]: 'r' 114 (0x114)
CHAR[434]: 'i' 105 (0x105)
CHAR[435]: 'c' 99 (0x99)
CHAR[436]: 'i' 105 (0x105)
CHAR[437]: 't' 116 (0x116)
CHAR[438]: 'y' 121 (0x121)
CHAR[439]: ',' 44 (0x44)
CHAR[440]: ' ' 32 (0x32)
CHAR[441]: 'c' 99 (0x99)
CHAR[442]: 'o' 111 (0x111)
CHAR[443]: 'l' 108 (0x108)
CHAR[444]: 'd' 100 (0x100)
CHAR[445]: ',' 44 (0x44)
CHAR[446]: ' ' 32 (0x32)
CHAR[447]: 'c' 99 (0x99)
CHAR[448]: 'o' 111 (0x111)
CHAR[449]: 'n' 110 (0x110)
CHAR[450]: 'f' 102 (0x102)
CHAR[451]: 'u' 117 (0x117)
CHAR[452]: 's' 115 (0x115)
CHAR[453]: 'i' 105 (0x105)
CHAR[454]: 'o' 111 (0x111)
CHAR[455]: 'n' 110 (0x110)
CHAR[456]: ',' 44 (0x44)
CHAR[457]: ' ' 32 (0x32)
CHAR[458]: 'a' 97 (0x97)
CHAR[459]: 'c' 99 (0x99)
CHAR[460]: 'i' 105 (0x105)
CHAR[461]: 'd' 100 (0x100)
CHAR[462]: ',' 44 (0x44)
CHAR[463]: ' ' 32 (0x32)
CHAR[464]: 'd' 100 (0x100)
CHAR[465]: 'r' 114 (0x114)
CHAR[466]: 'a' 97 (0x97)
CHAR[467]: 'i' 105 (0x105)
CHAR[468]: 'n' 110 (0x110)
CHAR[469]: ',' 44 (0x44)
CHAR[470]: ' ' 32 (0x32)
CHAR[471]: 'w' 119 (0x119)
CHAR[472]: 'e' 101 (0x101)
CHAR[473]: 'a' 97 (0x97)
CHAR[474]: 'p' 112 (0x112)
CHAR[475]: 'o' 111 (0x111)
CHAR[476]: 'n' 110 (0x110)
CHAR[477]: 'm' 109 (0x109)
CHAR[478]: 'a' 97 (0x97)
CHAR[479]: 'g' 103 (0x103)
CHAR[480]: 'i' 105 (0x105)
CHAR[481]: 'c' 99 (0x99)
CHAR[482]: ',' 44 (0x44)
CHAR[483]: ' ' 32 (0x32)
CHAR[484]: 'g' 103 (0x103)
CHAR[485]: 'h' 104 (0x104)
CHAR[486]: 'o' 111 (0x111)
CHAR[487]: 's' 115 (0x115)
CHAR[488]: 't' 116 (0x116)
CHAR[489]: 'h' 104 (0x104)
CHAR[490]: 'i' 105 (0x105)
CHAR[491]: 't' 116 (0x116)
CHAR[492]: ',' 44 (0x44)
CHAR[493]: ' ' 32 (0x32)
CHAR[494]: 'p' 112 (0x112)
CHAR[495]: 'o' 111 (0x111)
CHAR[496]: 'i' 105 (0x105)
CHAR[497]: 's' 115 (0x115)
CHAR[498]: 'o' 111 (0x111)
CHAR[499]: 'n' 110 (0x110)
CHAR[500]: ',' 44 (0x44)
CHAR[501]: ' ' 32 (0x32)
CHAR[502]: 's' 115 (0x115)
CHAR[503]: 'l' 108 (0x108)
CHAR[504]: 'o' 111 (0x111)
CHAR[505]: 'w' 119 (0x119)
CHAR[506]: ',' 44 (0x44)
CHAR[507]: ' ' 32 (0x32)
CHAR[508]: 'p' 112 (0x112)
CHAR[509]: 'a' 97 (0x97)
CHAR[510]: 'r' 114 (0x114)
CHAR[511]: 'a' 97 (0x97)
CHAR[512]: 'l' 108 (0x108)
CHAR[513]: 'y' 121 (0x121)
CHAR[514]: 'z' 122 (0x122)
CHAR[515]: 'e' 101 (0x101)
CHAR[516]: '1 (0x101)
CHAR[560]: 'c' 99 (0x99)
CHAR[561]: 't' 116 (0x116)
CHAR[562]: 'r' 114 (0x114)
CHAR[563]: 'i' 105 (0x105)
CHAR[564]: 'c' 99 (0x99)
CHAR[565]: 'i' 105 (0x105)
CHAR[566]: 't' 116 (0x116)
CHAR[567]: 'y' 121 (0x121)
CHAR[568]: ',' 44 (0x44)
CHAR[569]: ' ' 32 (0x32)
CHAR[570]: 'c' 99 (0x99)
CHAR[571]: 'o' 111 (0x111)
CHAR[572]: 'l' 108 (0x108)
CHAR[573]: 'd' 100 (0x100)
CHAR[574]: ',' 44 (0x44)
CHAR[575]: ' ' 32 (0x32)
CHAR[576]: 'c' 99 (0x99)
CHAR[577]: 'o' 111 (0x111)
CHAR[578]: 'n' 110 (0x110)
CHAR[579]: 'f' 102 (0x102)
CHAR[580]: 'u' 117 (0x117)
CHAR[581]: 's' 115 (0x115)
CHAR[582]: 'i' 105 (0x105)
CHAR[583]: 'o' 111 (0x111)
CHAR[584]: 'n' 110 (0x110)
CHAR[585]: ',' 44 (0x44)
CHAR[586]: ' ' 32 (0x32)
CHAR[587]: 'a' 97 (0x97)
CHAR[588]: 'c' 99 (0x99)
CHAR[589]: 'i' 105 (0x105)
CHAR[590]: 'd' 100 (0x100)
CHAR[591]: ',' 44 (0x44)
CHAR[592]: ' ' 32 (0x32)
CHAR[593]: 'd' 100 (0x100)
CHAR[594]: 'r' 114 (0x114)
CHAR[595]: 'a' 97 (0x97)
CHAR[596]: 'i' 105 (0x105)
CHAR[597]: 'n' 110 (0x110)
CHAR[598]: ',' 44 (0x44)
CHAR[599]: ' ' 32 (0x32)
CHAR[600]: 'w' 119 (0x119)
CHAR[601]: 'e' 101 (0x101)
CHAR[602]: 'a' 97 (0x97)
CHAR[603]: 'p' 112 (0x112)
CHAR[604]: 'o' 111 (0x111)
CHAR[605]: 'n' 110 (0x110)
CHAR[606]: 'm' 109 (0x109)
CHAR[607]: 'a' 97 (0x97)
CHAR[608]: 'g' 103 (0x103)
CHAR[609]: 'i' 105 (0x105)
CHAR[610]: 'c' 99 (0x99)
CHAR[611]: ',' 44 (0x44)
CHAR[612]: ' ' 32 (0x32)
CHAR[613]: 'g' 103 (0x103)
CHAR[614]: 'h' 104 (0x104)
CHAR[615]: 'o' 111 (0x111)
CHAR[616]: 's' 115 (0x115)
CHAR[617]: 't' 116 (0x116)
CHAR[618]: 'h' 104 (0x104)
CHAR[619]: 'i' 105 (0x105)
CHAR[620]: 't' 116 (0x116)
CHAR[621]: ',' 44 (0x44)
CHAR[622]: ' ' 32 (0x32)
CHAR[623]: 'p' 112 (0x112)
CHAR[624]: 'o' 111 (0x111)
CHAR[625]: 'i' 105 (0x105)
CHAR[626]: 's' 115 (0x115)
CHAR[627]: 'o' 111 (0x111)
CHAR[628]: 'n' 110 (0x110)
CHAR[629]: ',' 44 (0x44)
CHAR[630]: ' ' 32 (0x32)
CHAR[631]: 's' 115 (0x115)
CHAR[632]: 'l' 108 (0x108)
CHAR[633]: 'o' 111 (0x111)
CHAR[634]: 'w' 119 (0x119)
CHAR[635]: ',' 44 (0x44)
CHAR[636]: ' ' 32 (0x32)
CHAR[637]: 'p' 112 (0x112)
CHAR[638]: 'a' 97 (0x97)
CHAR[639]: 'r' 114 (0x114)
CHAR[640]: 'a' 97 (0x97)
CHAR[641]: 'l' 108 (0x108)
CHAR[642]: 'y' 121 (0x121)
CHAR[643]: '5 (0x115)

if you parse, you got this
NAME: face:740320111 nlen:108 flags:1668575849 d, confusion, acid, drain,
weaponmagic, ghosthit, poison, slow, paraly
Could not find match for d, confusion, acid, drain, weaponmagic, ghosthit,
poison,

Well, look in the code, it looks like a bad bug. Also if it looks like the
routine parse the packet right,
its not true.

Michael Toennies


    
    


More information about the crossfire mailing list