IRC Echo bot can't connect.

These are old archives. They are kept for historic purposes only.
Post Reply
Sebas
Posts: 6
Joined: Thu Aug 06, 2009 10:08 am
Location: Netherlands

IRC Echo bot can't connect.

Post 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.
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: IRC Echo bot can't connect.

Post by Stealth »

It is because you need to send PONG in reply to every PING you receive.
Sebas
Posts: 6
Joined: Thu Aug 06, 2009 10:08 am
Location: Netherlands

Re: IRC Echo bot can't connect.

Post by Sebas »

But when i connect, i receive this data.
PONGP& Tù9¢¶w:38483RtlDecodePointer5terB5i€âtôø9odeP ú9ú™³wÙ;c

What's that ?
Sebas
Posts: 6
Joined: Thu Aug 06, 2009 10:08 am
Location: Netherlands

Re: IRC Echo bot can't connect.

Post by Sebas »

IRC version is btw: 3.2.8.1
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: IRC Echo bot can't connect.

Post 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.
Your IP: Image
Your Country: Image
Post Reply