Results 1 to 9 of 9

Thread: .bat file issue.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: .bat file issue.

    Try enabling error tracing and see which trigger fired last.
    I only know that stuff from scripting where you have to be careful you don't trigger on stuff that is not yet in the game, but that can hardly be the case in the trait file because you have to trigger on a character export.

  2. #2
    Senior Member Senior Member Carl's Avatar
    Join Date
    Dec 2006
    Posts
    1,461

    Default Re: .bat file issue.

    How do you enable error tracing?

    Sorry for the dumb question.

    The annoying thing is that the exact same file works without a hitch in my Rebuild ProblemFixer. It's actually the same file with a couple of traits and their respective triggers commented out.
    Find my ProblemFixer Purehere.

    This ProblemFixer fixes the following: 2-Hander bug, Pike Bug, Shield Bug, Chasing Routers, Cav not Charging, Formation Keeping Improved, Trait Bugs, and Ancillary Bugs.

    BETA Testers needed for the current version of RebuildProblemFixer. Thread here

  3. #3
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: .bat file issue.

    Chances are you probably didn't remove them from descr_strat then

    Tracing can be enabled by using level = * trace or if you want to only see scripting messages (highly recommended by myself if you use it) level = game.script.*

  4. #4
    Senior Member Senior Member Carl's Avatar
    Join Date
    Dec 2006
    Posts
    1,461

    Default Re: .bat file issue.

    Managed to fix it. I uncommented the traits I'd commented out, but left the triggers commented out and it worked.

    Not a Descr_Strat file issue though as i checked. The best guess I can make is that something in the ancillaries file needs one of those traits. can't think what it could be though as I've barely touched it.

    Thanks for the help Alpaca.

    As a quick last question: What are the various levels of error checking and is any one best? I was advised to always leave it on debug, (although i tried it on trace setting like you suggested with no luck).
    Find my ProblemFixer Purehere.

    This ProblemFixer fixes the following: 2-Hander bug, Pike Bug, Shield Bug, Chasing Routers, Cav not Charging, Formation Keeping Improved, Trait Bugs, and Ancillary Bugs.

    BETA Testers needed for the current version of RebuildProblemFixer. Thread here

  5. #5
    Harbinger of... saliva Member alpaca's Avatar
    Join Date
    Aug 2003
    Location
    Germany
    Posts
    2,767

    Default Re: .bat file issue.

    The progression is trace<info<warn<debug<err<fatal<always
    Usually, the most useful one is level = * err or level = * error because it will show you the errors you make (like spelling mistakes and so on) without giving a lot of unnecessary info. However, if you're creating triggers or scripts and want to test them you should use level = game.script.* trace as it will yield all the info about the scripting side of the game, including triggers.
    I don't think there are any debug messages in the retail exe so debug is the same level as err
    The warn level can be useful sometimes if you want info about missing files and so on but you'll have to dig through a lot of stuff to find it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO