• Welcome to Valhalla Legends Archive.
 

My head is going to explode.

Started by ArticMoogle, October 06, 2003, 01:02 PM

Previous topic - Next topic

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

Adron

Knowing not to start with a bot is a good thing ;)

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.

Banana fanna fo fanna


Hazard


"Courage is being scared to death - but saddling up anyway." --John Wayne

UserLoser

#5
Quote from: St0rm.iD on October 06, 2003, 02:19 PM
have you made hello world yet
I havn't, but I made Hola Mundo ;)

ArticMoogle

Yes i have made hello world. Thanks for asking :).

Adron


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?

Arthas

Quote from: ArticMoogle on October 06, 2003, 01:02 PM
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

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.

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.

Yoni

Quote from: ArticMoogle on October 06, 2003, 05:06 PM
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.

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.

ArticMoogle

Thanks Yoni, I'll give that a shot!

iago

Actually, that would be a really good idea for anybody to do, it should have it's own thread on the Programming Forum :-)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*