Raised This Month: $ Target: $400
 0% 

[ANY] Ignore list


Post New Thread Reply   
 
Thread Tools Display Modes
Author
eric0279
AlliedModders Donor
Join Date: May 2007
Plugin ID:
3298
Plugin Version:
0.95
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
5 
Plugin Description:
Ignore other client's chat or voice or both.
Old 10-15-2012 , 10:49   Re: [ANY] Ignore list
Reply With Quote #1

Quote:
L 10/15/2012 - 16:44:14: [SM] Plugin encountered error 15: Array index is out of bounds
L 10/15/2012 - 16:44:14: [SM] Displaying call stack trace for plugin "ftz_ignorelist.smx":
L 10/15/2012 - 16:44:14: [SM] [0] Line 53, F:\SRCDS\l4d2\left4dead2\left4dead2\addons\so urcemod\scripting\ftz_ignorelist.sp::OnChatMe ssage()
Line 52 is uncommented... :

Quote:
[DEBUG ftz_ignorelist] client: -618611880, author: 1
eric0279 is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 10-15-2012 , 11:17   Re: [ANY] Ignore list
Reply With Quote #2

Quote:
Originally Posted by eric0279 View Post
Line 52 is uncommented... :
Can you download the source code of Simple Chat Processor, open it and change line 235 from:
PHP Code:
new Handle:cpRecipients CreateArray(11); 
to:
PHP Code:
new Handle:cpRecipients CreateArray(); 
then compile locally and report back?
__________________
FaTony is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 10-15-2012 , 12:45   Re: [ANY] Ignore list
Reply With Quote #3

So, here are the tests:

Code:
ftz_ignore Black
returns:
Quote:
[SM] More than one client matched the given filter.
test only with bots (Francis, Louis and Zoey)

Code:
ftz_ignore BlackLagon or ftz_ignore <userid>
returns:
Quote:
[SM] More than one client matched the given filter.
(2 bots and 2 players)

No error Effective change >> new Handle:cpRecipients = CreateArray();

Last edited by eric0279; 10-15-2012 at 12:51.
eric0279 is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 10-15-2012 , 13:18   Re: [ANY] Ignore list
Reply With Quote #4

Quote:
Originally Posted by eric0279 View Post
So, here are the tests:

Code:
ftz_ignore Black
returns:
*facepalm* Forgot GetCmdArg. Fixed.

Quote:
Originally Posted by eric0279 View Post
No error Effective change >> new Handle:cpRecipients = CreateArray();
Does this mean that out of bounds error has been fixed?
__________________
FaTony is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 10-15-2012 , 13:38   Re: [ANY] Ignore list
Reply With Quote #5

yes of bounds has been fixed.

plugin work's but ftz_ignore <userid> return :
[SM] Aucun Client correspondant trouvé.
eric0279 is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 10-15-2012 , 13:50   Re: [ANY] Ignore list
Reply With Quote #6

Quote:
Originally Posted by eric0279 View Post
yes of bounds has been fixed.

plugin work's but ftz_ignore <userid> return :
[SM] Aucun Client correspondant trouvé.
That's progress. Try
Code:
ftz_ignore @all
__________________
FaTony is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 10-16-2012 , 03:36   Re: [ANY] Ignore list
Reply With Quote #7

Quote:
Originally Posted by FaTony View Post
That's progress. Try
Code:
ftz_ignore @all

plugin work's but ftz_ignore <userid> return :
[SM] Aucun Client correspondant trouvé.


same problem.

ftz_ignore @all > work's
eric0279 is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 11:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode