Aller au contenu

Photo

chat log


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Surek

Surek
  • Members
  • 94 messages
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? 

#2
Krevett

Krevett
  • Members
  • 104 messages
WriteTimestampedLogEntry(string sLogEntry) is what you are looking for. You can use it in the OnChat event of the module to capture messages

#3
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
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].

#4
Krevett

Krevett
  • Members
  • 104 messages
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 ^^