Please turn on javascript in your browser to play chess.
Site Ideas Forum

Site Ideas Forum

  1. Standard member SwissGambit
    Caninus Interruptus
    28 Aug '12 14:59 / 2 edits
    As a fellow frustrated blog author, I noticed my comrade greenpawn34 was having some problems with the built-in RHP PGN viewer.



    This is from the latest Blog 4. For me, the comment "Checkmate" shows up after black's 4th move, even though it's after white's 5th move in the PGN.
  2. Standard member SwissGambit
    Caninus Interruptus
    28 Aug '12 15:02 / 1 edit
    Originally posted by SwissGambit
    [pgn]
    [FEN "8/6Q1/2p5/2p5/2P5/5k2/3P3B/3K4 w - - 0 1"]
    1. Ke1 Ke4 2. Ke2 Kf5 3. Kf3 Ke6 4. Kf4 Kd6 5. Kf5{Checkmate.}
    [/pgn]

    This is from the latest Blog 4. For me, the comment "Checkmate" shows up after black's 4th move, even though it's after white's 5th move in the PGN.


    I added another comment after black's 4th, but it was overwritten by the 'Checkmate' that should be after w5.
  3. Standard member SwissGambit
    Caninus Interruptus
    28 Aug '12 15:04 / 4 edits
    Originally posted by SwissGambit
    [pgn]
    [FEN "8/6Q1/2p5/2p5/2P5/5k2/3P3B/3K4 w - - 0 1"]
    1. Ke1 Ke4 2. Ke2 Kf5 3. Kf3 Ke6 4. Kf4 Kd6 {this should show up after b4} 5. Kf5{Checkmate.}
    [/pgn]

    I took the inner spaces out. So all you really need is a space between the notation and the brace.
    I added another comment after black's 4th, but it was overwritten by the 'Checkmate' that should be after w5.
    Maybe it's a spacing issue?



    Yes! That works. All I did was add some spaces around the braces.
    OLD - 4. Kf4 Kd6 {please don't overwrite me!} 5. Kf5{Checkmate.}
    NEW - 4. Kf4 Kd6 { please don't overwrite me! } 5. Kf5 { Checkmate. }

    Russ, you should send me the PGN viewer code so I can make it a bit more robust.

  4. 29 Aug '12 00:37
    Hi SG

    I actually correct it before I saw this.
    Yes where you put the space is important, if you get too many wrong you
    can have the note that should be after move 15 appearing at move 8 or 9.

    I now use ChessPad version 2.0.2 to do all my stuff.
    There is no tweaking at all to get it posted on here, the trouble starts
    when you add notes after you post it. I added the checkmate and forgot the space.

    You can get some interesting positions with the fens'


    Same position just stick another [fen] infront of it and you get this.


    and another and you get.

  5. Subscriber Russ
    RHP Code Monkey
    29 Aug '12 09:47
    Originally posted by SwissGambit
    Maybe it's a spacing issue?

    [pgn]
    [FEN "8/6Q1/2p5/2p5/2P5/5k2/3P3B/3K4 w - - 0 1"]
    1. Ke1 Ke4 2. Ke2 Kf5 3. Kf3 Ke6 4. Kf4 Kd6 { please don't overwrite me! } 5. Kf5 { Checkmate. }
    [/pgn]

    Yes! That works. All I did was add some spaces around the braces.
    OLD - 4. Kf4 Kd6 {please don't overwrite me!} 5. Kf5{Checkmate.}
    NEW - 4. Kf4 Kd6 { please ...[text shortened]... Ke2 Kf5 3. Kf3 Ke6 4. Kf4 Kd6 {please don't overwrite me!} 5. Kf5 {Checkmate.}
    [/pgn]
    All (ok, most) of this code has been rewritten for new UI anyway - I'll test this against it. It’s a long time coming, but I decided to roll out as one big update – feature creep along with other commitments has delayed it considerably.
  6. 29 Aug '12 23:46
    No Rush Russ

    I enjoy doing the work arounds. It's the only fun I get these days.