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

RTV errors.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
tkaway69
Senior Member
Join Date: Dec 2004
Location: Millbrook Alabama
Old 09-28-2007 , 00:54   RTV errors.
#1

Not sure if there is a thread already for this... We have been getting this error regularly.

L 09/27/2007 - 23:15:24: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 09/27/2007 - 23:15:24: [SM] Native "Format" reported: Language phrase "Rock The Vote:" not found
L 09/27/2007 - 23:15:24: [SM] Debug mode is not enabled for "rockthevote.smx"

I understand about debug not being turned on but what of the "error 4"? I have the translation file in there. Using Build 1503. Windows.
__________________
tkaway69 is offline
Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
FroL
Member
Join Date: Jul 2007
Old 09-28-2007 , 01:52   Re: RTV errors.
#2

Copy the new translation file in the translations folder from build.
__________________

3SMedia #1 | classic gameplay | tick 100 (81.25.49.19:27015)
3SMedia #2 | pro gaming | tick 100 (81.25.49.19:27016)
3SMedia #3 | deathmatch | tick 100 (81.25.49.19:27017)
Sorry for my VERY bad english .
FroL is offline
DS
SourceMod Developer
Join Date: Sep 2004
Location: WI, USA
Old 09-28-2007 , 04:25   Re: RTV errors.
#3

This appears to be a bug in the plugin and doesn't have anything to do with not having the latest translation files. As a temporary fix, you could do this:

On line 408 of the source code, change this:
Code:
Format(buffer, sizeof(buffer), "%T", oldTitle, param1);
To this:
Code:
Format(buffer, sizeof(buffer), "%T", "Rock The Vote", param1);
I can't say it's a proper fix for the problem, but it should stop the errors for now.

I'm not really sure why GetMenuTitle() is used there on the line before that. That seems to be root of the problem. The phrase name in the translation file does not have a colon in it where as the actual text does. So when getting the menu title it gets the actual translated text and not the name of the phrase. Thus the error.
__________________
エル・プサイ・コングルゥ
DS is offline
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 09-28-2007 , 04:55   Re: RTV errors.
#4

thanks! will patch ...
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
-=]DS[=-launebaer
Member
Join Date: Jul 2005
Old 09-28-2007 , 06:20   Re: RTV errors.
#5

hi is it possible to send a Hint messages whitch map is in vote with the votes
like mani:

de_dust2 (4)
de_inferno (2)
cs_office (1)

in the () are the players to vote
-=]DS[=-launebaer is offline
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 09-28-2007 , 06:57   Re: RTV errors.
#6

+1

useful feature!
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 09-28-2007 , 09:20   Re: RTV errors.
#7

The bug is actually line 341:
SetMenuTitle(MapVoteMenu, "%t", "Rock The Vote");

It should be:
SetMenuTitle(MapVoteMenu, "Rock The Vote");

I will fix it tonight. Damaged Soul's fix will also work in the meantime.
__________________
I'm a blast from the past!

Last edited by ferret; 09-28-2007 at 09:29.
ferret is offline
tkaway69
Senior Member
Join Date: Dec 2004
Location: Millbrook Alabama
Old 09-28-2007 , 13:17   Re: RTV errors.
#8

Thanks Ferret. I can copy and paste as good as the next one.
__________________
tkaway69 is offline
Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
tkaway69
Senior Member
Join Date: Dec 2004
Location: Millbrook Alabama
Old 09-28-2007 , 23:49   Re: RTV errors.
#9

Ok got Rid of the first error now getting this...

L 09/28/2007 - 19:23:42: [SM] Native "CloseHandle" reported: Handle 12e900c0 is invalid (error 1)
L 09/28/2007 - 19:23:42: [SM] Debug mode is not enabled for "rockthevote.smx"
L 09/28/2007 - 19:23:42: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 25 on
L 09/28/2007 - 207:05: Error log file session closed.


Still using 1503.
__________________
tkaway69 is offline
Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 09-29-2007 , 06:57   Re: RTV errors.
#10

hmm.. so STRANGE.
why bug is not fixed yet an 1505?

i don't understand...
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
Closed Thread



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 01:11.


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