使用假修該器修改物品時出現以下的錯誤 
See the end of this message for details on invoking  
just-in-time (JIT) debugging instead of this dialog box. 
 
************** Exception Text ************** 
System.ArgumentOutOfRangeException: InvalidArgument=Value of '31155' is not valid for 'index'. 
Parameter name: index 
   at System.Windows.Forms.ListBox.ObjectCollection.get_Item(Int32 index) 
   at Brothers.bag.button2_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.3082 (QFE.050727-3000) 
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll 
---------------------------------------- 
Brothers 
    Assembly Version: 1.0.0.0 
    Win32 Version: 1.0.0.0 
    CodeBase: file:///C:/Documents%20and%20Settings/Administrator/桌面/金庸水滸傳1.05/Brothers_for_Net2/Brothers.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 
---------------------------------------- 
 
************** 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. 
 
然後我想修改人物時也出現了錯誤 
See the end of this message for details on invoking  
just-in-time (JIT) debugging instead of this dialog box. 
 
************** Exception Text ************** 
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. 
Parameter name: index 
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource) 
   at System.ThrowHelper.ThrowArgumentOutOfRangeException() 
   at System.Collections.Generic.List`1.get_Item(Int32 index) 
   at Brothers.ItemInBag.readItems(BinaryReader br) 
   at Brothers.SaveFile..ctor(FileInfo finfo) 
   at Brothers.Hero.button1_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.3082 (QFE.050727-3000) 
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll 
---------------------------------------- 
Brothers 
    Assembly Version: 1.0.0.0 
    Win32 Version: 1.0.0.0 
    CodeBase: file:///C:/Documents%20and%20Settings/Administrator/桌面/金庸水滸傳1.05/Brothers_for_Net2/Brothers.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 
---------------------------------------- 
 
************** 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. 
 
小弟愚昧,不知這些代表什麼意思,又如何補救呢? 
 
 
 
 
 
[ 本帖最后由 awuwa 于 2010-2-7 09:35 编辑 ] |