Jaztheman
Chairman of Selectors
Ok, I'm really confused now. When I have the game up and running, I click load don't I? Which means none of the boxes should have any items in?
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 WindowsFormsApplication1.ICCTrainer2008.applyButton_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.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ICC 2008 Editor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Jaztheman/My%20Documents/ICC%202006%20Editor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
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.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.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.
Bowling ability normally works for me, row 80, column 7, when I edit it using artmoney, so it just may be bad form.
Sorry, in the my last post, I meant bowler type doesn't work(at the beginning of the post). the second time I mention bowling ability is the correct one.
So the problem was with the dropdown box right (and not the text box). How did you come up with 292? It's only supposed to be reading one byte (= a maximum of 255). From what seems apparent if the value is greater than 160 then the player has a Strong legside preference, i.e. similar to 0 - 31 (in ICC 2008 anyway).In your editor, the batting preferences are different to the ones in the game. Editing it still works fine, but I think the fact that the number in 4,1 is greater than 292 screws up what it shows a bit. I'm not sure about that though. It seemed to work perfectly in the ICC08 editor I think. The artmoney code matches the ingame data though.
I did change the code but maybe I did something wrong. ICC 2008 uses one byte (from what seems apparent to store this) while 2006 uses 2. Could you tell me the two bytes in Artmoney - i.e. the values in [4, 11] and [4, 12]? And tell me what I've got in the editor - the list box as well as the text box.Player type was also different in the editor to the in game data. The artmoney code matches in game. I think you may have forgotten to switch the coding differences here? Because it says Samit Patel is a opening batsman in the editor.
When you say no values do you mean 0 and 0? If so (i.e. [80, 11] and [80, 12] are both 0) then he should be a SLA. Is this the case in the editor and the game?Bowling type is correct in the editor it seems. For Samit anyway. Though for Samit there was no values in column 11 and 12 so I'm not sure. Bowling ability is correct in artmoney and the editor though.
We'll have to come back to this bit later on. Not too sure how much I can do at the moment as I can't really test anything.When I edited Mark Earlham, the batting preferences in the editor were still incorrect. Bowling style and player type were also wrong, showing SLA and nothing for player type. I'm guessing that the position of bowling style was not changed as well. For player type, in artmoney, Earlham had 280, and for bowling style he had 1471,5, which is the code for a RFM which is correct. In 85,15 and 85,16 which is where the bowling style would be if it was ICC08, Earlham had 0,0 which is a SLA.
When I tried to edit Earlham, even though his player type was wrong, I was able to still change it and this change was matched in game.
I think some of the value positions haven't been changed from each version. I haven't tested wicketkeeper or batting hand yet or injury. Trying to edit the bowling type gave an error.
EDIT: I wasn't able to edit his injurys or his bowling type to any effect.
As far as I can tell, both injury and bowling style aren't able to be edited in your editor, suggesting that the value position changes were not changed in the editor. Also, the shown values for some of the variables were not matched by the in game data or the artmoney values: batting preferences and bowling type.
try this one (icc ashes 2006, should work on icc 2006 original if the addresses are the same) and let me know if it works.
might still have some bugs in the player type so keep an eye out for that and let me know