World of Harry Potter Forums
http://forums.wohp.net/

Neverwinter Log Auto Log Saver
http://forums.wohp.net/viewtopic.php?f=29&t=6155
Page 1 of 1

Author:  Collin [ Thu Nov 12, 2015 7:30 pm ]
Post subject:  Neverwinter Log Auto Log Saver

Since this has been requested of me a few times now I have decided to make a post about it....

Simple mode

1. Create a new file called 'NWN((Or name of your choosing))' on your desktop.

2. Open the file in notepad, copy the following script and paste it into the file.

2a. If your NWN installation is NOT in c:\neverwinternights\nwn then you will need to update the second line to point at your actual install.

3. Save the file as a .bat, to do this you will need to select "All Text Files" under the file type.

@echo off
set nwndir=C:\neverwinternights\NWN
cd %nwndir%
start /wait %nwndir%\nwmain.exe


for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set year=%%c
for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set month=%%a
for /f "tokens=2-4 delims=/ " %%a in ('date /T') do set day=%%b
set TODAY=%year%-%month%-%day%

for /f "tokens=1 delims=: " %%h in ('time /T') do set hour=%%h
for /f "tokens=2 delims=: " %%m in ('time /T') do set minutes=%%m
for /f "tokens=3 delims=: " %%a in ('time /T') do set ampm=%%a
set NOW=%hour%-%minutes%-%ampm%

move %nwndir%\logs\nwclientLog1.txt C:\neverwinternights\NWN\logs\log-%TODAY%-%NOW

%.txt


4. To play NWN and rotate your logs, just double click the new NWN.bat file.

I suggest to add an additional log folder past logs like logs\WoHP\...

Advanced:

Follow the same steps as above, send a copy of the NWNMain to the desktop and name it something like 'WoHP' And within this go to the end of the target, line add +connect server.wohp.net

This allows for a direct connect to the server. Then add this back in the NWN folder where the nwmain is. Then replace nwmain.exe at the top of the script with the name of the folder 'WoHP' in this case.

Hope this helps!

Author:  Charity [ Fri Nov 13, 2015 4:47 am ]
Post subject:  Re: Neverwinter Log Auto Log Saver

I just use this. http://neverwintervault.org/project/nwn ... r-5000-v10

Author:  Collin [ Fri Nov 13, 2015 4:54 pm ]
Post subject:  Re: Neverwinter Log Auto Log Saver

Either can work, I tried gnomish once, didn't like it because it wouldn't work with my PC.

Author:  rattyroo [ Wed Dec 09, 2015 5:55 pm ]
Post subject:  Re: Neverwinter Log Auto Log Saver

Crying because I finally go back to refer to something and I find out my logs aren't logging at all. :(
Also that means I lost all the RP proof about Roo's serious RP. :/

I'm not actually crying, just terribly disappointed that I didn't catch that sooner.

--
Edit: I FOUND THEM. Not where they're supposed to be, but go figure. :D

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/