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

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


Post New Thread Reply   
 
Thread Tools Display Modes
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 08-09-2022 , 14:47   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #61

Quote:
Originally Posted by HarryPotter View Post
Switch team too quickly, the plugin forces your friend to spectate.
check detail and cfg


you are fine since you are adm
PHP Code:
// Players with these flags have immune to all 'block' limit (Empty = Everyone, -1: Nobody)
l4d_afk_commands_immue_block_flag "z" 
Oh, didn't know the idle state count as team on it own. Ty!
__________________

Looking for some fun!

Last edited by thewintersoldier97; 08-09-2022 at 14:48.
thewintersoldier97 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-09-2022 , 14:53   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #62

Quote:
Originally Posted by thewintersoldier97 View Post
Oh, didn't know the idle state count as team on it own. Ty!
Idle = spectator team
take over bot = survivor team
__________________

Last edited by HarryPotter; 08-09-2022 at 14:53.
HarryPotter is offline
TQH
Junior Member
Join Date: May 2021
Location: Vietnam
Old 09-12-2022 , 09:03   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #63

PHP Code:
L 09/12/2022 19:59:44: [SMCall stack trace:
L 09/12/2022 19:59:44: [SM]   [0VFormat
L 09
/12/2022 19:59:44: [SM]   [1Line 71E:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\include\multicolors.inc::CPrintToChat
L 09
/12/2022 19:59:44: [SM]   [2Line 1346E:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\AFK and Join Team Commands Improved.sp::Timer_CanJoin
L 09
/12/2022 19:59:44: [SMException reportedLanguage phrase "Please wait" not found (arg 5)
L 09/12/2022 19:59:44: [SMBlaming: .smx\AFK and Join Team Commands Improved.smx 
TQH is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 09-12-2022 , 18:45   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #64

Quote:
Originally Posted by TQH View Post
PHP Code:
L 09/12/2022 19:59:44: [SMCall stack trace:
L 09/12/2022 19:59:44: [SM]   [0VFormat
L 09
/12/2022 19:59:44: [SM]   [1Line 71E:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\include\multicolors.inc::CPrintToChat
L 09
/12/2022 19:59:44: [SM]   [2Line 1346E:\Program Files\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\AFK and Join Team Commands Improved.sp::Timer_CanJoin
L 09
/12/2022 19:59:44: [SMException reportedLanguage phrase "Please wait" not found (arg 5)
L 09/12/2022 19:59:44: [SMBlaming: .smx\AFK and Join Team Commands Improved.smx 
my fault

AFK and Join Team Commands Improved Version 4.2 (2022/9/13 )
- fixed l4d_afk_commands translation file not working
__________________

Last edited by HarryPotter; 09-12-2022 at 18:45.
HarryPotter is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 07-04-2023 , 10:32   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #65

Quote:
Originally Posted by HarryPotter View Post
my fault

AFK and Join Team Commands Improved Version 4.2 (2022/9/13 )
- fixed l4d_afk_commands translation file not working
Hi HarryPotter, thank you for your awesome work supporting 5+ survivors.

I am using your afk plugin, I would like to suggest instead of sending a survivor to the spec team, force them to go idle (away from the keyboard).

Thank you!
SilentBr is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 07-04-2023 , 19:28   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #66

Quote:
Originally Posted by HarryPotter View Post
I already did, don't know what mode you play.

In coop/realism/survival mode, player go idle if use spec command (!afk, !s)
In versus/scavenge mode, player go spectator if use spec command
Versus, it would be amazing to put this as an option.

Thank you for your reply!

Last edited by SilentBr; 07-04-2023 at 19:28.
SilentBr is offline
spider149
Junior Member
Join Date: Jul 2023
Location: Vietnam
Old 07-08-2023 , 00:19   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #67

Quote:
Originally Posted by HarryPotter View Post
[L4D(2)] AFK and Join Team Commands Improved Version (2023/5/22 )
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.
  • Compatible with r2comp_unscramble
  • Remove gamedata

-Detail-
Spoiler


-Edit Github-
Latest version always here
Hey Harry, it's me again :v

I'm using your mod but when i go idle with !spectate or !afk, i can't switch to spectate other players, only option is left click to continue playing with my bot.

And when i'm alone in my server, if i'm afk or idle, the game will be restarted. Any way to fix this?

Thanks alot.
spider149 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 07-08-2023 , 00:31   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #68

Quote:
Originally Posted by spider149 View Post
Hey Harry, it's me again :v

I'm using your mod but when i go idle with !spectate or !afk, i can't switch to spectate other players, only option is left click to continue playing with my bot.
Because you are idle. -.-

Quote:
And when i'm alone in my server, if i'm afk or idle, the game will be restarted. Any way to fix this?

Thanks alot.
Because no real player in surivor team, the round will end.

Use
PHP Code:
sm_cvar sb_all_bot_team 1 
__________________
HarryPotter is offline
spider149
Junior Member
Join Date: Jul 2023
Location: Vietnam
Old 07-08-2023 , 01:14   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #69

Quote:
Originally Posted by HarryPotter View Post
Because you are idle. -.-



Because no real player in surivor team, the round will end.

Use
PHP Code:
sm_cvar sb_all_bot_team 1 
Thanks, sorry for my noob questions lol.

And will this cvar prevent server from hibernate when nobody in server? or it only let bot play if there is at least 1 human in server (he can be idle).

Can you recommend me some simple plugins to teleport bots to me when they're stuck or left behind? My current solution is kill them with sourcemode admin :v
spider149 is offline
spider149
Junior Member
Join Date: Jul 2023
Location: Vietnam
Old 07-08-2023 , 01:54   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #70

Quote:
Originally Posted by spider149 View Post
Thanks, sorry for my noob questions lol.

And will this cvar prevent server from hibernate when nobody in server? or it only let bot play if there is at least 1 human in server (he can be idle).

Can you recommend me some simple plugins to teleport bots to me when they're stuck or left behind? My current solution is kill them with sourcemode admin :v
After testing, server will not hibernated if all players are idle and bot continue to play. It's ok cuz i can still open new lobby and connect to my server with new map.
spider149 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:02.


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