Re: AFK Manager (Any Mod)
Thanks for all your help rothgar!!!! It's VERY appreciated!
|
Re: AFK Manager (Any Mod)
Alright 2.5o Released.
Big changes, removed FindTeamByName() calls for now because they seemed to error on Team ID's that I believe should be valid? have logged a bug in relation to this and we'll see what happens. Would be nice if they worked like I was thinking to find the spectator team index across any mod rather than having a static id or per-mod work-around. In any case thanks goes to predcrab for suggesting IsClientObserver() which will work for some of the instances but not all yet allowed me to get further for mods that threw errors on FindTeamByName(). Added some checks for Insurgency to get it to work, Eye Angles doesn't currently work (causes full server crash) so for now only player location is checked. Also have to manually kill players after changing their team at least for Insurgency when players are moved to spec, let me know if it doesn't work for other mods. As mentioned the Spectator team index is currently an ugly static value with a fix for Insurgency so if the Spectator functions don't work as it should let me know. Thanks goes to the NADES server for helping debug for Insurgency, Enjoy. |
Re: AFK Manager (Any Mod)
Any chance of adding a custom immunity flag to this plugin, that way only certain admins could be specified as un-kickable?
Thanks |
Re: AFK Manager (Any Mod)
Quote:
|
Re: AFK Manager (Any Mod)
Like an "i" flag so it can be added to specific admin groups (separate from any other flag). Or else add it to an immunity level or a cvar that you allows you to set the immunity level that grants immunity from the AFK kicker (i.e. sm_afk_immunity 50).
I'm not a coder so I don't know how easy any of that is. Thanks for your plugin and hard work though! |
Re: AFK Manager (Any Mod)
Ok added a new flags variable. Moved plugin to 3.x branch now.
|
Re: AFK Manager (Any Mod)
For some reason using 2.5o, it kicks players during the middle of the round when they're clearly not afk
|
Re: AFK Manager (Any Mod)
Quote:
|
Re: AFK Manager (Any Mod)
3.0 is working great on all four of my servers now. Thanks for the custom flag and the great plugin!
|
Re: AFK Manager (Any Mod)
Uploaded 3.0.1
Fixes an issue where timers were closing pre-maturely in the spectate move functions which could have caused issues. Re-did a few of the functions to hopefully fix this. Also added a request for killing of players to reset AFK timers for mods like Insurgency where it can't get player eye angles. |
All times are GMT -4. The time now is 01:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.