Page 1 of 1

LogPrintig Rcon use

Posted: November 13th, 2011, 10:00 pm
by ThaWalrus
Hello all,

I have a mod, and i have recently figured things out with logprint.

I started to like it, because I could see excaclty what happened on the server. Also i could make my own logprints, like when people had killstreaks etc.

I am wondering if i could use logprint for logging rcon use.

So, if somebody uses rcon status, rcon map 'mp_neuville'. I could see it at my server.log.

I dont really have an idea how to do this, but i want to place the function in the mod, in the bel.gsc file.

ThaWalrus

Re: LogPrintig Rcon use

Posted: November 14th, 2011, 1:42 am
by Drofder2004
Client input commands cannot be detected by mods.

Re: LogPrintig Rcon use

Posted: November 14th, 2011, 1:57 am
by megazor
walrus talked about cod1.

but in cod4, there are some functions that can do various things to server files? and all actions of a client are saved in the server log file.

Re: LogPrintig Rcon use

Posted: November 14th, 2011, 4:12 pm
by ThaWalrus
Then i have another question.

What does the "logfile = 1" do?

It prints some rcon use to a config_mp.log file.

It prints rcon use to the log, but it only says the ip of the rconuser.
Is it possible to let it write the Guid or name to this log? Instead of the IP

Greetz Walrus

Re: LogPrintig Rcon use

Posted: November 14th, 2011, 4:17 pm
by Drofder2004
logfile = 1 turns on game logging.

Re: LogPrintig Rcon use

Posted: November 14th, 2011, 8:52 pm
by ThaWalrus
Ye, i know that now. But i want to know what it really does, where i can change the form of printing.

So instead of ip, guids or player names.

Or maybe it just isnt possible.

Re: LogPrintig Rcon use

Posted: November 15th, 2011, 7:02 am
by megazor
you cant change anything with it.
naaaaaab

Re: LogPrintig Rcon use

Posted: November 15th, 2011, 1:49 pm
by Drofder2004
ThaWalrus wrote:Ye, i know that now. But i want to know what it really does, where i can change the form of printing.

So instead of ip, guids or player names.

Or maybe it just isnt possible.
All hardcoded.