Q3 pwnz!
Would you like to react to this message? Create an account in a few clicks or log in to continue.

afk players

Go down

afk players Empty afk players

Post by Razor Sun Dec 06, 2015 1:49 pm

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})Sad\d+)\h+(\d+)\h+(\d+)$


Razor
Guest


Back to top Go down

afk players Empty Re: afk players

Post by Razor Sun Dec 06, 2015 1:51 pm

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+)$


Razor
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum