• Welcome to Valhalla Legends Archive.
 

[solved +/-] Error joining bnet product specific channels...

Started by z-stars, October 22, 2004, 02:11 PM

Previous topic - Next topic

z-stars

I'm making a bot and it can join user-created channels and can create channels, but it doesn't join the right product specific channel when it enters chat, and it doesn't seem to be able to join a product specific channel using normal join either.

Resuming, I want my bot to join channel "Diablo II Europe-ESP-1" but instead, it joins "Diablo II Esp-1"

The packet logs:
-My bot log:

15  80.35.107.29:1197  213.248.106.200:6112  35  Send 
0000  FF 0A 23 00 69 6C 69 6B 65 64 6F 6E 75 74 73 00    ..#.i3333donuts.
0010  45 75 72 6F 70 65 2C 69 6C 69 6B 65 64 6F 6E 75    Europe,i3333donu
0020  74 73 00                                           ts.

16  213.248.106.200:6112  80.35.107.29:1197  27  Recv 
0000  FF 0A 1B 00 7A 2D 6D 61 74 69 63 34 00 50 58 32    ....account1.PX2
0010  44 00 7A 2D 6D 61 74 69 63 34 00                   D.account1.

17  80.35.107.29:1197  213.248.106.200:6112  18  Send 
0000  FF 0C 12 00 05 00 00 00 44 69 61 62 6C 6F 20 49    ........Diablo I
0010  49 00                                              I.

18  213.248.106.200:6112  80.35.107.29:1197  355  Recv 
0000  FF 0F 35 00 07 00 00 00 21 00 00 00 FF FF FF FF    ..5.....!.......
0010  00 00 00 00 0D F0 AD BA 0D F0 AD BA 7A 2D 6D 61    ............acco
0020  74 69 63 34 00 44 69 61 62 6C 6F 20 49 49 20 45    unt1.Diablo II E
0030  53 50 2D 31 00 FF 0F 2B 00 01 00 00 00 00 00 00    SP-1...+........
0040  00 FF FF FF FF 00 00 00 00 0D F0 AD BA 0D F0 AD    ................
0050  BA 2A 7A 2D 6D 61 74 69 63 34 00 50 58 32 44 00    .*account1.PX2D.
0060  FF 0F 40 00 12 00 00 00 00 00 00 00 FF FF FF FF    ..@.............
0070  00 00 00 00 0D F0 AD BA 0D F0 AD BA 7A 2D 6D 61    ............acco
0080  74 69 63 34 00 C2 A1 42 69 65 6E 76 65 6E 69 64    unt1...Bienvenid
0090  6F 20 61 20 42 61 74 74 6C 65 2E 6E 65 74 21 00    o a Battle.net!.
00A0  FF 0F 4B 00 12 00 00 00 00 00 00 00 FF FF FF FF    ..K.............
00B0  00 00 00 00 0D F0 AD BA 0D F0 AD BA 7A 2D 6D 61    ............acco
00C0  74 69 63 34 00 54 65 6C 69 61 20 65 73 20 61 6E    unt1.Telia es an
00D0  66 69 74 72 69 C3 B3 6E 20 64 65 20 65 73 74 65    fitri..n de este
00E0  20 73 65 72 76 69 64 6F 72 2E 00 FF 0F 4B 00 12     servidor....K..
00F0  00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 0D    ................
0100  F0 AD BA 0D F0 AD BA 7A 2D 6D 61 74 69 63 34 00    .......account1.
0110  C3 9A 6C 74 69 6D 6F 20 72 65 67 69 73 74 72 6F    ..ltimo registro
0120  3A 20 46 72 69 20 4F 63 74 20 32 32 20 20 38 3A    : Fri Oct 22  8:
0130  31 39 20 50 4D 00 FF 0F 2D 00 02 00 00 00 00 00    19 PM...-.......
0140  00 00 AB 00 00 00 00 00 00 00 0D F0 AD BA 0D F0    ................
0150  AD BA 2A 47 6F 6C 75 6D 5B 73 44 63 5D 00 50 58    ..*Golum[sDc].PX
0160  32 44 00                                           2D.


Real Battle.net log


24  80.35.107.29:1126  213.248.106.68:6112  35  Send 
0000  FF 0A 23 00 69 6C 69 6B 65 64 6F 6E 75 74 73 00    ..#.i3333donuts.
0010  45 75 72 6F 70 65 2C 69 6C 69 6B 65 64 6F 6E 75    Europe,i3333donu
0020  74 73 00                                           ts.

