Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: DeathHunter on August 19, 2008, 09:05 AM

Title: Making a Chat Bot
Post by: DeathHunter on August 19, 2008, 09:05 AM
Ok, so i used the code from grok's tut to make a bot, and he hasn't gave the code for the module yet. so then i decided to search and i found a topic on asking some1 to finish it off, but reply he got was it is done you just need to remove the parts he was gunna add later.. Ok so can some1 tell me what parts i need to remove or give me the code for the module thx :)
Title: Re: Making a Chat Bot
Post by: l2k-Shadow on August 19, 2008, 09:12 AM
I don't think you will be successful, but here (http://forum.valhallalegends.com/index.php?topic=9278.0) would be a good place to start.
Title: Re: Making a Chat Bot
Post by: DeathHunter on August 19, 2008, 09:18 AM
Quote from: l2k-Shadow on August 19, 2008, 09:12 AM
I don't think you will be successful, but here (http://forum.valhallalegends.com/index.php?topic=9278.0) would be a good place to start.

Hmmm well considering half the links don't work......
Title: Re: Making a Chat Bot
Post by: Barabajagal on August 19, 2008, 02:47 PM
Protocol Documentation: http://www.bnetdocs.org/
Title: Re: Making a Chat Bot
Post by: MyndFyre on August 19, 2008, 05:26 PM
Quote from: DeathHunter on August 19, 2008, 09:05 AM
Ok, so i used the code from grok's tut to make a bot, and he hasn't gave the code for the module yet. so then i decided to search and i found a topic on asking some1 to finish it off, but reply he got was it is done you just need to remove the parts he was gunna add later.. Ok so can some1 tell me what parts i need to remove or give me the code for the module thx :)
To which "module" are you referring?

