Would you like to react to this message? Create an account in a few clicks or log in to continue.

Would someone be so kind as to help me with the logs?

Go down

Would someone be so kind as to help me with the logs? Empty Would someone be so kind as to help me with the logs?

Post by Eric of Atrophy on Wed Jun 24, 2009 7:02 pm

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!
Eric of Atrophy
Eric of Atrophy
Ludicrous Level
Ludicrous Level

. : Dungeon Master
Male Number of posts : 4067
Age : 48
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

http://myanimelist.net/profile/Eric_of_Atrophy

Back to top Go down

Would someone be so kind as to help me with the logs? Empty Re: Would someone be so kind as to help me with the logs?

Post by daveyeisley on Thu Jun 25, 2009 9:22 pm

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
daveyeisley
Ludicrous Level
Ludicrous Level

. : Dungeon Master
Male Number of posts : 6926
Age : 43
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
. : Would someone be so kind as to help me with the logs? Forum_donor
Registration date : 2008-06-03

Back to top Go down

Would someone be so kind as to help me with the logs? Empty Re: Would someone be so kind as to help me with the logs?

Post by MannyJabrielle on Thu Jun 25, 2009 9:23 pm

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
MannyJabrielle
Ludicrous Level
Ludicrous Level

. : Dungeon Master
Male 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

Back to top Go down

Would someone be so kind as to help me with the logs? Empty Re: Would someone be so kind as to help me with the logs?

Post by daveyeisley on Thu Jun 25, 2009 9:27 pm

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 Razz

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
daveyeisley
Ludicrous Level
Ludicrous Level

. : Dungeon Master
Male Number of posts : 6926
Age : 43
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
. : Would someone be so kind as to help me with the logs? Forum_donor
Registration date : 2008-06-03

Back to top Go down

Would someone be so kind as to help me with the logs? Empty Re: Would someone be so kind as to help me with the logs?

Post by MannyJabrielle on Thu Jun 25, 2009 9:32 pm

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.
MannyJabrielle
MannyJabrielle
Ludicrous Level
Ludicrous Level

. : Dungeon Master
Male 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

Back to top Go down

Would someone be so kind as to help me with the logs? Empty Re: Would someone be so kind as to help me with the logs?

Post by RustyDios on Fri Jun 26, 2009 4:46 pm

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....
RustyDios
RustyDios
High Epic Level
High Epic Level

Male Number of posts : 2271
Age : 36
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)
. : Would someone be so kind as to help me with the logs? Forum_donor
Registration date : 2008-07-28

Back to top Go down

Would someone be so kind as to help me with the logs? Empty Re: Would someone be so kind as to help me with the logs?

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum