Chat log

Moderator: Event DM

Post Reply
User avatar
Cromagnon
Sage
Posts: 1596
Joined: Thu Oct 07, 2004 1:25 am
Location: NY

Chat log

Post by Cromagnon » Sun Jul 01, 2007 11:15 am

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?
Cheers,
Cromagnon
swoods
Team Member; Retired with Honors
Posts: 2111
Joined: Tue Jun 08, 2004 4:11 pm
Location: Berkshire, United Kingdom

Post by swoods » Sun Jul 01, 2007 11:24 am

Turn Clientchallogging from 0 to 1 or vice versa. in your nwn.ini file

Edit: If you turn on ShowEntireChatLog then it will record both windows. Its a bit of a sod to actually filter through the whole thing.
User avatar
Marleh
Demigod of Posts
Posts: 8650
Joined: Mon Jun 07, 2004 5:34 pm
Location: GMT -8

Post by Marleh » Sun Jul 01, 2007 1:20 pm

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...
User avatar
wyrmslayer77
Apprentice Scholar
Posts: 894
Joined: Sat Apr 02, 2005 6:59 pm
Location: nijmegen

Post by wyrmslayer77 » Sun Jul 01, 2007 1:24 pm

or use this
User avatar
Tulok
Lord of Blithering Idiots
Posts: 134
Joined: Sat Jun 16, 2007 6:48 pm

Post by Tulok » Sun Jul 01, 2007 9:22 pm

I use ASK, "Avlis Side Kick". It saves my conversation logs quite well. :D
User avatar
Ellowin
Sage
Posts: 2049
Joined: Mon Dec 20, 2004 7:25 pm
Location: in the middle of Texas (GMT -5)

Post by Ellowin » Sun Jul 01, 2007 11:37 pm

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
Red
Scholar of Fools
Posts: 323
Joined: Sat Oct 02, 2004 7:24 pm
Location: CST in USA; GMT -5

Post by Red » Mon Jul 02, 2007 1:25 am

Ellowin wrote:link to sidekick, please?
Linky
User avatar
Kanteletar
Apprentice Scholar
Posts: 584
Joined: Tue Nov 21, 2006 1:01 pm
Timezone: +1/+2 GMT
Location: Warsaw, Poland (arse of the europe)

Post by Kanteletar » Mon Jul 02, 2007 1:27 am

Tulok wrote:I use ASK, "Avlis Side Kick". It saves my conversation logs quite well. :D
+1
"We shun them not for their dream but for their refusal to let such a noble dream die a noble death."

Player of:
Thalis Almare - hero in progress.
Lestek "Kant" Rakov - bustard
User avatar
Ellowin
Sage
Posts: 2049
Joined: Mon Dec 20, 2004 7:25 pm
Location: in the middle of Texas (GMT -5)

Post by Ellowin » Mon Jul 02, 2007 1:39 am

Red wrote:
Ellowin wrote:link to sidekick, please?
Linky
w00t! Thanks :D
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
User avatar
Cromagnon
Sage
Posts: 1596
Joined: Thu Oct 07, 2004 1:25 am
Location: NY

Post by Cromagnon » Mon Jul 02, 2007 2:07 am

swoods241078 wrote:Turn Clientchallogging from 0 to 1 or vice versa. in your nwn.ini file

Edit: If you turn on ShowEntireChatLog then it will record both windows. Its a bit of a sod to actually filter through the whole thing.
It works. Thanks a lot! :)
Cheers,
Cromagnon
User avatar
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:

Post by korak » Tue Jul 03, 2007 3:51 pm

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:
C:\NeverwinterNights\NWN\nwn.exe
pause
perl -w c:\nwn_log_rotate.pl
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.

I just created the script with notepad which contains:
$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;
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

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?
Zandel
Sage
Posts: 1946
Joined: Sat Aug 27, 2005 2:22 am
Timezone: EDT
Location: Florida

Post by Zandel » Tue Jul 03, 2007 4:52 pm

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.
User avatar
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:

Post by korak » Tue Jul 03, 2007 6:36 pm

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.
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.
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?
User avatar
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:

Post by korak » Thu Jul 05, 2007 5:29 pm

korak wrote:
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.
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.
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. :)
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?
Post Reply