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

[L4D & L4D2] Switch Players


Post New Thread Reply   
 
Thread Tools Display Modes
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 02-01-2019 , 20:51   Re: [L4D & L4D2] Switch Players
Reply With Quote #281

Quote:
Originally Posted by axelnieves2012 View Post
Crashed my game with this error:
1/ - player: UTIL_SetModel: not precached: models/survivors/survivor_gambler.mdl

This occurred when I switched myself to Infected team, on a Coop map (no mercy's intro)
You are using Nick's model in No Mercy. You sure you preacached it?
__________________
Spirit_12 is offline
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 02-04-2019 , 04:04   Re: [L4D & L4D2] Switch Players
Reply With Quote #282

Quote:
Originally Posted by Spirit_12 View Post
You are using Nick's model in No Mercy. You sure you preacached it?
I am using !csm and !csp plugins. Do you think this error is caused by those?
axelnieves2012 is offline
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 02-04-2019 , 07:26   Re: [L4D & L4D2] Switch Players
Reply With Quote #283

Try using this plugin:

[L4D2] Game Files Precacher by cravenge
https://forums.alliedmods.net/showthread.php?p=2476653
Marttt is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 01-20-2020 , 12:51   Re: [L4D & L4D2] Switch Players
Reply With Quote #284

* Requires Sourcemod 1.8+

>>> Source on Github <<<
__________________

Last edited by Ja-Forces; 04-28-2023 at 01:06.
Ja-Forces is offline
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 03-05-2020 , 02:40   Re: [L4D & L4D2] Switch Players
Reply With Quote #285

It works most of the time, but sometimes no...

L 03/05/2020 - 02:09:44: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 03/05/2020 - 02:09:44: [SM] Blaming: l4dswitchplayers.smx
L 03/05/2020 - 02:09:44: [SM] Call stack trace:
L 03/05/2020 - 02:09:44: [SM] [0] SetConVarInt
L 03/05/2020 - 02:09:44: [SM] [1] Line 356, plugin.sp:erformSwap
L 03/05/2020 - 02:09:44: [SM] [2] Line 227, plugin.sp::MenuHandler_SwitchPlayer
JLmelenchon is offline
Ocela
Junior Member
Join Date: Oct 2020
Old 10-21-2020 , 20:10   Re: [L4D & L4D2] Switch Players
Reply With Quote #286

Quote:
Originally Posted by Ja-Forces View Post
* Updated to new-syntax rules
Wow! That was quick. I noticed the error and immediately checked.
Ocela is offline
Tank Rush
Senior Member
Join Date: May 2019
Location: Argentina
Old 05-03-2021 , 19:11   Re: [L4D & L4D2] Switch Players
Reply With Quote #287

Quote:
Originally Posted by Ja-Forces View Post
* Updated to new-syntax rules
Errors in logs:

Code:
L 05/03/2021 - 20:08:56: [SM] Exception reported: Invalid Handle 0 (error 4)
L 05/03/2021 - 20:08:56: [SM] Blaming: L4DSwitchPlayers.smx
L 05/03/2021 - 20:08:56: [SM] Call stack trace:
L 05/03/2021 - 20:08:56: [SM]   [0] SDKCall
L 05/03/2021 - 20:08:56: [SM]   [1] Line 449, D:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\L4DSwitchPlayers.sp::PerformSwitch
L 05/03/2021 - 20:08:56: [SM]   [2] Line 290, D:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\L4DSwitchPlayers.sp::MenuHandler_SwitchPlayerTo
L 05/03/2021 - 20:09:40: Error log file session closed.
__________________
Sorry i don't speak english very well

--->My name is Source and I'm on Steam<---
Discord: Source#9382
Tank Rush is offline
VladimirTk
Senior Member
Join Date: Apr 2021
Location: Perú - Latino América
Old 10-21-2021 , 23:18   Re: [L4D & L4D2] Switch Players
Reply With Quote #288

Updated Game Data Signatures


Signature credits updated to Psykotik for signatures
Attached Files
File Type: txt l4dswitchplayers.txt (1.2 KB, 182 views)
VladimirTk is offline
wendigo
Senior Member
Join Date: Nov 2012
Location: Denmark
Old 04-13-2022 , 06:23   Re: [L4D & L4D2] Switch Players
Reply With Quote #289

Is it possible if you move yourself to spectator as admin, you could spawn things at your crosshair? coop mode.
I think it used to be like this in some of the earlier versions?

But now I cannot spawn things anymore.

Last edited by wendigo; 04-13-2022 at 06:24.
wendigo is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 04-03-2023 , 06:38   Re: [L4D & L4D2] Switch Players
Reply With Quote #290

This plugin moves players between teams/spectators and nothing more.
__________________

Last edited by Ja-Forces; 04-28-2023 at 01:11.
Ja-Forces 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 15:30.


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