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

[L4D1 & L4D2] SM Respawn Improved


Post New Thread Reply   
 
Thread Tools Display Modes
replay_84
Senior Member
Join Date: Jun 2021
Old 11-04-2022 , 14:53   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #91

Quote:
Originally Posted by Dragokas View Post
Checked
Code:
sm_respawn @dead
it works.

There is also direct API in 1st post.

Dunno, why do you ask here. Ask plugin author you mentioned.


What does work? "sm_respawn @dead" of course works. But only when execute by admins. I want it to be executable by console itself through a different plugin. Like automating the event. As this would fix slot problems after map transition.



// Admin flag(s) required to use the respawn command
l4d_sm_respawn_accessflag "d" // (ban)

What can I set so everyone can use this sm_respawn @dead? If it worked. I could set it for short period of time. Like "sv_cheat 0 ; exec cfg ; sv_cheats 1" workarounds. Just wondering if it can work. If not its ok.





As you asked, I use this plugin https://forums.alliedmods.net/showthread.php?p=2097623 But its not up to this plugin as it also doesn't work when trying to exec it with map configs.



Sorry I don't know what you mean by direct api. I'm not a coder.

Last edited by replay_84; 11-04-2022 at 15:05.
replay_84 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-04-2022 , 16:04   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #92

Quote:
Originally Posted by replay_84 View Post
What can I set so everyone can use this sm_respawn @dead?
PHP Code:
l4d_sm_respawn_accessflag "" 
or

configs/admin_overrides.cfg
Code:
Overrides
{
    "sm_respawn"				""
}
or

by coding the desired plugin which uses this plugin's API ("Natives" section in 1st post).
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 11-04-2022 at 16:04.
Dragokas is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-04-2022 , 16:11   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #93

But it's permanent, not temporarily.
I dunno, how to set it temporarily, if you don't have admin permissions in your vote function "callback's commands list".
Ask author of plugin, you mentioned. It should be implemented on that side. Here is already implemented everything that even possible and what can you dream about. Just use it.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
replay_84
Senior Member
Join Date: Jun 2021
Old 11-04-2022 , 18:20   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #94

Thanks. Yes this plugin really helped to improve the experience at least when admins are around. Before we had to ask people to reconnect when they didn't have a bot. Guess the other plugin really needs to get admin stuff implemented as you say.
replay_84 is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-09-2022 , 09:02   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #95

replay_84, so your root issue with bot manager system, which should be fixed.
Replace that, or install helper addons, like [L4D1] Bebop Addon.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
zMilkyWayz
New Member
Join Date: Jul 2023
Old 07-30-2023 , 21:56   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #96

Can you respawn users or bots at their deathpoint; where they died?
zMilkyWayz is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 07-31-2023 , 07:25   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #97

zMilkyWayz, well, it's technically possible to combine within current design as additional l4d_sm_respawn_position enum.
However, is it worth. What is it for, and how much is in demand to add to base plugin, not a separate one?
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
S.A.S
Member
Join Date: Jul 2023
Old 09-03-2023 , 12:27   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #98

sourcemod-1.11.0-git6936
Code:
//// l4d_sm_respawn.sp
//
// l4d_sm_respawn.sp(357) : warning 209: function has explicit 'int' tag but does not return a value
// l4d_sm_respawn.sp(357) : warning 209: function has explicit 'int' tag but does not return a value
// l4d_sm_respawn.sp(392) : warning 242: function "Timer_DisplayMenuDelayed" should return an explicit value
// l4d_sm_respawn.sp(410) : warning 209: function has explicit 'int' tag but does not return a value
// l4d_sm_respawn.sp(473) : warning 242: function "CmdSpec" should return an explicit value
// l4d_sm_respawn.sp(477) : warning 242: function "CmdSur" should return an explicit value
// l4d_sm_respawn.sp(481) : warning 242: function "CmdInf" should return an explicit value
// Code size:         33824 bytes
// Data size:         8376 bytes
// Stack/heap size:      17392 bytes
// Total requirements:   59592 bytes
//
// 7 Warnings.
S.A.S is offline
Hawkins
Senior Member
Join Date: Jul 2021
Old 09-03-2023 , 12:51   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #99

You can safely ignore those warnings. Theres nothing to return in those functions.
Hawkins is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 09-03-2023 , 16:03   Re: [L4D1 & L4D2] SM Respawn Improved
Reply With Quote #100

@Hawkins, yes, except commands.

Updated.

Quote:
3.9 (03-Sep-2023)
- Updated for SM 1.12.
- Removed dependency on Left4Dhooks.

3.8 (26-Jun-2022)
- Update for native option "SPAWN_POSITION_CROSSHAIR": If client is not defined, the random player of same team will be used.
- Updated for SM 1.11.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas 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 06:55.


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