25  213.248.106.208:6112  80.35.107.29:1127  258  Recv 
0000  02 01 12 00 50 6C 65 61 73 65 20 4E 6F 74 65 3A    ....Please Note:
0010  20 42 61 74 74 6C 65 2E 6E 65 74 20 43 6C 61 6E     Battle.net Clan
0020  20 43 68 61 6E 6E 65 6C 73 20 68 61 76 65 20 63     Channels have c
0030  68 61 6E 67 65 64 2E 20 20 55 73 65 72 2D 6F 70    hanged.  User-op
0040  65 72 61 74 65 64 20 63 68 61 6E 6E 65 6C 73 20    erated channels
0050  70 72 65 76 69 6F 75 73 6C 79 20 6B 6E 6F 77 6E    previously known
0060  20 61 73 20 22 63 6C 61 6E 20 63 68 61 6E 6E 65     as "clan channe
0070  6C 73 22 20 73 74 69 6C 6C 20 66 75 6E 63 74 69    ls" still functi
0080  6F 6E 20 74 68 65 20 73 61 6D 65 2C 20 62 75 74    on the same, but
0090  20 61 72 65 20 6E 6F 77 20 6D 6F 72 65 20 61 63     are now more ac
00A0  63 75 72 61 74 65 6C 79 20 72 65 66 65 72 72 65    curately referre
00B0  64 20 74 6F 20 61 73 20 55 73 65 72 20 4F 70 65    d to as User Ope
00C0  72 61 74 65 64 20 6F 72 20 4F 70 20 63 68 61 6E    rated or Op chan
00D0  6E 65 6C 73 2E 20 20 43 68 65 63 6B 20 77 77 77    nels.  Check www
00E0  2E 62 61 74 74 6C 65 2E 6E 65 74 20 66 6F 72 20    .battle.net for
00F0  6D 6F 72 65 20 69 6E 66 6F 72 6D 61 74 69 6F 6E    more information
0100  2E 00                                              ..

