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

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


Post New Thread Reply   
 
Thread Tools Display Modes
VYRNACH_GAMING
Member
Join Date: Sep 2021
Old 03-17-2022 , 03:22   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #51

EDIT: FIXED in latest version
is there a way to allow players to go Idle but not change to Spectators (like ESC -> Take a break)? I noticed no one can use !afk or !idle without setting l4d_afk_commands_observer_access_flag "". People are abusing it to start with a new character with full HP
__________________

Last edited by VYRNACH_GAMING; 03-17-2022 at 03:24. Reason: fixed, please ignore
VYRNACH_GAMING is offline
shinubee
Junior Member
Join Date: Mar 2022
Old 04-29-2022 , 00:29   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #52

Quote:
Originally Posted by HarryPotter View Post
updated v3.9,
try again
Code:
L 04/29/2022 - 12:15:04: -------- Mapchange to l4d_dbd2dc_clean_up --------
L 04/29/2022 - 12:15:04: Error log file session closed.
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file
L 04/29/2022 - 12:15:05: [SM] Exception reported: Invalid Handle 0 (error: 4)
L 04/29/2022 - 12:15:05: [SM] Blaming: l4d_afk_commands.smx
L 04/29/2022 - 12:15:05: [SM] Call stack trace:
L 04/29/2022 - 12:15:05: [SM]   [0] ArrayList.FindValue
L 04/29/2022 - 12:15:05: [SM]   [1] Line 1486, D:\Github\sm1.10 scripting\l4d_afk_commands.sp::RemoveWitchAttack
L 04/29/2022 - 12:15:05: [SM]   [2] Line 599, D:\Github\sm1.10 scripting\l4d_afk_commands.sp::OnEntityDestroyed
can you add a cooldown after idle, some players will use idle to reload quickly.
English is bad, use google translate to complete
shinubee is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 04-29-2022 , 01:48   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #53

Quote:
Originally Posted by shinubee View Post
can you add a cooldown after idle, some players will use idle to reload quickly.
English is bad, use google translate to complete
cfg not working?
PHP Code:
// Cold Down Time in seconds a player can not change team again after he switches team. (0=off)
l4d_afk_commands_changeteam_cooltime_block "10.0" 
__________________
HarryPotter is offline
shinubee
Junior Member
Join Date: Mar 2022
Old 04-29-2022 , 06:05   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #54

Quote:
Originally Posted by HarryPotter View Post
cfg not working?
PHP Code:
// Cold Down Time in seconds a player can not change team again after he switches team. (0=off)
l4d_afk_commands_changeteam_cooltime_block "10.0" 
I don't know when he changed to 0,sorry
shinubee is offline
TQH
Junior Member
Join Date: May 2021
Location: Vietnam
Old 07-14-2022 , 08:44   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #55

How to remove this message?
Edit: I found the cause, my mistake!
Attached Thumbnails
Click image for larger version

Name:	message.png
Views:	136
Size:	46.8 KB
ID:	195722  

Last edited by TQH; 07-17-2022 at 10:24.
TQH is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 07-15-2022 , 03:21   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #56

Quote:
Originally Posted by TQH View Post
How to remove this message?
off topic
__________________
HarryPotter is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 08-01-2022 , 07:57   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #57

Quote:
Originally Posted by HarryPotter View Post
updated v3.9,
try again
Hi Harry, sometime my friends using !afk and go into idle state, their bot got deleted/kicked, they became spectator and they have to use !join or !js to play again. I myself as an admin never experience it. Is this normal? I'm using your Multislot plugin and also have "Survivors AFK fix" installed.
__________________

Looking for some fun!
thewintersoldier97 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-01-2022 , 08:13   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #58

Quote:
Originally Posted by thewintersoldier97 View Post
Hi Harry, sometime my friends using !afk and go into idle state, their bot got deleted/kicked, they became spectator and they have to use !join or !js to play again. I myself as an admin never experience it. Is this normal? I'm using your Multislot plugin and also have "Survivors AFK fix" installed.
Not normal, better make a video
__________________
HarryPotter is offline
thewintersoldier97
Senior Member
Join Date: Aug 2021
Location: Vietnam
Old 08-09-2022 , 05:02   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #59

Quote:
Originally Posted by HarryPotter View Post
Not normal, better make a video
Hi Harry, sorry for the late reply. This happen rarely so it pretty hard to find a clip. Here a one from my playtime few weeks ago: [Vimeo link]

As you can see, my friend (zuaL) got stuck and have to use !afk for the bot to teleport to our location, and as soon as it teleport, he changed into spectator and the bot got deleted.
__________________

Looking for some fun!
thewintersoldier97 is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 08-09-2022 , 09:21   Re: [L4D(2)] AFK and Join Team Commands (1.1)
Reply With Quote #60

Quote:
Originally Posted by thewintersoldier97 View Post
Hi Harry, sorry for the late reply. This happen rarely so it pretty hard to find a clip. Here a one from my playtime few weeks ago: [Vimeo link]

As you can see, my friend (zuaL) got stuck and have to use !afk for the bot to teleport to our location, and as soon as it teleport, he changed into spectator and the bot got deleted.
Switch team too quickly, the plugin forces your friend to spectate.
check detail and cfg
Quote:
Originally Posted by HarryPotter View Post

-Detail-
You can't go idle or use command to switch team if you are in one of below situation
  • Cold Down Time in seconds a player can not change team again after he switches team.
  • Cold Down Time in seconds a player can not change team after he ignites molotov, gas can, firework crate or barrel fuel.
  • Cold Down Time in seconds a player can not change team after he throws molotov, pipe bomb or boomer juice.

cfg\sourcemod\l4d_afk_commands.cfg
PHP Code:
// Cold Down Time in seconds a player can not change team again after he switches team. (0=off)
l4d_afk_commands_changeteam_cooltime_block "10.0"

// Cold Down Time in seconds a player can not change team after he ignites molotov, gas can, firework crate or barrel fuel. (0=off).
l4d_afk_commands_igniteprop_cooltime_block "15.0"

// Cold Down Time in seconds a player can not change team after he throws molotov, pipe bomb or boomer juice. (0=off).
l4d_afk_commands_throwable_cooltime_block "10.0" 
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" 
__________________
HarryPotter 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 16:19.


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