B.E. Dolata wrote on Fri, Apr 30, 2021 01:14 PM UTC:
Hi Greg, Thanks for the updated version. I received an exception while playing Tripunch chess
ChessV.Exceptions.ChessVException: An item with the same key has already been added. ---> System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at ChessV.Game.SearchRoot(Int32 alpha, Int32 beta, Int32 depth, List`1 movesToExclude)
at ChessV.Game.Think(TimeControl timeControl, Int32 multiPV)
--- End of inner exception stack trace ---
at ChessV.Game.Think(TimeControl timeControl, Int32 multiPV)
at ChessV.InternalEngine.startThinking()
at ChessV.Match.OnMoveMade(Player sender, List`1 moves)
at ChessV.MoveMadeEventHandler.Invoke(Player sender, List`1 moves)
at ChessV.Player.emitMove(List`1 moves)
at ChessV.GUI.BoardControl.tryMoveToLocation(Location location)
at ChessV.GUI.BoardControl.BoardControl_MouseUp(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The final board state was
r1h1kh1r/ppp1pppp/3p4/8/4n1c1/3PPN2/PPP1K1PP/RNH5 b ha - 2 10
Hi Greg, Thanks for the updated version. I received an exception while playing Tripunch chess
ChessV.Exceptions.ChessVException: An item with the same key has already been added. ---> System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at ChessV.Game.SearchRoot(Int32 alpha, Int32 beta, Int32 depth, List`1 movesToExclude)
at ChessV.Game.Think(TimeControl timeControl, Int32 multiPV)
--- End of inner exception stack trace ---
at ChessV.Game.Think(TimeControl timeControl, Int32 multiPV)
at ChessV.InternalEngine.startThinking()
at ChessV.Match.OnMoveMade(Player sender, List`1 moves)
at ChessV.MoveMadeEventHandler.Invoke(Player sender, List`1 moves)
at ChessV.Player.emitMove(List`1 moves)
at ChessV.GUI.BoardControl.tryMoveToLocation(Location location)
at ChessV.GUI.BoardControl.BoardControl_MouseUp(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The final board state was
I had just moved my Nightrider from g1 to f3.