The previous version of my editor has problems reading the numbers in the table DYN_team_race in the PCM 2012 databases.
Although I am not sure if these values make any sense, I still updated my editor so that it can read and display all numbers correctly.
Also I added a feature to look up the values in the linked table, so instead of the numeric team Id you see the team name now. But it is possible to switch to the numbers.
Features:
- Faster then previous version
- Numbers are displayed nicer
- Look-up of linked tables (fkID...)
- Recognizes totally wrong numbers
- Possibility to only see data from own team
- Table layouts can be customized and saved
- Individual table layouts for each game version
- Works with all versions of the game (hopefully)
- Translated to 3 languages: English, German, Portuguese
- Partially translated to: French, Spanish
- Referential integrity for foreign keys (fkID...)
- Tables linked to parent table
WARNING: This version is considered a test version, so better don't overwrite your save, just in case.
To unpack this archive, you need a tool like 7-zip, which can be downloaded for free: http://www.7-zip....
To run this editor, you need to have Microsoft .Net Framework 3.5 SP1 installed.
Lachi attached the following file: lachiseditor_v10p.7z
Edited by Lachi on 25-02-2013 15:50
Sadly Cyanide did change so much in their DB, that I cannot fix it easily.
Furthermore Cyanide removed some information from the DB, so even if I would update my planner, it would not be as useful as before. Not in the DB anymore: stage profile, type of race (TT, TTT, Normal).
Therefore I will not update my planner at the moment.
I receive an error when trying to edit coloums like dyn_sponsor and dyn_manager.
Here is the error report.
Spoiler:
----An error occured----
Elementet er allerede blevet tilføjet. Nøgle i ordbog: 'Infragistics.Windows.Automation.Peers.DataPresenter.CellAutomationPeer' Nøgle, der bliver tilføjet: 'Infragistics.Windows.Automation.Peers.DataPresenter.CellAutomationPeer'
----Stacktrace----
ved System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
ved System.Windows.Automation.Peers.AutomationPeer.UpdateChildren()
ved System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
ved System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
ved System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
ved System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
ved System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
ved System.Windows.ContextLayoutManager.fireAutomationEvents()
ved System.Windows.ContextLayoutManager.UpdateLayout()
ved Infragistics.Windows.Editors.EditInfo.ScrollDisplayCharIntoView(Int32 index)
ved Infragistics.Windows.Editors.EditInfo.set_CaretPosition(Int32 value)
ved Infragistics.Windows.Editors.EditInfo.SelectAll()
ved Infragistics.Windows.Editors.ValueEditor.StartEditMode(Boolean takeFocus)
ved Infragistics.Windows.Editors.ValuePresenter.StartEditMode()
ved Infragistics.Windows.DataPresenter.CellValuePresenter.ActivateAndEnterEditMode()
ved Infragistics.Windows.DataPresenter.CellValuePresenter.ProcessPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
ved Infragistics.Windows.Editors.ValuePresenter.OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
ved System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
ved System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
ved System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
ved System.Windows.UIElement.OnPreviewMouseDownThunk(Object sender, MouseButtonEventArgs e)
ved System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
ved System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
ved System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
ved System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
ved System.Windows.Input.InputManager.ProcessStagingArea()
ved System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
ved System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
ved System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
ved System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
ved System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
ved MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
ved MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
ved System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter)
ved System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler)
That is a bug in the datagrid I am using from an other software company.
It seems to only occur when you install a certain patch from Microsoft.
I don't plan upgrading to the latest version of the datagrid because I would have to reprogram certain stuff.
Lachi wrote:
That is a bug in the datagrid I am using from an other software company.
It seems to only occur when you install a certain patch from Microsoft.
I don't plan upgrading to the latest version of the datagrid because I would have to reprogram certain stuff.
But I could make a version for you with limited functions, just to see if it works.
Well, if you could, that would be great. I can't edit the latest sponsor names, since it won't let me edit anything in these two coloums. But it works fine for riders and contracts.
@Dizzle: Try this version, maybe it helps. Like I said, this version wont wokr properly concerning the table layout but it should not have any influence on the editing itself.
@anybody else: No need to download this unless you have the same problem as Dizzle.
Edited by Lachi on 05-07-2012 15:41
Lachi wrote:
@Dizzle: Try this version, maybe it helps. Like I said, this version wont wokr properly concerning the table layout but it should not have any influence on the editing itself.
Thanks, it worked for sponsor and manager, but the editor freezes when I try to open the team folder or cyclists folder.
Was it possible to open the save in the previous seasons?
What DB are you using?
You can upload the DB but it is not a bug in my program but a problem with the data itself, therefore I don't need it for debugging. But I could try to find the wrong character if you want.
It was the real name DB on pcm forum.
I tried only near the end of season2 and it did not work. But I can try to create a new career with this db and check if the problem comes form the origin db.
That would be great if we could identify the wrong character but I really don't know how to do that.
Lachi, my riders are stuck on a stage. Which columns do I need to change? I tried changing the rider's status from STAGE to FREE but the riders still stay on their trainingscamp. Are there other columns I need to alter?