Re: Call Of Duty 2/4: PHP Rules Checker 1.3 -
JaReK - 25.8.2008
Script works perfectly. [no "php" at beginning]. Great work Ashus.
Re: Call Of Duty 2/4: PHP Rules Checker 1.3 -
Ashus - 26.8.2008
Just edit your php.ini:
short_open_tag="1" and you won't have to worry anymore.
For more info see
http://www.php.net/ini.core
Re: Call Of Duty 2/4: PHP Rules Checker 1.3 -
zygus2 - 7.2.2009
Hi.
I try using your script but i have problem.
i go to
http://127.0.0.1/cod2/rcon-rules.php
Quote:0 / pan / xx.xx.xx.196 / 45
1 / os / 89.2xx.226 / 32
2 / Punik Dan / 89.xx4.53 / 51
3 / Bios / 77.xx.133 / 46
5 / WioY / 90.1xx9.178 / 46
6 / :annib/ 83.xx133 / 48
7 / Ka6 / 78.xx2.205 / 51
8 / s / 79xx05.36 / 53
9 / S / 80.xx.193 / 59
10 / er / 87.1xx.253 / 97
11 / ik / 83.xx118 / 46
12 / oko1 / 87.2xx89 / 285
13 / M / 88.19xx48 / 43
!15 / uncill / 7xx150 / 48
Fatal error: Call to undefined function: file_put_contents() in c:\usr\apache\httpd\html\cod2\rcon-rules.php on line 246
rcon-rules.php:
Quote:$rules_log_file = './rcon-rules.log'; // path to a file containing kicked players; must be writeable
$rules_warned_cache_file = './warned-cache'; // path to a file containing warned players; must be writeable
$rules_iplog_interval = 5; // this is a number of minutes the log is updated in ; 0 = disable
$rules_iplog_file = './rcon-iplog.log'; // path to a file containing log of ip addresses; must be writeable
all files in the same folder.
Files in folder:
list-of-kicked.php
rcon-rules.php
rcon-rules.log
rcon-iplog.log
iplog.php
warned-cache
Re: Call Of Duty 2/4: PHP Rules Checker 1.3 -
Ashus - 7.2.2009
Function file_put_contents() is PHP 5 specific, it looks like you have PHP 4 on your hosting, ask your hosting provider for upgrade.
Re: Call Of Duty 2/4: PHP Rules Checker 1.3 -
zygus2 - 7.2.2009
ok i reinstall PHP to 5.0.5
but I have a message
:Sorry, localhost service only.
Re: Call Of Duty 2/4: PHP Rules Checker 1.3 -
JaReK - 16.5.2009
Czesc Zygus, Hi Ashus
I'm sure U have wrong path at cfg file. Study
my cfg, please.
Re: Call Of Duty: PHP Rules Checker 1.4c -
Ashus - 16.5.2009
Update your paths to your needs. I've just given some examples as default.
Re: Call Of Duty: PHP Rules Checker 1.4c -
Moustache - 16.5.2009
I have an idea (again

).
Is it possible to add it that the script can see which player is killing with what kind of weapon.
And if you don't want that ppl use that weapon they get kicked.
For exaple some one is using P90 or Grenade Launcher. He gets kicked.
Do you want to make it?
Do you think it is possible to make it?
Re: Call Of Duty: PHP Rules Checker 1.4c -
Ashus - 16.5.2009
Not via this script (impossible), you may want to disable the weapon using a mod. Delete all of them from the map, so the player doesn't need to get kicked. I'm using that in Kafemlynek mod; when sniper rifles are off, they are removed from the map and from hands of players carrying it (unless they spawned with snipers rifle and haven't had the chance to switch to another - still allowed - weapon).
Re: Call Of Duty: PHP Rules Checker 1.4c -
rbjordy - 17.5.2009
Ashus,
I have a problem, I had this script working on my old dedicated server but I have a new Dedi running now and I'm unable to get it working.
When running the script I'm getting this:
Code:
Failed loading /usr/local/ioncube/lin_x86/ioncube_loader_lin_5.2.so: /usr/local/ioncube/lin_x86/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directory
Failed loading /usr/local/Zend/lib/ZendExtensionManager.so: /usr/local/Zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/curl.so' - /usr/lib/php5/20060613+lfs/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gmp.so' - /usr/lib/php5/20060613+lfs/gmp.so: cannot open shared object file: No such file or directory in Unknown on line 0
icecpp: can't open `/var/lib/mumble-server/Murmur.ice' for reading
PHP Fatal error: Unable to start ice module in Unknown on line 0
Do you maybe have a quick fix or something? Or any idea how I can resolve the problem?
Thnx in advanced!