Re: Call Of Duty 2/4: PHP Rules Checker 1.2 -
rbjordy - 17.8.2008
Ashus never mind, it is already working. I tried something and seems to be working, IP log is getting filled so thats good!
Really like it!!!
Thnx for your good tools man!
Re: Call Of Duty 2/4: PHP Rules Checker 1.2 -
rbjordy - 17.8.2008
btw Ashus, is there a way to kick players if they use bad language on the server? I only need 1 word which they may not say...
Rgds,
Jordy
Re: Call Of Duty 2/4: PHP Rules Checker 1.2 -
Ashus - 17.8.2008
Kicking for bad language would require scanning the logfiles. Much more difficult than this script and it would not catch all bad words either. Players can type f.u.c.k and it would ignore him. Hire some people you trust to watch over the people and make a set of rules. No script can replace that.
Re: Call Of Duty 2/4: PHP Rules Checker 1.2 -
rbjordy - 17.8.2008
true! But still thnx for your great work!!!
Re: Call Of Duty 2/4: PHP Rules Checker 1.2 - JaReK - 19.8.2008
I lost whole day

. I can't do it working. Why can't it work as php_rcon

. Why should i use a nnCron and PHP having webhosting

. I have enough for today
Re: Call Of Duty 2/4: PHP Rules Checker 1.2 - JaReK - 20.8.2008
I want to kick highpingers at remote machine. hired game server. I'm not hosting gameserver at my computer! Could u help me ?
Re: Call Of Duty 2/4: PHP Rules Checker 1.2 -
Ashus - 20.8.2008
You still want this tool, just run php scripts remotely (by cron or manually by opening browser and refreshing its window periodically).
Re: Call Of Duty 2/4: PHP Rules Checker 1.2 - JaReK - 20.8.2008
Ferstivaly there is a little, but known mistake in php script.
The script is not kicking players anymore.
It shows warning ,and hour.
But not kicking.
Re: Call Of Duty 2/4: PHP Rules Checker 1.2 -
Ashus - 21.8.2008
This looks like the script can't write its data into a file. Update its path to a rw dir or make it rw to www-data user.
Re: Call Of Duty 2/4: PHP Rules Checker 1.2 - JaReK - 21.8.2008
I changeds ling as follows. wheres mistake?
links at "rcon-rules.php"
$rules_log_file = 'http://gdeko.eu/pub/cod2/rc/rcon-rules.log';
$rules_warned_cache_file = 'http://gdeko.eu/pub/cod2/rc/warned-cache';
$rules_iplog_interval = 5;
$rules_iplog_file = 'http://gdeko.eu/pub/cod2/rc/rcon-iplog.log';
links at "iplog.php":
$lines = $last;
$filename = 'http://gdeko.eu/pub/cod2/rc/rcon-iplog.log
link at "list-of-kicked.php":
IncludeLast('http://gdeko.eu/pub/cod2/rc/rcon-rules.log',10);
I changed attributes to "777" for each of file.
[nnCron is not working for me, still shows errors. Instead of this I used MS scheduler].