Posts: 438
Threads: 178
Joined: Jul 2007
Reputation:
3
All the filenames excluding IncludeLast('http://gdeko.eu/pub/cod2/rc/rcon-rules.log',10); should be relative to php script and on local PC (eg. ./rc/warned-cache) in a read-write enabled directory. You obviously can't write to a file opened remotely by php http fopen.
Coffee phreak!
I had this links at my local machine, but today's morning changed to www links.
At my local machine it weren't writing log files too.
I tried two servers with two catalogs at my computer.
thank you for you patience :)
Posts: 438
Threads: 178
Joined: Jul 2007
Reputation:
3
$rules_log_file = ' ./rcon-rules.log';
etc...
IncludeLast(' ./rcon-rules.log',10);
./ means current directory to the one, that php file is in (base directory).
Coffee phreak!
Posts: 438
Threads: 178
Joined: Jul 2007
Reputation:
3
Okay, good idea. I'm testing the changed version right now, if there are no problems, I'd update it here.
Coffee phreak!
Posts: 438
Threads: 178
Joined: Jul 2007
Reputation:
3
Use the new file and change variables you changed before. I haven't tested it myself, but had Rohlik do it instead.
Coffee phreak!
Posts: 30
Threads: 0
Joined: Jul 2007
Reputation:
0
Hoj,
Super script...
Ale treba v SD, kdyz mas nepovoleny nick, tak te to vyhodi, i kdyz jsi se prejmenoval.
V SD totiz se prejmenujes az pri zacatku noveho kola...
Představ si kus švýcarského sýra, který je plný děr.
Čím víc sýra, tím víc děr.
Každá díra zabírá místo, kde by mohl být sýr. Takže čím víc děr, tím míň sýru. Čím víc sýru, tím víc děr a tím míň sýru.
ZÁVĚR: ČÍM VÍC SÝRU, TÍM MÍŇ SÝRU.