26  213.248.106.68:6112  80.35.107.29:1126  724  Recv 
0000  FF 0B 85 02 42 6C 69 7A 7A 61 72 64 20 54 65 63    ....Blizzard Tec
0010  68 20 53 75 70 70 6F 72 74 00 4F 70 65 6E 20 54    h Support.Open T
0020  65 63 68 20 53 75 70 70 6F 72 74 00 42 6C 69 7A    ech Support.Bliz
0030  7A 61 72 64 20 43 68 61 74 00 50 75 62 6C 69 63    zard Chat.Public
0040  20 43 68 61 74 00 4C 6F 44 20 54 72 61 64 69 6E     Chat.LoD Tradin
0050  67 20 45 75 72 6F 70 65 00 4C 6F 44 20 4C 61 64    g Europe.LoD Lad
0060  64 65 72 20 45 75 72 6F 70 65 00 4C 6F 44 20 4C    der Europe.LoD L
0070  61 64 64 65 72 20 54 72 61 64 69 6E 67 20 45 75    adder Trading Eu
0080  72 6F 70 65 00 4C 6F 44 20 48 61 72 64 63 6F 72    rope.LoD Hardcor
0090  65 20 45 75 72 6F 70 65 00 4C 6F 44 20 48 61 72    e Europe.LoD Har
00A0  64 63 6F 72 65 20 54 72 61 64 69 6E 67 20 45 75    dcore Trading Eu
00B0  72 6F 70 65 00 4C 6F 44 20 50 76 50 20 45 75 72    rope.LoD PvP Eur
00C0  6F 70 65 00 4C 6F 44 20 42 61 72 62 61 72 69 61    ope.LoD Barbaria
00D0  6E 20 56 69 6C 6C 61 67 65 20 45 75 72 6F 70 65    n Village Europe
00E0  00 4C 6F 44 20 42 61 72 62 61 72 69 61 6E 20 54    .LoD Barbarian T
00F0  72 61 64 69 6E 67 20 45 75 72 6F 70 65 00 4C 6F    rading Europe.Lo
0100  44 20 41 6D 61 7A 6F 6E 20 43 61 6D 70 20 45 75    D Amazon Camp Eu
0110  72 6F 70 65 00 4C 6F 44 20 41 6D 61 7A 6F 6E 20    rope.LoD Amazon
0120  54 72 61 64 69 6E 67 20 45 75 72 6F 70 65 00 4C    Trading Europe.L
0130  6F 44 20 4E 65 63 72 6F 6D 61 6E 63 65 72 20 43    oD Necromancer C
0140  72 79 70 74 20 45 75 72 6F 70 65 00 4C 6F 44 20    rypt Europe.LoD
0150  4E 65 63 72 6F 20 54 72 61 64 69 6E 67 20 45 75    Necro Trading Eu
0160  72 6F 70 65 00 4C 6F 44 20 50 61 6C 61 64 69 6E    rope.LoD Paladin
0170  20 54 65 6D 70 6C 65 20 45 75 72 6F 70 65 00 4C     Temple Europe.L
0180  6F 44 20 50 61 6C 61 64 69 6E 20 54 72 61 64 69    oD Paladin Tradi
0190  6E 67 20 45 75 72 6F 70 65 00 4C 6F 44 20 53 6F    ng Europe.LoD So
01A0  72 63 65 72 65 73 73 20 54 6F 77 65 72 20 45 75    rceress Tower Eu
01B0  72 6F 70 65 00 4C 6F 44 20 53 6F 72 63 65 72 65    rope.LoD Sorcere
01C0  73 73 20 54 72 61 64 69 6E 67 20 45 75 72 6F 70    ss Trading Europ
01D0  65 00 4C 6F 44 20 41 73 73 61 73 73 69 6E 20 44    e.LoD Assassin D
01E0  65 6E 20 45 75 72 6F 70 65 00 4C 6F 44 20 41 73    en Europe.LoD As
01F0  73 61 73 73 69 6E 20 54 72 61 64 69 6E 67 20 45    sassin Trading E
0200  75 72 6F 70 65 00 4C 6F 44 20 44 72 75 69 64 20    urope.LoD Druid
0210  47 72 6F 76 65 20 45 75 72 6F 70 65 00 4C 6F 44    Grove Europe.LoD
0220  20 44 72 75 69 64 20 54 72 61 64 69 6E 67 20 45     Druid Trading E
0230  75 72 6F 70 65 00 57 43 47 20 4D 65 72 63 75 72    urope.WCG Mercur
0240  79 00 57 43 47 20 4D 61 72 73 00 57 43 47 20 56    y.WCG Mars.WCG V
0250  65 6E 75 73 00 57 43 47 20 4A 75 70 69 74 65 72    enus.WCG Jupiter
0260  00 20 45 75 72 6F 70 65 00 20 45 75 72 6F 70 65    . Europe. Europe
0270  00 00 20 45 75 72 6F 70 65 00 20 45 75 72 6F 70    .. Europe. Europ
0280  65 00 20 45 00 FF 0A 4F 00 7A 2D 6D 61 74 69 63    e. E...O.accouic
0290  34 00 50 58 32 44 45 75 72 6F 70 65 2C 69 6C 69    4.PX2DEurope,ili
02A0  6B 65 64 6F 6E 75 74 73 2C 84 80 FF FF FF FF FF    kedonuts,.......
02B0  FF FF FF FF FF FF 05 FF FF FF FF FF FF FF FF FF    ................
02C0  FF FF 01 A1 80 80 80 FF FF FF 00 7A 2D 6D 61 74    ...........accou
02D0  69 63 34 00                                        ic4.

27  80.35.107.29:1126  213.248.106.68:6112  8  Send 
0000  FF 46 08 00 60 65 35 41                            .F..`e5A

28  80.35.107.29:1126  213.248.106.68:6112  20  Send 
0000  FF 15 14 00 36 38 58 49 50 58 32 44 00 00 00 00    ....68XIPX2D....
0010  63 57 76 41                                        cWvA

29  213.248.106.68:6112  80.35.107.29:1126  125  Recv 
0000  FF 46 7D 00 01 12 55 76 41 00 D0 1D 3F 60 65 35    .F}...UvA...?`e5
0010  41 00 00 00 00 C2 A1 42 69 65 6E 76 65 6E 69 64    A......Bienvenid
0020  6F 20 61 20 42 61 74 74 6C 65 2E 6E 65 74 21 0A    o a Battle.net!.
0030  54 65 6C 69 61 20 65 73 20 61 6E 66 69 74 72 69    Telia es anfitri
0040  C3 B3 6E 20 64 65 20 65 73 74 65 20 73 65 72 76    ..n de este serv
0050  69 64 6F 72 2E 0A C3 9A 6C 74 69 6D 6F 20 72 65    idor....ltimo re
0060  67 69 73 74 72 6F 3A 20 57 65 64 20 4F 63 74 20    gistro: Wed Oct
0070  32 30 20 20 32 3A 30 37 20 50 4D 0A 00             20  2:07 PM..

