[Rel] ConScribe

Post » Wed Mar 09, 2011 7:51 am

http://www.tesnexus.com/downloads/file.php?id=26510

Version 3.0 is out !


Change Log

3.0 - Replaced Prefixes with an INI file; Option to use 24 Hour time notation in log names
2.0 - Renamed prefix PerGame to PerSession ; Added new prefix PerSessionEx
1.0 - Initial Release

User avatar
MARLON JOHNSON
 
Posts: 3377
Joined: Sun May 20, 2007 7:12 pm

Post » Tue Mar 08, 2011 10:22 pm

...
:icecream: to you. :)
User avatar
ANaIs GRelot
 
Posts: 3401
Joined: Tue Dec 12, 2006 6:19 pm

Post » Tue Mar 08, 2011 10:06 pm

3.0 - Replaced Prefixes with an INI file; Option to use 24 Hour time notation in log names


Where is that INI-file?
Didn't find one in the archive. :(



Anyway, great Plugin. Will continue using v2 until I find that INI-file. ;)



PS:
I think you should change the OBMM-Script to sth. like this (last part is for renaming):
IfNot ScriptExtenderNewerThan 0.0.18.2   Message "This mod requires Oblivion Script Extender v0018 or higher to work." "Warning"    FatalErrorEndIf DontInstallAnyDataFilesSelect "Which logging mode do you want to use?" "Per Game Load" "|Per Game Session" "Only one Log-File"	Case Per Game Load		CopyDataFile "OBSE\\Plugins\\ConScribe.dll" "OBSE\\Plugins\\ConScribe_PerLoad.dll"	Break	Case Per Game Session		CopyDataFile "OBSE\\Plugins\\ConScribe.dll" "OBSE\\Plugins\\ConScribe_PerSession.dll"	Break	Case Only one Log-File		CopyDataFile "OBSE\\Plugins\\ConScribe.dll" "OBSE\\Plugins\\ConScribe_PerSessionEx.dll"	BreakEndSelect

User avatar
Leilene Nessel
 
Posts: 3428
Joined: Sun Apr 15, 2007 2:11 am

Post » Wed Mar 09, 2011 12:46 pm

Where is that INI-file?
Didn't find one in the archive. :(
Ini will be generated next time you start Oblivion.
User avatar
ImmaTakeYour
 
Posts: 3383
Joined: Mon Sep 03, 2007 12:45 pm

Post » Wed Mar 09, 2011 6:27 am

Ini will be generated next time you start Oblivion.


But ... I want to use it right now. :sad:


Thanks for the tip. :)
Guess I have to use some tricks when I create my Omod. :hehe:
User avatar
Tammie Flint
 
Posts: 3336
Joined: Mon Aug 14, 2006 12:12 am

Post » Wed Mar 09, 2011 1:31 am

Where is that INI-file?
Didn't find one in the archive. :(
Read the readMe, wicked child :nono:

I think you should change the OBMM-Script to sth. like this (last part is for renaming):
I would have, if only OBMM started up faster :brokencomputer: Not necessary now in any case.
User avatar
Sarah Bishop
 
Posts: 3387
Joined: Wed Oct 04, 2006 9:59 pm

Post » Wed Mar 09, 2011 12:03 pm

Read the readMe, wicked child :nono:


Looking at the archive comes before reading the readme. ;)

I would have, if only OBMM started up faster :brokencomputer: Not necessary now in any case.


Just edit the Script.txt in the omod conversion data-folder. Works like a charm. :)


btw.: deactivating the conflict-coloring (don't know how it's called) increases OBMM-Start-Speed incredibly. :)
User avatar
~Amy~
 
Posts: 3478
Joined: Sat Aug 12, 2006 5:38 am

Post » Wed Mar 09, 2011 10:27 am

Just edit the Script.txt in the omod conversion data-folder. Works like a charm. :)
Really ? IIRC, OBMM stopped detecting the script completely when I did that.

btw.: deactivating the conflict-coloring (don't know how it's called) increases OBMM-Start-Speed incredibly. :)
That, unfortunately, is the only thing I use OBMM for :D
User avatar
Chenae Butler
 
Posts: 3485
Joined: Sat Feb 17, 2007 3:54 pm

Post » Wed Mar 09, 2011 10:46 am

