Raised This Month: $ Target: $400
 0% 

[L4D1 & L4D2] SM Respawn Improved


Post New Thread Reply   
 
Thread Tools Display Modes
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-10-2021 , 16:38   Re: [L4D & L4D2] SM Respawn Improved
Reply With Quote #31

Updated.

Quote:
2.3 (10-Mar-2021)
- Added ConVar "l4d_sm_respawn_position" - Where to respawn? 0 - at crosshair, 1 - next to alive player
- Added translations: traditional Chinese and Simplified Chinese (thanks to HarryPotter).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Striker black
Member
Join Date: Apr 2013
Old 03-10-2021 , 22:40   Re: [L4D & L4D2] SM Respawn Improved
Reply With Quote #32

Hi,
Thanks for updating, I get this error

PHP Code:
L 03/10/2021 22:26:56SourceMod error session started
L 03
/10/2021 22:26:56Info (map "c1m3_mall") (file "C:\Users\1.11\Desktop\Left 4 Dead 2 Dedicated Server\left4dead2\addons\sourcemod\logs\errors_20210310.log")
L 03/10/2021 22:26:56: [SMException reportedInvalid convar handle 0 (error 4)
L 03/10/2021 22:26:56: [SMBlamingl4d_sm_respawn.smx
L 03
/10/2021 22:26:56: [SMCall stack trace:
L 03/10/2021 22:26:56: [SM]   [0ConVar.AddChangeHook
L 03
/10/2021 22:26:56: [SM]   [1Line 166C:\Users\1.11\Downloads\source 1.11.0\addons\sourcemod\scripting\l4d_sm_respawn.sp::OnPluginStart
L 03
/10/2021 22:26:56: [SMUnable to load plugin "l4d_sm_respawn.smx"Error detected in plugin startup (see error logs)
L 03/10/2021 22:27:01Error log file session closed.
L 03/10/2021 22:31:53SourceMod error session started 
__________________
--------------------------------------

Last edited by Striker black; 03-10-2021 at 22:41.
Striker black is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 03-11-2021 , 09:50   Re: [L4D & L4D2] SM Respawn Improved
Reply With Quote #33

Updated.

Quote:
2.4 (11-Mar-2021)
- Fixed missing ConVar.
- Added translations: Brazil and Portugal (thanks to Marttt).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Striker black
Member
Join Date: Apr 2013
Old 03-11-2021 , 22:10   Re: [L4D & L4D2] SM Respawn Improved
Reply With Quote #34

Quote:
Originally Posted by Dragokas View Post
Updated.
Thank you, now there is no record and it works very well
__________________
--------------------------------------
Striker black is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-15-2021 , 07:33   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #35

Updated.

Quote:
3.0 (15-Apr-2021)
- Lot of improvements on more accurate trace calculations to find a spawn position:
* Prevented client stuck when aimed under the ceiling and in tight spaces inside buildings.
* Fixed player size is incorrectly detected when he is dead or spectator.
* Added ability to spawn player in "Duck" (crouching) state, like inside the transport / duct with limited height of space.
- Added ConVar "l4d_sm_respawn_teams" - What teams to display in respawn menu? (2 - Spectators, 4 - Survivors, 8 - Infected, 16 - Dead only, 32 - No survivor bots, 64 - No infected bots. You can combine values)
- Added ConVar "l4d_sm_respawn_accessflag" - Admin flag required to use the respawn command.
- Added ConVar "l4d_sm_respawn_ghost" - Respawn infected player as ghost? (1 - Yes, No - instant respawn).
- Fixed bug: other player become frozen if you force a respawn while he tries to revive or heal you (or vice versa).
- Fixed conflict with AdminCheats plugin (thanks to Silvers for report and code).
- Added compatibility (in L4D1) to be able to re-spawn an infected player.
- Added compatibility with "Heartbeat (Revive Fix - Post Revive Options)" plugin by Silvers.
- Added ability to respawn player who is in Spectator team, even if there are no bots to takeover (thanks to MicroLeo and Shadowysn for some code and signatures):
* if you want this feature at first will try to takeover own (or free) bot instead of respawning, you must set "l4d_sm_respawn_position" ConVar to 32+X.
- Added marks "(spectator)" and "(dead)" in the players list menu. Translation file is updated.
- Added a new sub-menu to select the team you want to respawn the spectator in.
- Native "SM_Respawn" is appended with the new fields:
* iOverrideTeam - (optional) Specify it to force assigning player to a specific team.
* eOverridePosition - (optional) Specify it to use a specific teleport rule - see enum "SPAWN_POSITION" in .inc file for details.
- SPAWN_POSITION_ORIGIN flag with 0 (non-valid client) is now selects a REALLY random player to get spawn point next to him.
- Added ability to respawn with changing team via Native or via new sm_respawnex command.
- Added command "sm_respawnex". Its arguments are identical to SM_Respawn() native. Enum parameters should be passed as numeric.

Note for users:
- "l4d_sm_respawn_position" ConVar old values meaning is changed. See the new description in the first post.
- it is recommended to change your ConVar values according to new default values for the best experience (see the 1st forum post).
- if you want to change position of "Respawn Player" item in admin menu items list, 1st forum post is updated with related configs for you.

Note for devs: v3.x breaks "SM_Respawn()" native compatibility!
- Please, update your plugins if you used 3rd argument (vector) of the previous version of this native.
- Arguments order is changed. Full example of calling (with optional fields) can be found in: l4d_sm_respawn.inc and test plugin \examples\l4d_native_usage_sample.sp
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Kid_Bandes
Member
Join Date: May 2010
Old 04-15-2021 , 10:56   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #36

Thanks for the update, Dragokas

Last edited by Kid_Bandes; 04-15-2021 at 10:56.
Kid_Bandes is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-20-2021 , 06:11   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #37

Updated.

Quote:
3.1 (19-Apr-2021)
- Fixed mixed up values of SPAWN_POSITION_ORIGIN and SPAWN_POSITION_CROSSHAIR in file: l4d_sm_respawn.inc.
- Fixed "sm_respawnex" command doesn't allow to accept 0 value for client (command issuer).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Krufftys Killers
Senior Member
Join Date: Jan 2014
Old 04-20-2021 , 13:41   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #38

Getting this error now
L 04/20/2021 - 08:25:55: SourceMod error session started
L 04/20/2021 - 08:25:55: Info (map "c5m1_waterfront") (file "C:\servers\kruffty\left4dead2\addons\sourcem od\logs\errors_20210420.log")
L 04/20/2021 - 08:25:55: [l4d_sm_respawn.smx] Failed to find signature: SurvivorBot::SetHumanSpectator
L 04/20/2021 - 08:26:23: Error log file session closed.
Krufftys Killers is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 04-21-2021 , 09:38   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #39

Maybe somebody DHooked it. Try to put these signatures in /gamedata/ folder:
Attached Files
File Type: txt l4d_respawn_improved.txt (6.3 KB, 79 views)
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
KasperH
Senior Member
Join Date: Apr 2016
Location: Hungary
Old 04-26-2021 , 14:34   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #40

Updated Hungarian translation. (Old post deleted.)
Attached Files
File Type: txt l4d_sm_respawn.phrases.txt (1.5 KB, 47 views)
__________________

"I've Got You In My Sights!"
KasperH 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 22:24.


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