SA-MP Forums Archive
[Plugin] IRC Plugin - 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: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] IRC Plugin (/showthread.php?tid=98803)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14


Respuesta: IRC Plugin - IvaaN. - 12.06.2014

Hello i had a problem with irc.so

Quote:

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[17:20:44]
[17:20:44] Server Plugins
[17:20:44] --------------
[17:20:44] Loading plugin: sscanf.so
[17:20:44]

[17:20:44] ===============================

[17:20:44] sscanf plugin loaded.

[17:20:44] Version: 2.8.1

[17:20:44] © 2012 Alex "******" Cole

[17:20:44] ===============================

[17:20:44] Loaded.
[17:20:44] Loading plugin: irc.so
[17:20:44] Failed (libcrypto.so.0.9.8: cannot open shared object file: No such file or directory)
[17:20:44] Loaded 1 plugins.




Re: IRC Plugin - Lightning[SV] - 22.06.2014

I think the plugin should ignore the case of channel & user names in all functions.

I encountered a strange bug which has eluded me for a while.

My channel is registered as #sv-rpg

But while the channel was empty due to a ddos, someone else connected using the channel name #SV-RPG

Then the bots joined the channel and the callbacks were returning #SV-RPG as the channel name but in the script I had defined it as #sv-rpg so the functions were failing.

On a more minor note, I have an ingame to irc pm function and it would be more user friendly if they didn't have to get the case of the name exact.

thanks
Light


Re: IRC Plugin - Kar - 23.06.2014

why isn't there a simple IRC_IsBotConnected(botid) command?


Re: IRC Plugin - Djole1337 - 23.06.2014

Quote:
Originally Posted by Kar
Посмотреть сообщение
why isn't there a simple IRC_IsBotConnected(botid) command?


pawn Код:
new bool:botStatus[MAX_BOTS]={false,...};
public IRC_OnConnect(botid, ip[], port) {
    botStatus[botid] = true;
}

public IRC_OnDisconnect(botid, ip[], port, reason[]) {
    botStatus[botid] = false;
}

bool:IRC_IsBotConnected(botid) {
    return botStatus[botid];
}



Re: IRC Plugin - Ritzy2K - 11.07.2014

need help idk whats this shit help me :3



Re: IRC Plugin - ZombieNest - 13.08.2014

Nice work, keep it up.. Useful..


Re: IRC Plugin - mkdim9z6 - 14.10.2014

how to send a NickServ command like /identify


Re: IRC Plugin - JacobEdwards - 14.10.2014

Quote:
Originally Posted by mkdim9z6
Посмотреть сообщение
how to send a NickServ command like /identify
When IRC_OnConnect is called, send a message to the nickserv.


Re: IRC Plugin - nemesis- - 14.10.2014

Quote:
Originally Posted by mkdim9z6
Посмотреть сообщение
how to send a NickServ command like /identify
Quote:

#define BOT_PASS "botpassword" //put this somewhere near the top

new tmpString[128];
format(tmpString,sizeof(tmpString),"PRIVMSG NickServ :IDENTIFY %s",BOT_PASS);
IRC_SendRaw(cmdBot,tmpString); //cmdBot is a variable derived from the return value of IRC_Connect

Something like that..


Re: IRC Plugin - Banditukas - 26.10.2014

Why this plugin is usefull and what means IRC in sa-mp?


Re: IRC Plugin - iZN - 26.10.2014

Quote:
Originally Posted by Banditukas
Посмотреть сообщение
Why this plugin is usefull and what means IRC in sa-mp?
Ever heard about ******? I think not.

http://en.wikipedia.org/wiki/Internet_Relay_Chat


Re: IRC Plugin - nemesis- - 26.10.2014

Quote:
Originally Posted by Banditukas
Посмотреть сообщение
Why this plugin is usefull and what means IRC in sa-mp?
IRC is a common chat platform known as Internet Relay Chat. This plugin allows you to connect a SA-MP server and IRC server together through the use of IRC bots which allow people on IRC to chat with people on the server. It also allows admins to administrate the server from with-in IRC and not always be connected in-game.


Re: IRC Plugin - Incognito - 07.11.2014

Updated plugin to fix this bug: http://www.renegade334.me.uk/node/11

(Note: the automatic reconnection system is still enabled by default, but IRC_Quit should be fixed now.)


Re: IRC Plugin - denNorske - 18.11.2014

Thanks for update.
However, since i was figuring this out with Renegade on IRC (helping him test it out), shouldn't I deserve a small credit as well?

Awesome it got fixed, finally i can avoid getting G_Lined with my terrible code huehue.


Re: IRC Plugin - Kyle - 18.11.2014

Quote:
Originally Posted by airplanesimen
Посмотреть сообщение
Thanks for update.
However, since i was figuring this out with Renegade on IRC (helping him test it out), shouldn't I deserve a small credit as well?

Awesome it got fixed, finally i can avoid getting G_Lined with my terrible code huehue.
are you serious? you need to earn your credibility, not ask for it.


Re: IRC Plugin - denNorske - 19.11.2014

Quote:
Originally Posted by KyleSmith
Посмотреть сообщение
are you serious? you need to earn your credibility, not ask for it.
Yeh i am. And he was not aware of that, so how could he?


Re: IRC Plugin - Kyle - 19.11.2014

Quote:
Originally Posted by airplanesimen
Посмотреть сообщение
Yeh i am. And he was not aware of that, so how could he?
Aware of what? That you helped Renegade? If your help was that significant, Renegade would have mentioned you.


Re: IRC Plugin - cosbraa - 30.11.2014

The server I script for, which is Linux, will timeout on connections to IRC.
My windows computer will connect fine with no issues, but the linux server will not connect and will timeout every attempt.

What is the cause and how do I fix this.


Re: IRC Plugin - Kingmac - 08.12.2014

Idk why..
Код:
IRC_GroupSay(groupID, "%#IRCCHANNELHERE", ircMsg);
does not send irc channel message to users who have irc op or above users. Help me?


Re: IRC Plugin - denNorske - 08.12.2014

Quote:
Originally Posted by Kingmac
Посмотреть сообщение
Idk why..
Код:
IRC_GroupSay(groupID, "%#IRCCHANNELHERE", ircMsg);
does not send irc channel message to users who have irc op or above users. Help me?
Make sure bots have level % or higher
and that the channel is correct.