Topic: some logging changes
hi
at the moment i am working on a stat-program which uses a database. So i find some things which are not well-defined.
for example a user with the name "tee changed name to" who changes the name to "changed name to tee" would crash the most programs who parse the logfile:
[47e65ed2][chat]: *** *** tee changed name to changed name to changed name to tee
so i suggest to add something like this to the log:
[47e65ed2][game]: rename oldname='0:tee changed name to' newname='0:changed name to tee'
the introducing of escape-signs between the " ' " would be nice too. it is easier then to parse names like "nameless ' tee ' ". perhaps something like that:
[47e65ef2][game]: kill killer='0:nameless \' tee \' ' victim='0:nameless \' tee \' ' weapon=3 special=0
so that here the "\" is the escape-sign.
by the way, what is the meaning of this "special=0"?
sorry for english, hope you understand everything.