SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 09/09/2015, 02:45 AM   #791
Disconett
Little Clucker
 
Disconett's Avatar
 
Join Date: Feb 2013
Location: USA
Posts: 16
Reputation: 3
Default Re: IRC Plugin

Quote:
Originally Posted by ~Yoshi View Post
Why do I get the following error
Code:
[20:45:40 | 04/09/15]  Loading plugin: irc.so
[20:45:40 | 04/09/15]   Failed (libcrypto.so.0.9.8: cannot open shared object file: No such file or directory)
When I try to update to the latest version of the IRC plugin? I've checked 3 times and I am infact using the non-SSL version of the plugin, but it still tries to load the SSL libraries?
I fixed it by doing the following.

yum install openssl098e.i686

Then symlink to the correct version:

ln -s /usr/lib/libcrypto.so.0.9.8e /usr/lib/libcrypto.so.0.9.8
Disconett is offline   Reply With Quote
Old 20/09/2015, 08:37 AM   #792
AroseKhanNiazi
High-roller
 
AroseKhanNiazi's Avatar
 
Join Date: Jan 2014
Location: Pakistan
Posts: 1,349
Reputation: 78
Default Re: IRC Plugin

Works great, just tested it on 0.3.7.
AroseKhanNiazi is offline   Reply With Quote
Old 02/10/2015, 06:59 PM   #793
Kar
Banned
 
Join Date: May 2010
Location: Black Asylum
Posts: 2,938
Reputation: 538
Default Re: IRC Plugin

I have a minor issue. My first bot disconnects after awhile for the reason 'ping timeout (121 seconds)' right. When it disconnects, the other bots stop responding. They send messages to the server but they stop handling commands.

pawn Code:
connectIRCBot(ircIndex)
{
    gBotID[ircIndex] = IRC_Connect(IRC_SERVER, IRC_PORT, gBotNames[ircIndex], gBotNames[ircIndex], gBotNames[ircIndex]);
    IRC_SetIntData(gBotID[ircIndex], E_IRC_CONNECT_DELAY, ircIndex + 1);
    IRC_SetIntData(gBotID[ircIndex], E_IRC_CONNECT_ATTEMPTS, 5);
    IRC_SetIntData(gBotID[ircIndex], E_IRC_CONNECT_TIMEOUT, 10); // bots disconnect if timed out fast x seconds
    //IRC_SetIntData(gBotID[ircIndex], E_IRC_RECEIVE_TIMEOUT, 3600 * 24); // bots disconnect is nothing is sent in x seconds
    IRC_SetIntData(gBotID[ircIndex], E_IRC_RESPAWN, true);
}

Last edited by Kar; 02/11/2015 at 05:29 AM.
Kar is offline   Reply With Quote
Old 06/10/2015, 10:25 PM   #794
StackedPizza
Big Clucker
 
StackedPizza's Avatar
 
Join Date: Jun 2015
Posts: 90
Reputation: 2
Default Re: IRC Plugin

-nvm i'll do it myself.-

Last edited by StackedPizza; 06/10/2015 at 11:13 PM.
StackedPizza is offline   Reply With Quote
Old 20/12/2015, 04:40 PM   #795
Lightning[SV]
Big Clucker
 
Lightning[SV]'s Avatar
 
Join Date: Feb 2009
Posts: 118
Reputation: 32
Default Re: IRC Plugin

I think there is a bug with IRC_OnUserNickChange.

It's not getting called anymore, since irc.tl has changed to InspIRCd I think. Is anyone else there having the same problem?
Lightning[SV] is offline   Reply With Quote
Old 11/01/2016, 09:41 PM   #796
Faskis
Big Clucker
 
Faskis's Avatar
 
Join Date: Oct 2009
Location: Illinois
Posts: 52
Reputation: 41
Default Re: IRC Plugin

Not sure if it's a matter of missing something, but I'm attempting to setup a connection to a Slack server through IRC. The connection only works when it's not set to connect through SSL. When connecting via SSL, I get a response back from the server that no password was provided (I have the password set in IRC_Connect()). This is what the output looks like:

Quote:
[11/01/2016 16:25:33] *** IRC_OnConnectAttempt: Bot ID 1 attempting to connect to [slack ip]:6667...
[11/01/2016 16:25:34] *** IRC_OnUserRequestCTCP (Bot ID 1): User slackbot (No hostname) sent CTCP request: VERSION
[11/01/2016 16:25:34] *** IRC_OnUserSay (Bot ID 1): User slackbot (No hostname) sent message to SAMP: no password
[11/01/2016 16:25:34] *** IRC_OnReceiveNumeric (Bot ID 1): 444 (:no password!!!)
[11/01/2016 16:25:34] *** IRC_OnDisconnect: Bot ID 1 disconnected from [slack ip]:6667 (End of file)

Obviously, I'd prefer to have it connect through SSL.
__________________
Faskis is offline   Reply With Quote
Old 11/01/2016, 09:57 PM   #797
Elegy
Banned
 
Join Date: Dec 2015
Location: Girl Friend House
Posts: 169
Reputation: 3
Default Re: IRC Plugin

Good job,this pretty much
Elegy is offline   Reply With Quote
Old 17/01/2016, 07:11 AM   #798
Amunra
Gangsta
 
Amunra's Avatar
 
Join Date: Nov 2015
Location: Indonesian
Posts: 502
Reputation: 12
Default Re: IRC Plugin

Whats Mean SSL And Non-SSL ? Anyone Can help ?
__________________
Legendary Criminals


Amunra is offline   Reply With Quote
Old 17/01/2016, 10:40 AM   #799
Jeroen52
Gangsta
 
Jeroen52's Avatar
 
Join Date: Oct 2008
Location: The Netherlands
Posts: 882
Reputation: 74
Default Re: IRC Plugin

Quote:
Originally Posted by Amunra View Post
Whats Mean SSL And Non-SSL ? Anyone Can help ?
https://en.wikipedia.org/wiki/Transport_Layer_Security Non-SSL just means without SSL.
__________________
Jeroen52 is offline   Reply With Quote
Old 17/01/2016, 12:44 PM   #800
Amunra
Gangsta
 
Amunra's Avatar
 
Join Date: Nov 2015
Location: Indonesian
Posts: 502
Reputation: 12
Default Re: IRC Plugin

But I Have a New Problem ! Why if I Use /say in Website the Player In game Can't See my Chat ?
__________________
Legendary Criminals


Amunra is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[help][plugin] Can't load mysql plugin mariomako Help Archive 8 16/07/2011 02:37 PM
mysql plugin. loading plugin failed ikkentim Help Archive 2 10/02/2011 02:32 PM


All times are GMT. The time now is 12:39 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.