Raised This Month: $51 Target: $400
 12% 

Odd error, Help please?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rocketteem
SourceMod Donor
Join Date: May 2007
Location: San Diego, Ca
Old 02-28-2009 , 20:08   Odd error, Help please?
Reply With Quote #1

Hello! I altered the mapchooser plugin to have 2 voting sessions about 5 months ago, and it all worked fine. But I just updates SM and MMS, and now it seems to not work correctly.

Here is the error:

Code:
L 02/28/2009 - 18:47:08: [SM] Plugin encountered error 22: Maximum number of par
ameters reached
L 02/28/2009 - 18:47:08: [SM] Native "VFormat" reported: Translation string form
atted incorrectly - missing at least 2 parameters
L 02/28/2009 - 18:47:08: [SM] Displaying call stack trace for plugin "mapchooser
2.smx":
L 02/28/2009 - 18:47:08: [SM]   [0]  Line 278, /home/groups/sourcemod/compiler-1
.1/include/halflife.inc::PrintToChatAll()
L 02/28/2009 - 18:47:08: [SM]   [1]  Line 628, /home/groups/sourcemod/upload_tmp
/textNBPERw.sp::SetNextMapw()
L 02/28/2009 - 18:47:08: [SM]   [2]  Line 410, /home/groups/sourcemod/upload_tmp
/textNBPERw.sp::Handle_VoteMenu()
Any idea what it could be? How do I know what lines in the script caused the error so that I can inspect that code? And what does the error above mean?

It's confusing me because this was working great, but not anymore.

Thank you!
__________________
FearedGamers.net Gaming Community
Sponsored by iZ3D
rocketteem is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 02-28-2009 , 20:21   Re: Odd error, Help please?
Reply With Quote #2

It says Line 278, 628, and 410 so I would look there first.
__________________
CrimsonGT is offline
rocketteem
SourceMod Donor
Join Date: May 2007
Location: San Diego, Ca
Old 02-28-2009 , 20:35   Re: Odd error, Help please?
Reply With Quote #3

If I'm not mistaken, it's referring to those include files, and not the lines in my script.
__________________
FearedGamers.net Gaming Community
Sponsored by iZ3D
rocketteem is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-28-2009 , 20:41   Re: Odd error, Help please?
Reply With Quote #4

628 an 410 are in your modified .sp
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
naris
AlliedModders Donor
Join Date: Dec 2006
Old 03-01-2009 , 08:52   Re: Odd error, Help please?
Reply With Quote #5

Well, it looks like SetNextMapw() uses the PrintToChatAll() native on line 628 of textNBPERw.sp and that call apparently doesn't have correct parameters sent to it.
naris is offline
CrimsonGT
Veteran Member
Join Date: Oct 2007
Location: Gainesville, FL
Old 03-01-2009 , 09:55   Re: Odd error, Help please?
Reply With Quote #6

It would be much easier to help diagnose the problem if you posted the source or atleast the sections that are having problems.
__________________
CrimsonGT 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 07:56.


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