I have looked around and have not found anything for what I’m looking for, maybe its not even possible but is their a way to capture a PC’s messages and write it to a log file?
chat log
Débuté par
Surek
, sept. 18 2012 05:53
#1
Posté 18 septembre 2012 - 05:53
#2
Posté 18 septembre 2012 - 06:49
WriteTimestampedLogEntry(string sLogEntry) is what you are looking for. You can use it in the OnChat event of the module to capture messages
#3
Posté 18 septembre 2012 - 08:39
In nwnplayer.ini under game options.
ClientChatLogging=0
Setting this to 1 will add all player chat heard by the client to the client log. The file can be found in the "logs" directory of the NWN base install path (eg. nwnclientLog1.txt). Note that the log will overwrite itself; preventing long term chat logging over multiple play sessions. This can be prevented by renaming the log after every session, or using a Log Rotator [1].
ClientChatLogging=0
Setting this to 1 will add all player chat heard by the client to the client log. The file can be found in the "logs" directory of the NWN base install path (eg. nwnclientLog1.txt). Note that the log will overwrite itself; preventing long term chat logging over multiple play sessions. This can be prevented by renaming the log after every session, or using a Log Rotator [1].
#4
Posté 19 septembre 2012 - 11:59
Oooops forgot about my silly answer
I didn't think about the client chat log what a shame! Thankfully the community has people like you L8 ^^





Retour en haut