ok if i try to install this as a OMOD i get this : Invalid argument to function 'If ScriptExtenderNewerThan' on line 0 WTF and i download v3.0 and i dont see a ini eather
User avatar
Brooke Turner
 
Posts: 3319
Joined: Wed Nov 01, 2006 11:13 am

Post » Wed Mar 09, 2011 2:04 am

Really ? IIRC, OBMM stopped detecting the script completely when I did that.


Maybe because your Text-Editor svcks and adds some (invisible) characters. Try using Notepad.exe, works as a charm for me. :)



@Cogstar:
Right-Click on the omod and chose View Script. Change this line
IfNot ScriptExtenderNewerThan 0.0.1.8.2

to this:
IfNot ScriptExtenderNewerThan 0.0.18.2

User avatar
Joie Perez
 
Posts: 3410
Joined: Fri Sep 15, 2006 3:25 pm

Post » Tue Mar 08, 2011 10:24 pm

I just experienced a CTD with the ConScribe.dll, it happened when I used something like this (I was checking a few string variables in the scripts)
PrintC "%z" stringVar
And the stringVar was uninitialized. I figured it might be a bug of sorts cause everything works fine (and by that I mean no crashy) without ConScribe active.
User avatar
hannah sillery
 
Posts: 3354
Joined: Sun Nov 26, 2006 3:13 pm

Post » Wed Mar 09, 2011 5:32 am

I just experienced a CTD with the ConScribe.dll, it happened when I used something like this (I was checking a few string variables in the scripts)
PrintC "%z" stringVar
And the stringVar was uninitialized. I figured it might be a bug of sorts cause everything works fine (and by that I mean no crashy) without ConScribe active.
Fixed. Thanks :foodndrink:

http://www.tesnexus.com/downloads/file.php?id=26510

Version 3.0a is out !


Change Log

3.0a - Fixed a null pointer crash
3.0 - Replaced Prefix notation with an INI file; Option to use 24 Hour time notation in log names
2.0 - Renamed prefix PerGame to PerSession ; Added new prefix PerSessionEx
1.0 - Initial Release
A few undocumented changes/additions as well.
User avatar
chirsty aggas
 
Posts: 3396
Joined: Wed Oct 04, 2006 9:23 am

Post » Wed Mar 09, 2011 4:09 am

Fixed. Thanks :foodndrink:
That easy ey? :P
User avatar
xemmybx
 
Posts: 3372
Joined: Thu Jun 22, 2006 2:01 pm

Post » Wed Mar 09, 2011 12:00 am

That easy ey? :P
Yeah. Just added a catch to stop function processing when the issue pops up.

3.0a should have the filters I was talking to you about the other day - Delete you're INI and let it regenerate.
  • sIncludes - Keywords that should be present in the message. Atleast one should be found when provided with more than one.
  • sixcludes - Keywords that shouldn't be present. The message shouldn't contain any of the keywords.
Delimited by ; (make sure you add a leading delimiter)
User avatar
Joanne
 
Posts: 3357
Joined: Fri Oct 27, 2006 1:25 pm

Post » Wed Mar 09, 2011 7:09 am

Yeah. Just added a catch to stop function processing when the issue pops up.

3.0a should have the filters I was talking to you about the other day - Delete you're INI and let it regenerate.
  • sIncludes - Keywords that should be present in the message. Atleast one should be found when provided with more than one.
  • sixcludes - Keywords that shouldn't be present. The message shouldn't contain any of the keywords.
Delimited by ; (make sure you add a leading delimiter)
But I like my ini! :sad:

Anyways, I got another request, well more of a question. Since ConScribe is already capable of logging things that are typed in the console, would it be possible to extend it to also log things that are used in batch scripts? I know it normally doesn't appear in the console (unless you have it open when RunBatchScript is called) but I figured it might be possible. :shrug:

-kyoma
User avatar
Emma Parkinson
 
Posts: 3401
Joined: Wed Jul 26, 2006 5:53 pm

Post » Tue Mar 08, 2011 10:00 pm

Since ConScribe is already capable of logging things that are typed in the console, would it be possible to extend it to also log things that are used in batch scripts? I know it normally doesn't appear in the console (unless you have it open when RunBatchScript is called) but I figured it might be possible. :shrug:
I don't think so, from what I can make of the function. The calling procedure seems to bypass the console printing subroutine. I'll take a closer look. In any case, it's quite improbable as it'll probably require editing the batch script function's code.

