Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: TriCk on September 12, 2004, 05:01 AM

Title: TAHC Logon
Post by: TriCk on September 12, 2004, 05:01 AM
I need help logging a TAHC (CHAT) bot on...
Like whats the version byte and packets...
Is there any open sources i can look at

I know this is a newb question but meh  :-[
Title: Re:TAHC Logon
Post by: Soul Taker on September 12, 2004, 05:17 AM
Quote from: TriCk on September 12, 2004, 05:01 AM
I need help logging a TAHC (CHAT) bot on...
Like whats the version byte and packets...
Is there any open sources i can look at

I know this is a newb question but meh  :-[
There is no version byte!  Packet log a CHAT connection via telnet, and I think you'll see how easy it is.
Title: Re:TAHC Logon
Post by: TriCk on September 12, 2004, 05:21 AM
i dont have a bot that uses chat...
where can i get one?
Title: Re:TAHC Logon
Post by: Soul Taker on September 12, 2004, 05:32 AM
Quote from: TriCk on September 12, 2004, 05:21 AM
i dont have a bot that uses chat...
where can i get one?
Just use a telnet interface.
Title: Re:TAHC Logon
Post by: TangoFour on September 12, 2004, 05:48 AM
If using Windows:

Start -> Run -> telnet useast.battle.net 6112 (or any other server)

Press CTRL-C

Voila!

The entire Chat client works using a simple text-based connection, you don't need to worry about version bytes and packets
Title: Re:TAHC Logon
Post by: LivedKrad on September 12, 2004, 09:05 AM
When you connect, it's simply a matter of letting battle.net know that you want to connect via chat connection. It's something to the effect of [0x03 "usernamer" 0x04 "password" + (carriage line feed)] iirc.  Try the telnet idea or screw around with some others. Grok wrote a pretty in-depth starting tutorial for a regular CHAT client: http://botdev.valhallalegends.com/documents/vbwinsockhlp.html

If you don't know VB, it's still commented enough to understand what's being sent.
Title: Re:TAHC Logon
Post by: hismajesty on September 12, 2004, 09:17 AM
Here (http://www.digitaldoozie.net/Stuff/ChatProtocol.zip) is a really simple example I made in ~December when somebody asked before.
Title: Re:TAHC Logon
Post by: Banana fanna fo fanna on September 12, 2004, 10:41 AM
This thread is ironic.
Title: Re:TAHC Logon
Post by: warz on September 12, 2004, 12:37 PM
trick:

QuoteAuthor of BrutalOps, MurderFlood, ReaperFlood, etc
All available for download at http://zeropulse.net/trick/

QuoteI need help logging a TAHC (CHAT) bot on...
Like whats the version byte and packets...
Is there any open sources i can look at

eh? ehhh.
Title: Re:TAHC Logon
Post by: Networks on September 12, 2004, 02:05 PM
Quote from: warz on September 12, 2004, 12:37 PM
trick:

QuoteAuthor of BrutalOps, MurderFlood, ReaperFlood, etc
All available for download at http://zeropulse.net/trick/

QuoteI need help logging a TAHC (CHAT) bot on...
Like whats the version byte and packets...
Is there any open sources i can look at

eh? ehhh.

What do you expect he source steals.
Title: Re:TAHC Logon
Post by: CodeMaster on September 12, 2004, 06:32 PM
Quote from: Networks on September 12, 2004, 02:05 PM
What do you expect he source steals.

That is not really a fair assumption, but a test could be given for example, tell him to go to Ultimate's Home Page (http://www.ultimatebot.com) and give him a packet logger (http://www.ethereal.com). There is a bot that logs on chat, and something to sniff it's incoming and outgoing data with.
Have fun Trick, it won't be hard either, Chat connections are easier to make than Instant Jello
Title: Re:TAHC Logon
Post by: warz on September 12, 2004, 08:33 PM
I don't know about that,. Instant jello is prettyyyyy easyyyy.
Title: Re:TAHC Logon
Post by: CodeMaster on September 12, 2004, 09:06 PM
Quote from: warz on September 12, 2004, 08:33 PM
I don't know about that,. Instant jello is prettyyyyy easyyyy.

:-[ Once I screwed up instant jello...I used the Quick method on the package and it came out wrong :-[

So it's not as easy as it seems >:(
Title: Re:TAHC Logon
Post by: TriCk on September 13, 2004, 05:34 PM
No i dont 'source-steal', i've just never done a chat connection...
Thanks for the help guys, i appreciate it.., i knew it would be pretty simple, just wasnt sure..
Title: Re:TAHC Logon
Post by: LivedKrad on September 15, 2004, 05:56 PM
?? How does one 'source-steal' from public sources? That's like running off with a free sample from a vendor's cart and someone calling the police. :\
Title: Re:TAHC Logon
Post by: CodeMaster on September 15, 2004, 10:49 PM
Quote from: LivedKrad on September 15, 2004, 05:56 PM
?? How does one 'source-steal' from public sources? That's like running off with a free sample from a vendor's cart and someone calling the police. :\

The problem does not lie with borrowing code, the probem lies with people not bothering to learn the language, they copy and paste code and when they encounter a problem they come here and bitch.