SA-MP Forums Archive
IRC Bot Crash - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IRC Bot Crash (/showthread.php?tid=622104)



IRC Bot Crash - ISmokezU - 18.11.2016

My irc bots are crashing after i just paste the code over into the game mode my server logs
Code:
[13:36:44] [join] Player has joined the server (0:127.0.0.1)
[13:36:58] *** IRC_OnConnectAttempt: Bot ID 1 attempting to connect to 104.18.38.84:6667...
[13:37:08] *** IRC_OnConnectAttempt: Bot ID 2 attempting to connect to 104.18.38.84:6667...
[13:37:08] *** IRC_OnConnectAttemptFail: Bot ID 1 failed to connect to 104.18.38.84:6667 (Connection attempt timed out)
[13:37:18] *** IRC_OnConnectAttemptFail: Bot ID 2 failed to connect to 104.18.38.84:6667 (Connection attempt timed out)
[13:37:28] *** IRC_OnConnectAttempt: Bot ID 1 attempting to connect to 104.18.38.84:6667...
[13:37:38] *** IRC_OnConnectAttemptFail: Bot ID 1 failed to connect to 104.18.38.84:6667 (Connection attempt timed out)
[13:37:48] *** IRC_OnConnectAttempt: Bot ID 2 attempting to connect to 104.18.38.84:6667...
[13:37:58] *** IRC_OnConnectAttempt: Bot ID 1 attempting to connect to 104.18.38.84:6667...
[13:37:58] *** IRC_OnConnectAttemptFail: Bot ID 2 failed to connect to 104.18.38.84:6667 (Connection attempt timed out)
[13:38:08] *** IRC_OnConnectAttemptFail: Bot ID 1 failed to connect to 104.18.38.84:6667 (Connection attempt timed out)
[13:38:29] *** IRC_OnConnectAttempt: Bot ID 2 attempting to connect to 104.18.38.84:6667...
[13:38:29] *** IRC_OnConnectAttempt: Bot ID 1 attempting to connect to 104.18.38.84:6667...
[13:38:39] *** IRC_OnConnectAttemptFail: Bot ID 2 failed to connect to 104.18.38.84:6667 (Connection attempt timed out)
[13:38:39] *** IRC_OnConnectAttemptFail: Bot ID 1 failed to connect to 104.18.38.84:6667 (Connection attempt timed out)
What's up with this?

Edit: Also i'm running it on LocalHost 127...


Re: IRC Bot Crash - Vince - 18.11.2016

"Connection attempt timed out". Can it be any more clear? Either you specified the wrong IP/port or the target is offline or the target is actively blocking your connection attempts. Also this appears to be a Cloudflare IP. I consider it unlikely that there's actually an IRC server on this IP.


Re: IRC Bot Crash - ISmokezU - 18.11.2016

Code:
#define IRC_SERVER "irc.tl"
#define IRC_PORT (6667)
#define IRC_CHANNEL "#smokezs"
isnt the port by default 6667?

Edit: tried it on Ultra-h Same Problem ..


Re: IRC Bot Crash - Threshold - 18.11.2016

I dunno if this is helpful in any way, but users are now advised to use 'pool.irc.tl' as opposed to 'irc.tl'. Just saying.


Re: IRC Bot Crash - sam1929 - 18.11.2016

Quote:
Originally Posted by Threshold
View Post
I dunno if this is helpful in any way, but users are now advised to use 'pool.irc.tl' as opposed to 'irc.tl'. Just saying.
yes irc.tl is no longer use i found this out on my mirc when i could not connect and then i want to there web site and seen why so use pool.irc.tl and your be just fine, and all the bots should connent just fine.


Re: IRC Bot Crash - ISmokezU - 19.11.2016

Thanks


Re: IRC Bot Crash - samiulla - 22.12.2018

IRC_OnConnectAttemptFail: Bot ID 1 failed to connect to 104.18.39.84:6667 (Connection attempt timed out)
same problem


Re: IRC Bot Crash - samiulla - 22.12.2018

when i tried to loggin it losted my connection