afk players
afk players
since a player named gracz has been sitting afk since yesterday now in the server. and the anti camper keeps killing him. and no admin is around to force him into spec. which i used to do to afk players before. it gave me the idea of an rcon status script. to auto force players with a very big negative score into spec. to assume they are truly afk. and now is this something u would like to work on para? while i am not familiar with perl and cant help out with the coding for that. then i could share my regex i wrote for the quake 3 id tech 3 engine to parse the rcon status output if it would help
anyway here is the rcon status regex for the quake engine to parse out client num + score + ping + name + lastmsg + address + client port + qport + rate
^\h?\h?(\d+)\h+(.?\d+)\h+(\d+)\h+(.*?)\h+(\d+)\h+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\d+)\h+(\d+)\h+(\d+)$
anyway here is the rcon status regex for the quake engine to parse out client num + score + ping + name + lastmsg + address + client port + qport + rate
^\h?\h?(\d+)\h+(.?\d+)\h+(\d+)\h+(.*?)\h+(\d+)\h+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})\d+)\h+(\d+)\h+(\d+)$
Razor- Guest
Re: afk players
i disabled the smiley thingy for the regex (forgot that in the last post above)
^\h?\h?(\d+)\h+(.?\d+)\h+(\d+)\h+(.*?)\h+(\d+)\h+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}):(\d+)\h+(\d+)\h+(\d+)$
^\h?\h?(\d+)\h+(.?\d+)\h+(\d+)\h+(.*?)\h+(\d+)\h+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}):(\d+)\h+(\d+)\h+(\d+)$
Razor- Guest
Permissions in this forum:
You cannot reply to topics in this forum