Valhalla Legends Forums Archive | Battle.net Bot Development | My head is going to explode.

AuthorMessageTime
ArticMoogle
I checked out the source for dmbot3.00. Wow, i think im in way over my head. I just want a starting spot, can anyone help me out? Like what would be good to know before i start. :) thanks
October 6, 2003, 6:02 PM
Adron
Knowing not to start with a bot is a good thing ;)
October 6, 2003, 6:04 PM
ArticMoogle
Thanks, but im committed already. So i guess ill just struggle through it and produce something i can really be proud of when im done.
October 6, 2003, 6:40 PM
St0rm.iD
have you made hello world yet
October 6, 2003, 7:19 PM
DrivE
[quote author=Adron link=board=17;threadid=2976;start=0#msg23185 date=1065463454]
Knowing not to start with a bot is a good thing ;)
[/quote]
Brilliant.
October 6, 2003, 8:13 PM
UserLoser
[quote author=St0rm.iD link=board=17;threadid=2976;start=0#msg23191 date=1065467990]
have you made hello world yet
[/quote]
I havn't, but I made Hola Mundo ;)
October 6, 2003, 9:09 PM
ArticMoogle
Yes i have made hello world. Thanks for asking :).
October 6, 2003, 9:44 PM
Adron
Have you made tcp connection?
October 6, 2003, 9:47 PM
ArticMoogle
I have a question unrelated the the subject of this thread. I'd just like someone to read this and check the logic that i wrote down for connecting to battlenet.

Decode Cdkey
Send- Cdkey
Recieve- Verification
Send- Login Details
Recieve Verification

I know this is a real rough form, but is that about the run of it? Or is it more complicated?
October 6, 2003, 9:50 PM
Arthas
[quote author=ArticMoogle link=board=17;threadid=2976;start=0#msg23184 date=1065463339]
I checked out the source for dmbot3.00. Wow, i think im in way over my head. I just want a starting spot, can anyone help me out? Like what would be good to know before i start. :) thanks
[/quote]

If your a newbie programmer... Dont be like me and hop right into it. I gave up after 2 days of figuring out what mid(), val() and most-fruity-of-all, the checkrevision function.

I only looked at one bot source since I started programming and that was NBBot Binary, trust me, It's alot easier to start from scratch. Though switching from reg. login system to BNLS was friggin confusing... Then again that was back when my most advanced function was my 0x0f parsing :)

If you have a webhost, practice with inet, get the basics of working with servers.
October 6, 2003, 9:52 PM
ArticMoogle
I don't even know how to make a tcp connection. But I'm taking a look at a few samples to get the hang of it.
October 6, 2003, 10:06 PM
Yoni
[quote author=ArticMoogle link=board=17;threadid=2976;start=0#msg23215 date=1065478018]
I don't even know how to make a tcp connection. But I'm taking a look at a few samples to get the hang of it.
[/quote]

Here's a cool project:
Write a program that connects to www.whatismyip.com to find and display the local external IP.

Things you will research:
1. TCP sockets.
2. The HTTP protocol (or its basics).
3. String manipulation.

Here's another cool project:
Write a program that converses with the Time Protocol server on time.nist.gov to find and display the current time.

Things you will research:
1. TCP or UDP sockets - the Time Protocol is implemented over both TCP and UDP on port 37. Use them both!
2. The Time Protocol (this is not the more complicated NTP, or Network Time Protocol, which uses UDP port 123).
3. "Binary" packet buffers.

You can find information on the time protocol in RFC 868.
October 7, 2003, 12:44 AM
ArticMoogle
Thanks Yoni, I'll give that a shot!
October 7, 2003, 5:15 PM
iago
Actually, that would be a really good idea for anybody to do, it should have it's own thread on the Programming Forum :-)
October 7, 2003, 5:39 PM

Search