rijalati / raptor-chess-interface

Automatically exported from code.google.com/p/raptor-chess-interface
0 stars 0 forks source link

bughouse err #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[05:53PM]Critical error occured! We are trying to make Raptor bug free and
we need your help! Please take a moment to report this error at
http://code.google.com/p/raptor-chess-interface/issues/list

 Issue: ficsConnector Error in DaemonRun.onNewInput
java.lang.IllegalArgumentException: Invalid move d4
 emptyBB            occupiedBB         notColorToMoveBB   color[WHITE]    
  color[BLACK]      
 0 0 0 0 0 0 0 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    1 1 1 1 1 1 1 1 
  0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    1 1 1 1 1 1 1 1 
  0 0 0 0 0 0 0 0   
 1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0   
 1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0   
 1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0   
 1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    1 1 1 1 1 1 1 1    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0 
  1 1 1 1 1 1 1 1   
 0 0 0 0 0 0 0 0    1 1 1 1 1 1 1 1    1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0 
  1 1 1 1 1 1 1 1   

 [WHITE][PAWN]      [WHITE][KNIGHT]    [WHITE][BISHOP]    [WHITE][ROOK]   
  [WHITE][QUEEN]     [WHITE][KING]     
 0 0 0 0 0 0 0 0    0 1 0 0 0 0 1 0    0 0 1 0 0 1 0 0    1 0 0 0 0 0 0 1 
  0 0 0 1 0 0 0 0    0 0 0 0 1 0 0 0   
 1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   

 [BLACK][PAWN]      [BLACK][KNIGHT]    [BLACK][BISHOP]    [BLACK][ROOK]   
  [BLACK][QUEEN]     [BLACK][KING]     
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 1 1 1 1 1 1 1 1    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0 
  0 0 0 0 0 0 0 0    0 0 0 0 0 0 0 0   
 0 0 0 0 0 0 0 0    0 1 0 0 0 0 1 0    0 0 1 0 0 1 0 0    1 0 0 0 0 0 0 1 
  0 0 0 1 0 0 0 0    0 0 0 0 1 0 0 0   

|R|N|B|Q|K|B|N|R|   To Move: White Last Move: 
|P|P|P|P|P|P|P|P|   Piece counts [WP=8 WN=2 WB=2 WR=2 WQ=1 WK=1][BP=8 BN= 2
BB=2 BR=2 BQ=1 BK=1]
|*|*|*|*|*|*|*|*|   Moves: 0 EP: - Castle: KQkq
|*|*|*|*|*|*|*|*|   FEN: RNBQKBNR/PPPPPPPP/8/8/8/8/pppppppp/rnbqkbnr w KQkq
- 0 0
|*|*|*|*|*|*|*|*|   State: 3177 Variant=bughouse Result=*
|*|*|*|*|*|*|*|*|   Event: 3 0 unrated bughouse Site=freechess.org
Date=2009.10.15
|p|p|p|p|p|p|p|p|   WhiteName: npatmor BlackName=GuestZZBW WhiteTime=180000
whiteLag=null blackRemainingTImeMillis = 180000 blackLag=null
|r|n|b|q|k|b|n|r|   initialWhiteClock: 00:03:00.0 initialBlackClocks=00:03:00.0

Legals=[Na6, Nc6, Nf6, Nh6]
Movelist=[]
Squares with promote masks: []
Drop counts [WP=0 WN=0 WB=0 WR=0 WQ=0 WK=0][BP=0 BN= 0 BB=0 BR=0 BQ=0 BK=0]
    at
raptor.chess.ClassicGame.testForSanDisambiguationFromCheck(ClassicGame.java:2191
)
    at raptor.chess.ClassicGame.makeSanMove(ClassicGame.java:1594)
    at raptor.connector.ics.IcsUtils.addCurrentMove(IcsUtils.java:114)
    at raptor.connector.fics.FicsParser.process(FicsParser.java:458)
    at raptor.connector.fics.FicsParser.parseGameEvents(FicsParser.java:199)
    at raptor.connector.fics.FicsParser.parse(FicsParser.java:142)
    at raptor.connector.ics.IcsConnector.parseMessage(IcsConnector.java:1080)
    at raptor.connector.ics.IcsConnector.onNewInput(IcsConnector.java:955)
    at raptor.connector.ics.IcsConnector.messageLoop(IcsConnector.java:764)
    at raptor.connector.ics.IcsConnector$4$1.run(IcsConnector.java:421)
    at java.lang.Thread.run(Thread.java:619)

----

look at the screenshot, it has the coords reversed and the white king and
queen switched on the board on the left.

Original issue reported on code.google.com by John.Nahlen on 16 Oct 2009 at 12:02

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r352.

Original comment by carsonday on 16 Oct 2009 at 9:32