Page 1 of 1

IRC Echo bot can't connect.

Posted: Sat Oct 17, 2009 2:04 pm
by Sebas
Hello,

My IRC Echo bot can't connect to a irc with antispoof.
When connecting to the server, i send this:

Code: Select all

	sendRaw("USER MTABot Bot * :IRCBot for MTA:SA 1.0\r\n");
	sendRaw("NICK " + nickname + "\r\n");
This is the serverlog:
(Sended USER and NICK here).
[16:00:28] PONGP& Tù9¢¶w:38483RtlDecodePointer5terB5i€âtôø9odeP ú9ú™³wÙ;c
[16:00:28] :irc.* 451 MODE :You have not registered
[16:00:28] :irc.* 451 PRIVMSG :You have not registered
[16:00:28] :irc.* 451 JOIN :You have not registered
[16:00:28] :384835B5!nospoof@irc.* PRIVMSG [GH]Greenhood :VERSION
[16:01:05] ERROR :Closing Link: [GH]Greenhood[*] (Ping timeout)
Thanks.

Re: IRC Echo bot can't connect.

Posted: Sun Oct 18, 2009 3:58 am
by Stealth
It is because you need to send PONG in reply to every PING you receive.

Re: IRC Echo bot can't connect.

Posted: Sun Oct 18, 2009 12:37 pm
by Sebas
But when i connect, i receive this data.
PONGP& Tù9¢¶w:38483RtlDecodePointer5terB5i€âtôø9odeP ú9ú™³wÙ;c

What's that ?

Re: IRC Echo bot can't connect.

Posted: Sun Oct 18, 2009 1:24 pm
by Sebas
IRC version is btw: 3.2.8.1

Re: IRC Echo bot can't connect.

Posted: Thu Oct 22, 2009 2:44 pm
by Jobe
Sebas wrote:But when i connect, i receive this data.
PONGP& Tù9¢¶w:38483RtlDecodePointer5terB5i€âtôø9odeP ú9ú™³wÙ;c

What's that ?
I can pretty certainly say that's NOT what you receive, only what your code outputs.

To verify try "telnet <ip> 6667" and type the commands yourself to see what you get.