Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Michael on April 20, 2009, 10:49 PM

Title: Links Dead?
Post by: Michael on April 20, 2009, 10:49 PM
APPENDIX - BNLS Checksum Algorithm

Update: This is now available in C#: http://www.valhallalegends.com/yoni/BNLSChecksumCls.cs.txt
This file is unofficial and unsupported.

Anyone happen to have this the current links to get the algorithm are down.
Title: Re: Links Dead?
Post by: Yegg on April 20, 2009, 10:50 PM
I thought the checksum was no longer necessary?

Not to mention, a 3.2 second search in Google yielded the result..

http://www.infoqu.com/dev/python-programming/bnls-checksum-algorithm-21271-1/
Title: Re: Links Dead?
Post by: Michael on April 20, 2009, 10:51 PM
I am writing a BNLS Server and


[8:32:50 PM] Received: 0x0e
0000 00 0e 45 74 65 72 6e 61 6c 43 68 61 74 00 ..EternalChat.
[8:32:50 PM] Received: Unsupported packet: 0e


As you can see Eternal chat requires me to reply to it.
Title: Re: Links Dead?
Post by: Yegg on April 20, 2009, 11:03 PM
Unsure if you noticed that I updated my first post.
Title: Re: Links Dead?
Post by: Ribose on April 20, 2009, 11:07 PM
IIRC it's just standard CRC32. I just implemented the first google result of C# CRC32 when I did it...

Edit: Oh yeah, you have to append stuff but the code just ends up being like:int result = Crc32.Calculate(password + servercode.ToString("X").ToUpper().PadLeft(8, '0'));
Title: Re: Links Dead?
Post by: Michael on April 26, 2009, 04:39 PM
Well i have for the most part finished, however, i have not implemented BNLS packets which seem to be outdated.

http://www.mikeownage.com/downloads/ilbnls/iL_BNLS_Build_103_Source.zip