SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 04/05/2014, 08:04 AM   #711
Inn0cent
Huge Clucker
 
Inn0cent's Avatar
 
Join Date: May 2013
Location: Pakistan
Posts: 353
Reputation: 45
Default Re: IRC Plugin

This plugin is so awesome, used it many times..
Inn0cent is offline   Reply With Quote
Old 18/05/2014, 10:40 AM   #712
T-N-Z
Big Clucker
 
T-N-Z's Avatar
 
Join Date: May 2007
Posts: 197
Reputation: 23
Default Re: IRC Plugin

Anyone else had this issue?

My script compiles fine, no errors, and I try to connect my irc bot, but nothing happens at all.
I checked my logs, and there's nothing there either, IRC_OnConnectAttempt dosen't print anything, it's like IRC_Connect dosen't even get called or something but I have it on my OnGameModeInit

I tried different servers, different channels, nothing helps at all. I am using default code mostly, from the filterscript.
Any ideas?

Atleast it should print something, right? But there's nothing at all.

Where can I find version 1.4.4?

Last edited by T-N-Z; 18/05/2014 at 12:01 PM.
T-N-Z is offline   Reply With Quote
Old 18/05/2014, 06:30 PM   #713
Incognito
Huge Clucker
 
Join Date: May 2006
Posts: 447
Reputation: 509
Default Re: IRC Plugin

A corrected version has been posted.
Incognito is offline   Reply With Quote
Old 21/05/2014, 05:58 PM   #714
Rick.
Little Clucker
 
Join Date: Sep 2012
Location: The Netherlands
Posts: 33
Reputation: 13
Default Re: IRC Plugin

I noticed that messages dont always show up in the same order as they were sent.
Code:
IRCCMD:test(botid, channel[], user[], host[], params[])
{
	IRC_GroupSay(ircgroup, channel, "1");
	IRC_GroupSay(ircgroup, channel, "2");
	IRC_GroupSay(ircgroup, channel, "3");
	IRC_GroupSay(ircgroup, channel, "4");
	IRC_GroupSay(ircgroup, channel, "5");
	return 1;
}
This shows up. (order is different every time)
Code:
(20:10) <~Rick> !test
(20:10) <&Banana> 1
(20:10) <&Orange> 3
(20:10) <&Coconut> 2
(20:10) <&Coconut> 5
(20:10) <&Banana> 4
Does anyone know a way to solve this?
Rick. is offline   Reply With Quote
Old 21/05/2014, 06:12 PM   #715
CrossUSAAF
Huge Clucker
 
CrossUSAAF's Avatar
 
Join Date: Jun 2012
Location: Finland
Posts: 476
Reputation: 38
Default Re: IRC Plugin

@Rick..

Please try to use "IRC_Say(botid, channel, msg);" function in your IRC command. That works for me.
__________________
Quote:
Originally Posted by RyderX View Post
REMOVE THIS SORRY MY NET WAS GETTING SHOWER REMOVE THIS!
CrossUSAAF is offline   Reply With Quote
Old 21/05/2014, 06:25 PM   #716
Vince
Spam Machine
 
Vince's Avatar
 
Join Date: Sep 2007
Location: Belgium
Posts: 10,067
Reputation: 2660
Default Re: IRC Plugin

Why exactly would the messages need to be in exact order? You may be using the wrong medium for your purposes.
__________________
Vince is offline   Reply With Quote
Old 22/05/2014, 06:49 PM   #717
Rick.
Little Clucker
 
Join Date: Sep 2012
Location: The Netherlands
Posts: 33
Reputation: 13
Default Re: IRC Plugin

Quote:
Originally Posted by CrossUSAAF View Post
@Rick..

Please try to use "IRC_Say(botid, channel, msg);" function in your IRC command. That works for me.
I tried it and it looks to be working, thanks.

Quote:
Originally Posted by Vince View Post
Why exactly would the messages need to be in exact order? You may be using the wrong medium for your purposes.
Some messages, like a list of specific data, look better and are easier to read when they show up in correct order.
Rick. is offline   Reply With Quote
Old 03/06/2014, 02:21 AM   #718
Translator
Big Clucker
 
Join Date: Nov 2011
Posts: 60
Reputation: 9
Default Re: IRC Plugin

Anyone know how to fix: *** IRC_Connect: Expecting 8 parameter(s), but found 7
__________________

Translator is offline   Reply With Quote
Old 03/06/2014, 08:02 AM   #719
iZN
High-roller
 
Join Date: Jun 2010
Posts: 2,369
Reputation: 569
Default Re: IRC Plugin

Quote:
Originally Posted by Translator View Post
Anyone know how to fix: *** IRC_Connect: Expecting 8 parameter(s), but found 7
Update your include and plugin.
__________________
iZN is offline   Reply With Quote
Old 12/06/2014, 08:02 PM   #720
IvaaN.
Little Clucker
 
Join Date: Jun 2011
Posts: 20
Reputation: 0
Default Respuesta: IRC Plugin

Hello i had a problem with irc.so

Quote:
SA-MP Dedicated Server
----------------------
v0.3z, (C)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] (c) 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.

Last edited by IvaaN.; 12/06/2014 at 08:03 PM. Reason: agrego datos
IvaaN. 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 01:07 PM.


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