Notice: Undefined index: tasklist_type in /var/www/tracker/includes/class.tpl.php(128) : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/tracker/includes/class.tpl.php(128) : eval()'d code on line 90
  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Server
  • Assigned To N!trox* (nitrox)
  • Operating System All / Undefined
  • Severity Low
  • Priority Normal
  • Reported Version Development
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: N!tmod
Opened by Jan (Kissaki) - 2015-01-04
Last edited by N!trox* (nitrox) - 2015-02-27

FS#66 - g_inactivity does not work on down-ed players

Mod version: 2.2.1 r772
Build Date (!about cmd): Feb 8 2013
Omni-Bot enabled ?: y
Any LUA modules ? If yes, attach/provide link: lua_modules "dynamite_counter.lua connect.lua autobalance.lua autopromo.lua rspree.lua"
Happens during Warmup/Playing/Intermission ?: playing

Explain the bug :
With g_inactivity set to 60, I was able to verify I was put spectator after exactly 60 seconds.
However, when I went inactive after being shot down, but not gibbed, I was not moved to spectator after 60 seconds.

The use-case for putting inactive players to spectator does equally apply to downed players though.
I would thus expect g_inactivity to also work on downed players.

This task does not depend on any other tasks.

Closed by  N!trox* (nitrox)
Friday, 27 February 2015, 14:10 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See last comment.
N!trox* (nitrox)
Friday, 27 February 2015, 14:05 GMT
I don't think this can really be considered as a "bug".
It is the normal behavior, players waiting for a revive must not be moved to spectator because the only thing they can do to avoid an inactivity move, is to tap out (press space).
However, I would suggest using "g_forcerespawn" (http://www.etmods.net/nitmod_cvars.php#g_forcerespawn), this way you can force "wounded" players to "tap out" after a certain amount of time.
If they are still inactive after this, they'll be moved to spectator after g_inactivity.