Author | Message | Time |
---|---|---|
ShaDoWDeM | game list | June 15, 2006, 12:47 AM |
l2k-Shadow | Well... can you start out by perhaps posting the packet log of what the game list you receive and then your code that you use to parse? If you believe that is where your error is, than we need to see some code in order to help you. | June 15, 2006, 1:24 AM |
Topaz | We can't help you if you won't help yourself... | June 15, 2006, 1:24 AM |
Quarantine | Lol, no one is going to steal your code. If we can help you out chances are we already have done it. | June 15, 2006, 1:33 AM |
ShaDoWDeM | [code] 00000000 FF 09 17 00 0A 00 00 00 1F 00 00 00 00 00 00 00 ........ ........ 00000010 19 00 00 00 00 00 00 ....... 00000000 FF 09 E2 08 14 00 00 00 0A 00 01 00 09 04 00 00 ........ ........ 00000010 02 00 17 E0 44 D1 A6 E6 00 00 00 00 00 00 00 00 ....D... ........ 00000020 04 00 00 00 12 00 00 00 43 69 76 69 6C 69 7A 61 ........ Civiliza 00000030 74 69 6F 6E 20 41 4F 45 21 00 00 2C 2C 31 36 2C tion AOE !..,,16, 00000040 36 2C 2C 61 2C 2C 31 2C 39 62 30 30 63 35 63 36 6,,a,,1, 9b00c5c6 00000050 2C 34 2C 2C 67 61 77 79 6E 0D 43 69 76 69 6C 69 ,4,,gawy n.Civili 00000060 7A 61 74 69 6F 6E 3A 20 41 67 65 73 20 6F 66 20 zation: Ages of 00000070 45 61 72 74 68 0D 00 0A 00 01 00 12 04 00 00 02 Earth... ........ 00000080 00 17 E0 DD A8 00 A3 00 00 00 00 00 00 00 00 00 ........ ........ 00000090 00 00 00 00 00 00 00 C8 A3 B6 FB C0 CC C5 B0 BF ........ ........ 000000A0 EC C0 DA 00 00 2C 32 32 2C 31 36 2C 36 2C 2C 61 .....,22 ,16,6,,a 000000B0 2C 2C 31 2C 62 64 64 33 61 63 38 35 2C 34 2C 2C ,,1,bdd3 ac85,4,, 000000C0 53 70 69 71 29 46 69 72 65 62 61 74 0D 07 C8 A3 Spiq)Fir ebat.... 000000D0 B6 FB C0 CC 04 C5 B0 BF EC B1 E2 20 05 28 BF CF ........ ... .(.. 000000E0 BC BA C6 C7 29 0D 00 0A 00 01 00 09 04 00 00 02 ....)... ........ 000000F0 00 17 E0 18 BB 1E C4 00 00 00 00 00 00 00 00 00 ........ ........ 00000100 00 00 00 00 00 00 00 44 49 41 42 4C 4F 20 32 20 .......D IABLO 2 00000110 4C 4F 54 52 49 53 48 21 00 00 2C 2C 2C 36 2C 2C LOTRISH! ..,,,6,, 00000120 61 2C 2C 31 2C 63 39 39 32 65 63 32 31 2C 34 2C a,,1,c99 2ec21,4, 00000130 2C 62 75 63 6B 6E 75 74 73 65 61 6E 0D 07 44 69 ,bucknut sean..Di 00000140 61 62 6C 6F 32 20 57 61 72 20 6F 66 20 74 68 65 ablo2 Wa r of the 00000150 20 53 6F 75 6C 73 74 6F 6E 65 73 0D 00 0A 00 01 Soulsto nes..... 00000160 00 09 04 00 00 02 00 17 E0 0C 92 ED 6D 00 00 00 ........ ....m... 00000170 00 00 00 00 00 04 00 00 00 08 00 00 00 4D 61 72 ........ .....Mar 00000180 69 6E 65 20 44 21 21 21 21 00 00 2C 34 34 2C 31 ine D!!! !..,44,1 00000190 36 2C 36 2C 2C 61 2C 2C 31 2C 35 31 38 35 32 30 6,6,,a,, 1,518520 000001A0 63 34 2C 31 2C 2C 62 61 72 72 65 74 32 39 37 0D c4,1,,ba rret297. 000001B0 06 4D 61 72 69 6E 65 20 44 65 66 65 6E 73 65 20 .Marine Defense 000001C0 06 7E 02 50 65 72 66 65 63 74 69 6F 6E 06 7E 0D .~.Perfe ction.~. 000001D0 00 0A 00 01 00 09 04 00 00 02 00 17 E0 45 D2 89 ........ .....E.. 000001E0 29 00 00 00 00 00 00 00 00 04 00 00 00 40 01 00 )....... .....@.. 000001F0 00 4C 6F 74 52 49 53 68 20 45 63 21 00 00 2C 2C .LotRISh Ec!..,, 00000200 31 37 2C 36 2C 2C 61 2C 2C 31 2C 36 39 34 35 34 17,6,,a, ,1,69454 00000210 30 37 62 2C 34 2C 2C 53 63 72 65 77 74 61 70 65 07b,4,,S crewtape 00000220 0D 03 45 06 6C 07 65 02 6D 03 65 04 6E 02 74 03 ..E.l.e. m.e.n.t. 00000230 61 06 6C 20 07 43 72 6F 73 73 03 66 69 72 65 0D a.l .Cro ss.fire. 00000240 00 0A 00 01 00 09 04 00 00 02 00 ED 6D 45 A4 EB ........ ....mE.. 00000250 24 00 00 00 00 00 00 00 00 04 00 00 00 06 00 00 $....... ........ 00000260 00 2E 68 61 63 6B 2F 2F 2F 20 62 6F 75 6E 64 00 ..hack// / bound. 00000270 00 2C 33 33 2C 31 36 2C 36 2C 2C 61 2C 2C 31 2C .,33,16, 6,,a,,1, 00000280 65 35 61 61 35 31 64 66 2C 33 2C 2C 6B 72 6E 62 e5aa51df ,3,,krnb 00000290 65 61 72 0D 06 2E 04 68 61 63 6B 06 2F 2F 03 42 ear....h ack.//.B 000002A0 4F 55 4E 44 20 05 31 2E 32 0D 00 0A 00 01 00 0A OUND .1. 2....... 000002B0 08 00 00 02 00 17 E0 94 F4 8D CA 00 00 00 00 00 ........ ........ 000002C0 00 00 00 04 00 00 00 08 00 00 00 74 61 72 70 69 ........ ...tarpi 000002D0 74 20 64 21 00 00 2C 33 33 2C 31 37 2C 36 2C 2C t d!..,3 3,17,6,, 000002E0 61 2C 2C 31 2C 34 31 61 38 35 37 30 66 2C 35 2C a,,1,41a 8570f,5, 000002F0 2C 43 79 63 2D 6D 61 6E 0D 03 54 06 61 72 50 69 ,Cyc-man ..T.arPi 00000300 74 20 03 D0 06 65 66 65 6E 73 65 33 2E 33 0D 00 t ...efe nse3.3.. 00000310 0A 00 01 00 09 04 00 00 02 00 17 E0 AC 9A A1 0B ........ ........ 00000320 00 00 00 00 00 00 00 00 04 00 00 00 10 00 00 00 ........ ........ 00000330 52 61 6E 64 6F 6D 20 42 75 6E 6B 65 72 21 00 00 Random B unker!.. 00000340 2C 36 33 2C 31 37 2C 36 2C 2C 61 2C 2C 31 2C 36 ,63,17,6 ,,a,,1,6 00000350 33 31 35 32 37 32 39 2C 37 2C 2C 6A 6F 6E 77 31 3152729, 7,,jonw1 00000360 39 37 32 0D 04 52 03 61 6E 04 64 6F 03 6D 20 42 972..R.a n.do.m B 00000370 04 75 6E 03 6B 65 04 72 20 44 03 65 04 66 0D 00 .un.ke.r D.e.f.. 00000380 0A 00 01 00 09 04 00 00 02 00 E5 58 18 3D 12 29 ........ ...X.=.) 00000390 00 00 00 00 00 00 00 00 04 00 00 00 0C 00 00 00 ........ ........ 000003A0 53 69 6D 73 3A 20 41 20 53 69 6D 20 53 63 68 6F Sims: A Sim Scho 000003B0 6F 6C 21 20 00 00 2C 34 34 2C 31 37 2C 36 2C 2C ol! ..,4 4,17,6,, 000003C0 61 2C 2C 31 2C 35 30 36 65 39 61 65 38 2C 2C 2C a,,1,506 e9ae8,,, 000003D0 78 46 69 72 65 49 63 65 78 0D 53 69 6D 73 20 53 xFireIce x.Sims S 000003E0 63 68 6F 6F 6C 0D 00 0A 00 01 00 09 04 00 00 02 chool... ........ 000003F0 00 17 E0 CB CE F2 DC 00 00 00 00 00 00 00 00 04 ........ ........ 00000400 00 00 00 0B 00 00 00 53 50 2F 57 4E 20 20 44 45 .......S P/WN DE 00000410 46 20 7E 20 4E 4F 20 46 5F 47 53 21 21 00 00 2C F ~ NO F _GS!!.., 00000420 33 34 2C 31 36 2C 36 2C 2C 61 2C 2C 31 2C 37 34 34,16,6, ,a,,1,74 00000430 64 39 38 39 37 31 2C 34 2C 2C 67 65 74 5F 73 68 d98971,4 ,,get_sh 00000440 6F 72 74 79 0D 03 53 07 70 61 77 6E 20 01 44 06 orty..S. pawn .D. 00000450 65 66 65 6E 73 65 20 07 35 2E 30 0D 00 0A 00 01 efense . 5.0..... 00000460 00 07 04 00 00 02 00 17 E0 50 8A 26 9B 00 00 00 ........ .P.&.... 00000470 00 00 00 00 00 04 00 00 00 05 00 00 00 3D 3D 44 ........ .....==D 00000480 42 5A 20 41 4C 4C 20 53 41 47 41 53 3D 3D 00 00 BZ ALL S AGAS==.. 00000490 2C 2C 31 36 2C 36 2C 2C 61 2C 2C 31 2C 34 63 61 ,,16,6,, a,,1,4ca 000004A0 30 31 32 34 66 2C 34 2C 2C 70 58 6E 54 2D 0D 03 0124f,4, ,pXnT-.. 000004B0 44 42 5A 20 06 2D 20 07 41 6C 6C 20 53 61 67 61 DBZ .- . All Saga 000004C0 73 06 47 04 6F 03 64 6C 79 53 45 39 58 B2 0D 00 s.G.o.dl ySE9X... 000004D0 0A 00 01 00 09 04 00 00 02 00 17 E0 45 B6 19 29 ........ ....E..) 000004E0 00 00 00 00 00 00 00 00 04 00 00 00 21 00 00 00 ........ ....!... 000004F0 73 75 6E 6B 65 6E 20 64 20 70 72 6F 7A 20 6F 6E sunken d proz on 00000500 6C 79 21 21 21 21 00 00 2C 34 34 2C 31 36 2C 36 ly!!!!.. ,44,16,6 00000510 2C 2C 61 2C 2C 31 2C 39 64 37 32 34 64 36 62 2C ,,a,,1,9 d724d6b, 00000520 31 2C 2C 44 46 2D 73 68 64 6F 77 6F 66 64 6B 6E 1,,DF-sh dowofdkn 00000530 65 73 0D 04 A7 06 F9 F1 6B EB F1 20 04 D0 06 EA es...... k.. .... 00000540 66 E8 F1 73 E9 20 04 32 30 31 37 03 0D 00 0A 00 f..s. .2 017..... 00000550 01 00 09 04 00 00 02 00 F4 A6 0C E2 E9 4A 00 00 ........ .....J.. 00000560 00 00 00 00 00 00 04 00 00 00 31 00 00 00 43 61 ........ ..1...Ca 00000570 74 20 6E 20 4D 6F 75 73 65 20 6C 69 6C 7A 00 00 t n Mous e lilz.. 00000580 2C 32 32 2C 31 37 2C 36 2C 2C 61 2C 2C 31 2C 31 ,22,17,6 ,,a,,1,1 00000590 38 62 33 35 38 32 39 2C 36 2C 2C 6C 69 6C 2D 6B 8b35829, 6,,lil-k 000005A0 6C 6F 77 6E 0D 06 6C 69 6C 7A 20 07 43 61 74 20 lown..li lz .Cat 000005B0 03 6E 20 06 6D 69 63 65 21 21 07 31 2E 30 0D 00 .n .mice !!.1.0.. 000005C0 0A 00 01 00 09 04 00 00 02 00 17 E0 18 BA 31 93 ........ ......1. 000005D0 00 00 00 00 00 00 00 00 04 00 00 00 11 00 00 00 ........ ........ 000005E0 6D 75 73 68 72 6F 6F 6D 20 6B 69 67 64 6F 6D 20 mushroom kigdom 000005F0 35 00 00 2C 32 34 2C 31 37 2C 36 2C 2C 61 2C 2C 5..,24,1 7,6,,a,, 00000600 31 2C 39 66 36 65 36 62 39 39 2C 34 2C 2C 4B 6F 1,9f6e6b 99,4,,Ko 00000610 48 5B 47 6F 6B 75 5D 0D 03 4D 75 73 68 72 6F 6F H[Goku]. .Mushroo 00000620 6D 20 4B 69 6E 67 64 6F 6D 20 57 61 72 20 07 2D m Kingdo m War .- 00000630 56 2D 0D 00 0A 00 01 00 16 04 00 00 02 00 17 E0 V-...... ........ 00000640 C8 A4 06 BE 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 00000650 03 00 00 00 58 2D 4D 65 6E 21 00 00 2C 33 33 2C ....X-Me n!..,33, 00000660 31 35 2C 36 2C 2C 61 2C 2C 31 2C 35 37 39 35 34 15,6,,a, ,1,57954 00000670 37 39 61 2C 34 2C 2C 4A 75 73 74 69 63 65 69 72 79a,4,,J usticeir 00000680 6F 5B 49 57 5D 0D 07 58 06 2D 07 4D 65 4E 20 06 o[IW]..X .-.MeN . 00000690 52 70 47 20 07 49 6E 53 61 4E 45 20 03 2D 46 69 RpG .InS aNE .-Fi 000006A0 6E 61 6C 21 2D 0D 00 0A 00 01 00 09 04 00 00 02 nal!-... ........ 000006B0 00 C4 A7 48 EA 31 E9 00 00 00 00 00 00 00 00 04 ...H.1.. ........ 000006C0 00 00 00 0A 00 00 00 54 65 61 6D 20 6D 69 63 72 .......T eam micr 000006D0 6F 20 61 72 65 6E 61 00 00 2C 32 32 2C 31 36 2C o arena. .,22,16, 000006E0 36 2C 2C 61 2C 2C 31 2C 66 66 32 39 36 30 63 31 6,,a,,1, ff2960c1 000006F0 2C 34 2C 2C 6F 70 37 38 37 36 0D 03 54 06 65 61 ,4,,op78 76..T.ea 00000700 6D 20 03 4D 06 69 63 72 6F 20 03 41 06 72 65 6E m .M.icr o .A.ren 00000710 61 20 07 45 6D 65 72 61 6C 64 0D 00 0A 00 01 00 a .Emera ld...... 00000720 0C 0C 00 00 02 00 17 E1 42 82 F9 E8 00 00 00 00 ........ B....... 00000730 00 00 00 00 04 00 00 00 1C 00 00 00 50 48 41 4E ........ ....PHAN 00000740 54 4F 4D 21 21 00 00 2C 34 34 2C 2C 36 2C 2C 61 TOM!!.., 44,,6,,a 00000750 2C 2C 31 2C 35 61 64 33 63 32 34 63 2C 34 2C 2C ,,1,5ad3 c24c,4,, 00000760 69 47 35 38 29 53 6F 72 61 0D 06 50 68 61 6E 74 iG58)Sor a..Phant 00000770 6F 6D 20 31 2E 37 20 07 47 61 6D 65 2D 69 0D 00 om 1.7 . Game-i.. 00000780 0A 00 01 00 09 04 00 00 02 00 17 E0 41 96 2A EF ........ ....A.*. 00000790 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 00 ........ ........ 000007A0 4E 61 72 75 74 6F 20 42 65 67 69 6E 6E 69 6E 67 Naruto B eginning 000007B0 73 21 00 00 2C 36 36 2C 31 34 2C 36 2C 2C 61 2C s!..,66, 14,6,,a, 000007C0 2C 31 2C 66 35 37 31 32 37 61 39 2C 34 2C 2C 56 ,1,f5712 7a9,4,,V 000007D0 33 6C 76 65 74 0D 4E 61 72 75 74 6F 20 52 70 67 3lvet.Na ruto Rpg 000007E0 20 2D 20 42 65 67 69 6E 6E 69 6E 67 73 0D 00 0A - Begin nings... 000007F0 00 01 00 09 04 00 00 02 00 17 E0 9C 22 11 70 00 ........ ....".p. 00000800 00 00 00 00 00 00 00 04 00 00 00 18 00 00 00 7A ........ .......z 00000810 65 72 67 64 65 66 65 6E 73 65 20 73 74 61 63 6B ergdefen se stack 00000820 33 00 00 2C 33 33 2C 31 36 2C 33 2C 2C 61 2C 2C 3..,33,1 6,3,,a,, 00000830 31 2C 36 37 61 30 34 31 66 34 2C 34 2C 2C 42 61 1,67a041 f4,4,,Ba 00000840 6E 6B 6F 74 73 75 65 0D 01 5A 65 72 67 20 44 65 nkotsue. .Zerg De 00000850 66 65 6E 63 65 20 45 78 70 61 6E 73 69 6F 6E 20 fence Ex pansion 00000860 56 38 0D 00 0A 00 01 00 09 04 00 00 02 00 17 E0 V8...... ........ 00000870 44 59 B8 8A 00 00 00 00 00 00 00 00 04 00 00 00 DY...... ........ 00000880 0F 00 00 00 57 57 49 49 49 20 53 6F 76 69 65 74 ....WWII I Soviet 00000890 2D 45 6E 65 6D 79 45 61 73 79 00 00 2C 38 36 2C -EnemyEa sy..,86, 000008A0 31 35 2C 36 2C 2C 61 2C 2C 31 2C 61 66 32 63 66 15,6,,a, ,1,af2cf 000008B0 37 62 34 2C 34 2C 2C 4E 6F 58 5F 41 64 6D 69 72 7b4,4,,N oX_Admir 000008C0 61 6C 0D 07 57 57 49 49 49 3A 54 68 65 20 53 6F al..WWII I:The So 000008D0 76 69 65 74 20 45 6E 65 6D 79 20 56 31 2E 30 36 viet Ene my V1.06 000008E0 0D 00 .. [/code] | June 15, 2006, 1:34 AM |
Myndfyr | Are you using a data reader (or a "debuffer" as it is often incorrectly called)? If not, I highly recommend you do. It makes reading packets about a jillion times easier. Of course, had you posted your code, we would already know whether you use a data reader to read your packets. | June 15, 2006, 1:45 AM |
ShaDoWDeM | &H9 | June 15, 2006, 1:54 AM |
HdxBmx27 | They are asking you to post your PRetrieve09 NOT how you call it. They need to know how you are reading the data from the packet to figure out what you are doing wrong. As Warrior said, noone will steal your code, for a few reasons, mainly it obviously isn't working!, 2 most people here have already done it, 3 *almost* no one in this community is as much of a pain to steal others code w/o permission. also the reason your output looks like that is cuz there are nulls (0x00's) and the Rich Text Box just ignores everything after the null, it dosent add it. ~-~(HDX)~-~ | June 15, 2006, 2:17 AM |
ShaDoWDeM | HdxBmx27 you are my savior lol thats what i wanted to know "also the reason your output looks like that is cuz there are nulls (0x00's) and the Rich Text Box just ignores everything after the null, it dosent add it." this is basically the error i was talking about i need to know if there is any way i can see the data in its raw form while parsing the bnet data i dimmed a string to be the original data (PData). anyway what i want is to see pdata in its raw form or in other words to be able to see this 00000000 FF 09 E2 08 14 00 00 00 0A 00 01 00 09 04 00 00 ........ ........ 00000010 02 00 17 E0 44 D1 A6 E6 00 00 00 00 00 00 00 00 ....D... ........ 00000020 04 00 00 00 12 00 00 00 43 69 76 69 6C 69 7A 61 ........ Civiliza 00000030 74 69 6F 6E 20 41 4F 45 21 00 00 2C 2C 31 36 2C tion AOE !..,,16, 00000040 36 2C 2C 61 2C 2C 31 2C 39 62 30 30 63 35 63 36 6,,a,,1, 9b00c5c6 00000050 2C 34 2C 2C 67 61 77 79 6E 0D 43 69 76 69 6C 69 ,4,,gawy n.Civili 00000060 7A 61 74 69 6F 6E 3A 20 41 67 65 73 20 6F 66 20 zation: Ages of 00000070 45 61 72 74 68 0D 00 0A 00 01 00 12 04 00 00 02 Earth... ........ 00000080 00 17 E0 DD A8 00 A3 00 00 00 00 00 00 00 00 00 ........ ........ 00000090 00 00 00 00 00 00 00 C8 A3 B6 FB C0 CC C5 B0 BF ........ ........ and my question is not my parsing of the userlist but what i am talkign abotu above^^ just like spht bot is capable to do it. that is my main goal | June 15, 2006, 2:23 AM |
Topaz | Output it to a textfile or replace the nulls with periods | June 15, 2006, 2:43 AM |
Myndfyr | [quote author=ShaDoWDeM link=topic=15179.msg154414#msg154414 date=1150336489] ok hmm in plain english i believe that my function for sending 0x09 is fine but while parsing what battle.net sends me i get an error. [/quote] Yes, I understood that, thank you. I've been trying to get you onboard with how to parse it easily and correctly. [quote author=ShaDoWDeM link=topic=15179.msg154417#msg154417 date=1150338224] this is basically the error i was talking about i need to know if there is any way i can see the data in its raw form [/quote] There is source code all over for things like that. Good examples include Grok's DebugOutput function (VB) (found on the Botdev website) and my DataFormatter class (C#). | June 15, 2006, 2:44 AM |
dRAgoN | Learn from this, https://davnit.net/bnet/vL/index.php?topic=750.0 | June 15, 2006, 2:53 AM |
ShaDoWDeM | sup l)ragon, nice code but waht i need to know since you did this already is when receieving the data from bnet in case &h9 am i missing anything or should i just put my parser for the data in there? im not to familiar with battle.net programming isince im starting out with it. | June 15, 2006, 2:57 AM |
dRAgoN | Showing everyone your function "PRetrieve09" would help answer that. | June 15, 2006, 3:14 AM |
ShaDoWDeM | uhuh | June 15, 2006, 8:47 PM |