Raised This Month: $32 Target: $400
 8% 

[TF2] Win panel for losing team


Post New Thread Reply   
 
Thread Tools Display Modes
untamed316
Junior Member
Join Date: Jul 2009
Old 04-10-2013 , 17:03   Re: [TF2] Win panel for losing team
Reply With Quote #31

Quote:
Originally Posted by Ofigenski View Post
Is it possible to display info about losing team into chat instead of panel? Or maybe into hint? I have overriding issue with end-round map voting (I'm using umc-mapchooser plugin for it).
I second this request.
untamed316 is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 07-31-2014 , 16:37   Re: [TF2] Win panel for losing team
Reply With Quote #32

Hey o/

The plugin isn't working for me :s
error:
Code:
22:13:59: [SM] Displaying call stack trace for plugin "win-panel-ff.smx":
L 07/31/2014 - 22:13:59: [SM]   [0]  Line 228, D:\Downloads\UNSORTED\sFTP\scripting\win-panel-ff.sp::Draw_PanelHeader()
L 07/31/2014 - 22:13:59: [SM]   [1]  Line 174, D:\Downloads\UNSORTED\sFTP\scripting\win-panel-ff.sp::Timer_ShowWinPanel()
Hope you can fix this :s
Thanks
Vastrix is offline
Reflex
Member
Join Date: Apr 2008
Location: Russia, St. Petersburg
Old 08-01-2014 , 04:13   Re: [TF2] Win panel for losing team
Reply With Quote #33

If you could see something like 'Language phrase "team0" not found' in your error log right before the lines that you've posted, then check that you have proper translation file at 'tf/addons/sourcemod/translations/win-panel-ff.phrases.txt'.
__________________
Reflex is offline
Vastrix
Senior Member
Join Date: Aug 2012
Location: Zion
Old 08-01-2014 , 04:25   Re: [TF2] Win panel for losing team
Reply With Quote #34

yea sorry

This one's totally my fault :s
I somehow used the ff smx file with the normal phrase file

sorry but thanks for tha quick response
Vastrix is offline
Malachi
Senior Member
Join Date: Jun 2010
Location: USA
Old 10-18-2014 , 18:59   Re: [TF2] Win panel for losing team
Reply With Quote #35

Quote:
Originally Posted by Ofigenski View Post
Is it possible to display info about losing team into chat instead of panel?
Introducing version 1.4.2, which adds the cvar sm_win_panel_usechat, which when set to "1" will post the results to chat instead of a vote-style panel.

You will still need the stock translations file.
Attached Files
File Type: sp Get Plugin or Get Source (win-panel.sp - 500 views - 7.4 KB)
File Type: txt win-panel.phrases.txt (1.1 KB, 146 views)
Malachi is offline
Skorpion1976
Veteran Member
Join Date: Jun 2009
Location: Austria
Old 10-01-2020 , 10:47   Re: [TF2] Win panel for losing team
Reply With Quote #36

Hello everyone!

This is what I get, when compiling against SM 1.8.0.5945 I know, itīs an old build, but since our new TF2 server runs finally stable now and I get no sm error logs anymore, I saw no reason - so far - to upgrade to latest stable build. I got rid of these 2 warnings by simply replacing FindSendPropOffs with FindSendPropInfo. The other 2 warnings are still there. That bUseChat is never used again in the whole code, so I am curious what it actually does.

However, I am not a developer I see there is a difference between the two "FindSend...." functions, comparing https://sm.alliedmods.net/new-api/en...ndSendPropOffs vs https://sm.alliedmods.net/new-api/en...ndSendPropOffs
Was that the "solution" or does it need more than that simple replacement?

Code:
//// win-panel.sp
//
// win-panel.sp(37) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
//
//
// win-panel.sp(38) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
//
//
// win-panel.sp(45 -- 46) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// win-panel.sp(124) : warning 204: symbol is assigned a value that is never used: "bUseChat"
// Code size:             8400 bytes
// Data size:             3580 bytes
// Stack/heap size:      16384 bytes
// Total requirements:   28364 bytes
//
// 4 Warnings.
//
// Compilation Time: 0,33 sec
// ----------------------------------------

Press enter to exit ...

Last edited by Skorpion1976; 10-01-2020 at 10:53.
Skorpion1976 is offline
Kleiner
Member
Join Date: Dec 2017
Location: Russia, Chelyabinsk
Old 12-30-2020 , 00:34   Re: [TF2] Win panel for losing team
Reply With Quote #37

fixed typo in RU translation
Attached Files
File Type: txt win-panel-ff.phrases.txt (1.2 KB, 46 views)
Kleiner is offline
Reply


Thread Tools
Display Modes

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:30.


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