I'm writing a new function that logs output to logs specific to the calling script - You want ?
User avatar
Joanne Crump
 
Posts: 3457
Joined: Sat Jul 22, 2006 9:44 am

Post » Wed Mar 09, 2011 3:16 am

I don't think so, from what I can make of the function. The calling procedure seems to bypass the console printing subroutine. I'll take a closer look. In any case, it's quite improbable as it'll probably require editing the batch script function's code.
Meh it wasn't really important, just wondering. :shrug:

I'm writing a new function that logs output to logs specific to the calling script - You want ?
Ohhh yes, me wantzzzzzz. :wub:
User avatar
candice keenan
 
Posts: 3510
Joined: Tue Dec 05, 2006 10:43 pm

Post » Wed Mar 09, 2011 12:00 pm

I'm a bit confused. I installed the Conscribe omod and enabled it, and I ran Oblivion while testing. I cannot find any log.
User avatar
ILy- Forver
 
Posts: 3459
Joined: Sun Feb 04, 2007 3:18 am

Post » Wed Mar 09, 2011 4:58 am

I'm a bit confused. I installed the Conscribe omod and enabled it, and I ran Oblivion while testing. I cannot find any log.
Default logging mode is PerSessionEx, which logs messages to the ConScribe.log file in your Oblivion directory. You may change that in the INI file( which is found in the same directory as the plugin )
User avatar
Undisclosed Desires
 
Posts: 3388
Joined: Fri Mar 02, 2007 4:10 pm

Post » Wed Mar 09, 2011 4:32 am

Default logging mode is PerSessionEx, which logs messages to the ConScribe.log file in your Oblivion directory. You may change that in the INI file( which is found in the same directory as the plugin )

Ah, okay I see the log file now.
User avatar
Tracy Byworth
 
Posts: 3403
Joined: Sun Jul 02, 2006 10:09 pm

Post » Wed Mar 09, 2011 8:06 am

In conformance to http://www.gamesas.com/bgsforums/index.php?s=&showtopic=1038730&view=findpost&p=15075101 post ...

What would be the preferred syntax of Scribe (the primary output function offered by the plugin) ?

Scribe formatString:string variables:var1,var2...var20 printToConsole:bool scribeMode:int ;where scribeMode =
  • Scribe to registered log
  • Scribe to per-script log
or

Scribe formatString:string variables:var1,var2...var20 printToConsole:bool scribeToPerScriptLog:bool
User avatar
Soku Nyorah
 
Posts: 3413
Joined: Tue Oct 17, 2006 1:25 pm

Post » Wed Mar 09, 2011 4:44 am

In conformance to http://www.gamesas.com/bgsforums/index.php?s=&showtopic=1038730&view=findpost&p=15075101 post ...

What would be the preferred syntax of Scribe (the primary output function offered by the plugin) ?

Scribe formatString:string variables:var1,var2...var20 printToConsole:bool scribeMode:int ;where scribeMode =
  • Scribe to registered log
  • Scribe to per-script log
or

Scribe formatString:string variables:var1,var2...var20 printToConsole:bool scribeToPerScriptLog:bool
I'd say use scribeMode:int, easier to expand later on. Although why not have the scribeMode start at 0 and have that as its default value (to allow omitting)? That way, it'll function the same as a scribeToPerScriptLog:bool. :shrug:
User avatar
Conor Byrne
 
Posts: 3411
Joined: Wed Jul 11, 2007 3:37 pm

Post » Wed Mar 09, 2011 8:30 am

You can't start an ordered list with zero in bbCode ;)
User avatar
Taylah Illies
 
Posts: 3369
Joined: Fri Feb 09, 2007 7:13 am

Post » Wed Mar 09, 2011 8:28 am

You can't start an ordered list with zero in bbCode ;)
Right, I knew that. :P
User avatar
Rhi Edwards
 
Posts: 3453
Joined: Fri Jul 28, 2006 1:42 am

Post » Wed Mar 09, 2011 2:01 am

Just posting to say thanks for such a useful utility. :D
User avatar
Alberto Aguilera
 
Posts: 3472
Joined: Wed Aug 29, 2007 12:42 am

PreviousNext

Return to IV - Oblivion