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

[L4D2] Score/Team Manager 1.3.0


Post New Thread Reply   
 
Thread Tools Display Modes
midnight9
Senior Member
Join Date: Nov 2012
Old 09-22-2014 , 14:38   Re: [L4D2] Score/Team Manager 1.3.0
Reply With Quote #621

Hi, Im using this plugin to restart my servers when last client leaves the server so i have l4d2_full_reset_on_empty 1, but what i noticed is, that i have some random people on my servers since i started using it. So my question is does it executes server.cfg when it does the reset thing or not? Cuz it seems that not all cvars are loaded once it does the reset. Is there any way to make sure that sv_search_key is enabled once it resets the server?
Cheers
midnight9 is offline
Norris464
New Member
Join Date: Jan 2013
Old 10-02-2014 , 16:24   Re: [L4D2] Score/Team Manager 1.3.0
Reply With Quote #622

Always wrong teams for next round.
is about win7 x64?
Norris464 is offline
legotoytoy
Junior Member
Join Date: Apr 2012
Old 05-12-2015 , 00:43   Re: [L4D2] Score/Team Manager 1.3.0
Reply With Quote #623

can not use in SourceMod Version: 1.7.2
who can help to fix it thx~~

//SourceMod Batch Compiler
// by the SourceMod Dev Team

//// l4d2scores.sp
//
// C:\Left 4 Dead 2(Super)\left4dead2\addons\sourcemod\scriptin g\l4d2scores.sp(6
24) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use Get
ClientAuthId
//
//
// C:\Left 4 Dead 2(Super)\left4dead2\addons\sourcemod\scriptin g\l4d2scores.sp(6
6 : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use Get
ClientAuthId
//
//
// C:\Left 4 Dead 2(Super)\left4dead2\addons\sourcemod\scriptin g\l4d2scores.sp(9
46) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use Get
ClientAuthId
//
//
// C:\Left 4 Dead 2(Super)\left4dead2\addons\sourcemod\scriptin g\l4d2scores.sp(9
72) : warning 234: symbol "GetClientAuthString" is marked as deprecated: Use Get
ClientAuthId
//
//
// C:\Left 4 Dead 2(Super)\left4dead2\addons\sourcemod\scriptin g\l4d2scores.sp(2
083) : error 173: 'throw' is a newly reserved keyword that may be used in the fu
ture; use a different name as an identifier
// C:\Left 4 Dead 2(Super)\left4dead2\addons\sourcemod\scriptin g\l4d2scores.sp(2
100) : error 173: 'throw' is a newly reserved keyword that may be used in the fu
ture; use a different name as an identifier
//
// 2 Errors.
//
// Compilation Time: 0.41 sec
// ----------------------------------------
Press enter to exit ...
legotoytoy is offline
crasx
Member
Join Date: May 2011
Location: Lakewood, CO
Old 02-21-2016 , 21:12   Re: [L4D2] Score/Team Manager 1.3.0
Reply With Quote #624

Quote:
Originally Posted by legotoytoy View Post
can not use in SourceMod Version: 1.7.2
who can help to fix it thx~~
Had to compile this for 1.7.3 myself. Just a variable name tweak
Attached Files
File Type: sp Get Plugin or Get Source (l4d2scores.sp - 505 views - 57.3 KB)
crasx is offline
drago140
Junior Member
Join Date: Feb 2017
Old 02-17-2017 , 17:20   Re: [L4D2] Score/Team Manager 1.3.0
Reply With Quote #625

which version do i download as this still not working for me always people are switched to the teams they are not supposed to be on is there an alternative because i search but cannot find
drago140 is offline
kot4404
Senior Member
Join Date: Mar 2013
Old 12-19-2017 , 11:58   Re: [L4D2] Score/Team Manager 1.3.0
Reply With Quote #626

Is this still working? It crashes my server

