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

[L4D(2)] AFK and Join Team Commands (1.1)


Post New Thread Reply   
 
Thread Tools Display Modes
JLmelenchon
Senior Member
Join Date: Mar 2019
Old 11-19-2020 , 10:30   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #41

Does there is a way to add the swapto command to admin menu for make it easy to switch players ?
Also i noticed a little problem, if a player switch team then the next map he will be automatically put back in the previous team he was, why does it happen ? my mp_autoteambalance cvar is off.

Edit: this is something who happens too with the original change team function from Valve.

Last edited by JLmelenchon; 11-23-2020 at 15:02.
JLmelenchon is offline
Tonblader
Senior Member
Join Date: Jul 2011
Location: Peru
Old 03-29-2021 , 18:29   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #42

Quote:
Originally Posted by HarryPotter View Post
-Command-
Spoiler
Many of these commands are in [L4D2] Speedrunner Tools and they work much better, could you use the base this plugin to incorporate your commands into your plugin commands?
I would also ask you to incorporate the cvars of [L4D2] Speedrunner Tools, but it is already something foreign, I hope I can implement it.

For example:
sm_idle is more faster than go_away_from_keyboard command.
sm_take is more faster too.

The commands sm_takebot and sm_takeover , not work for me, when i use sm_idle and go to spectate, i cant back again to survivor team.
l4d_afk_commands_takecontrol_block "1" - not block the sv_cheats 1 / sb_takecontrol (at least in real time i was testing this)
No errorlogs.

Last edited by Tonblader; 03-29-2021 at 18:41.
Tonblader is offline
Mi.Cura
Veteran Member
Join Date: Dec 2016
Location: Brazil
Old 06-17-2021 , 12:21   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #43

Quote:
Originally Posted by HarryPotter View Post
[L4D(2)] AFK and Join Team Commands Improved Version 3.4 (2020/11/11)
Add more commands to let the player spectate and join team. (!afk, !survivors, !infected, etc.), but no changing team abuse.

-New Feature-
  • Convert All codes to new syntax.
  • Translation support.
  • Update L4D2 "The Last Stand" gamedata. Credit to Lux's work
  • Add more commands to change team.
  • Add some limits to prevent players from changing team abuse. (see detail below)
  • Player can go idle even if he is alone in server.
  • Blocks player from going idle with 'esc->take a break'
  • Blocks player from switching team by choosing team menu in versus.
  • Allow alive survivor player suicides.
  • Adm can force player to swap team.

-Detail-
Spoiler


Apply to:
l4d1/2 both

-Require-Updating cfg:
  • New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.
Updating gamedata:
  • New signature have been added: redownload and replace gamedata/l4d_afk_commands.txt
Updating translation:
Spoiler

-Convar-
Spoiler


-Command-
Spoiler


Related plugin:
-Edit Github-
Latest version always here

L 06/17/2021 - 11:59:01: [SM] Blaming: l4d_afk_commands v3.4.smx
L 06/17/2021 - 11:59:01: [SM] Call stack trace:
L 06/17/2021 - 11:59:01: [SM] [0] SetFailState
L 06/17/2021 - 11:59:01: [SM] [1] Line 149, D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\l4d_afk_co mmands v3.4.sp::OnPluginStart
L 06/17/2021 - 11:59:01: [SM] Unable to load plugin "l4d_afk_commands v3.4.smx": Error detected in plugin startup (see error logs)
L 06/17/2021 - 11:59:01: [SM] Exception reported: Failed to find 'SurvivorBot::SetHumanSpectator' signature
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie

Last edited by Mi.Cura; 06-17-2021 at 12:23.
Mi.Cura is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 06-17-2021 , 14:18   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #44

