SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 24/09/2009, 03:42 AM   #21
cyber_punk
Gangsta
 
Join Date: Feb 2008
Location: Det. Mi. USA.....
Posts: 496
Reputation: 9
Default Re: [REL] IRC Plugin v1.0

Very nice, and much much needed. Thanks Incognito!!!
__________________
cyber_punk is offline   Reply With Quote
Old 24/09/2009, 07:10 AM   #22
sk0t
Big Clucker
 
Join Date: May 2009
Posts: 37
Reputation: 0
Default Re: [REL] IRC Plugin v1.0

Very nice a working irc plugin
sk0t is offline   Reply With Quote
Old 24/09/2009, 08:40 AM   #23
VIRUXE
Big Clucker
 
Join Date: Dec 2006
Location: Portugal
Posts: 149
Reputation: 0
Default Re: [REL] IRC Plugin v1.0

Quote:
Originally Posted by InstabiC
Quote:
Originally Posted by Incognito
InstabiC: Make sure that you are not adding bots to the group twice. It is best to add them in IRC_OnConnect and remove them in IRC_OnDisconnect to ensure that this does not happen.
Thank you for the reply.

I now assign the bots into groups under IRC_OnConnect. It seems a little better but when I type the command like 5 times in a row, pretty fast (a second interval?) it still messes up it atleast once. But this is certainly better than it was with Jacob's plugin so thanks a bunch!
That is most likely caused by lag. Incognito can't do much about it if that is indeed the case.
VIRUXE is offline   Reply With Quote
Old 24/09/2009, 04:30 PM   #24
FUNExtreme
Gangsta
 
Join Date: Mar 2008
Posts: 892
Reputation: 127
Default Re: [REL] IRC Plugin v1.0

The plugin seems to be unstable on debian. I tried running your default script + default lvdm and then I spammed !say wich made the bots "client exited" after 10 Irc_Say's
__________________

FUNExtreme is offline   Reply With Quote
Old 24/09/2009, 06:05 PM   #25
JAMES Albert
Little Clucker
 
Join Date: Aug 2009
Posts: 9
Reputation: 0
Default Re: [REL] IRC Plugin v1.0

Very Good..........
JAMES Albert is offline   Reply With Quote
Old 24/09/2009, 06:26 PM   #26
Incognito
Huge Clucker
 
Join Date: May 2006
Posts: 448
Reputation: 487
Default Re: [REL] IRC Plugin v1.0

Edit: FUNExtreme, I was able to reproduce your crash on Debian 4/5, but it was only after spamming the same command about 30 times. I will try debugging it later. Thank you for the report.
Incognito is offline   Reply With Quote
Old 24/09/2009, 07:24 PM   #27
ded
Gangsta
 
ded's Avatar
 
Join Date: Jun 2009
Location: We comin' through dumpin'
Posts: 545
Reputation: 0
Default Re: [REL] IRC Plugin v1.0

This looks promising. Might have to convert my IRC Echo bot from Jacobs to this. Out with the old and in with the new
__________________
ded is offline   Reply With Quote
Old 24/09/2009, 09:32 PM   #28
mo_miah
Big Clucker
 
Join Date: Oct 2007
Posts: 50
Reputation: 0
Default Re: [REL] IRC Plugin v1.0

Very Nice Plugin, it works perfectly. I am loving your useful projects that you have created and release, keep them coming
mo_miah is offline   Reply With Quote
Old 25/09/2009, 05:00 AM   #29
Incognito
Huge Clucker
 
Join Date: May 2006
Posts: 448
Reputation: 487
Default Re: [REL] IRC Plugin v1.1

Thanks.

Okay, the crash I spoke of earlier was actually a rather nasty bug in the plugin that caused the server to shut down as soon as any IRC callbacks began to be executed. (As of this edit, my DNS plugin has also been updated to reflect these changes, as it uses the same queuing system.)

I made one other fix and two small additions as well. Here is the changelog:

Quote:
- Fixed bug that crashed the server when internal callback queue began to be filled
- Fixed bug with bots in groups that caused IRC_OnUserSay to not be called for individual private messages
- Added check to IRC_AddToGroup that prevents bots from being added to a group more than once
- Added extra argument to IRC_JoinChannel that lets bots specify a channel key
Download links are on the first page.
Incognito is offline   Reply With Quote
Old 25/09/2009, 07:18 AM   #30
sk0t
Big Clucker
 
Join Date: May 2009
Posts: 37
Reputation: 0
Default Re: [REL] IRC Plugin v1.1

Quote:
Originally Posted by Incognito
Thanks.

Okay, the crash I spoke of earlier was actually a rather nasty bug in the plugin that caused the server to shut down as soon as any IRC callbacks began to be executed. (As of this edit, my DNS plugin has also been updated to reflect these changes, as it uses the same queuing system.)

I made one other fix and two small additions as well. Here is the changelog:

Quote:
- Fixed bug that crashed the server when internal callback queue began to be filled
- Fixed bug with bots in groups that caused IRC_OnUserSay to not be called for individual private messages
- Added check to IRC_AddToGroup that prevents bots from being added to a group more than once
- Added extra argument to IRC_JoinChannel that lets bots specify a channel key
Download links are on the first page.
Ah nice work mate, i helped a gaming server setup an irc channel for there sync bots and the bots would keep repeating the last thing it said then crash in most cases hope this fix's it keep up the good work mate
sk0t 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
Very good plugin suggestion (for scripters) and easy to make for the Plugin Developers! Xentiarox Plugin Development 5 29/07/2012 10:48 PM
[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 03:57 AM.


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