30  213.248.106.68:6112  80.35.107.29:1126  111  Recv 
0000  FF 15 6F 00 EC 0A 00 00 2E 73 6D 6B 00 EA 8E C4    ..o......smk....
0010  9F 93 C4 01 61 64 30 30 30 61 65 63 2E 73 6D 6B    ....ad000aec.smk
0020  00 68 74 74 70 3A 2F 2F 74 72 69 61 6C 2E 67 61    .http://trial.ga
0030  6D 65 72 61 6E 67 2E 63 6F 6D 2F 3F 74 6B 3D 33    merang.com/?tk=3
0040  39 2D 39 34 2D 35 31 2D 37 43 2D 45 46 2D 38 43    9-94-51-7C-EF-8C
0050  2D 46 42 2D 37 38 2D 41 35 2D 39 46 2D 31 31 2D    -FB-78-A5-9F-11-
0060  37 38 2D 45 45 2D 42 42 2D 42 30 2D 41 34 00       78-EE-BB-B0-A4.

31  80.35.107.29:1126  213.248.106.68:6112  18  Send 
0000  FF 21 12 00 36 38 58 49 50 58 32 44 EC 0A 00 00    .!..68XIPX2D....
0010  00 00                                              ..

32  80.35.107.29:1126  213.248.106.68:6112  18  Send 
0000  FF 0C 12 00 05 00 00 00 44 69 61 62 6C 6F 20 49    ........Diablo I
0010  49 00                                              I.

