Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Luxer on July 22, 2004, 07:55 AM

Title: IPban.
Post by: Luxer on July 22, 2004, 07:55 AM
Could somone please tell me what my bot could possiblbly be doing (telnet bot, no hashing or BNLS) to get IPban evertime I try to connect?
Title: Re:IPban.
Post by: Tuberload on July 22, 2004, 09:33 AM
Post a log of you doing whatever you do that gets you banned.
Title: Re:IPban.
Post by: OnlyMeat on July 22, 2004, 10:52 AM
Quote from: Luxer on July 22, 2004, 07:55 AM
Could somone please tell me what my bot could possiblbly be doing (telnet bot, no hashing or BNLS) to get IPban evertime I try to connect?

Am i understanding you correctly you are just using a text gateway bot?

If so then are you initializing the login sequence once you have established a tcp/ip connection to the server i.e


CPacket Packet;
   
Packet  << (BYTE)0x03      // Init login byte 3=text gateway
            << (BYTE)0x04     // Dont send me 0x25
            << m_sAccount    // bnChat Account
            << "\r\n"              // CRLF
            << m_sPassword // bnChat Password
            << "\r\n";             // CRLF
Packet.Send(m_conn_socket);


If you dont even get to this point ie. cant establish a connection then you need to check how you are connecting, you should be using tcp/ip and connecting on port 0x17E0.

If this does not work then you need to elaborate more on what language you are using vb/c++ etc maybe post the code you are using and//or the socket parameters you are using.
Title: Re:IPban.
Post by: Eli_1 on July 22, 2004, 11:36 AM
Quote from: OnlyMeat on July 22, 2004, 10:52 AM
... you should be using tcp/ip and connecting on port 0x17E0.

Haha.  :P
Title: Re:IPban.
Post by: MyndFyre on July 22, 2004, 12:09 PM
I wanted to correct something here:

Quote from: OnlyMeat on July 22, 2004, 10:52 AM

CPacket Packet;
   
Packet  << (BYTE)0x03      // Init login byte 3=text gateway
            << (BYTE)0x04     // Dont send me 0x25

Sending 0x04 (or CTRL+D) doesn't tell it to *not* send 0x25 -- it won't send 0x25 on a text gateway client anyway.  Sending 0x04 (or CTRL+D) disables remote echo.