Cricket Heroes - testing & feedback

Status
Not open for further replies.
Hi Kurt,
It seems the player editor throws errors when I try to select a player for editing.

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '0' is not valid for 'Value'. 'Value' should be between 'Minimum' and 'Maximum'.
Parameter name: Value
at System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
at Cricket.Editor.PopulatePlayer(String name)
at Cricket.Editor.listBox1_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ListBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ListBox.set_SelectedIndex(Int32 value)
at Cricket.Editor.listBox3_DoubleClick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
at System.Windows.Forms.ListBox.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.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Cricket
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Users/pbotadra/Desktop/Cricket/Game%20Editor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
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.5456 (Win7SP1GDR.050727-5400)
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.5458 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Tao.OpenGl
Assembly Version: 2.1.0.4
Win32 Version: 2.1.0.4
CodeBase: file:///C:/Users/pbotadra/Desktop/Cricket/Tao.OpenGl.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.
 
Thanks, Pat. I'll fix that up and get it you guys ASAP.

----------

@Pat: Quick question - you mentioned selection policy earlier...I've implemented something like that now based on:

Batsman

Skill
Placement
Power
Strike Rate

Bowler

Skill
Seam
Swing
Spin

All-Rounder

Batting Skill
Bowling Skill

All of these modifiers are in the range of 0-2 and affect how the players are ranked when being selected. These policies are per team, per format and there are also defaults for each format if it's too much effort to do one per team...any thoughts?
 
^^Yes that is good enough for now I guess. In future, if possible, ideally which player gets picked (other then the obvious inclusions) should also depend on which country/stadium(pitch)/weather conditions is the match being played. For e.g. if Eng is playing in sub-continent, they might want to include Swann as well as Panesar in the default line-up.

Of course, this would mean that you now show stadium selection screen before the team selection one.:thumbs
 
Hmm, that's actually easily done for tournaments/series because the venue is known before hand. I'll add that to the equation as well for the next update.
 
Kurt, can you please explain the following attributes of the player and what effect they have on how a player performs in the game (while batting/bowling)?

Batsman:
1. Skill
2. vs Pace & vs Spin

Bowler:
1. Skill
 
@Pat: Batsman and bowler skill is a general attribute that defines how well the player bats and bowls. Modifier vs pace and spin directly affects the skill attribute when the batsman faces the respective bowler type (spin/pace).
 
Hi guys, I'm still trying to catch and fix up some bugs before releasing the next update. Please be patient - I've just started a new job and don't have quite as much free time as before. The next update will happen this weekend at the latest.
 
i am facing this error every time i create a tournament save it and then i try to load it, it comes with this any solution and i meant to be continuing my league today :noway thank you in advance :cheers
 

Attachments

  • error of cric heroes.png
    error of cric heroes.png
    35.6 KB · Views: 67
Hey, how's the game going kurt?

Been a while since I've been here but thought I'd come have a look to see how the game's coming along. Good to see you still putting a lot of effort into the game :)
 
Hi hedger_14! Good to see you back :) Yeah, I'm still chugging along but it's slowing down a bit now. Just started a new job, but I'll get back up to speed next week. Let me know when you download the game and I'll send you an update.
 
Just call me hedger btw, it just seems weird having the number on the end xD

And I'll download it in a second. I might play a bit over the weekend, but still going to be real busy, so won't be a huge amount.

----------

but yeah, just downloaded v1.78 off the site. Just tell me what else to download.
 
Status
Not open for further replies.

Users who are viewing this thread

Top