33  213.248.106.68:6112  80.35.107.29:1126  1097  Recv 
0000  FF 0F 3C 00 07 00 00 00 21 00 00 00 AC 00 00 00    ..<.....!.......
0010  00 00 00 00 0D F0 AD BA 0D F0 AD BA 7A 2D 6D 61    ............acco
0020  74 69 63 34 00 44 69 61 62 6C 6F 20 49 49 20 45    unt1.Diablo II E
0030  75 72 6F 70 65 2D 45 53 50 2D 32 00 FF 0F 65 00    urope-ESP-2...e.
0040  01 00 00 00 00 00 00 00 AB 00 00 00 00 00 00 00    ................
0050  0D F0 AD BA 0D F0 AD BA 45 73 6B 61 72 6C 61 74    ........Eskarlat
0060  61 2A 74 61 6D 61 79 69 6E 00 50 58 32 44 45 75    a*tamayin.PX2DEu
0070  72 6F 70 65 2C 45 73 6B 61 72 6C 61 74 61 2C 84    rope,Eskarlata,.
0080  80 3A 03 01 01 01 1E FF FF 03 03 FF 01 FF F0 F0    .:..............
0090  F0 F0 FF FF FF F0 F0 FF 25 E8 86 FF FF 02 FF FF    ........%.......
00A0  00 FF 0F 69 00 01 00 00 00 00 00 00 00 7D 00 00    ...i.........}..
00B0  00 00 00 00 00 0D F0 AD BA 0D F0 AD BA 68 63 5F    .............hc_
00C0  73 68 69 6E 63 68 61 6E 2A 6B 7A 2D 6D 72 6C 34    shinchan*kz-mrl4
00D0  00 50 58 32 44 45 75 72 6F 70 65 2C 68 63 5F 73    .PX2DEurope,hc_s
00E0  68 69 6E 63 68 61 6E 2C 84 80 39 02 02 03 01 0F    hinchan,..9.....
00F0  FF 5D 03 03 FF 04 4D FF FF FF FF FF FF FF FF FF    .]....M.........
0100  FF 54 E4 9E FF FF 02 FF FF 00 FF 0F 62 00 01 00    .T..........b...
0110  00 00 00 00 00 00 0A 01 00 00 00 00 00 00 0D F0    ................
0120  AD BA 0D F0 AD BA 6A 61 76 69 65 78 70 2A 6A 73    ......javiexp*js
0130  63 68 6E 65 69 64 00 50 58 32 44 45 75 72 6F 70    chneid.PX2DEurop
0140  65 2C 6A 61 76 69 65 78 70 2C 84 80 59 02 02 01    e,javiexp,..Y...
0150  01 0D FF 4F 02 02 FF 05 FF FF FF FF FF 2F FF 06    ...O........./..
0160  FF FF FF 14 E8 82 FF FF 02 FF FF 00 FF 0F 68 00    ..............h.
0170  01 00 00 00 00 00 00 00 39 01 00 00 00 00 00 00    ........9.......
0180  0D F0 AD BA 0D F0 AD BA 4C 6F 62 69 74 6F 42 75    ........LobitoBu
0190  65 6E 6F 2A 61 74 6F 6E 69 6F 00 50 58 32 44 45    eno*atonio.PX2DE
01A0  75 72 6F 70 65 2C 4C 6F 62 69 74 6F 42 75 65 6E    urope,LobitoBuen
01B0  6F 2C 84 80 56 03 03 02 02 22 FF FF 03 03 FF 06    o,..V...."......
01C0  FF 0D 0D 0D 0D 55 FF FF 0D 0D FF 4F E8 9A FF FF    .....U.....O....
01D0  02 FF FF 00 FF 0F 66 00 01 00 00 00 00 00 00 00    ......f.........
01E0  AC 00 00 00 00 00 00 00 0D F0 AD BA 0D F0 AD BA    ................
01F0  66 65 72 6E 61 6E 64 69 74 6F 2A 65 72 69 7A 6F    fernandito*erizo
0200  7A 00 50 58 32 44 45 75 72 6F 70 65 2C 66 65 72    z.PX2DEurope,fer
0210  6E 61 6E 64 69 74 6F 2C 84 80 3E 03 03 02 03 13    nandito,..>.....
0220  FF 54 03 01 FF 04 51 11 11 11 11 25 FF 11 11 11    .T....Q....%....
0230  FF 52 E8 9A FF FF FF FF FF 00 FF 0F 65 00 01 00    .R..........e...
0240  00 00 00 00 00 00 95 09 00 00 00 00 00 00 0D F0    ................
0250  AD BA 0D F0 AD BA 44 65 50 5F 61 48 69 4E 43 6F    ......DeP_aHiNCo
0260  2A 61 72 71 75 69 00 50 58 32 44 45 75 72 6F 70    *arqui.PX2DEurop
0270  65 2C 44 65 50 5F 61 48 69 4E 43 6F 2C 84 80 3D    e,DeP_aHiNCo,..=
0280  02 03 03 03 09 FF FF 03 03 5F 03 E1 01 01 01 01    ........._......
0290  FF FF FF 01 01 FF 0E A8 86 FF FF FF FF FF 00 FF    ................
02A0  0F 6A 00 01 00 00 00 00 00 00 00 8D 00 00 00 00    .j..............
02B0  00 00 00 0D F0 AD BA 0D F0 AD BA 64 72 75 69 64    ...........druid
02C0  61 74 72 61 73 74 6F 2A 64 6A 61 63 6B 32 00 50    atrasto*djack2.P
02D0  58 32 44 45 75 72 6F 70 65 2C 64 72 75 69 64 61    X2DEurope,druida
02E0  74 72 61 73 74 6F 2C 84 80 3D 02 03 03 03 FF 13    trasto,..=......
02F0  4F 03 03 FF 06 E1 01 01 01 01 FF 2C 09 01 01 FF    O..........,....
0300  0F E0 82 FF FF 02 FF FF 00 FF 0F 6A 00 01 00 00    ...........j....
0310  00 00 00 00 00 AC 00 00 00 00 00 00 00 0D F0 AD    ................
0320  BA 0D F0 AD BA 69 6C 69 6B 65 64 6F 6E 75 74 73    .....i3333donuts
0330  2A 7A 2D 6D 61 74 69 63 34 00 50 58 32 44 45 75    *accouic4.PX2DEu
0340  72 6F 70 65 2C 69 6C 69 6B 65 64 6F 6E 75 74 73    rope,i3333donuts
0350  2C 84 80 FF FF FF FF FF FF FF FF FF FF FF 05 FF    ,...............
0360  FF FF FF FF FF FF FF FF FF FF 01 A1 80 80 80 FF    ................
0370  FF FF 00 FF 0F 40 00 12 00 00 00 00 00 00 00 AC    .....@..........
0380  00 00 00 00 00 00 00 0D F0 AD BA 0D F0 AD BA 7A    ...............z
0390  2D 6D 61 74 69 63 34 00 C2 A1 42 69 65 6E 76 65    -matic4...Bienve
03A0  6E 69 64 6F 20 61 20 42 61 74 74 6C 65 2E 6E 65    nido a Battle.ne
03B0  74 21 00 FF 0F 4B 00 12 00 00 00 00 00 00 00 AC    t!...K..........
03C0  00 00 00 00 00 00 00 0D F0 AD BA 0D F0 AD BA 7A    ...............z
03D0  2D 6D 61 74 69 63 34 00 54 65 6C 69 61 20 65 73    -matic4.Telia es
03E0  20 61 6E 66 69 74 72 69 C3 B3 6E 20 64 65 20 65     anfitri..n de e
03F0  73 74 65 20 73 65 72 76 69 64 6F 72 2E 00 FF 0F    ste servidor....
0400  4B 00 12 00 00 00 00 00 00 00 AC 00 00 00 00 00    K...............
0410  00 00 0D F0 AD BA 0D F0 AD BA 7A 2D 6D 61 74 69    ..........accoui
0420  63 34 00 C3 9A 6C 74 69 6D 6F 20 72 65 67 69 73    c4...ltimo regis
0430  74 72 6F 3A 20 57 65 64 20 4F 63 74 20 32 30 20    tro: Wed Oct 20
0440  20 32 3A 30 37 20 50 4D 00                          2:07 PM.


