AFK Bomb on Toronto Darkly

excalibur

DARKLY Regular
Very nice thanks SJ.

What is the timer set at before bomb is dropped/transferred?

only problem i could see would be if the timer was set too long and maybe a CT sees bomb on radar and calls bomb in spawn and then bomb gets randomly moved to a guy that is say in or near a bombsite.
 

adam::davis

2011 Troll of the Year
Oh man. A great addition to the server - almost as good as when you guys decided to extend the warm up round. Keep up the good work.
 

Shotgun Jesus

TD Admin
Staff member
How it works :
  • For the first check of the round :
  • Check the "state" of the bomber at round start (1.0 sec after it to be exact).
  • Check for a new delayed "state" after a certain amount of time to see if it is the same.
  • If over a certain amount of time the "state" of the player didn't change, then he is considered afk : the bomb is dropped/given to a teamate (depending on afkbomb_action) and a message is displayed.
  • For the other checks :
  • After the first check, the same process is repeated, but it uses the convar "afkbomb_lateCheckDelay" for the delay between two checks.
  • When the total number of checks where the player didn't change his state equals the value of the convar "afkbomb_lateCheck", then the bomb is dropped/given to a teamate (depending on afkbomb_latecheckaction).
CVars :
  • afkbombversion: Gives version -_-'
  • -------------------------
  • afkbomb : How long, in seconds, before the delayed "state" check. 0 = plugin disabled. 1+ = enabled. Default 2.
  • afkbomb_freezetime : If "mp_freezetime" value is added to the timer that will run the delayed "state" first check. Default 0 (disabled).
  • -------------------------
  • afkbomb_msg : Notify team when bomb is dropped (afkbomb_action=1) / Notify everyone when bomb is given to a random terrorist (afkbomb_action=0 ). 0 = no, 1 = yes. Default 1.
  • -------------------------
  • afkbomb_latecheck : Number of latechecks to do before dropping the bomb. 0 = disable latechecks. Default 2.
  • afkbomb_latecheckdelay : Time between 2 latechecks to drop the bomb, in seconds. Min. 1.0, Default 5.0.
  • --------since 1.4.0--------
  • afkbomb_action : What to do when someone is considered afk at the beginning of the round. 1=Drop. 0=Give to random player. Default 0.
  • --------since 1.5.0--------
  • afkbomb_latecheckaction : What to do when someone is considered afk after the beginning of the round. 1=Drop. 0=Give to random player (not recommended since it could be exploited). Default 1. (This is afkbomb_action for latechecks)
Right now we're using all the default settings. If there are issues that come up we'll change them to the server's liking.
 

$alvador

TD Member
this is pretty awesome. if the player is afk then the bomb goes to someone who can at least move it up the map, if the player isn't afk then it's not a big deal just lost the potential to plant but the team still has hope
 

Shotgun Jesus

TD Admin
Staff member
Yup. And this thing doesn't fuck around either. If you just try and scratch your nuts in spawn it's bye-bye bomb.
 
Top