• Welcome to Valhalla Legends Archive.
 

Bot Creating Guide

Started by Reaper~, February 11, 2004, 08:03 AM

Previous topic - Next topic

Spht

#15
Quote from: Reaper~ on February 11, 2004, 06:54 PM
Quote from: Kp on February 11, 2004, 06:51 PM
Quote from: Newby on February 11, 2004, 06:32 PMI think he was joking ..

No, I was quite serious.  Someone's actually posted screenshots of it before.  I couldn't find them on a cursory search, so didn't include them in my original post.

Hmm, screenshots eh? How do you know they weren't like a prank or something? :-\

Naa.


(provided by EvilCheese)

Dyndrilliac

ROFLMAO.

I didn't know you were referring to THAT leet piece of software.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.

Reaper~

Take my advice, I'm not using it.

iago

Quote from: Kp on February 11, 2004, 03:17 PM
Quote from: iago on February 11, 2004, 08:28 AMThat's it!

Evil iago!  He wanted a link to the MFC Bot Creator.

I was just saying the best way to do it.   Sure BNetDocs and MFC Bot Creator and such are great, but they are only good for Battle.net.  If somebody wants to actually learn something, they should do it the right way :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Reaper~

Quote from: iago on February 11, 2004, 09:22 PM


I was just saying the best way to do it.   Sure BNetDocs and MFC Bot Creator and such are great, but they are only good for Battle.net.  If somebody wants to actually learn something, they should do it the right way :)

I agree iago, but all I really want to do right now is create a bot for B.net.  :) So something like MFC bot Creator would probably do just fine.
Take my advice, I'm not using it.

effect

I just got a whole lot dumber from reading this topic
Quote from: Mangix on March 22, 2005, 03:03 AM
i am an expert Stealthbot VBScript. Recognize Bitch.

Hamtaro

Quote from: iago on February 11, 2004, 08:28 AM
Get a game and a packetsniffer (hint: www.ethereal.com) and a compiler (VS6, VS.net, gcc, dev-c++, etc).  Get a disassembler/debugger (IDA, W32Dasm, Softice, windbg, even VS or gdb).  That's all you need.

Use your packetsniffer to watch the game connect.  Do this a few times, and find out what changes.  Try changing your password and connecting again, see what changes.  Try connecting from your friends computer, or with a different cdkey.  Send various chat messages in the channel and see what happens.  

After that, you should be able to tell the basic protocol of the game.  Then take your debugger, and find where data is send and recieved (send() and recv()).  From there, look for where the sent data is created, or where the recieved data is processed.  

One you've found that, use your disassembler to go through the create/process functions and find out how they work, and, eventually, write your own software to imitate them.

That's all it takes!!

Of course, there's the option of using other people's work, like BNLS or CSB, but that's not fun.

What you need to know:
- some language, your choice.  You also need to know sockets programming.
- assembly

That's it!

how do i figure out what the packets mean?  i did the  capture but the only ones i can tell what they are = the realm one, game type one, and cd key one.. one says stealth and i was using stealthbot but why would stealth be in a packet to bnet..?

Stealth

Quote from: Hamtaro on February 11, 2004, 11:24 PM
how do i figure out what the packets mean?  i did the  capture but the only ones i can tell what they are = the realm one, game type one, and cd key one.. one says stealth and i was using stealthbot but why would stealth be in a packet to bnet..?

Most likely because StealthBot's BNLS account ID is "stealth".
- Stealth
Author of StealthBot

Hamtaro

#23
oh.. i shouldnt be using stealth neway ^^; i just realized that it uses bnls and i want to use hashes..

but i still wonder how i understand what these packets mean.. can any1 plz help me?

MyndFyre

Quote from: Hamtaro on February 11, 2004, 11:50 PM
oh.. i shouldnt be using stealth neway ^^; i just realized that it uses bnls and i want to use hashes..

but i still wonder how i understand what these packets mean.. can any1 plz help me?

mmmm....  the wonderful ability of people to read......

Quote from: hismajesty on February 11, 2004, 04:21 PM
Quoteput together a pack of the required materials

http://bnetdocs.valhallalegends.com
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Gangz

Quote from: NuLL on February 11, 2004, 10:10 PM
I just got a whole lot dumber from reading this topic

I agree :D ... Why would you want to make a bot with software someone else made? And then you are ganna put it out there and call it yours... pff either you learn or you dont? If you cant do it yourself maybe ask someone who might do it? but why take the credit for putting a few checkmarks in the program and pressing "make"...I am not the best of programmers.. But hey, i take pride in the work i do.. It makes me mad to see others freeload off of anything they get their hands on

effect

i still think your missing the point
Quote from: Mangix on March 22, 2005, 03:03 AM
i am an expert Stealthbot VBScript. Recognize Bitch.

iago

Quote from: Hamtaro on February 11, 2004, 11:24 PM
Quote from: iago on February 11, 2004, 08:28 AM
Get a game and a packetsniffer (hint: www.ethereal.com) and a compiler (VS6, VS.net, gcc, dev-c++, etc).  Get a disassembler/debugger (IDA, W32Dasm, Softice, windbg, even VS or gdb).  That's all you need.

Use your packetsniffer to watch the game connect.  Do this a few times, and find out what changes.  Try changing your password and connecting again, see what changes.  Try connecting from your friends computer, or with a different cdkey.  Send various chat messages in the channel and see what happens.  

After that, you should be able to tell the basic protocol of the game.  Then take your debugger, and find where data is send and recieved (send() and recv()).  From there, look for where the sent data is created, or where the recieved data is processed.  

One you've found that, use your disassembler to go through the create/process functions and find out how they work, and, eventually, write your own software to imitate them.

That's all it takes!!

Of course, there's the option of using other people's work, like BNLS or CSB, but that's not fun.

What you need to know:
- some language, your choice.  You also need to know sockets programming.
- assembly

That's it!

how do i figure out what the packets mean?  i did the  capture but the only ones i can tell what they are = the realm one, game type one, and cd key one.. one says stealth and i was using stealthbot but why would stealth be in a packet to bnet..?

First of all, I said get a GAME, not another bot :P

Second, start with wc2 or sc or bw or d2 open.  Realms just complicate things, and aren't really important for now.

It should be fairly logical what does what, and reading BNetDocs will help.  Reread my first reply, I tell you pretty much how to figure out what is your cdkey, what is your password, etc.  Just log on twice, using the same cdkey/username/a different password.

Another thing I did, which helped, was create a fake server.  I basically just echoed to the client EXACTLY what the server was sending me.  Then I would make small changes to the server's responses and see how the client responded.  That will help a lot, and, although it's not hard, it's a little tiresome :)
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Reaper~

Actually, you all missed the point... I didn't say it was gonna be this cool bot which I make a website for and everything. I just wanted a bot to be included with something I'm making. I don't care if all I did was fill in a couple check marks to make it. I want to learn to be a programmer later in life. Right now, I'm interested in web design and some programming.  All I wanted was something that would be easy to do. But, with the exception from Myndfire, you all have been arguing with each other instead of helping. At lease myndfire tried to help me.
Take my advice, I'm not using it.

Reaper~

And iago helped some too
Take my advice, I'm not using it.

|