Quote:
L 12/19/2017 - 18:25:31: Info (map "c1m1_hotel") (file "errors_20171219.log")
L 12/19/2017 - 18:25:31: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 12/19/2017 - 18:25:31: [SM] Blaming: l4d2scores.smx
L 12/19/2017 - 18:25:31: [SM] Call stack trace:
L 12/19/2017 - 18:25:31: [SM] [0] SetConVarInt
L 12/19/2017 - 18:25:31: [SM] [1] Line 1118, l4d2scores.sp::TryTeamPlacement
L 12/19/2017 - 18:25:31: [SM] [2] Line 1106, l4d2scores.sp::Timer_TryTeamPlacement
Quote:
L 12/19/2017 - 18:39:42: [l4d2scores.smx] [SCORE] [TEST] Function 'GetTeamScore' initialized.
L 12/19/2017 - 18:39:42: [l4d2scores.smx] [SCORE] [TEST] Function 'ClearTeamScores' initialized.
L 12/19/2017 - 18:39:42: [l4d2scores.smx] [SCORE] [TEST] Function 'SetCampaignScores' initialized.
L 12/19/2017 - 18:39:42: [l4d2scores.smx] [SCORE] Map counter = 0
L 12/19/2017 - 18:39:42: [l4d2scores.smx] [SCORE] Left4Downtown min version=40400, current=0.6.1 (60100)
L 12/19/2017 - 18:39:42: [l4d2scores.smx] [SCORE] FORWARD: OnClearTeamScores(1)
L 12/19/2017 - 18:39:42: [l4d2scores.smx] [SCORE] New mission detected.
L 12/19/2017 - 18:39:42: [l4d2scores.smx] [SCORE] Plugin and Game Campaign scores have been reset.
L 12/19/2017 - 18:39:42: [l4d2scores.smx] [SCORE] DetectCampaignScoresSwapped : failure, not could detect
L 12/19/2017 - 18:39:45: [l4d2scores.smx] [SCORE] Round 1 started, round scores: A: 0, B: 0
L 12/19/2017 - 18:39:45: [l4d2scores.smx] [SCORE] ON MAP START FUNCTION
L 12/19/2017 - 18:39:45: [l4d2scores.smx] [SCORE] Map counter now = 2
L 12/19/2017 - 18:39:46: [basecommands.smx] "Console<0><Console><Console>" changed cvar (cvar "sb_all_bot_game") (value "1")
L 12/19/2017 - 18:39:46: [basecommands.smx] "Console<0><Console><Console>" changed cvar (cvar "allow_all_bot_survivor_team") (value "1")
L 12/19/2017 - 18:39:46: [basecommands.smx] "Console<0><Console><Console>" changed cvar (cvar "vs_max_team_switches") (value "20")
L 12/19/2017 - 18:39:46: [basecommands.smx] "Console<0><Console><Console>" changed cvar (cvar "director_afk_timeout") (value "999999999")
L 12/19/2017 - 18:39:46: [l4d2scores.smx] [SCORE] DetectCampaignScoresSwapped : success, swap = 1
L 12/19/2017 - 18:39:47: [l4d2scores.smx] [SCORE] FORWARD: OnSetCampaignScores(0,0)
L 12/19/2017 - 18:39:47: [l4d2scores.smx] [SCORE] Delayed Display Refresh campaign scores: A:0, B:0, DisplaySwap: 0
L 12/19/2017 - 18:39:47: [l4d2scores.smx] [SCORE] FORWARD: OnSetCampaignScores(0,0)
L 12/19/2017 - 18:39:47: [l4d2scores.smx] [SCORE] Delayed Display Refresh campaign scores: A:0, B:0, DisplaySwap: 0

Last edited by kot4404; 12-19-2017 at 12:45.
kot4404 is offline
KasperH
Senior Member
Join Date: Apr 2016
Location: Hungary
Old 04-15-2020 , 10:03   Re: [L4D2] Score/Team Manager 1.3.0
Reply With Quote #627

Hello!

If you are using Silvers Left 4 DHooks Direct and l4d2scores, and having some errors.
I'm not a coder! I can't 100% guarantee it would work for you, but so far it works for me, with 0 errors.
Thanks to Silvers for the help!
Attached Files
File Type: sp Get Plugin or Get Source (l4d2scores.sp - 175 views - 57.2 KB)
File Type: smx l4d2scores.smx (24.2 KB, 193 views)
__________________

"I've Got You In My Sights!"

Last edited by KasperH; 04-16-2020 at 15:13.
KasperH is offline
larrybrains
Senior Member
Join Date: May 2017
Old 10-06-2020 , 03:25   Re: [L4D2] Score/Team Manager 1.3.0
Reply With Quote #628

Does this need to be updated after the Last Stand Update?

I was using it to prevent the team swap bug, but it doesn't seem to be working anymore.

EDIT: The version I am using that isn't working anymore is KasperH's with l4dhooks.

Last edited by larrybrains; 10-06-2020 at 04:53. Reason: added some info
larrybrains is offline
KasperH
Senior Member
Join Date: Apr 2016
Location: Hungary
Old 10-06-2020 , 06:51   Re: [L4D2] Score/Team Manager 1.3.0
Reply With Quote #629

Quote:
Originally Posted by larrybrains View Post
Does this need to be updated after the Last Stand Update?

I was using it to prevent the team swap bug, but it doesn't seem to be working anymore.

EDIT: The version I am using that isn't working anymore is KasperH's with l4dhooks.
Can you tell me more about the team swap bug?
__________________

"I've Got You In My Sights!"
KasperH is offline
larrybrains
Senior Member
Join Date: May 2017
Old 10-06-2020 , 21:17   Re: [L4D2] Score/Team Manager 1.3.0
Reply With Quote #630

Quote:
Originally Posted by KasperH View Post
Can you tell me more about the team swap bug?
Ya, so we use a Mix plugin for picking teams on my server, which means at the beginning of the game some players will be moved from the team they were on when they first loaded to a different team.

At the beginning of the next round, the game will try to put players back on their original teams, which will result in the the teams being all scrambled from what we picked at the beginning with the Mix plugin.

This Team Manager plugin has a feature in it that automatically puts players on the team they were on at the end of the previous round, which fixes the above described issue, but this new version isn't working.

Also, this isn't necessarily a result of the Last Stand update, because I just moved to using Left4dhooks and SM 1.10 on my server to prepare for the update, so I only started using your version of the plugin right after the Last Stand Update came out.

Last edited by larrybrains; 10-06-2020 at 21:22.
larrybrains 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 17:48.


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