Page 2 of 10 FirstFirst 12345678910 LastLast
Results 21 to 40 of 182

Thread: ATVTW - Trait/Ancillary Validator

  1. #21
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by CaesarVincens View Post
    Hm. I just know that when I did not have the lookup files, it wouldn't start, but when I created the files (blank), I got the error. So, if they aren't necessary, they were at least blocking the real error.
    Argg!! You're right, I have my missing file check looking for the lookup files instead of the ones in the text folder!!

    I'll post the files as soon as I get a chance.

    EDIT:
    Here are the files I was using when I got the first error. I was using a slightly different set when I got the second, though it may be that the first error is covering the second.
    Thanks, I'll use these to find the problem. We're you using a BI or RTW based mod for these files.
    Last edited by Squid; November 01, 2009 at 08:56 PM.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  2. #22

    Default Re: ATVTW - Trait/Ancillary Validator

    For the first error, I was using a neutral build (i.e. no .exe present), but I got the second error testing on the BI version.

    The files I sent you should work for any .exe however. There aren't any changes between versions for that set. (Hooray for all .exe compatible mods!)

    Thanks for going through this, Squid.

    Expand your borders, a mod based on XGM 5.

  3. #23
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Version 2.0.1

    This is a bug fix release, all bugs that people have posted, as well as some others have been fixed as were some other issues I noticed.

    Changes from 2.0 Versions:

    • Fixed display errors with Affects/Effects/Conditions that have errors or warnings
    • Updated message in status textbox when first running ATVTW
    • Fixed missing file check to look for the enum files instead of the enum lookup files
    • Fixed reading the enums so that lines that don't start with an enum header (e.g. {stuff}) are ignored)
    • Fixed bug with BI campaign files where the program checked for BI campaign files (descr_regions & descr_strat) but tried to open imperial_campaign versions of them
    • Fixed bug where settlement names were being checked even if no settlement files had been read
    • Fixed bug where ancillary images were being checked even in no ancillary image file names had been read

    Go to the first post to get the new version.
    Last edited by Squid; November 08, 2009 at 02:36 PM.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  4. #24

    Default Re: ATVTW - Trait/Ancillary Validator

    Excellent, works much better, although I am getting an error about city names. I did not code them myself, but I know Suppanut (our trait coder) knows his trade well. I'm not sure what files you need to check that, but it's rather annoying when the validator says that all of the city names are wrong (and I mean every single one).

    Expand your borders, a mod based on XGM 5.

  5. #25
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Are these the same files you uploaded earlier in the thread? If so could you also post the descr_regions.txt and descr_strat.txt as those are the two files which are used to generate the settlement names.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  6. #26

    Default Re: ATVTW - Trait/Ancillary Validator

    They are the same. Here are descr_regions and descr_strat.

    Expand your borders, a mod based on XGM 5.

  7. #27
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Are you sure its city names? The only consistent errors I get on your files (both with and without the descr_strat/descr_regions) are errors with the I_CharacterTypeNearTile conditions (and its all of them) due to a problem with my validator parsing the condition, which I'm not sure how to fix yet.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  8. #28
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Version 2.0.2

    This is a bug fix release, all bugs that people have posted, as well as some others have been fixed as were some other issues I noticed.

    Changes from 2.0.1 Version:

    • Changed AboutForm to display the build information separately
    • Fixed the parsing of conditions to correctly parse the I_CharacterTypeNearTile Condition
    • Fixed various formatting errors in the error/warning messages for levels
    • Fixed enums with no <tab> after the } not being read correctly
    • Fixed levels not being error checked

    Go to the first post to get the new version.
    Last edited by Squid; November 09, 2009 at 11:59 AM.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  9. #29

    Default Re: ATVTW - Trait/Ancillary Validator

    I'll run it again with the new version and let you know.

    Expand your borders, a mod based on XGM 5.

  10. #30

    Default Re: ATVTW - Trait/Ancillary Validator

    City names keep coming up. In a short while, I can give you the whole mod to check (via installer).

    Expand your borders, a mod based on XGM 5.

  11. #31

    Default Re: ATVTW - Trait/Ancillary Validator

    Hey, thank you very much for the new versions. Your old version has saved us from many CTDs.

    Only a couple of comments.

    -It has detected as incorrect this trait trigger:
    Condition I_FactionNearTile slave 0 248,211

    I thought it was working, but I'm not sure. Can you tell me the right way to write it.

    -It also detects the effect: Combat_V_Romans as invalid. This one I'm almost sure that works right, since it is the bonus against Orcs in our mod, and most of our ancillaries use it.

    -The DS parser stops with the error Trait Factionleader not defined, when this is copied from vanilla and seems to be right.

    Btw, it is great the new feature to see more than one error at a atime.

  12. #32
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by Bardo View Post
    -It has detected as incorrect this trait trigger:
    Condition I_FactionNearTile slave 0 248,211
    Likely an error in coding on my part based on the docudemons. I do think this is another instance of the docudemons being wrong, as I don't think the comma is required. I'm going to test it to find out for sure, but at least for now I'll fix my code.

    -It also detects the effect: Combat_V_Romans as invalid. This one I'm almost sure that works right, since it is the bonus against Orcs in our mod, and most of our ancillaries use it.
    Its supposed to be Combat_V_Roman not Romans as the attributes are defined as Combat_V_culture_name.

    -The DS parser stops with the error Trait Factionleader not defined, when this is copied from vanilla and seems to be right.
    Well, you shouldn't need to ever put the Factionleader trait (or Factionheir) in DS, the character record which defines a character as leader and heir automatically gives the correct traits to the characters, but I'd be curious to see a screen of the error and the actual line of code copied into code tags.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  13. #33

    Default Re: ATVTW - Trait/Ancillary Validator

    Ouch, you are right about Combat_V_Roman. I should have verified before posting.

    I have verify the condition:
    Code:
    I_FactionNearTile slave 0 248,211
    and it works for sure.

    And thanks for point the Factionleader issue. Then, there is no error in your program. When I said the DS parser stoped, probably it was it finished and it only found this error:
    Code:
    Line 2887 - Error: Trait FactionLeader is not defined
    Top tool!

  14. #34
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by Bardo View Post
    Code:
    Line 2887 - Error: Trait FactionLeader is not defined
    Top tool!
    It should have been a lower case L, that's why it was giving you an error, as the trait name is Factionleader.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  15. #35
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    Version 2.0.3

    This is a minor bug fix release.

    Changes from 2.0.2 Version:

    • Fixed parsing error with AgentType condition
    • Fixed parsing error with I_FactionNearTile condition

    Go to the first post to get the new version.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  16. #36

    Default Re: ATVTW - Trait/Ancillary Validator

    What is an 'orphaned trait' and what is its effects? I had a problem with TE Extreme Mod and compared with original TE Gold,and TE Extreme which keeps crashing has 'senate type' traits orphaned which TE Gold does not. Changing descr_character_traits to original TE Gold txt seems to stop the crashes,so wondering now does orphaned traits create CTDs?
    RIP Andy aka "Calvin",sorely missed by many.
    Hoping all of your guys and girls out there are OK and your family in RL?

  17. #37
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,741
    Blog Entries
    3

    Default Re: ATVTW - Trait/Ancillary Validator

    An orphaned trait/ancillary is just one that cannot be acquired through the triggers defined in EDCT/EDA.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  18. #38
    Caligula Caesar's Avatar Horse Lord
    Join Date
    Dec 2008
    Location
    England
    Posts
    5,510

    Default Re: ATVTW - Trait/Ancillary Validator

    Would it be possible to have options on how it is ordered? So ordered by cities, regions or descr_regions. This would make it quite a bit easier to use, since I have a well-ordered descr_regions
    RTR-VII Team Leader and Leader of Fortuna Orbis, an RTR Submod

    "History has only one concern and aim, and that is the useful; which again has one single source, and that is truth." -Lucian of Samosata

    Fortuna Orbis Beta is released!

  19. #39

    Default Re: ATVTW - Trait/Ancillary Validator

    Still getting an error trying to run the tool's latest version (that's on XP SP3). Any trooble-shooting ideas?

  20. #40
    Stuie's Avatar Laudir Agus Mir
    Join Date
    Sep 2004
    Location
    Upper Gwynedd, PA
    Posts
    990

    Default Re: ATVTW - Trait/Ancillary Validator

    I can't seem to run this for anything but the Vanilla data folder. Keep getting errors like this even when targeting the BI data folder:

    Spoiler Alert, click show to read: 
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
    at ATVTW.CustomLists.RTWReligion(Options options, Settings settings)
    at ATVTW.CustomLists.readReligions(Options options, Settings settings)
    at ATVTW.CustomLists..ctor(Options options, Settings settings)
    at ATVTW.ATVTWForm.LoadHardcodedAndCustomLists()
    at ATVTW.ATVTWForm.ucParseFiles_Click(Object sender, EventArgs e)
    at ATVTW.ATVTWForm.SetSettingsAndParseFiles(Settings settings)
    at ATVTW.ATVTWForm.mnuFileOpen_Click(Object sender, EventArgs e)
    at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
    at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    ATVTW
    Assembly Version: 2.0.3.30
    Win32 Version: 2.0.3.30
    CodeBase: file:///C:/Program%20Files/Activision/ATVTW.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    TWLibrary
    Assembly Version: 1.0.3.32
    Win32 Version: 1.0.3.32
    CodeBase: file:///C:/Program%20Files/Activision/TWLibrary.DLL
    ----------------------------------------
    System.Core
    Assembly Version: 3.5.0.0
    Win32 Version: 3.5.30729.1 built by: SP
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •