PCM.daily banner
21-11-2024 15:07
PCM.daily
Users Online
· Guests Online: 88

· Members Online: 0

· Total Members: 161,770
· Newest Member: ComCASH24wonee
View Thread
PCM.daily » Pro Cycling Manager 2006-2020 » Pro Cycling Manager 2012
 Print Thread
Lachis Editor v10 for PCM 2012 (July, 8)
Ad Bot
Posted on 21-11-2024 15:07
Bot Agent

Posts: Countless
Joined: 23.11.09

IP: None  
Lachi
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: https://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 [966.67kB / 814 Downloads]

Edited by Lachi on 25-02-2013 15:50
 
jseadog1
Thanks!

pcmdaily.com/images/mg/Awards2022/userproject.png
pcmdaily.com/files/Awards2016/fantasy.png

PCM.Daily Survivor Season 2 Fan Favorite Winner

PCM.Daily NFL Fantasy Football Champion: 2012
PCM.Daily NHL Prediction Game Champion: 2013
PCM.Daily NFL Prediction Game Champion: 2012, 2013, 2015, 2016, 2021
 
JohnWayn3
Just tried editing my season 2 backup, and the race planner still works after editing Smile Thanks!!
 
Abelbaba
are you updating your planner tool too?
 
lluuiiggii
Abelbaba wrote:
are you updating your planner tool too?

Lachi wrote:
Thank you both.

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.


Good to see the editor converted to PCM12 Smile
 
Abelbaba
ah, thanks
 
kaktus412
Thank you!!!!!! Work Perfecto! Banana
 
Dizzle
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)

i.imgur.com/L2fCE.png
 
Lachi
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.
 
Dizzle
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.
i.imgur.com/L2fCE.png
 
Lachi
@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
 
Dizzle
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.
i.imgur.com/L2fCE.png
 
Lachi
Sorry, then I am out of ideas.

You could try my excel editor in case you have excel.
(This "editor" basically is an easy way to open tables (folder in your words) in Excel.)
 
Lachi
New version released, see first post
Lachi attached the following image:
editornewinterface.jpg
 
Zitouni
I receive en error when I extract the .cbd. It is a career in the beginning of 3rd season.
-> An error occured - Il existe un caractère non valide dans le codage donné. Ligne 481564 , position30
then a new one -> La référence d'objet n'est pas définir à une instance d'un objet.

I think you are french, if you're not, I can translate.

Intersted in my cdb to debug?

 
Lachi
I am not French but I can read it without problems.

As it says in the error message, there is a character in the database which is not valid when using XML files. Normally this is caused by letters like é if the database has not been created properly.

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.

 
Zitouni
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.
 
Zitouni
Welll it works with the same db after creation of the career.
So either it happens with generation of new players or I with my managers name - I may have kept "Prénom" for the first name
 
Jona8366
I love this editor. Thanks lachi!
 
jamesnice
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?
 
Jump to Forum:
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Latest content
Screenshots
Domination
Domination
PCM09: Funny Screenshots
Fantasy Betting
Current bets:
No bets available.
Best gamblers:
bullet fighti... 18,376 PCM$
bullet df_Trek 17,374 PCM$
bullet Marcovdw 15,345 PCM$
bullet jseadog1 13,552 PCM$
bullet baseba... 10,439 PCM$

bullet Main Fantasy Betting page
bullet Rankings: Top 100
ManGame Betting
Current bets:
No bets available.
Best gamblers:
bullet Ollfardh 21,890 PCM$
bullet df_Trek 15,520 PCM$
bullet Marcovdw 14,800 PCM$
bullet jseadog1 13,500 PCM$
bullet baseball... 7,332 PCM$

bullet Main MG Betting page
bullet Get weekly MG PCM$
bullet Rankings: Top 100
Render time: 0.28 seconds