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.
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?
Re: chess bug
By: MCMLXXIX to Digital Man on Tue Sep 29 2009 11:57 am
invisible, no prompt at the main menu, but all of the commands still work.
Try wrapping the entire script in a try/catch... maybe an exception is
being thrown womewhere.
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 don't see a problem off hand, but have you ran syncjslint on it?
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.
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.
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?
Try wrapping the entire script in a try/catch... maybe an exception is being thrown womewhere.
I don't see a problem off hand, but have you ran syncjslint on it?
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?
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?
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.
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.
what exactly does jslint do?
Re: chess bug
By: Mcmlxxix to Digital Man on Thu Oct 01 2009 01:30 pm
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.
what exactly does jslint do?
It analyzes your script and tells you what is wrong (or potentially wrong) w it.
digital man
Snapple "Real Fact" #127:
A hummingbird's heart beats 1,400 times a minute.
what exactly does jslint do?
what exactly does jslint do?
Removes fuzzy balls from your code.
Removes fuzzy balls from your code.
I'm afraid that might leave me with a blank screen
Re: chess bug
By: MCMLXXIX to Smole on Fri Oct 02 2009 01:31 pm
Removes fuzzy balls from your code.
I'm afraid that might leave me with a blank screen
All this talk of people's fuzzy balls makes me uncomfortable.
Sean Fahey
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 don't see a problem off hand, but have you ran syncjslint on it?
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,043 |
Nodes: | 15 (0 / 15) |
Uptime: | 41:34:18 |
Calls: | 500,899 |
Calls today: | 2 |
Files: | 109,370 |
D/L today: |
4,687 files (477M bytes) |
Messages: | 304,222 |