Results 1 to 6 of 6

Thread: [Tool] Trait Description Validator

  1. #1

    Default [Tool] Trait Description Validator

    Sometimes, if you happen to add dozens of new traits, you accidentally mistype a description reference. Result? Errorless CTD and following that, a few hours of pulling out your hair. If you happen to be in need of something like this, worry no more:

    Code:
    Validator © by RedFox
    Opening Stream... export_descr_character_traits.txt
    Scanning...................................................................
    ...........................................................................
    .............................
    >>ERROR: line 6583, no description for: 'Loyalty_Suppress'
    .
    >>ERROR: line 6596, no description for: 'Loyalty_Allow'
    ..........
    >>ERROR: line 6815, no description for: 'gRebelGeneral'
    .
    >>ERROR: line 6828, no description for: 'gNotRebelGeneral'
    ...........................................................................
    >>ERROR: line 9113, no description for: 'Study_in_Taxila1'
    .
    >>ERROR: line 9136, no description for: 'Study_in_Alexandria1'
    .
    >>ERROR: line 9159, no description for: 'Study_in_Pergamum1'
    .
    >>ERROR: line 9181, no description for: 'Study_in_Athens1'
    .
    >>ERROR: line 9203, no description for: 'Study_in_Istakhr1'
    ...................................
    >>ERROR: line 9917, no description for: 'Roman2'
    ...........................................................................
    ...........................................................................
    >>ERROR: line 13306, no description for: 'CivilWarSideWithRulerGreek'
    .
    >>ERROR: line 13319, no description for: 'CivilWarSideWithRebelGreek'
    
    Task completed! Check ErrorLogTraits.txt for all Errors.
    Press any key to continue . . .
    Just put this little program to your modfolder. It will search for >\data\export_descr_character_traits.txt and >\data\text\export_VnVs.txt

    Hope some of you find this program at least a little bit useful.
    Attached Files Attached Files
    Last edited by RedFox; 04-12-2009 at 00:05.

  2. #2
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Re: [Tool] Trait Description Validator

    It's nice that you put together a program that does this, but the ATVTW Program already includes this functionality in addition to checking for various other errors in traits, trait triggers, ancillaries and ancillary triggers.
    Last edited by Squid; 04-13-2009 at 21:39.

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

  3. #3

    Default Re: [Tool] Trait Description Validator

    *cough*insert a joke about Squid's far-reaching tentacales here*cough* :)
    RTR VII Developer

  4. #4

    Default Re: [Tool] Trait Description Validator

    Yeah, but this doesn't crash if your export_descr_character_traits.txt is 100,000 lines long and it does the task without much hassle very fast. ;)
    Last edited by RedFox; 04-14-2009 at 13:57.

  5. #5
    Anything that isn't 'member' Member Squid's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    596

    Default Re: [Tool] Trait Description Validator

    Neither does ATVTW, it works perfectly fine on EB's EDCT which is over 200,000 lines, so whatever problem you have is not related to the length of the file.

    If you would have reported the error, and told me (or sent me) the set of files which caused the crash I could and would fix it.
    Last edited by Squid; 04-14-2009 at 16:19.

    -Trait/Ancillary/Building Editor

    "Two things are infinite: the universe and human stupidity;
    and I'm not sure about the universe." -----Albert Einstein

  6. #6

    Default Re: [Tool] Trait Description Validator

    If I recall correctly, it froze and crashed while it was going through the ridiculous amount of triggers. If you want to test them, you can take a look at XGM's XC submod which features the same set of traits.
    Last edited by RedFox; 04-14-2009 at 21:29.

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