PHP Code:
"SetHumanSpec"
{
    
"library"     "server"
    "linux"     "@_ZN11SurvivorBot17SetHumanSpectatorEP13CTerrorPlayer"
    "windows"     "\x2A\x2A\x2A\x2A\x2A\x2A\x83\xBE\x24\x43\x00\x00\x00\x7E\x2A\x32\xC0\x5E\x5D\xC2\x04\x00"
    
/* ? ? ? ? ? ? 83 BE 24 43 00 00 00 7E ? 32 C0 5E 5D C2 04 00  */

__________________
Psyk0tik is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 06-18-2021 , 09:33   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #45

AFK and Join Team Commands Improved Version 3.6 (2021/6/18 )
- Signature update for L4D2's "2.2.1.3" update
- Add a new feature: Switch team to fully an observer (No idle)

Spoiler
__________________

Last edited by HarryPotter; 06-18-2021 at 09:33.
HarryPotter is offline
Ja-Forces
Senior Member
Join Date: Jul 2009
Location: Leningrad
Old 08-03-2021 , 14:33   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #46

In the first part of left 4 dead still works console command "spectate" , with which the player can knock down the revival time in the respawn rooms . It would be nice to add this command as well
__________________
Ja-Forces is offline
KasperH
Senior Member
Join Date: Apr 2016
Location: Hungary
Old 08-03-2021 , 15:53   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #47

Quote:
Originally Posted by HarryPotter View Post
AFK and Join Team Commands Improved Version 3.6 (2021/6/18 )
- Signature update for L4D2's "2.2.1.3" update
- Add a new feature: Switch team to fully an observer (No idle)

Spoiler
Updated Hungarian translation!
Updated:2021.08.18
Attached Files
File Type: txt l4d_afk_commands.phrases.txt (9.0 KB, 74 views)
__________________

"I've Got You In My Sights!"

Last edited by KasperH; 08-18-2021 at 08:11. Reason: update
KasperH is offline
Mr. Man
Veteran Member
Join Date: Mar 2011
Location: Huh?
Old 11-02-2021 , 17:48   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #48

Harry you really should make your own SM thread on this, an error but I just updated to the 9/11 update so will let you know if I run into this again:

Code:
L 11/02/2021 - 16:06:40: [SM]   [0] L4D_HasAnySurvivorLeftSafeArea
L 11/02/2021 - 16:06:40: [SM]   [1] Line 621, l4d_afk_commands.sp::Timer_PlayerLeftStart
L 11/02/2021 - 16:06:41: [SM] Exception reported: Native is not bound
L 11/02/2021 - 16:06:41: [SM] Blaming: L4D2_afkcommands.smx
__________________

Last edited by Mr. Man; 11-02-2021 at 17:49.
Mr. Man is offline
MasterMe
Member
Join Date: Mar 2010
Location: Netherlands
Old 11-04-2021 , 03:41   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #49

Quote:
Originally Posted by Mr. Man View Post
Code:
L 11/02/2021 - 16:06:40: [SM]   [0] L4D_HasAnySurvivorLeftSafeArea
L 11/02/2021 - 16:06:40: [SM]   [1] Line 621, l4d_afk_commands.sp::Timer_PlayerLeftStart
L 11/02/2021 - 16:06:41: [SM] Exception reported: Native is not bound
L 11/02/2021 - 16:06:41: [SM] Blaming: L4D2_afkcommands.smx
Could you see if latest Left 4 DHooks Direct fixes this problem? I did note there are quote some updates recently including gamedata updates. Just a hunch, haven't verified fully.
__________________
MasterMe is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 11-04-2021 , 21:59   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #50

Quote:
Originally Posted by Mr. Man View Post
Harry you really should make your own SM thread on this, an error but I just updated to the 9/11 update so will let you know if I run into this again:

Code:
L 11/02/2021 - 16:06:40: [SM]   [0] L4D_HasAnySurvivorLeftSafeArea
L 11/02/2021 - 16:06:40: [SM]   [1] Line 621, l4d_afk_commands.sp::Timer_PlayerLeftStart
L 11/02/2021 - 16:06:41: [SM] Exception reported: Native is not bound
L 11/02/2021 - 16:06:41: [SM] Blaming: L4D2_afkcommands.smx
updated v3.9,
try again
__________________
HarryPotter is offline
Reply


Thread Tools
Display Modes

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:30.


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