Generic EA Roster Editor - Operation Sports Forums

Generic EA Roster Editor

Collapse
This is a sticky topic.
X
X
 
  • Time
  • Show
Clear All
new posts
  • cujo0622
    Rookie
    • Jul 2009
    • 80

    #391
    Re: Generic EA Roster Editor

    hey guys im just starting a new season and till now the editor has worked flawlesly for me but now i try to load a new season(preseason with recruiting already started) but keep running into this error as soon as i try to upload a file...

    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.ArgumentException: An item with the same key has already been added.
    at System.Collections.Generic.Dictionary`2.Insert(TKe y key, TValue value, Boolean add)
    at EA_DB_Editor.Form1.PostProcessMaps()
    at EA_DB_Editor.Form1.openToolStripMenuItem_Click(Obj ect sender, EventArgs e)
    at System.Windows.Forms.ToolStripMenuItem.OnClick(Eve ntArgs e)
    at System.Windows.Forms.ToolStripItem.HandleClick(Eve ntArgs e)
    at System.Windows.Forms.ToolStripItem.HandleMouseUp(M ouseEventArgs e)
    at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEven tArgs mea)
    at System.Windows.Forms.ToolStripDropDown.OnMouseUp(M ouseEventArgs 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.ToolStrip.WndProc(Message& m)
    at System.Windows.Forms.ToolStripDropDown.WndProc(Mes sage& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1008 (RTMGDR.030319-1000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
    ----------------------------------------
    EA DB Editor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/De%20La%20Cruz/Desktop/dynasty/EA%20DB%20Editor.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1002 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1001 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1001 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1015 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1015 (RTMGDR.030319-1000)
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    NCalc
    Assembly Version: 1.3.8.0
    Win32 Version: 1.3.8.0
    CodeBase: file:///C:/Users/De%20La%20Cruz/Desktop/dynasty/NCalc.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.
    now its only for this certain file and for the life of me cant fiture it out.other files works fine, just not this one..

    Comment

    • Mick-S
      Rookie
      • Apr 2011
      • 338

      #392
      Re: Generic EA Roster Editor

      Originally posted by cujo0622
      now its only for this certain file and for the life of me cant fiture it out.other files works fine, just not this one..
      An item with the same key has already been added.
      had this happen with several different files and havn`t figured out how to cure it or what causes it, but the strange thing is it will still open sometimes in the Dynasty Editor, have you tried that ?

      Comment

      • cujo0622
        Rookie
        • Jul 2009
        • 80

        #393
        Re: Generic EA Roster Editor

        yeah...only way around it ive found is i open up another file that works, then open this one up, and it works, but recruit IDs and names are all messed up...

        Comment

        • PocketScout
          Recruiting App
          • Jun 2010
          • 1392

          #394
          Re: Generic EA Roster Editor

          That error is because there is a glitch in the xml file. I have made my own xml file with a lot of unneeded stuff stripped out and it works fine on all files.
          NCAA 2014: Current Dynasty

          Comment

          • Mick-S
            Rookie
            • Apr 2011
            • 338

            #395
            Re: Generic EA Roster Editor

            Originally posted by PocketScout
            That error is because there is a glitch in the xml file. I have made my own xml file with a lot of unneeded stuff stripped out and it works fine on all files.
            not so sure I agree 100% on that, reason being I am pretty sure that I have used the same XML file on a file that loaded and one that didn`t, I use the same one because I have added a lot of hometowns that were not included.
            I think it`s more likely to be CSV files because after exporting or importing is when I get errors, so now I use the Dynasty Editor for CSV files.
            Last edited by Mick-S; 01-27-2014, 02:49 PM.

            Comment

            • PocketScout
              Recruiting App
              • Jun 2010
              • 1392

              #396
              Re: Generic EA Roster Editor

              The at EA_DB_Editor.Form1.PostProcessMaps() function is called on the initial file loading to map the contents of the dynasty.db file into the tables that are defined in the xml file that you use. If it is crashing on initial load every time it is because of the xml file. I have no experienced it with import export bit I also do very little editing using that method so that is probably more the reason I have never seen that.
              NCAA 2014: Current Dynasty

              Comment

              • cujo0622
                Rookie
                • Jul 2009
                • 80

                #397
                Re: Generic EA Roster Editor

                so...um...how do i fix it...

                Comment

                • Mick-S
                  Rookie
                  • Apr 2011
                  • 338

                  #398
                  Re: Generic EA Roster Editor

                  Originally posted by PocketScout
                  The at EA_DB_Editor.Form1.PostProcessMaps() function is called on the initial file loading to map the contents of the dynasty.db file into the tables that are defined in the xml file that you use. If it is crashing on initial load every time it is because of the xml file. I have no experienced it with import export bit I also do very little editing using that method so that is probably more the reason I have never seen that.
                  well the part I don`t understand is if a XML file is the problem, how can the same XML file work fine with a different USR-DATA.mc02 file.
                  I am creating a roster for the 14/15 season and after doing each position I save the file and make sure it works o.k in the game and then make a back-up before I do any more editing, so I have back-ups so far QBs/HBs/FB/WRs and TEs, it was when I transferred the roster to CSV done some editing and imported it back that I got the error on loading into the editor the next time. not trying to argue with you just saying what I have seen. not a big deal as I said I back-up a lot.
                  also had the error: Object reference not set to an instance of an object.
                  Last edited by Mick-S; 01-27-2014, 04:42 PM.

                  Comment

                  • Mick-S
                    Rookie
                    • Apr 2011
                    • 338

                    #399
                    Re: Generic EA Roster Editor

                    Originally posted by cujo0622
                    so...um...how do i fix it...
                    well
                    1. did you export to csv ?
                    2. did you change anything in the xml file ?
                    3. is there anything else you can think of you done which may have caused the error.

                    Comment

                    • cujo0622
                      Rookie
                      • Jul 2009
                      • 80

                      #400
                      Re: Generic EA Roster Editor

                      Originally posted by Mick-S
                      well
                      1. did you export to csv ?
                      2. did you change anything in the xml file ?
                      3. is there anything else you can think of you done which may have caused the error.
                      nope on csv file..ive used the main dynasty config..and just edit from their..it was weird..i had loaded a file prior to the season ending and everything worked perfectly fine...went through the offseason...started new season and started recruiting...tried to load that file in and ever since been getting that exact same error now...and i cant find a way to fix it now...

                      Comment

                      • PocketScout
                        Recruiting App
                        • Jun 2010
                        • 1392

                        #401
                        Re: Generic EA Roster Editor

                        Ill upload my xml file in an hour when I get home for ya. It doesn't have the roster editing stuff just dynasty stuff.
                        NCAA 2014: Current Dynasty

                        Comment

                        • PocketScout
                          Recruiting App
                          • Jun 2010
                          • 1392

                          #402
                          Re: Generic EA Roster Editor

                          Originally posted by cujo0622
                          nope on csv file..ive used the main dynasty config..and just edit from their..it was weird..i had loaded a file prior to the season ending and everything worked perfectly fine...went through the offseason...started new season and started recruiting...tried to load that file in and ever since been getting that exact same error now...and i cant find a way to fix it now...

                          Give this a try and let me know if it gets it going. I tried to load up a test file and it errored out with the postprocess error using the default xml, but with this one it worked for me. Again this doesn't include roster editing tables just dynasty stuff.

                          Generic Editor Config Files:
                          Right Click and "Save As" HERE to get a config file that eliminates players and many more table decreasing load time by a lot and leaving just the info need to edit Bowls, Teams, Recruits, AI and setup the playoffs. This also fixes the 2 Key error many have had.
                          Last edited by PocketScout; 01-27-2014, 09:13 PM.
                          NCAA 2014: Current Dynasty

                          Comment

                          • cujo0622
                            Rookie
                            • Jul 2009
                            • 80

                            #403
                            Re: Generic EA Roster Editor

                            thanks pocket scout...loaded just right with this now...but where is the tab for recruits if you dont mind me asking???

                            Comment

                            • muckcity
                              MVP
                              • Dec 2009
                              • 2265

                              #404
                              Re: Generic EA Roster Editor

                              Mick how are you rosters coming along, you should make your own Thread just in case you need help and stuff

                              Comment

                              • PocketScout
                                Recruiting App
                                • Jun 2010
                                • 1392

                                #405
                                Re: Generic EA Roster Editor

                                Sorry threw the wrong one up this is the one that has some recruiting info.

                                Generic Editor Config Files:
                                Right Click and "Save As" HERE to get a config file that eliminates players and many more table decreasing load time by a lot and leaving just the info need to edit Bowls, Teams, Recruits, AI and setup the playoffs. This also fixes the 2 Key error many have had.
                                NCAA 2014: Current Dynasty

                                Comment

                                Working...