Some info:
It's a LOD bot and I'm using BNLS.

Thanks for help in advance. If anyone needs any more info tell me and I will try to post it.

dxoigmn

I think you need to logon to realm in order to join those sort of channels?

z-stars

Quote from: dxoigmn on October 22, 2004, 02:27 PM
I think you need to logon to realm in order to join those sort of channels?

I thought I was logged on to realm, are you sure I am not?
And if I am not, how do I logon to a realm instead to whatever I am logged to?

dxoigmn

Quote from: z-stars on October 22, 2004, 03:20 PM
Quote from: dxoigmn on October 22, 2004, 02:27 PM
I think you need to logon to realm in order to join those sort of channels?

I thought I was logged on to realm, are you sure I am not?
And if I am not, how do I logon to a realm instead to whatever I am logged to?

Doesn't look like it from your bot's packet log.

z-stars

#4
Hmm I'll post the full log.

1  hide:1197  213.248.106.200:6112  1  Send 
0000  01                                                 .

2  hide:1197  213.248.106.200:6112  50  Send 
0000  FF 50 32 00 00 00 00 00 36 38 58 49 50 58 32 44    .P2.....68XIPX2D
0010  0A 00 00 00 53 45 73 65 50 23 6B 1D 88 FF FF FF    ....SEseP#k.....
0020  0A 0C 00 00 0A 0C 00 00 45 53 50 00 53 70 61 69    ........ESP.Spai
0030  6E 00                                              n.

3  213.248.106.200:6112  hide:1197  8  Recv 
0000  FF 25 08 00 11 A4 0C E0                            .%......

4  213.248.106.200:6112  hide:1197  99  Recv 
0000  FF 50 63 00 00 00 00 00 B2 9F 92 E5 3B 7B 64 00    .Pc.........;{d.
0010  00 FA FB 7F 91 E7 C3 01 49 58 38 36 76 65 72 35    ........IX86ver5
0020  2E 6D 70 71 00 41 3D 31 30 36 34 36 38 33 33 30    .mpq.A=106468330
0030  36 20 42 3D 31 36 39 34 30 39 31 33 20 43 3D 33    6 B=16940913 C=3
0040  38 33 34 34 39 39 30 33 20 34 20 41 3D 41 2B 53    83449903 4 A=A+S
0050  20 42 3D 42 5E 43 20 43 3D 43 2D 41 20 41 3D 41     B=B^C C=C-A A=A
0060  5E 42 00                                           ^B.

5  hide:1196  63.161.183.202:9367  73  Send 
0000  49 00 09 05 00 00 00 05 00 00 00 41 3D 31 30 36    I..........A=106
0010  34 36 38 33 33 30 36 20 42 3D 31 36 39 34 30 39    4683306 B=169409
0020  31 33 20 43 3D 33 38 33 34 34 39 39 30 33 20 34    13 C=383449903 4
0030  20 41 3D 41 2B 53 20 42 3D 42 5E 43 20 43 3D 43     A=A+S B=B^C C=C
0040  2D 41 20 41 3D 41 5E 42 00                         -A A=A^B.

6  63.161.183.202:9367  hide:1196  50  Recv 
0000  32 00 09 01 00 00 00 00 0A 00 01 E7 54 40 A4 47    [email protected]
0010  61 6D 65 2E 65 78 65 20 31 30 2F 31 33 2F 30 33    ame.exe 10/13/03
0020  20 30 38 3A 33 35 3A 33 30 20 31 31 39 38 38 35     08:35:30 119885
0030  37 00                                              7.

7  hide:1196  63.161.183.202:9367  50  Send 
0000  32 00 0C FF FF FF FF 02 01 00 00 00 B2 9F 92 E5    2...............
0010 
0020 
0030                                               

8  63.161.183.202:9367  hide:1196  93  Recv 
0000  5D 00 0C FF FF FF FF 02 02 03 00 00 00 18 71 87    ].............q.
0010  A8 10 00 00 00 06 00 00 00 D9 15 0D 00 00 00 00    ................
0020  00 25 57 6D 0F F1 51 DE F7 CB 7B DB A9 FB AC 01    .%Wm..Q...{.....
0030  71 F0 D4 F9 AB 18 71 87 A8 10 00 00 00 0A 00 00    q.....q.........
0040  00 FB F9 12 00 00 00 00 00 4E 42 7F 78 72 F2 5E    .........NB.xr.^
0050  6A 36 1A 8A 3C A6 EC 69 9E 18 A9 D2 EA             j6..<..i.....

9  hide:1197  213.248.106.200:6112  142  Send 
0000  FF 51 8E 00 18 71 87 A8 00 0A 00 01 E7 54 40 A4    .Q...q.......T@.
0010  02 00 00 00 00 00 00 00 10 00 00 00 06 00 00 00    ................
0020 
0030 
0040 
0050
0060  47 61 6D 65 2E 65 78 65 20 31 30 2F 31 33 2F 30    Game.exe 10/13/0
0070  33 20 30 38 3A 33 35 3A 33 30 20 31 31 39 38 38    3 08:35:30 11988
0080  35 37 00 2D 4E 6F 74 46 6F 75 6E 64 2D 00          57.-NotFound-.

10  213.248.106.200:6112  hide:1197  9  Recv 
0000  FF 51 09 00 00 00 00 00 00                         .Q.......

11  hide:1196  63.161.183.202:9367  29  Send 

0010  00 0C BE 25 00 B2 9F 92 E5 FF FF FF FF             ...%.........

12  63.161.183.202:9367  hide:1196  27  Recv 
0000  1B 00 0B 86 BA 88 73 03 AD 35 58 5F 91 04 04 1E    ......s..5X_....
0010  6B D5 81 E9 96 06 01 FF FF FF FF                   k..........

13  hide:1197  213.248.106.200:6112  41  Send 
0000  FF 29 29 00 0C BE 25 00 B2 9F 92 E5 86 BA 88 73    .))...%........s
0010  03 AD 35 58 5F 91 04 04 1E 6B D5 81 E9 96 06 01    ..5X_....k......
0020  7A 2D 6D 61 74 69 63 34 00                         z-ddddc4.

