• Welcome to Valhalla Legends Archive.
 

[BNLS]Recv: BNLS_CDKEY - Problems. HELP!!! :)

Started by werehamster, September 21, 2004, 10:00 PM

Previous topic - Next topic

werehamster

Ok, I know BNLS was down for War3 for a while, but this is not related in any way.
I've been writing and re-writing my login code so many times, and I am having tons of problems getting the CD-Key to come back with a positive response.

Just to get rid of some of the usual responses I would expect, here are some details.

My CD-Key is not banned.
I am not IP banned.
I can log on with other bots.
I am not using any OCXs or other premade code, it is all origonal and written in borland delphi.
The key listed has been edited out so noone can steal my CD-Key.

If anyone can help, I would be extremely appreciative...


[BNET]Created
[BNET]Connecting to useast.battle.net:6112
[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 33 52 41 57 .P:.....68XI3RAW
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 96 06 07 ED                         .%......        
[BNET]Sent: SID_PING
0000:  FF 25 08 00 96 06 07 ED                         .%......        
[BNET]Recv: SID_AUTH_INFO
0000:  FF 50 E3 00 02 00 00 00 56 A8 0B 85 C4 6F 35 00 .P......V....o5.
0010:  00 95 2E 62 91 E7 C3 01 49 58 38 36 76 65 72 30 ...b....IX86ver0
0020:  2E 6D 70 71 00 41 3D 34 31 33 32 35 30 39 39 36 .mpq.A=413250996
0030:  20 42 3D 34 32 31 37 30 33 34 39 34 20 43 3D 36  B=421703494 C=6
0040:  35 39 30 35 36 33 39 31 20 34 20 41 3D 41 5E 53 59056391 4 A=A^S
0050:  20 42 3D 42 2B 43 20 43 3D 43 5E 41 20 41 3D 41  B=B+C C=C^A A=A
0060:  5E 42 00 20 15 2A 60 74 98 6C 70 7D E7 00 B0 CD ^B. .*`t.lp}....
0070:  27 34 40 4F 21 55 96 5C 87 86 51 E3 41 A4 96 C5 '4@O!U.\..Q.A...
0080:  ED 35 D8 EC F4 C0 EC 68 98 75 02 B0 8F D8 88 7F .5.....h.u......
0090:  DF B5 70 69 98 76 53 BE 65 5E C8 4E B6 3B B2 D2 ..pi.vS.e^.N.;..
00A0:  FF 2D FF 6D 88 AC D8 36 FB B6 B3 5F CF BF 3E 17 .-.m...6..._..>.
00B0:  34 0A B2 63 4A 84 E8 37 A8 D6 65 5C D0 BE A2 B7 4..cJ..7..e\....
00C0:  CD 5A 98 F9 24 8D 1A D0 C5 11 CF 3F 20 51 3E 98 .Z..$......? Q>.
00D0:  20 26 9B C9 3B 76 E7 9C A2 4F 43 C6 FB 3E 3B E9  &..;v...OC..>;.
00E0:  5E 12 BB                                        ^..            
[BNET]Debug:DLL Revision: 0
[BNET]ValueString = "A=413250996 B=421703494 C=659056391 4 A=A^S B=B+C C=C^A A=A^B"
[BNLS]Sent: BNLS_CHOOSENLSREVISION
0000:  07 00 0D 02 00 00 00                            .......        
[BNLS]Recv: BNLS_CHOOSENLSREVISION
0000:  07 00 0D 01 00 00 00                            .......        
[BNLS]Debug:NLS Revision good.
[BNLS]Sent: BNLS_VERSIONCHECK
0000:  49 00 09 07 00 00 00 00 00 00 00 41 3D 34 31 33 I..........A=413
0010:  32 35 30 39 39 36 20 42 3D 34 32 31 37 30 33 34 250996 B=4217034
0020:  39 34 20 43 3D 36 35 39 30 35 36 33 39 31 20 34 94 C=659056391 4
0030:  20 41 3D 41 5E 53 20 42 3D 42 2B 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:  32 00 09 01 00 00 00 64 11 00 01 98 32 69 32 57 2......d....2i2W
0010:  61 72 33 2E 65 78 65 20 30 39 2F 31 35 2F 30 34 ar3.exe 09/15/04
0020:  20 32 32 3A 34 32 3A 31 36 20 31 35 36 38 32 31  22:42:16 156821
0030:  31 00                                           1.              
[BNLS]Sent: BNLS_CDKEY
0000:  1E 00 01 38 42 46 36 36 45 46 58 42 57 59 58 57 ...8BF66EFXBWYXW
0010:  xx xx xx xx xx xx xx xx xx xx xx xx xx 00       xxxxxxxxxxxxx.  
[BNLS]Recv: BNLS_CDKEY
0000:  07 00 01 00 00 00 00                            .......        
[BNET]Recv: SID_NULL
0000:  FF 00 04 00                                     ....            
[BNET]Sent: SID_NULL
0000:  FF 00 04 00  

Spht

Quote from: werehamster on September 21, 2004, 10:00 PM[BNLS]Recv: BNLS_CDKEY
0000:  07 00 01 00 00 00 00                            .......        

You're sending an invalid CD-key.

werehamster

#2
I don't think so.  Unless I am formatting it incorrectly.  The CD-Key works in other bots and i did a fool-proof cut&paste method.

Anyway, just in case, I am going to packet log how stealthbot sends it to see how it looks.

I assume this is supposed to be a null-terminated string and is not case sensitive.

werehamster


StealthBot Packet:
0000  22 00 01 D0 1C F1 48 45 4E 43 45 48 43 43 59 45    ".....HENCEHCCYE
0010  xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx    xxxxxxxxxxxxxxxx
0020  xx 00                                              x.

My Bot's Packet:
0000:  1E 00 01 65 6E 63 65 68 63 63 79 65 72 68 77 6B ...encehccyerhwk
0010:  65 xx xx xx xx xx xx xx xx xx xx xx xx 00       xxxxxxxxxxxxx.


Apparently I am doing something wrong.  What is supposed to be in the 4th and 5th byte of the packet?

To answer my own question, looks like a server token of some kind...

werehamster

Problem Solved.  Feel free to close this topic.

BaDDBLooD

Edit your final post with the solution, so everyone can learn from it.
There are only two kinds of people who are really fascinating: people who know absolutely everything, and people who know absolutely nothing.

MyndFyre

Quote from: BaDDBLooD on September 22, 2004, 06:54 AM
Edit your final post with the solution, so everyone can learn from it.

Or post it at the end, since his post is no longer the thread's last post.  ;)
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.