Author | Message | Time |
---|---|---|
werehamster | Greetings, I am making a bot from scratch and I am having problems at one point. I don't know why I am getting a failed response. Everything looks okay to me. I need a fresh perspective.... [code][BNET]Created [BNET]Connecting to useast.battle.net:6112 [BNLS]Connecting to: bnls.valhallalegends.com:9367 [BNLS]Created [BNLS]Connecting to bnls.valhallalegends.com:9367 [BNLS]Sent: BNLS_REQUESTVERSIONBYTE 0000: 07 00 10 07 00 00 00 ....... [BNLS]Recv: BNLS_REQUESTVERSIONBYTE 0000: 0B 00 10 07 00 00 00 11 00 00 00 ........... [BNET]Sent: SID_AUTH_INFO 0000: FF 50 3A 00 00 00 00 00 36 38 58 49 50 58 33 57 .P:.....68XIPX3W 0010: 11 00 00 00 53 55 6E 65 18 BA 00 A6 F0 00 00 00 ....SUne........ 0020: 09 04 00 00 09 04 00 00 55 53 41 00 55 6E 69 74 ........USA.Unit 0030: 65 64 20 53 74 61 74 65 73 00 ed States. [BNET]Recv: SID_PING 0000: FF 25 08 00 79 76 01 7B .%..yv.{ [BNET]Sent: SID_PING 0000: FF 25 08 00 79 76 01 7B .%..yv.{ [BNET]Recv: SID_AUTH_INFO 0000: FF 50 E3 00 02 00 00 00 D7 9B 13 CE 83 F1 23 00 .P............#. 0010: 00 A0 99 7D 91 E7 C3 01 49 58 38 36 76 65 72 34 ...}....IX86ver4 0020: 2E 6D 70 71 00 41 3D 38 36 33 30 39 39 30 35 39 .mpq.A=863099059 0030: 20 42 3D 39 33 37 35 37 38 36 31 31 20 43 3D 39 B=937578611 C=9 0040: 33 35 38 30 31 37 31 30 20 34 20 41 3D 41 5E 53 35801710 4 A=A^S 0050: 20 42 3D 42 2D 43 20 43 3D 43 5E 41 20 41 3D 41 B=B-C C=C^A A=A 0060: 5E 42 00 2F 24 DB 71 88 1C A5 55 CA 2B C0 C9 D2 ^B./$.q...U.+... 0070: C9 7C 05 4E D4 BF AA 94 19 F0 1C ED E8 A5 9A 56 .|.N...........V 0080: 74 8C EB 7D 0B 30 90 D1 10 48 E9 39 80 BD F5 B3 t..}.0...H.9.... 0090: FE 60 33 51 FE 1D 8C A1 56 5A 07 E1 EB 16 24 0C .`3Q....VZ....$. 00A0: 44 B2 F6 6E 9B A9 2A 86 FE 6D 67 C2 9A 76 EA 4F D..n..*..mg..v.O 00B0: CA CF 32 1C 92 2E 20 F3 6F F2 1B 2C EC 88 04 81 ..2... .o..,.... 00C0: 89 08 68 D4 04 D6 6A CF 85 52 A0 4E FE 94 0B 85 ..h...j..R.N.... 00D0: 33 E3 50 BC 5D 26 B7 D6 7C 68 AE 01 40 23 DA E0 3.P.]&..|h..@#.. 00E0: 8B 88 A7 ... [BNET]Debug:Enter: Process_SID_AUTH_INFO [BNET]Debug:DLL Revision: 4 [BNLS]Sent: BNLS_CHOOSENLSREVISION ValueString1 = A=863099059 B=937578611 C=935801710 4 A=A^S B=B-C C=C^A A=A^B 0000: 07 00 0D 02 00 00 00 ....... [BNLS]Recv: BNLS_CHOOSENLSREVISION 0000: 07 00 0D 01 00 00 00 ....... [BNET]Debug: Enter: Process_BNLS_CHOOSENLSREVISION [BNLS]Debug:NLS Revision good. [BNLS]Sent: BNLS_VERSIONCHECK 0000: 49 00 09 07 00 00 00 04 00 00 00 41 3D 38 36 33 I..........A=863 0010: 30 39 39 30 35 39 20 42 3D 39 33 37 35 37 38 36 099059 B=9375786 0020: 31 31 20 43 3D 39 33 35 38 30 31 37 31 30 20 34 11 C=935801710 4 0030: 20 41 3D 41 5E 53 20 42 3D 42 2D 43 20 43 3D 43 A=A^S B=B-C C=C 0040: 5E 41 20 41 3D 41 5E 42 00 ^A A=A^B. [BNLS]Recv: BNLS_VERSIONCHECK 0000: 07 00 09 00 00 00 00 <- Failed! Why?[/code] | September 21, 2004, 6:26 AM |
l2k-Shadow | ::) ::) ::) if you would even take the slightest time to browse through the forums, you would see that war3 has been patched, the verbyte changed, and BNLS is being patched (i think). | September 21, 2004, 6:54 AM |
werehamster | I realized after I posted. I have 3 other bots that didn't go down so I never thought that BNLS server wasn't at full capacity. Also, this is not the first time I posted this questing. I had a problem with this in the past and I just finished re-writing the code from scrath and thought it wasn't fixed yet. I do appologize. | September 21, 2004, 7:01 AM |
werehamster | Just as a side question, is this the proper order I should be handling packets and their responses for War3? >> BNLS_REQUESTVERSIONBYTE << BNLS_REQUESTVERSIONBYTE >> BNET PROTOCOL BYTE >> SID_AUTH_INFO << SID_AUTH_INFO >> BNLS_CHOOSENLSREVISION << BNLS_CHOOSENLSREVISION >> BNLS_VERSIONCHECK << BNLS_VERSIONCHECK >> BNLS_CDKEY << BNLS_CDKEY >> SID_AUTH_CHECK << SID_AUTH_CHECK >> BNLS_LOGONCHALLENGE << BNLS_LOGONCHALLENGE >> SID_GETICONDATA << SID_GETICONDATA >> BNLS_LOGONPROOF << BNLS_LOGONPROOF >> SID_AUTH_ACCOUNTLOGONPROOF << SID_AUTH_ACCOUNTLOGONPROOF >> SID_ENTERCHAT << SID_ENTERCHAT >> SID_GETCHANNELLIST << SID_GETCHANNELLIST <<>> SID_CHATEVENT | September 21, 2004, 7:05 AM |
Puzzle | [quote author=werehamster link=board=17;threadid=8775;start=0#msg81248 date=1095750064] I realized after I posted. I have 3 other bots that didn't go down so I never thought that BNLS server wasn't at full capacity. Also, this is not the first time I posted this questing. I had a problem with this in the past and I just finished re-writing the code from scrath and thought it wasn't fixed yet. I do appologize. [/quote] You do realize that BNLS has nothing to do with your connection to battle.net after the login sequence? | September 22, 2004, 9:15 AM |