Valhalla Legends Forums Archive | Battle.net Bot Development | Text I know...not binary...

AuthorMessageTime
iNsAnE-MS
Unfortunately I only dealt with the text/chat gateway of battle.net back before diablo 2 came out and wrote a nice control for it, and in the past few months I developed a pretty functional bot specific to a diablo 2 clan that I joined, but it connects with a diablo 2 CD-KEY through bgate (predecessor to BG3) because I couldn't get them to give me a BG3 key and I was wondering with the patch on the way if I should consider converting my control to binary so I can add more functionality to my bot and avoid a potential disaster if bgate becomes more outdated than it already is (right now it basically only supports diablo II classic logons). Is there anywhere that you can point me to get started learning the binary aspects of Battle.Net? I would most likely only be dealing with logging onto diablo II since my bot was written for it.
October 12, 2003, 1:51 PM
iNsAnE-MS
Although it was nice to dig out that control of mine and see that over 4 years it took me maybe a half an hour to update it to perfect working condition again ;D
October 12, 2003, 1:58 PM
hismajesty
[quote author=CupHead link=board=17;threadid=3062;start=0#msg23915 date=1065973271]
Use CSB.
[/quote]

iNsAnE[m-s], please /ignore Cuphead.

Edit: Reasoning
CSB is a useful tool, but why use something thats just going to get you flamed?
October 12, 2003, 3:47 PM
Newby
I did use CSB :o

Then I learned hashes :(

I like BNLS though :D
October 12, 2003, 3:53 PM
Freeware
[quote author=Newby link=board=17;threadid=3062;start=0#msg23918 date=1065974028]
I did use CSB :o

Then I learned hashes :(

I like BNLS though :D
[/quote]

I agree, but now im using my own quickhash routine similar to BNLS with my control called QuickHash. It downloads a less than 1KB ini file that has the newest version bytes, checksums and exe info. So basically its still localhashed, but not requiring the actual files
October 12, 2003, 4:55 PM
St0rm.iD
[quote author=Freeware link=board=17;threadid=3062;start=0#msg23922 date=1065977704]
[quote author=Newby link=board=17;threadid=3062;start=0#msg23918 date=1065974028]
I did use CSB :o

Then I learned hashes :(

I like BNLS though :D
[/quote]

I agree, but now im using my own quickhash routine similar to BNLS with my control called QuickHash. It downloads a less than 1KB ini file that has the newest version bytes, checksums and exe info. So basically its still localhashed, but not requiring the actual files
[/quote]

How did you accomplish this amazing feat of hashing files that don't exist?
October 13, 2003, 1:56 AM
UserLoser
[quote author=St0rm.iD link=board=17;threadid=3062;start=0#msg23984 date=1066010201]
How did you accomplish this amazing feat of hashing files that don't exist?
[/quote]

The same way he sends packet 0xFU.
October 13, 2003, 3:09 AM
iNsAnE-MS
Whoa there, all that and still nobody really even tried to point me in the right direction? You gotta remember I'm not familiar with 99% of the actual bot development scene, therefore I really don't know where to start learning this stuff!
October 13, 2003, 7:49 AM
iNsAnE-MS
And what the heck is CSB, or BNLS for that matter?
October 13, 2003, 7:52 AM
hismajesty
[quote]Although it was nice to dig out that control of mine and see that over 4 years it took me maybe a half an hour to update it to perfect working condition again [/quote]

I thought you fixed it.

[quote]And what the heck is CSB, or BNLS for that matter? [/quote]

CSB stands for 'Clean Slate Bot' it is an OCX developed by Cuphead to connect to the BNLS server with little or no coding.

BNLS is... (from skywings page)
[quote]
Battle.Net Logon Server (BNLS)
Codeveloped by Yoni, BNLS provides a powerful interface to bot developers for running key functions required to log on to Battle.net.
BNLS supports encoding CD-keys for all CD-keyed Blizzard products, and running the version check for all CD-keyed Blizzard products.
Additionally, BNLS supports hashing logon data with both the modified SHA-1 implementation used with legacy products on Battle.net, and the so-called "New Logon System (NLS)" in use with Warcraft III (and other products in the near future).
The protocol specification is available for download. Bot authors are welcome to implement support for the BNLS server on www.valhallalegends.com, provided they follow the protocol specification and acquire their own unique bot ID/bot password. [/quote]
October 13, 2003, 8:16 AM
Adron
[quote author=St0rm.iD link=board=17;threadid=3062;start=0#msg23984 date=1066010201]

How did you accomplish this amazing feat of hashing files that don't exist?
[/quote]

If the hash parameters didn't change so often I'd see something in his idea.
October 13, 2003, 12:53 PM
Grok
[quote author=UserLoser link=board=17;threadid=3062;start=0#msg23993 date=1066014586]
[quote author=St0rm.iD link=board=17;threadid=3062;start=0#msg23984 date=1066010201]
How did you accomplish this amazing feat of hashing files that don't exist?
[/quote]

The same way he sends packet 0xFU.
[/quote]

This made me laff.
October 13, 2003, 12:56 PM
Adron
[quote author=Grok link=board=17;threadid=3062;start=0#msg24021 date=1066049812]
[quote author=UserLoser link=board=17;threadid=3062;start=0#msg23993 date=1066014586]
[quote author=St0rm.iD link=board=17;threadid=3062;start=0#msg23984 date=1066010201]
How did you accomplish this amazing feat of hashing files that don't exist?
[/quote]

The same way he sends packet 0xFU.
[/quote]

This made me laff.
[/quote]

Me too, but then, a lot of these posts do. Even the ones that aren't intended to be funny.
October 13, 2003, 12:58 PM
MrRaza
This whole forum is a joke.
October 13, 2003, 5:04 PM
Grok
[quote author=MrRaza link=board=17;threadid=3062;start=0#msg24052 date=1066064685]
This whole forum is a joke.
[/quote]

Uh oh. Mr Poopy Pants?
October 13, 2003, 5:31 PM
St0rm.iD
[me=St0rm.iD]sends an 0xFU packet to grok :P[/me]
October 13, 2003, 11:52 PM
iNsAnE-MS
The control I fixed after 4 years was for the text interface, I still need to learn how to use this BNLS thing :(
October 14, 2003, 3:29 AM
iNsAnE-MS
Hmm, I think I'm gonna do it the hard way and skip BNLS, I'm gonna try to use local hashing if I can and I'm starting to understand about the binary logon stuff. Thanks for pointing me in the right direction, I didn't realize where the docs for it was until I looked harder.
October 14, 2003, 4:39 AM
iNsAnE-MS
SHA-1 is cool
October 14, 2003, 4:39 AM
Freeware
[quote author=iNsAnE[m-s] link=board=17;threadid=3062;start=15#msg24147 date=1066106369]
SHA-1 is cool
[/quote]

but not cool enough
October 21, 2003, 11:18 PM
Yoni
[quote author=iNsAnE[m-s] link=board=17;threadid=3062;start=15#msg24147 date=1066106369]
SHA-1 is cool
[/quote]
I'm glad you think so! I agree. Hey, it's really cool. Why not try to put it to a good use (something unrelated to Battle.net)? Perhaps develop some kind of Internet file comparison protocol, where each side sends the SHA-1 hash of a file to the other side? That could be useful and a fun project, and would gain you programming skills and knowledge that would be helpful should you still want to develop a binary bot.
October 22, 2003, 6:53 AM
DaRk-FeAnOr
What would actually be sent, if you tried to send a hex character that does not exist, such as 'U'?
October 22, 2003, 2:26 PM
Yoni
Data is not sent in a hexadecimal string, it is sent in bits ('0' or '1'). Hex is simply a common representation of this data.
October 22, 2003, 2:58 PM
Grok
[quote author=Yoni link=board=17;threadid=3062;start=15#msg25014 date=1066834688]
Data is not sent in a hexadecimal string, it is sent in bits ('0' or '1'). Hex is simply a common representation of this data.
[/quote]

I can only show you the door. You must choose to walk through it.
October 22, 2003, 4:50 PM
Adron
[quote author=DaRk-FeAnOr link=board=17;threadid=3062;start=15#msg25011 date=1066832810]
What would actually be sent, if you tried to send a hex character that does not exist, such as 'U'?
[/quote]

You could just not send it. Think of it as me telling you to hold up 47 fingers.
October 22, 2003, 11:21 PM
Grok
[quote author=Adron link=board=17;threadid=3062;start=15#msg25088 date=1066864865]
[quote author=DaRk-FeAnOr link=board=17;threadid=3062;start=15#msg25011 date=1066832810]
What would actually be sent, if you tried to send a hex character that does not exist, such as 'U'?
[/quote]

You could just not send it. Think of it as me telling you to hold up 47 fingers.
[/quote]

I'll try ...

^J^J^J^J^J^J^J^J

damn. I cannot get past 10.
October 23, 2003, 4:35 AM

Search