Subj : chess bug To : MCMLXXIX From : Digital Man Date : Wed Sep 30 2009 11:08 am Re: chess bug By: MCMLXXIX to Digital Man on Tue Sep 29 2009 11:57 am > So.. I've got two games that use probably 60% of the same code to run, > using the chat engine, queue engine, and game lobby (chess and sea battle) > > out of nowhere, chess is now doing some crazy shit and I can't figure it > out why. sea battle works fine, without any of the issues chess is having. > > I did make a few changes to the chess code recently, but even if I revert > the code back to a previous revision that had no problems, im still having > issues. Could it be a change in one of the lib/util files that is loaded() by chess.js? > It seems to be "skipping" parts of the script for no apparent reason, > failing to fully draw the game lobby when the game loads, or when you exit > a table.. and when you exit the game the external programs menu is > invisible, no prompt at the main menu, but all of the commands still work. That could be caused by an attribute issue (black on black?) or an abort char (Ctrl-C) left in the input/key buffer. I assume that if you hit 'Q' that the program section menu displays correctly? > have you seen anything like this? and (see last two commits for chess.js > and chessbrd.js) do any of my changes look like they might cause a problem? I haven't been running chess.js and don't see anything obvious in the recent commits. I think Deuce's suggestion of running jslint is a good one. digital man Snapple "Real Fact" #127: A hummingbird's heart beats 1,400 times a minute. .