1

Topic: Chatlog

Hello World
It would be really nice if we could log the ingame discussions. For example actually if someone give you his email adress and leave, and if you havn't the time to note it, it's lost.
I hope admins will read this topic, and why not, answer me ...

Play ctf_fall if you dare!

2

Re: Chatlog

I agree. Just a console dump like in the Source engine. It should save all the console text to a .txt file.

3

Re: Chatlog

+1

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

4

Re: Chatlog

I think it would be enough, if there were no other messages in the F1 console.

Antoine de Saint Exupéry: It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away.
Besides -  I am the gfx guy!

5

Re: Chatlog

Hmm. It can be very big file if there is lots of players chatting

Goodbye all. Account inactive since March 2011.

6

Re: Chatlog

under linux you can filter the chatmessages with ./teeworlds | grep "chat". i didn't tried it, but should work.

7

Re: Chatlog

+1

8

Re: Chatlog

Sorry, but: ./teeworlds > log.log

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

9

Re: Chatlog

#!/bin/sh

cd ~/teeworlds-0.4.2-linux_x86
./teeworlds | grep "\[chat\]" | cut -c 19- | tee chatlog.`date +"%Y%m%d%H%M%S"`
cd ~

Something like that could do it, incase u have linux. Save it as tw.sh, chmod a+x then u can run it. Chatlogs will be in tw directory. You may need to change the directory in the script according to ur setup.

We will meet again when the flowers spread their glorious scent of victory and the birds sing us the melody of justice...

10

Re: Chatlog

Yeah, that could do it as well.

if($poster["intelligence"] == $intelligence["idiot"])
        deny_post($poster);

11

Re: Chatlog

It's pretty hacky smile, and I'm sure that integrating this feature to the game wouldn't take a lot of time...

Play ctf_fall if you dare!

12

Re: Chatlog

+1
Nice Idea.

_|---------------------------------------|_
  |Skins StudioPaw Steam Icon Graphics |
_|---------------------------------------|_

13

Re: Chatlog

The config file contains a token named "logfile". You could specify a logfile in your settings-file with

logfile client.log

and filter out chat-messages with

grep '\[chat\]' client.log
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." - Terry Pratchett -