14  213.248.106.200:6112  hide:1197  8  Recv 
0000  FF 29 08 00 01 00 00 00                            .)......

15  hide:1197  213.248.106.200:6112  35  Send 
0000  FF 0A 23 00 69 6C 69 6B 65 64 6F 6E 75 74 73 00    ..#.ilikedonuts.
0010  45 75 72 6F 70 65 2C 69 6C 69 6B 65 64 6F 6E 75    Europe,ilikedonu
0020  74 73 00                                           ts.

16  213.248.106.200:6112  hide:1197  27  Recv 
0000  FF 0A 1B 00 7A 2D 6D 61 74 69 63 34 00 50 58 32    ....z-ddddc4.PX2
0010  44 00 7A 2D 6D 61 74 69 63 34 00                   D.z-ddddc4.

17  hide:1197  213.248.106.200:6112  18  Send 
0000  FF 0C 12 00 05 00 00 00 44 69 61 62 6C 6F 20 49    ........Diablo I
0010  49 00                                              I.

18  213.248.106.200:6112  hide:1197  355  Recv 
0000  FF 0F 35 00 07 00 00 00 21 00 00 00 FF FF FF FF    ..5.....!.......
0010  00 00 00 00 0D F0 AD BA 0D F0 AD BA 7A 2D 6D 61    ............z-dd
0020  74 69 63 34 00 44 69 61 62 6C 6F 20 49 49 20 45    ddc4.Diablo II E
0030  53 50 2D 31 00 FF 0F 2B 00 01 00 00 00 00 00 00    SP-1...+........
0040  00 FF FF FF FF 00 00 00 00 0D F0 AD BA 0D F0 AD    ................
0050  BA 2A 7A 2D 6D 61 74 69 63 34 00 50 58 32 44 00    .*z-ddddc4.PX2D.
0060  FF 0F 40 00 12 00 00 00 00 00 00 00 FF FF FF FF    ..@.............
0070  00 00 00 00 0D F0 AD BA 0D F0 AD BA 7A 2D 6D 61    ............z-dd
0080  74 69 63 34 00 C2 A1 42 69 65 6E 76 65 6E 69 64    ddc4...Bienvenid
0090  6F 20 61 20 42 61 74 74 6C 65 2E 6E 65 74 21 00    o a Battle.net!.
00A0  FF 0F 4B 00 12 00 00 00 00 00 00 00 FF FF FF FF    ..K.............
00B0  00 00 00 00 0D F0 AD BA 0D F0 AD BA 7A 2D 6D 61    ............z-dd
00C0  74 69 63 34 00 54 65 6C 69 61 20 65 73 20 61 6E    ddc4.Telia es an
00D0  66 69 74 72 69 C3 B3 6E 20 64 65 20 65 73 74 65    fitri..n de este
00E0  20 73 65 72 76 69 64 6F 72 2E 00 FF 0F 4B 00 12     servidor....K..
00F0  00 00 00 00 00 00 00 FF FF FF FF 00 00 00 00 0D    ................
0100  F0 AD BA 0D F0 AD BA 7A 2D 6D 61 74 69 63 34 00    .......z-ddddc4.
0110  C3 9A 6C 74 69 6D 6F 20 72 65 67 69 73 74 72 6F    ..ltimo registro
0120  3A 20 46 72 69 20 4F 63 74 20 32 32 20 20 38 3A    : Fri Oct 22  8:
0130  31 39 20 50 4D 00 FF 0F 2D 00 02 00 00 00 00 00    19 PM...-.......
0140  00 00 AB 00 00 00 00 00 00 00 0D F0 AD BA 0D F0    ................
0150  AD BA 2A 47 6F 6C 75 6D 5B 73 44 63 5D 00 50 58    ..*Golum[sDc].PX
0160  32 44 00                                           2D.


