Chat log
Moderator: Event DM
Chat log
How do you turn this on? Mine is always blank.
Does it record the left-hand conversation log, or the right-hand server messages one?
Does it record the left-hand conversation log, or the right-hand server messages one?
Cheers,
Cromagnon
Cromagnon
Check the NWVault for the Gnomish log roller, or check these boards for a similar program. These will rename the log to the day and time each time you log out. If you don't rename the log, then it will be overwritten each time you log back in. Bit of a bummer that, I've lost some nice conversations that way.
Dame Moira Celyn (Windspar) Callindraes - Just a little bit...
- wyrmslayer77
- Apprentice Scholar
- Posts: 894
- Joined: Sat Apr 02, 2005 6:59 pm
- Location: nijmegen
or use this
LinkyEllowin wrote:link to sidekick, please?
- Kanteletar
- Apprentice Scholar
- Posts: 584
- Joined: Tue Nov 21, 2006 1:01 pm
- Timezone: +1/+2 GMT
- Location: Warsaw, Poland (arse of the europe)
w00t! ThanksRed wrote:LinkyEllowin wrote:link to sidekick, please?

someone in disguise: *disguised voice* We're a reclusive tea club
Jack E. Leonard: There's nothing wrong with you that reincarnation won't cure.
DMing as: Mishlekh
Jack E. Leonard: There's nothing wrong with you that reincarnation won't cure.
DMing as: Mishlekh
- korak
- Team Member; Retired with Honors
- Posts: 3597
- Joined: Mon Nov 29, 2004 4:41 pm
- Timezone: -5
- Location: Missouri, USA (-5 GMT for summer)
- Contact:
I threw together a little perl script that rotates my logs. You must have Perl installed for it to run, but it is free and can be retrieved from perl.org (windows, mac, or linux).
I just created a batch file on my desktop with notepad which contains:
I just created the script with notepad which contains:
The script will name a file in the format of:
year-month-day-hour.minute.sec.csv
That way you can sort it in cronological order.
It then saves as a tab-delimted file so that you can open it in a spreadsheet and sort the lines that you want. You can always still open it in a wordprocessor.
The basics format is:
<line_number> <time_stamp> <player_name> <command>
I stuck the line_number in so that you can always resort the file back to the original way it was. I just like using spreadsheets so I can sort quickly and get the info out of the log that I need. :)
I just created a batch file on my desktop with notepad which contains:
That runs NWN and when you quit playing NWN then you must hit enter on the dos screen that is up for the log rotation to be done. You could also always just go to Start->Run and type perl -w c:\nwn_log_rotate.pl to do it manually.C:\NeverwinterNights\NWN\nwn.exe
pause
perl -w c:\nwn_log_rotate.pl
I just created the script with notepad which contains:
and saved it to the root of the C: drive as nwn_log_rotate.pl. You could place it anywere, but you would need to make sure you ran it with 'perl -w <drive:><directory>nwn_log_rotate.pl$log_dir = "C:\\NeverwinterNights\\NWN\\logs\\";
$log_file = $log_dir."nwclientLog1\.txt";
($sec, $min, $hour, $day, $month, $year) = (localtime)[0,1,2,3,4,5];
$year=$year+1900; $month++;
if ($month < 10) { $month = "0".$month };
if ($day < 10) { $day = "0".$day };
$date_file = $log_dir.$year."-".$month."-".$day."-".$hour.'.'.$min.'.'.$sec.'.csv';
$line_number = 1;
open output_file, ">$date_file";
open input_file, "$log_file";
while (<input_file>) {
chomp;
s/\[CHAT WINDOW TEXT\] //g;
m/^(\[[^]]*\])?([^:]*:)?(.*)$/;
print output_file "$line_number\t";
$line_number++;
if ($1) { print output_file "$1\t" };
if ($2) { print output_file "$2\t" };
if ($3) { print output_file "$3" };
print output_file "\n";
}
close input_file;
close output_file;
The script will name a file in the format of:
year-month-day-hour.minute.sec.csv
That way you can sort it in cronological order.
It then saves as a tab-delimted file so that you can open it in a spreadsheet and sort the lines that you want. You can always still open it in a wordprocessor.
The basics format is:
<line_number> <time_stamp> <player_name> <command>
I stuck the line_number in so that you can always resort the file back to the original way it was. I just like using spreadsheets so I can sort quickly and get the info out of the log that I need. :)
I hate when I just miss a call by the last ring (Hello? Hello?), but when I immediately call back, it rings nine times and goes to voice-mail. What did you do after I didn't answer? Drop the phone and run away?
- korak
- Team Member; Retired with Honors
- Posts: 3597
- Joined: Mon Nov 29, 2004 4:41 pm
- Timezone: -5
- Location: Missouri, USA (-5 GMT for summer)
- Contact:
The same goes when I use my script above. To save my log I have to Start->Run->Perl -w c:\nwn_log_rotate.pl before I transport to a new server.Zandel wrote:A note on the Avlis side kick, it is a great program for logging in to servers quickly, and it will save and let you view your logs. However, if you transtions servers it does not save any of the logs, so it only works when you log on and off the same server.
I hate when I just miss a call by the last ring (Hello? Hello?), but when I immediately call back, it rings nine times and goes to voice-mail. What did you do after I didn't answer? Drop the phone and run away?
- korak
- Team Member; Retired with Honors
- Posts: 3597
- Joined: Mon Nov 29, 2004 4:41 pm
- Timezone: -5
- Location: Missouri, USA (-5 GMT for summer)
- Contact:
I guess I was wrong. I got to looking at the rotated log file and it held the server transitioning. I thought the transitioning wiped the previous server. Oh well, I have been wrong before and I am pretty sure that I will be again.korak wrote:The same goes when I use my script above. To save my log I have to Start->Run->Perl -w c:\nwn_log_rotate.pl before I transport to a new server.Zandel wrote:A note on the Avlis side kick, it is a great program for logging in to servers quickly, and it will save and let you view your logs. However, if you transtions servers it does not save any of the logs, so it only works when you log on and off the same server.

I hate when I just miss a call by the last ring (Hello? Hello?), but when I immediately call back, it rings nine times and goes to voice-mail. What did you do after I didn't answer? Drop the phone and run away?