Page 3 of 10 FirstFirst 12345678910 LastLast
Results 41 to 60 of 182

Thread: ATVTW - Trait/Ancillary Validator

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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by Caligula Caesar View Post
    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
    I think you posted this in the wrong thread, as the only ordering in this program is based on the order in EDCT and EDA.

    Quote Originally Posted by Aradan View Post
    Still getting an error trying to run the tool's latest version (that's on XP SP3). Any trooble-shooting ideas?
    I've run it on both XP and Vista and haven't had any problems. The only suggestions I have are make sure that the TWLibrary.dll is in the same directory as as the exe, for some reason I've never been able to make it work in the sys32 folder, and make sure you have local admin privileges. What's the exact error that you're getting?

    Quote Originally Posted by Stuie View Post
    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.


    It seems to be having problems reading descr_beliefs.txt. Do you have it open for editing in some program or something? I'll look into but I don't see any problems and have tested it at least on vanilla BI with no problems.
    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. #42
    Stuie's Avatar Laudir Agus Mir
    Join Date
    Sep 2004
    Location
    Upper Gwynedd, PA
    Posts
    1,000

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by Sqυιd View Post
    It seems to be having problems reading descr_beliefs.txt. Do you have it open for editing in some program or something? I'll look into but I don't see any problems and have tested it at least on vanilla BI with no problems.
    You were right; I removed descr_beliefs.txt from the mod folder and now it works. Does it truly need the descr_beliefs.txt file? Will I be missing something?

    Thanks for the tool - very sweet!!

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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Could you post your descr_beliefs so I can figure out why it was crashing for you? As for what it isn't checking, it won't check to make sure that the religions in the religious_order or religious_belief lines are correctly spelt.
    Last edited by Squid; November 22, 2009 at 04:11 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. #44
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Nvm about the file, I was able to figure out the problem, I had a bad check in the read of descr_beliefs, I'll release a fix when I get a chance.
    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

  5. #45
    Stuie's Avatar Laudir Agus Mir
    Join Date
    Sep 2004
    Location
    Upper Gwynedd, PA
    Posts
    1,000

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by Sqυιd View Post
    Nvm about the file, I was able to figure out the problem, I had a bad check in the read of descr_beliefs, I'll release a fix when I get a chance.
    Cool! And thanks again. I was attributing the problem to user error.

  6. #46
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: ATVTW - Trait/Ancillary Validator

    I'm pretty sure every error reported so far as been a case of programmer error!! This one is one of those errors where I'd made changes elsewhere in the code and thought I'd adjusted the rest of the code to compensate, but obviously missed one
    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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Quote Originally Posted by Sqυιd View Post
    I think you posted this in the wrong thread, as the only ordering in this program is based on the order in EDCT and EDA.
    Sorry, I did, yes. I wanted to post it in the settlement coordinator thread
    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!

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

    Default Re: ATVTW - Trait/Ancillary Validator

    I'm trying to get this to run, but it throws up an exception whenever I try to load up anything:

    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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
    at System.ThrowHelper.ThrowArgumentOutOfRangeException()
    at System.Collections.Generic.List`1.get_Item(Int32 index)
    at ATVTW.OpenSettingsForm.btnOpen_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.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.4200 (NetFxQFE.050727-4200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Fra...7/mscorlib.dll
    ----------------------------------------
    ATVTW
    Assembly Version: 2.0.3.30
    Win32 Version: 2.0.3.30
    CodeBase: file:///C:/Program%20Files/The%20Cre.../FOE/ATVTW.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL...dows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL...089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL...em.Drawing.dll
    ----------------------------------------
    TWLibrary
    Assembly Version: 1.0.3.32
    Win32 Version: 1.0.3.32
    CodeBase: file:///C:/Program%20Files/The%20Cre.../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...ystem.Core.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL...System.Xml.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.


    Am I doing something wrong?
    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!

  9. #49
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: ATVTW - Trait/Ancillary Validator

    My guess is you had just deleted or added some new settings. There's a bug with the current version that it can cause a crash. I have it fixed but haven't had time to either test or release it as I've been fixing other stuff. If you close the program and re-start it that should fix the problem because it will re-read the settings properly.
    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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    No, I actually haven't got it to work at all. If I select C:.../FOE/FOE/, it doesn't find the files. If I select C:.../FOE/FOE/Data/, it throws up an exception and doesn't load, even if I restart.
    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!

  11. #51
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Maybe I'm not understanding when exactly this crash is happening. From the error dialog you posted you've selected a setting in the Open Settings window and pressed the Open button. Is that correct?

    Now the next question is what are you doing before selecting the settings. Are you right clicking and creating a new settings? Are you deleting old settings? If you create a new setting or delete an old setting in the Open Settings window you have to close ATVTW before things will work again. To create a new setting you should use the new settings button or menu option. If you're doing something else please let me know.
    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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    Well, I tried again by doing as you said (restarting) and it either threw up an exception or didn't find any files.
    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!

  13. #53
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: ATVTW - Trait/Ancillary Validator

    I'm going to be releasing a new version within a few days (a week is probably the longest) so you can wait for that and then see if you still have the crash. If you still have the crash at that point I'm willing to try a remote desktop (using teamviewer) so I can see what exactly what's going on and hopefully fix it.
    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

  14. #54
    Muizer's Avatar member 3519
    Patrician Artifex Magistrate

    Join Date
    Apr 2005
    Location
    Netherlands
    Posts
    11,076

    Default Re: ATVTW - Trait/Ancillary Validator

    @Squid: Concerning CC's problem, could it be caused by the fact that the folder containing the data folder is not in the same folder as the BI and other mod-folders? Mine is and (RTW/FoE/Data) and it works ok for me.
    "Lay these words to heart, Lucilius, that you may scorn the pleasure which comes from the applause of the majority. Many men praise you; but have you any reason for being pleased with yourself, if you are a person whom the many can understand?" - Lucius Annaeus Seneca -

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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    The program doesn't check for any of that. You could have c:\CallTheDirectoryAnythingYouWant as your "data" directory and it would fine provided all the files are there. The one possibility that isn't checked in the current version is if the file is not able to be opened.
    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. #56

    Default Re: ATVTW - Trait/Ancillary Validator

    Any idea why the tool would not report a trigger activating a non-existent trait?

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

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

    Default Re: ATVTW - Trait/Ancillary Validator

    A bug in the tool most likely. Is it any non-existant trait or does it happen with a particular one?
    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. #58

    Default Re: ATVTW - Trait/Ancillary Validator

    I've tried inserting two-three non-existent traits in differently formatted triggers (different number of conditions, events, etc) and it didn't catch any of them, so I guess the former.


    EDIT: Also, on NI, I get an Unhandled exception error when loading ATVTW with the following log:

    Code:
    ************** 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)
    Last edited by Aradan; February 02, 2010 at 02:57 PM.

  19. #59
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

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

    Default Re: ATVTW - Trait/Ancillary Validator

    I figured out the non-existant trait (and ancillary) bug, I'd incorrectly set a flag for determining if the affect line is an acquireancillary or affects line and hence neither the trait name nor ancillary name were ever being checked to see if they were valid.
    Last edited by Squid; February 02, 2010 at 04:18 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

  20. #60

    Default Re: ATVTW - Trait/Ancillary Validator

    Great! Thx for the fast response.

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
  •