So, am I connecting to open battle.net instead closed or something?
BTW my connection function...

int BNETConnection()
{
char buf[50] = "";
struct sockaddr_in addr;
extern char cfgRealm[20];

BEFORE_NET;
sprintf(buf, "Trying to connect to %s.battle.net", cfgRealm);
log(buf);

struct hostent *he;
sprintf(buf, "%s.battle.net", cfgRealm);
if((hostent *)(he = gethostbyname(buf)) == NULL)
{
error(20, "Error resolving bost name: Couldn't connect to realm.");
}
scBNET = socket(AF_INET, SOCK_STREAM, 0);
addr.sin_family = AF_INET;
addr.sin_port = htons(PORTNUMBER);
//addr.sin_addr.s_addr = inet_addr(IPADDRESS);
memcpy(&addr.sin_addr, he->h_addr_list[0], he->h_length);
if(scBNET == INVALID_SOCKET)
error(21, "socket() Failed");
log("Socket opened...");

int n = connect(scBNET, (struct sockaddr *)&addr, sizeof(struct sockaddr));
if(n == SOCKET_ERROR) error(22, "connect() Failed");
log("Connection opened...");
return 0;
}


cfgRealm contains "europe"
log() just couts a string.

Edit: Modified the function name cuz it may lead to some misunderstandings...

UserLoser.

There is no such thing as Open and Closed Battle.net, it's all the same; except one thing.  The only difference is the Diablo II client by Blizzard calls Closed Battle.net when you're logging onto a character, while Open Battle.net is not logged onto a character.  Your packet log you posted is not logging onto any character, therefore you cannot join any channels such as Barbarian Village, Amazon Village, trading channels, ect

z-stars

Quote from: UserLoser on October 22, 2004, 04:14 PM
There is no such thing as Open and Closed Battle.net, it's all the same; except one thing.  The only difference is the Diablo II client by Blizzard calls Closed Battle.net when you're logging onto a character, while Open Battle.net is not logged onto a character.  Your packet log you posted is not logging onto any character, therefore you cannot join any channels such as Barbarian Village, Amazon Village, trading channels, ect

I see, how do I log onto a character? :)


LivedKrad

The required MCP packet information is on bnetdocs...

z-stars

Quote from: UserLoser on October 22, 2004, 04:18 PM
Quote from: z-stars on October 22, 2004, 04:16 PM
I see, how do I log onto a character? :)

BnetDocs


I have used the BNetDocs "LogOn Sequence" and I think I have sent / recv all the needed packets, which packet is supossed to log into the character?
I thought 0x0A did...

15  hide:1197  213.248.106.200:6112  35  Send
0000  FF 0A 23 00 69 6C 69 6B 65 64 6F 6E 75 74 73 00    ..#.ilikedonuts.
0010  45 75 72 6F 70 65 2C 69 6C 69 6B 65 64 6F 6E 75    Europe,ilikedonu
0020  74 73 00                                           ts.

z-stars

Quote from: Minus on October 22, 2004, 06:02 PM
Well you ACTUALLY log on to the character in MCP_CHARLOGON [0x07]
But yes, you would then send your information in SID_ENTERCHAT [0x0A] as you showed you have already done.

In case you missed something in the logon sequence

There is one here for Realm at the bottom.

Don't get mad Arta I am just trying to be helpful.

Ty minus, I understand it now, I wasn't sending those MCP packets :)