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

[L4D2] Player Switch Menu and Team Panel v1.2.1


Post New Thread Reply   
 
Thread Tools Display Modes
Kleiner
Member
Join Date: Dec 2017
Location: Russia, Chelyabinsk
Old 10-24-2021 , 01:20   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #141

Translations support?
Kleiner is offline
Alex101192
Senior Member
Join Date: Aug 2018
Old 12-15-2022 , 14:59   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #142

The original main source code gives errors and a lot of warnings. The user Primeas fixed it and cleaned a lot of warnings. I also added a check for all the versus modes, (including l4d1versus from last stand) so the plugin pick ups on versus mutations too and allows to change to infected in these modes.

Also added the extra commands specified by the Skorpion1976 on page 2, such as !infected and !survivor, instead of just using the default !joinsurvivor.

Use the gamedata uploaded by the user VladimirTk on page 14.

Set main code as deprecated and use this instead.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_bwa_teamspanel.sp - 198 views - 55.7 KB)

Last edited by Alex101192; 12-15-2022 at 15:35.
Alex101192 is offline
tiphong
Member
Join Date: Aug 2022
Location: Taiwan
Old 07-31-2023 , 06:41   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #143

Quote:
Originally Posted by Alex101192 View Post
The original main source code gives errors and a lot of warnings. The user Primeas fixed it and cleaned a lot of warnings. I also added a check for all the versus modes, (including l4d1versus from last stand) so the plugin pick ups on versus mutations too and allows to change to infected in these modes.

Also added the extra commands specified by the Skorpion1976 on page 2, such as !infected and !survivor, instead of just using the default !joinsurvivor.

Use the gamedata uploaded by the user VladimirTk on page 14.

Set main code as deprecated and use this instead.
Nice plugin, but I was wondering how can I safely add a timer to when someone goes to Spectators team, to prevent the abuse like people use afk on infected to die quicker or reduce timer?
tiphong is offline
Loll10T
Member
Join Date: Jul 2022
Old 10-01-2023 , 20:33   Re: [L4D2] Player Switch Menu and Team Panel v1.2.1
Reply With Quote #144

When changing the max value on Survivor team, sometimes players are unable to switch to that team, therefore they get switched to either Infected or Spectator.

Here's what I get when attempting to switch teams.

Code:
L 10/01/2023 - 18:31:12: [SM] Exception reported: Invalid Handle 0 (error 4)
L 10/01/2023 - 18:31:12: [SM] Blaming: l4d2_bwa_teamspanel.smx
L 10/01/2023 - 18:31:12: [SM] Call stack trace:
L 10/01/2023 - 18:31:12: [SM]   [0] SDKCall
L 10/01/2023 - 18:31:12: [SM]   [1] Line 1745, /home/forums/content/files/9/9/8/5/2/95471.attach::PerformSwitch
L 10/01/2023 - 18:31:12: [SM]   [2] Line 1574, /home/forums/content/files/9/9/8/5/2/95471.attach::JoinRandomTeam
Loll10T 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 00:24.


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