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

Developers Forum

  1. Standard member thire
    Xebite
    20 Nov '04 13:13 / 1 edit
    I created a little script to get animated gif-files of RHP-chess-games.
    Try it out by just pasting a gameid at:
    http://fsmat.at/~thire/rhp/fengif.php
    feedback apreciated!
    Thomas

    PS: as gif-cration is quite "expensive" (server traffic) please do not abuse my service.
  2. Subscriber Russ
    RHP Code Monkey
    20 Nov '04 15:39
    That is just soooooo cool

    I love it!

    -Russ
  3. Subscriber Russ
    RHP Code Monkey
    20 Nov '04 15:41
    How do you get the FENS, do you read the JavaScript arrays on the game history page?

    It is awesome, however you do it!

    -Russ
  4. Standard member thire
    Xebite
    20 Nov '04 20:15
    Dear Russ,
    thanks a lot for your nice words!
    Yes I read the javascript array into a php-array. I use php's sring functions for it (substr, ...) but I think sscanf or something like that would be faster and better. But especially the gif needs some optimasiation. If any Imagemagick-expert reads this and is willing to help (I did not really understand the message at http://studio.imagemagick.org/magick/viewtopic.php?t=3077)
    th

    PS: you can add the gameid in the url as well (e.g.: http://fsmat.htu.tuwien.ac.at/~thire/rhp/fengif.php?gameid=599239 )
  5. 23 Nov '04 10:33
    Very very cool!

    I did one game... just for your feed back, took 0.31 seconds per move, 50 seconds in total (did my proudest victory here) won't abuse you band width any more
  6. 23 Nov '04 10:34
    Very very cool!

    I did one game... just for your feed back, took 0.31 seconds per move, 50 seconds in total (did my proudest victory here) won't abuse you band width any more
  7. Standard member thire
    Xebite
    24 Nov '04 15:41
    thanks for posting twice

    no, seriously: thank you. I do log all the games animated and the time it took.

    please do animate more of your games if you wish to do so. (for me) abusing starts at 100 games per day...

    th
  8. Subscriber Crowley
    Not Aleister
    25 Nov '04 14:27
    Great thire!

    BTW, check this out: http://www.redhotpawn.com/board/showthread.php?threadid=16356

    You can host it on this site if you want, I have no traffic restrictions.
  9. Standard member thire
    Xebite
    27 Nov '04 10:34
    Thanks! I will send you my code if you want!
    I don't have really big restrictions. I just don't want that people abuse my service. But it is better to have all the developper stuff on one page!
    BUT: I use imagemagick, perhaps this is not installed on every server. and php should not run in safe_mode - still possible to host it?
    th
  10. Standard member thire
    Xebite
    27 Nov '04 11:14
    I just updated the white pieces. They are white now
    th
  11. Standard member thire
    Xebite
    28 Nov '04 15:17
    another update, files are much smaller now
    give it a try!
    th
  12. Subscriber Crowley
    Not Aleister
    29 Nov '04 08:38
    The servers I use for hosting do have IM installed, so I can probably host it for you as well.
  13. Standard member thire
    Xebite
    30 Nov '04 09:35
    cool!
    Send me per PM your email adress and I send you my code. You can publish the code as well - perhaps someone wants to impove it
    th
  14. Standard member thire
    Xebite
    03 Dec '04 21:00
    another update - check it out!
    and send some feedback!
    th
  15. Standard member gotti2000
    The winemaker
    07 Dec '04 18:47
    awesome!