Valhalla Legends Forums Archive | Battle.net Bot Development | BNLS Connection Disconnected

AuthorMessageTime
Freeware
On connecting to BNLS, I send the 0x0E packet with a valid BNLS userid, but I get disconnected right after sending it, and nothing is returned at all. Im pretty sure im doing it right, but then again maybe im not. Here my code:

[code]
With packetbuf
.InsertNTString strBNLSname
.SendBNLSPacket sckBNLS, &HE
End With
[/code]
October 5, 2003, 4:52 PM
Skywing
That has been fixed (mostly). There was a problem with the authorization database, so it was restored from a backup. I re-added a number of accounts added between now and the time of the most recent backup; however, if you have a recently issued ID/password and find that it isn't working, you'll need to get it re-added.
October 5, 2003, 5:47 PM
Arthas
Hey Skywing; mine was deleted. When would be the best time to contact you, or someone else to get it re-added? Currently everyone in Op [vL] is AFK :-D
October 5, 2003, 6:49 PM
Skywing
[quote author=Arthas link=board=17;threadid=2959;start=0#msg23100 date=1065379763]
Hey Skywing; mine was deleted. When would be the best time to contact you, or someone else to get it re-added? Currently everyone in Op [vL] is AFK :-D
[/quote]
Actually, I'm there now - either contact me on Battle.net or send me a forum message.
October 5, 2003, 6:57 PM
Freeware
Ok it works great, thanks. ;)
October 6, 2003, 12:40 AM
TriCk
Hey.... umm how does this work ...
Where would i put the pw... also my ID may of expired so i would like to get a new one too...
October 6, 2003, 8:15 AM
Freeware
[quote author=TriCk link=board=17;threadid=2959;start=0#msg23156 date=1065428138]
Hey.... umm how does this work ...
Where would i put the pw... also my ID may of expired so i would like to get a new one too...
[/quote]

The password is sent later with a simple checksum alithogram.

[code]
Public Function BNLSChecksum(ByVal Password As String, ByVal ServerCode As Long) As Long
BNLSChecksum = CRC32(Password & Right("0000000" & hex(ServerCode), 8))
End Function
[/code]

Of course you will still need the CRC32 code, so if you dont have it ask me.
October 6, 2003, 3:55 PM
Freeware
Ok this problem is happening again... Upon sending my username I get disconnected, and Im sure the screename is valid because I tried it with CleanSlateBot and it works fine.

[code]
With packetbuf
.InsertNTString strBNLSname
.SendBNLSPacket sckBNLS, &HE
End With
[/code]
October 6, 2003, 3:57 PM
Adron
[quote author=Freeware link=board=17;threadid=2959;start=0#msg23169 date=1065455731]
[code]
Public Function BNLSChecksum(ByVal Password As String, ByVal ServerCode As Long) As Long
BNLSChecksum = CRC32(Password & Right("0000000" & hex(ServerCode), 8))
End Function
[/code]
[/quote]

Why was this function selected? (Especially with CRC being a linear function and all)
October 6, 2003, 4:23 PM

Search