I can tell you that you'll be infinitely more likely to be helped if you show some initiative that you've taken to helping yourself, that you're willing to be thorough in describing what you want, and why you weren't able to accomplish it (and what you've tried).
Title: Re: Making a Chat Bot
Post by: DeathHunter on August 19, 2008, 11:40 PM
Ok, then. I was searching over here found Grok's tut on how to make a chat bot, so i did it and he hasn't given the code for the Module.bas for hes tut on how to make a bot. So i searched a bit on here to see if he did finish it and someone said it is you just need to take out the parts the he was gunna add later. What parts do i take out, or can someone send me towards another tut or can someone right the code for the module.bas thx.
Title: Re: Making a Chat Bot
Post by: Mystical on August 20, 2008, 12:04 AM
Quote from: DeathHunter on August 19, 2008, 11:40 PM
Ok, then. I was searching over here found Grok's tut on how to make a chat bot, so i did it and he hasn't given the code for the Module.bas for hes tut on how to make a bot. So i searched a bit on here to see if he did finish it and someone said it is you just need to take out the parts the he was gunna add later. What parts do i take out, or can someone send me towards another tut or can someone right the code for the module.bas thx.


What language are you using?
If so then; Do you know the basics of the language you are using?

Telnet doesn't work on the battle.net servers anymore, the tutorial written by grok was from who knows how many years ago and is way out of date.

and read the posts above^
Title: Re: Making a Chat Bot
Post by: PunK on August 20, 2008, 01:38 AM
As previously stated by mystical it's all out of date. But you probably learned the basics from his tutorial.
Title: Re: Making a Chat Bot
Post by: DeathHunter on August 20, 2008, 04:40 AM
Vb6, and ty for telling me that it don't work ne more and yes i know a half decent amount. Also if someone made me a tut for vb6 on how to make a chat bot that conncects to bnet i"ll pay $ :P
Title: Re: Making a Chat Bot
Post by: Yegg on August 20, 2008, 12:15 PM
Quote from: DeathHunter on August 20, 2008, 04:40 AM
Vb6, and ty for telling me that it don't work ne more and yes i know a half decent amount. Also if someone made me a tut for vb6 on how to make a chat bot that conncects to bnet i"ll pay $ :P

Just get the source to one and see some of what they do? All you really do is create a socket and send data through it over to Battle.net and receive data and read the received data to retrieve certain info from it. Learn sockets and study bnetdocs.org.
Title: Re: Making a Chat Bot
Post by: Mystical on August 20, 2008, 01:16 PM
Quote from: DeathHunter on August 20, 2008, 04:40 AM
Vb6, and ty for telling me that it don't work ne more and yes i know a half decent amount. Also if someone made me a tut for vb6 on how to make a chat bot that conncects to bnet i"ll pay $ :P

how much money we talkin?

haha.
Title: Re: Making a Chat Bot
Post by: DeathHunter on August 21, 2008, 12:08 AM
Will you do it, and how good is it gunna be?
Title: Re: Making a Chat Bot
Post by: Sixen on August 21, 2008, 12:27 AM
Quote from: DeathHunter on August 21, 2008, 12:08 AM
Will you do it, and how good is it gunna be?

I'm guessing that depends on how much money it'd be, eh? =P.
Title: Re: Making a Chat Bot
Post by: Mystical on August 21, 2008, 12:31 AM
Quote from: Sixen on August 21, 2008, 12:27 AM
Quote from: DeathHunter on August 21, 2008, 12:08 AM
Will you do it, and how good is it gunna be?

I'm guessing that depends on how much money it'd be, eh? =P.

Very true, The more money involved the better effort i'll put into it,

Put up your offer.
Title: Re: Making a Chat Bot
Post by: DeathHunter on August 21, 2008, 01:23 AM
$10?
Title: Re: Making a Chat Bot
Post by: Dale on August 21, 2008, 01:56 AM
Quote from: DeathHunter on August 20, 2008, 04:40 AM
Vb6, and ty for telling me that it don't work ne more and yes i know a half decent amount. Also if someone made me a tut for vb6 on how to make a chat bot that conncects to bnet i"ll pay $ :P

You'll want to be very careful because, chances are someone is gonna pull one of these:


Winsock1.Connect "useast.battle.net", 6112


k, connects to battle.net
Title: Re: Making a Chat Bot
Post by: Mystical on August 21, 2008, 02:19 AM
For 10$ basicly that's all you will get Haha, i don't think he knows what's really required into the BNCS
Title: Re: Making a Chat Bot
Post by: DeathHunter on August 21, 2008, 02:49 AM
LoL! I'm not stupid i know you need alot not just a couple lines of code. So if you don't wanna do it for $10 thats fine. No money for you :P
Title: Re: Making a Chat Bot
Post by: Mystical on August 21, 2008, 03:20 AM
You mean no bot for you!!

10$ isn't worth my time.. im not 15 lol.
Title: Re: Making a Chat Bot
Post by: DeathHunter on August 21, 2008, 10:49 AM
Did i say you were? LoL someone will do it sooner or later :P
Title: Re: Making a Chat Bot
Post by: Hdx on August 21, 2008, 12:08 PM
Maybe for like $25 [So I can order pizza while coding, and the extra $5 is for pain and suffering for making me write in VB -.-]
Its not to complicated.
But for that all you're getting is a DRTL connection using JBLS. Which I can whip up in about 45 - hr [I guess i type slow]
But once you get the framework down it's all just fill in the blanks.
Title: Re: Making a Chat Bot
Post by: Mystical on August 21, 2008, 01:59 PM
Curious, JBLS updated for starcraft? all of tha bots i've tried all get invalid game version except on w2. ;[
Title: Re: Making a Chat Bot
Post by: Hdx on August 21, 2008, 02:13 PM
Yes, its updated for all products unless there was a patch today I didn't know about.
Title: Re: Making a Chat Bot
Post by: Barabajagal on August 21, 2008, 02:24 PM
No patches recently.
Title: Re: Making a Chat Bot
Post by: DeathHunter on August 26, 2008, 08:46 AM
Ok, seeing as no one will do for 10 don't worry ::)
Title: Re: Making a Chat Bot
Post by: MysT_DooM on August 26, 2008, 12:56 PM
This forum, this specific section, is a whole tutorial in itself for battle.net bot development.  You don't need someone to make a tutorial and you pay for it.  All the resources are here.  Learn about or more about socket programming and grab yourself a packet logger and get a log off the client you want emulated.  Reference bnetdocs for things you're unaware of and search these forums for answers to similarly asked questions that you will have.  From there post on specific questions if your question you searched for is still problematic. 
Thats all you have to do. 
Title: Re: Making a Chat Bot
Post by: MyndFyre on August 26, 2008, 03:43 PM
Quote from: MysT_DooM on August 26, 2008, 12:56 PM
This forum, this specific section, is a whole tutorial in itself for battle.net bot development.  You don't need someone to make a tutorial and you pay for it.  All the resources are here.  Learn about or more about socket programming and grab yourself a packet logger and get a log off the client you want emulated.  Reference bnetdocs for things you're unaware of and search these forums for answers to similarly asked questions that you will have.  From there post on specific questions if your question you searched for is still problematic. 
Thats all you have to do. 
And for the love of god, use "Search" - it's AWESOME! :)
Title: Re: Making a Chat Bot
Post by: Mystical on August 26, 2008, 04:29 PM
Specially for $10, I'll give you a telnet tutorial that's about it.
Title: Re: Making a Chat Bot
Post by: Scope on September 24, 2008, 04:33 PM
uh oh, it's turning into a reverse-auction site. Cheapest price wins.
Title: Re: Making a Chat Bot
Post by: Ribose on September 24, 2008, 05:04 PM
Cheapest would be for free, go look up bnetdocs.org and make your own!
Title: Re: Making a Chat Bot
Post by: idiat on September 24, 2008, 08:59 PM
omg i would totally make a bot in python that enters chat for $10
Title: Re: Making a Chat Bot
Post by: Mystical on September 25, 2008, 09:41 PM
Quote from: idiat on September 24, 2008, 08:59 PM
omg i would totally make a bot in python that enters chat for $10

now if chat only works..
Title: Re: Making a Chat Bot
Post by: Pyro on September 25, 2008, 10:25 PM
I'm pretty sure he means getting past the connection process into the actual chat environment, not connecting with CHAT.
Title: Re: Making a Chat Bot
Post by: idiat on September 25, 2008, 10:25 PM
my definition of "enters chat' must suck. I mean, I will make a bot that connects to Diablo II using BNLS and joins its product-specific channel, handles SID_CHATEVENT.


sorry!