Raised This Month: $ Target: $400
 0% 

SM CS:S KillStats - 1.1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Deception5
Member
Join Date: Aug 2007
Location: Austin, TX
Old 08-22-2007 , 11:40   Re: SM CS:S KillStats
Reply With Quote #81

Be sure to disable sm_killstats_new_player_options if you already have a menu pop up when players connect (a choose weapon type menu, etc).
Deception5 is offline
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 08-22-2007 , 12:06   Re: SM CS:S KillStats
Reply With Quote #82

Code:
17:05:35 [SM] Plugin encountered error 4: Invalid parameter or parameter type
17:05:35 [SM] Native "Format" reported: Language phrase "sm_killstats_show_startup_help" not found
17:05:35 [SM] Debug mode is not enabled for "killstats.smx"
17:05:35 [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 23 on
17:05:35 [SM] Loaded plugin killstats.smx successfully.
__________________
Extreme_One is offline
Deception5
Member
Join Date: Aug 2007
Location: Austin, TX
Old 08-22-2007 , 12:09   Re: SM CS:S KillStats
Reply With Quote #83

Quote:
Originally Posted by Extreme_One View Post
Code:
17:05:35 [SM] Plugin encountered error 4: Invalid parameter or parameter type
17:05:35 [SM] Native "Format" reported: Language phrase "sm_killstats_show_startup_help" not found
17:05:35 [SM] Debug mode is not enabled for "killstats.smx"
17:05:35 [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 23 on
17:05:35 [SM] Loaded plugin killstats.smx successfully.
This looks like the old translation file - did you install the new one? There are a few new cvars that were added which wouldn't have translations and also a few #formats that wouldn't work anymore.

If you prefer to edit your existing translation rather than to take a new one, I believe these are all the english translations that were affected:

"sm_killstats_new_player_options"
{
"en" "Whether to bring up the kill stats options menu for players who have not yet set any preferences"
}

"sm_killstats_show_startup_help"
{
"en" "Show help messages on startup"
}

"menu_damage_done_death_string"
{
"#format" "{1:s},{2:d},{3:d},{4:s},{5:.2f},{6:s}"
"en" "*{1} - {2} damage - {3} hits {4} - {5} ft"
"de" "*{1} - {2} Schaden - {3} Treffer {4} - {5} ft"
"ru" "*{1} - {2} урона - {3} попадания {4} - {5} ft"
}

// 7 = Health Remaining
"menu_damage_taken_death_string"
{
"#format" "{1:s},{2:d},{3:d},{4:s},{5:.2f},{6:s},{7 :d}"
"en" "*{1} - {2} damage - {3} hits {4} - {5} ft - ({7} health remaining)"
"de" "*{1} - {2} Schaden - {3} Treffer {4} - {5} ft - ({7} HP Gesundheit verbleiben)"
"ru" "*{1} - {2} урона - {3} попадания {4} - {5} ft"
}

// Subset of the death string (no distance)
// 1 = Name of the person I hit
// 2 = Amount of damage I did
// 3 = Number of hits against the person
// 4 = Headshot string
// 5 = My Name (not usually needed here)
"menu_damage_done_string"
{
"#format" "{1:s},{2:d},{3:d},{4:s},{5:s}"
"en" " {1} - {2} damage - {3} hits {4}"
"de" " {1} - {2} Schaden - {3} Treffer {4}"
"ru" " {1} - {2} урона - {3} попадания {4}"
}

"menu_damage_taken_string"
{
"#format" "{1:s},{2:d},{3:d},{4:s},{5:s}"
"en" " {1} - {2} damage - {3} hits {4}"
"de" " {1} - {2} Schaden - {3} Treffer {4}"
"ru" " {1} - {2} урона - {3} попадания {4}"
}

// Information to show in section 3/4 - Damage Done/Received
// For chat, these must be differentiated because we don't show section headers, so you won't
// know the difference between being the victim and the attacker if the strings are the same
// Don't change the format string, just remove the ones that you don't want from the translation string
// 1 = Name of the person I hit
// 2 = Amount of damage I did
// 3 = Number of hits against the person
// 4 = Headshot string
// 5 = Distance
// 6 = My Name
"chat_damage_done_death_string"
{
"#format" "{1:s},{2:d},{3:d},{4:s},{5:.2f},{6:s}"
"en" "*{6} >> {1} - {2} DAM, {3} HITS {4} - {5} ft"
"de" "*{1} - {2} Schaden - {3} Treffer {4} - {5} ft"
"ru" "*{1} - {2} урона - {3} попадания {4} - {5} ft"
}

// 7 = Health remaining
"chat_damage_taken_death_string"
{
"#format" "{1:s},{2:d},{3:d},{4:s},{5:.2f},{6:s},{7 :d}"
"en" "*{1} >> {6} - {2} DAM, {3} HITS {4} - {5} ft ({7} health remaining)"
"de" "*{1} - {2} Schaden - {3} Treffer {4} - {5} ft ({7} HP Gesundheit verbleiben)"
"ru" "*{1} - {2} урона - {3} попадания {4} - {5} ft"
}

// Subset of the death string (no distance)
// 1 = Name of the person I hit
// 2 = Amount of damage I did
// 3 = Number of hits against the person
// 4 = Headshot string
// 5 = My Name
"chat_damage_done_string"
{
"#format" "{1:s},{2:d},{3:d},{4:s},{5:s}"
"en" " {5} >> {1} - {2} DAM, {3} HITS {4}"
"de" " {1} - {2} Schaden - {3} Treffer {4}"
"ru" " {1} - {2} урона - {3} попадания {4}"
}

"chat_damage_taken_string"
{
"#format" "{1:s},{2:d},{3:d},{4:s},{5:s}"
"en" " {1} >> {5} - {2} DAM, {3} HITS {4}"
"de" " {1} - {2} Schaden - {3} Treffer {4}"
"ru" " {1} - {2} урона - {3} попадания {4}"
}

Last edited by Deception5; 08-22-2007 at 12:19.
Deception5 is offline
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 08-22-2007 , 12:21   Re: SM CS:S KillStats
Reply With Quote #84

Quote:
Originally Posted by Deception5 View Post
This looks like the old translation file - did you install the new one? ...

nm it's all working now.

I did install all of the required files but I performed a sm unload / sm load to stop the old version and start the new version. The translation file didn't get loaded correctly.

Once the map changed it all works correctly now
__________________
Extreme_One is offline
Deception5
Member
Join Date: Aug 2007
Location: Austin, TX
Old 08-22-2007 , 12:23   Re: SM CS:S KillStats
Reply With Quote #85

Quote:
Originally Posted by Extreme_One View Post
nm it's all working now.

I did install all of the required files but I performed a sm unload / sm load to stop the old version and start the new version. The translation file didn't get loaded correctly.

Once the map changed it all works correctly now
Cool, good to know - thanks for the update
Deception5 is offline
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 08-22-2007 , 19:27   Re: SM CS:S KillStats
Reply With Quote #86

Code:
L 08/23/2007 - 00:43:22: [SM] Native "PrintToChat" reported: Client 1 is not in game
L 08/23/2007 - 00:43:22: [SM] Debug mode is not enabled for "killstats.smx"
L 08/23/2007 - 00:43:22: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 23 on
Not sure if that's important.
__________________
Extreme_One is offline
HO!NO!
Junior Member
Join Date: Apr 2006
Location: Québec
Old 08-22-2007 , 21:18   Re: SM CS:S KillStats
Reply With Quote #87

French translation
need to be save in ANSI to work in french
Attached Files
File Type: txt killstats.phrases.txt (16.5 KB, 146 views)
HO!NO! is offline
Send a message via ICQ to HO!NO! Send a message via MSN to HO!NO!
Deception5
Member
Join Date: Aug 2007
Location: Austin, TX
Old 08-22-2007 , 22:33   Re: SM CS:S KillStats
Reply With Quote #88

Quote:
Originally Posted by Extreme_One View Post
Code:
L 08/23/2007 - 00:43:22: [SM] Native "PrintToChat" reported: Client 1 is not in game
L 08/23/2007 - 00:43:22: [SM] Debug mode is not enabled for "killstats.smx"
L 08/23/2007 - 00:43:22: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 23 on
Not sure if that's important.
Cool, thanks I'll check it out!
__________________
Deception5 is offline
Deception5
Member
Join Date: Aug 2007
Location: Austin, TX
Old 08-22-2007 , 22:34   Re: SM CS:S KillStats
Reply With Quote #89

Quote:
Originally Posted by HO!NO! View Post
French translation
need to be save in ANSI to work in french
Thanks! I'll put this in the next version!
__________________
Deception5 is offline
Deception5
Member
Join Date: Aug 2007
Location: Austin, TX
Old 08-23-2007 , 16:06   Re: SM CS:S KillStats V1.0.3
Reply With Quote #90

V1.0.3 up
__________________
Deception5 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:08.


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