Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM+BRenBot Plugin] AFK Detector v2.0
Re: [SSGM+BRenBot Plugin] AFK Detector [message #452423 is a reply to message #450218] Wed, 24 August 2011 12:13 Go to previous messageGo to previous message
iRANian is currently offline  iRANian
Messages: 4313
Registered: April 2011
Karma:
General (4 Stars)
Alright, I'm thinking about adding the following:

-Don't do anything when there's only one player in-game.
-Add an option to disable checking score if Power Plant and/or Refinery is down.
-Add an option to PM a player if he's marked AFK (but don't do any kicking)

Have the code mark a player AFK during a check when first:

-He hasn't gained points (with the threshold logic taken in account and the option to disable checking points when PP/Ref is destroyed).
-When his position hasn't changed within a small renefeet threshold.
-If his facing hasn't changed.

And if he doesn't do any of the following:
-When he hasn't fired any shots.
-Doesn't speak.
-Doesn't enter or exit a vehicle.
-Doesn't purchase anything.

Then write to Renlog and relay with BRenbot facing/score/shotsfired/position for all of those that haven't changed. Looking like this:

[AFK] PLAYER's score(X, count: X) position(count: X, near BUILDING) shots fired with infantry(count: X) facing(count X) hasn't changed.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Thu, 25 August 2011 03:59]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Search Hud Yet another D6 Hud
Next Topic: Helios' Scripts.dll 2.9.2/3.4.4 installer
Goto Forum:
  


Current Time: Sun Jun 29 02:17:13 MST 2025

Total time taken to generate the page: 0.00737 seconds