Editing International Cricket Captain (General Thread)

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

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at WindowsFormsApplication1.ICCTrainer2008.ICCTrainer2008_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(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.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
ICC 2008 Editor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/BadAss/Documents/Downloads/Compressed/ISO-8859-1__ICC%202008%20Editor/ICC%202008%20Editor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (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.1434 (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.1434 (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.


can any body explain this....this came up when i tried to run the editor.
 
I get the same thing and I'm running 9.12
 
Could you tell me which player(s) you're viewing so I could try to reproduce the error?
 
I think you can editor players' names in-game.
 
I don't know if it works in the new editor but it used to work in 2008. Basically it reads the player's batting and bowling form (0 to 255), and you can edit it. Actually, it doesn't really work because if you max it out then it'll come up in the player's profile screen but when you play a match it drops back to what it was before (or close to it I guess, depending on how the player played).
 
Form is based on previous performances and so editing it has no effect and anyway we haven't found the new positions for form (They could be the same place). I didn't bother finding them because there was no point
 
Additions to editor

I'm looking for some feedback regarding some additions I've made to the editor.
I've coded a couple of extra features - Coach/Physio Editing and Club Budget Editing. I know these things are pretty easy to do using a memory editor, but I find it useful to have everything in the same place... so I located the pointers and coded them in.

This executable works perfectly for me... but you should first test that the player editor loads players correctly for you, then try out the club editing options I added [Note that the player editing may not all work since I haven't got Fe's latest source code - I just used the offsets listed in the first post of this thread... bowling ability may be wrong? Edit: Bowling Ability+Style now corrected].

To increase Coach/Physio sessions, you should be in the "Coach and Physio" screen in ICC2009. Club Budget seems to work in most places except for the coach+physio screen (for example the "Team Details" page).

---------
The next thing I really want to edit is the number of foreign players detected during the transfer window. In ICC2008, if you go to "Current Squad", the byte at 0x00796DC0 seems to represent this value... and Cheat Engine seems to think that it is static, but freezing it doesn't work. I haven't bothered finding the address for ICC2009 yet because I expect we would still have the same problem. Hopefully someone can solve this?!
 

Attachments

  • ICC 2009 Editor.zip
    25.9 KB · Views: 760
Last edited:
Thank you weetabixharry, this version works for me, unlike your ICC08 version. Not really sure why this happens...

It does everything you say it does and because it is integrated into the original editor, it's even better :)
 
Thank you weetabixharry, this version works for me, unlike your ICC08 version. Not really sure why this happens...

It does everything you say it does and because it is integrated into the original editor, it's even better :)

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

************** Exception Text **************
System.DivideByZeroException: Attempted to divide by zero.
at WindowsFormsApplication1.ICCTrainer2008.codesToDOB()
at WindowsFormsApplication1.ICCTrainer2008.loadPlayerData()
at WindowsFormsApplication1.ICCTrainer2008.loadButton_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.3074 (QFE.050727-3000)
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:/Users/Jianga/Desktop/Games/ICC/ICC%202009%20Editor.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
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3074 (QFE.050727-3000)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/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.

Doesn't seem to work for me... :crying.
 
Can you detail the steps you took to achieve the result posted?
 

Users who are viewing this thread

Top