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

Strange '{1}' instead of name in sm 1.2.1


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bubek
Junior Member
Join Date: Jun 2009
Old 06-12-2009 , 18:01   Strange '{1}' instead of name in sm 1.2.1
Reply With Quote #1

Hi there,

I upgraded my sourcemod to 1.2.1 version today.

I have this problem in my css server. When somebody type the command 'nextmap' in the in-game chat, the strange {1} appears instead of the name of map.

The similar problem is with some admin commands. When I kick somebody its nick is always {1}.

I've read the upgrading instructions (http://wiki.alliedmods.net/Upgrading_SourceMod) , and simply step by step copy/paste those several elements.

I don't know, if I've made some mistake during doing it (especially with gamedata folder , I pasted all folders)

What should I do?


sorry for my itchy bad english.;]
bubek is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 06-12-2009 , 22:33   Re: Strange '{1}' instead of name in sm 1.2.1
Reply With Quote #2

Check your error logs first in the logs folder.
__________________

DontWannaName is offline
bubek
Junior Member
Join Date: Jun 2009
Old 06-13-2009 , 04:19   Re: Strange '{1}' instead of name in sm 1.2.1
Reply With Quote #3

I checked the sourcemod/logs and didn't find any errorlog.

;/
bubek is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 06-13-2009 , 04:41   Re: Strange '{1}' instead of name in sm 1.2.1
Reply With Quote #4

Overwrite your plugins directory and then if that doesnt work overwrite all of the folders except configs with the latest version of SM.
__________________

DontWannaName is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 06-13-2009 , 06:11   Re: Strange '{1}' instead of name in sm 1.2.1
Reply With Quote #5

What language do you use? Looks like a problem with translation files.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
bubek
Junior Member
Join Date: Jun 2009
Old 06-13-2009 , 06:58   Re: Strange '{1}' instead of name in sm 1.2.1
Reply With Quote #6

Polish

Yeah I see, that my .phrases files don't have the lines 'format' in translation.

But the other translations too. Only original version has.

I pasted only translations from the 'pl' folder to my translation folder, should I paste the original too?
bubek is offline
bubek
Junior Member
Join Date: Jun 2009
Old 06-13-2009 , 08:36   Re: Strange '{1}' instead of name in sm 1.2.1
Reply With Quote #7

OK.

Works perfectly.
In my older version I had the translation in polish only (without an original one).

Thanks a lot.
bubek is offline
bubek
Junior Member
Join Date: Jun 2009
Old 06-13-2009 , 10:44   Re: Strange '{1}' instead of name in sm 1.2.1
Reply With Quote #8

I've noticed one bug in translation till this moment.

It is not only in polish version, but also in russian

in file: mapchooser.phrases

Nextmap Voting Finished translation

"Głosowanie na mapę zostało zakończone. Następną mapą będzie {1}. (Otrzymała {1}%% z {2} głosów) "

should be

"Głosowanie na mapę zostało zakończone. Następną mapą będzie {1}. (Otrzymała {2}%% z {3} głosów) "
bubek is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 06-13-2009 , 11:16   Re: Strange '{1}' instead of name in sm 1.2.1
Reply With Quote #9

Quote:
Originally Posted by bubek View Post
I've noticed one bug in translation till this moment.

It is not only in polish version, but also in russian

in file: mapchooser.phrases

Nextmap Voting Finished translation

"Głosowanie na mapę zostało zakończone. Następną mapą będzie {1}. (Otrzymała {1}%% z {2} głosów) "

should be

"Głosowanie na mapę zostało zakończone. Następną mapą będzie {1}. (Otrzymała {2}%% z {3} głosów) "
Yeap, this mistake was in russian translation till the 1.2.0 version of sourcemod, it was fixed in 1.2.1.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
BAILOPAN
Join Date: Jan 2004
Old 06-13-2009 , 14:50   Re: Strange '{1}' instead of name in sm 1.2.1
Reply With Quote #10

Hrm, that should get fixed for 1.2.2.
__________________
egg
BAILOPAN 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 16:22.


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