Would someone be so kind as to help me with the logs?
4 posters
Page 1 of 1
Would someone be so kind as to help me with the logs?
Hi, y'all!
Do you remember this awesome thread: "Storing Logs" ? I used it to get my logs set up on my laptop, and they worked wonderfully! Since my laptop fried, however, I have been unable to replicate success with the logs.
Here's what I have:
:: nwn.bat
:: used to store the nwn client logs before they get overwritten by nwn
::
:: double colon used for comments
::
@echo off
:: this is for the timestamping
for /f "tokens=1-4 delims=/ " %%i in ("%date%") do (
set day=%%i
set month=%%j
set year=%%k
)
:: find path and current log
c:
cd \NeverwinterNights\Nwn\logs
:: denotes new session (needed if starting new sessions on same day)
Echo ***************************************************** >> LogFiles_%day%-%month%-%year%.txt
Echo ********************* NEW SESSION ******************* >> LogFiles_%day%-%month%-%year%.txt
Echo ***************************************************** >> LogFiles_%day%-%month%-%year%.txt
Echo
:: Gives a space and prints date and time, its out of sync here
:: but matches in the saved logs due to the length of date and time
Echo ***************************************************** >> LogFiles_%day%-%month%-%year%.txt
Echo ****** %date% **************** %time% ****** >> LogFiles_%day%-%month%-%year%.txt
Echo ***************************************************** >> LogFiles_%day%-%month%-%year%.txt
:: below copies previous log
type nwclientLog1.txt >> LogFiles_%day%-%month%-%year%.txt
:: change below to 'nwtoolset.exe' for nwn toolset, or 'nwmain.exe' for direct to nwn
:: default opens launcher, my preference (also shuts down this .bat)
cd ..
START nwn.exe && EXIT
And here's what it gets me:
*****************************************************
********************* NEW SESSION *******************
*****************************************************
*****************************************************
****** Wed 06/24/2009 **************** 20:09:11.78 ******
*****************************************************
*****************************************************
********************* NEW SESSION *******************
*****************************************************
*****************************************************
****** Wed 06/24/2009 **************** 20:09:20.96 ******
*****************************************************
I'm not as computer savvy as I'd like to think, so if anyone sees a problem with the text inside the .bat file, please please please let me know! I miss having the logs to peruse through, certainly for the entertainment value, but also if there's a problem of some sort - logs are priceless, and I miss them!
Help, please!
Do you remember this awesome thread: "Storing Logs" ? I used it to get my logs set up on my laptop, and they worked wonderfully! Since my laptop fried, however, I have been unable to replicate success with the logs.
Here's what I have:
:: nwn.bat
:: used to store the nwn client logs before they get overwritten by nwn
::
:: double colon used for comments
::
@echo off
:: this is for the timestamping
for /f "tokens=1-4 delims=/ " %%i in ("%date%") do (
set day=%%i
set month=%%j
set year=%%k
)
:: find path and current log
c:
cd \NeverwinterNights\Nwn\logs
:: denotes new session (needed if starting new sessions on same day)
Echo ***************************************************** >> LogFiles_%day%-%month%-%year%.txt
Echo ********************* NEW SESSION ******************* >> LogFiles_%day%-%month%-%year%.txt
Echo ***************************************************** >> LogFiles_%day%-%month%-%year%.txt
Echo
:: Gives a space and prints date and time, its out of sync here
:: but matches in the saved logs due to the length of date and time
Echo ***************************************************** >> LogFiles_%day%-%month%-%year%.txt
Echo ****** %date% **************** %time% ****** >> LogFiles_%day%-%month%-%year%.txt
Echo ***************************************************** >> LogFiles_%day%-%month%-%year%.txt
:: below copies previous log
type nwclientLog1.txt >> LogFiles_%day%-%month%-%year%.txt
:: change below to 'nwtoolset.exe' for nwn toolset, or 'nwmain.exe' for direct to nwn
:: default opens launcher, my preference (also shuts down this .bat)
cd ..
START nwn.exe && EXIT
And here's what it gets me:
*****************************************************
********************* NEW SESSION *******************
*****************************************************
*****************************************************
****** Wed 06/24/2009 **************** 20:09:11.78 ******
*****************************************************
*****************************************************
********************* NEW SESSION *******************
*****************************************************
*****************************************************
****** Wed 06/24/2009 **************** 20:09:20.96 ******
*****************************************************
I'm not as computer savvy as I'd like to think, so if anyone sees a problem with the text inside the .bat file, please please please let me know! I miss having the logs to peruse through, certainly for the entertainment value, but also if there's a problem of some sort - logs are priceless, and I miss them!
Help, please!
Eric of Atrophy- Ludicrous Level
- . :
Number of posts : 4113
Age : 51
Location : Kea'au, HI, USA
Main Character : The Vault of Atrophy
NWN Username : atrophied_eric
DM Name : Dungeon Mistress Anaurra Lide
Time Zone : GMT - 10:00 EST (We have our own time zone!)
Registration date : 2008-06-06
Re: Would someone be so kind as to help me with the logs?
I tried veenkars script/.bat file and it gave me the same.... I assumed I did it wrong and couldnt figure out where I messed up lol...
daveyeisley- Ludicrous Level
- . :
Number of posts : 6934
Age : 47
Location : Watching Aenea from my Inner Sanctum on the surface of Sharlo, Aenea's Silver Moon
Main Character : Dave's List of PCs
NWN Username : Dave Yeisley
DM Name : Dungeon Master Mythgar
Time Zone : GMT - 5:00
. :
Registration date : 2008-06-03
Re: Would someone be so kind as to help me with the logs?
Look for the "Gnomish Log Rotator" on the vault. It's an external program, not as small and elegant as the BAT method, but it accomplishes the same thing with little fussing.
MannyJabrielle- Ludicrous Level
- . :
Number of posts : 5927
Main Character : See the "A-Team" thread in the Biographies forum.
DM Name : Dungeon-Master Gaelen
Time Zone : GMT -5:00(EST)
Registration date : 2008-07-05
Re: Would someone be so kind as to help me with the logs?
I need a new hard drive..... with more space.... cuz I am looking at barely 12 gigs free on 3 of my partitions... and starting to worry
If I store enough logs eventually they will equal megs, and over time that cna become gigs.... my email archives are over 2 gigs at this point... but only cuz I save everything, and have been doing so for almost 8 years... so I can probably handle some chat logs.... I just wonder how long it will take fighting beholders before they start to get space comsumptive.
If I store enough logs eventually they will equal megs, and over time that cna become gigs.... my email archives are over 2 gigs at this point... but only cuz I save everything, and have been doing so for almost 8 years... so I can probably handle some chat logs.... I just wonder how long it will take fighting beholders before they start to get space comsumptive.
daveyeisley- Ludicrous Level
- . :
Number of posts : 6934
Age : 47
Location : Watching Aenea from my Inner Sanctum on the surface of Sharlo, Aenea's Silver Moon
Main Character : Dave's List of PCs
NWN Username : Dave Yeisley
DM Name : Dungeon Master Mythgar
Time Zone : GMT - 5:00
. :
Registration date : 2008-06-03
Re: Would someone be so kind as to help me with the logs?
Hehe, beholders is the reason I stopped keeping logs myself.
It's been a while since I used the GLR, but I *think* it has options to automatically edit out combat log info and leave just chatlogging/server message logging in.
It's been a while since I used the GLR, but I *think* it has options to automatically edit out combat log info and leave just chatlogging/server message logging in.
MannyJabrielle- Ludicrous Level
- . :
Number of posts : 5927
Main Character : See the "A-Team" thread in the Biographies forum.
DM Name : Dungeon-Master Gaelen
Time Zone : GMT -5:00(EST)
Registration date : 2008-07-05
Re: Would someone be so kind as to help me with the logs?
This problem is likely related to where the log file is stored and what the log file is called in your new setup....
.. providing its still opening the launcher, the .bat scripting seems to be working fine.. (its stamping the time stamps correctly)..
Try changing the first "cd \NeverwinterNights\Nwn\logs" to your new NWN directory address, or change "type nwclientLog1.txt" to "type xxxclientxxlogxxname.txt" (its this one that copies/stores the previous log)..
Failing that is the NWN.ini file set up for log storing in the first place?..
Or try the GNL that MJ suggested....
.. providing its still opening the launcher, the .bat scripting seems to be working fine.. (its stamping the time stamps correctly)..
Try changing the first "cd \NeverwinterNights\Nwn\logs" to your new NWN directory address, or change "type nwclientLog1.txt" to "type xxxclientxxlogxxname.txt" (its this one that copies/stores the previous log)..
Failing that is the NWN.ini file set up for log storing in the first place?..
Or try the GNL that MJ suggested....
RustyDios- High Epic Level
- Number of posts : 2271
Age : 40
Location : England // Getting lost in Aenea
Main Character : Jay Braysin, The Wandering Shadow, Protector of Nektaria, Talon's Eternal Foe
Other Character : Shouri Braysin, The Shimmerstar's Moonlight Sorceress
Other Character. : Grace Fularras, Walking Library , Cleric of Mystara
Other Character.. : See my sig ... And here too ...
NWN Username : RustyDios
Time Zone : GMT (England, DST)
. :
Registration date : 2008-07-28
Similar topics
» Storing logs
» PSA: Be Kind to Your Summoned Friends
» Partially Used: Remove fear from mummy? (kind of, see last post in thread)
» PSA: Be Kind to Your Summoned Friends
» Partially Used: Remove fear from mummy? (kind of, see last post in thread)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum