Kurash TMS Help

Organized help page for the independent Kurash Tournament Management System.

Current Help: v35.10X Production: https://tms.kurash-tms.com Controller / Display / Main Scoreboard are separate tracks

1. Main Pages and Direct Links

2. Recommended Tournament Flow

  1. Create or load tournament from Main Web.
  2. Confirm settings: tournament type, Gillams, age/sex/weight groups, duration, draw mode, referee mode.
  3. Import or add players in Players.
  4. Review players, countries/affiliations, flags, DOB warnings, and weight category.
  5. Add/edit referees and confirm availability.
  6. Run delegation sign-off where needed.
  7. Generate draw and check warnings before operation.
  8. Use Referee Management for assignments, rotation, evaluations, and final pool.
  9. Operate bouts using either Standalone Scoreboard or Controller + Display depending on the hall setup.
  10. Use reports for fight order, medals, referee workload, bout metadata, and results.

3. Scoreboard Tracks - Important Separation

TrackFilesPurposeRule
Main Web Scoreboard Tabmain_web_v35.htmlEmbedded scoreboard inside Main Web.Do not change when fixing standalone page unless explicitly requested.
Standalone Scoreboardscoreboard_v35.htmlClassic online scoreboard page with View 1 / View 2 and local operation.Can copy suitable UI ideas from the tab, but page logic must stay independent.
Controller + Displayscoreboard_controller_v35.html
display_scoreboard_v35.html
server.js
Controller sends commands; Display shows public official screen.Separate live-state direction: Controller command → server live state → Display/Controller render.
Offline Scoreboard PWAscoreboard_offline_start.htmlInstallable local scoreboard app with Web Offline Scoreboard and Install App options.Uses local React 18 files, offline cache, and does not save official TMS results.

4. Scoreboard Controller + Display

Controller behavior

  • Lock one Gillam for the operator.
  • Select bout from Fight Order, then press READY / LOAD.
  • Use START / STOP as one button.
  • Use + / - for score and penalties.
  • Right-click treatment reduces the medical count.
  • Right-click withdrawal cancels withdrawal.

Display behavior

  • Displays the last loaded bout until READY loads a new bout.
  • Uses fixed-grid layout so timer, letters, scores, flags, and names fit without overlap.
  • Shows score/penalty feedback flashes.
  • Shows treatment icons; two treatments show two ambulance icons.
  • Jazo stops time and blocks restart until cleared or a score/penalty is entered.

Current working display layout baseline: v35.10S fixed grid. Current feedback/right-click baseline: v35.10N. Timer sync baseline: v35.10L/M.

5. Weigh-in Operations

6. Referee Management

7. Reports and Printing

8. Server and Deployment

Common checks

  • node --check server.js checks JavaScript syntax before restart.
  • pm2 restart all restarts running PM2 apps.
  • pm2 logs --lines 50 displays the last 50 log lines for diagnosis.
  • /api/ping checks backend availability.

Deployment cautions

  • Do not overwrite a working package.json unless the patch explicitly requires it.
  • Production data folder should not be replaced by patch ZIP files.
  • After uploading HTML/JS, hard refresh browser cache with Ctrl + F5.
  • Keep Controller/Display/server files from the same patch family when testing live state.

9. Troubleshooting

ProblemLikely causeAction
403 page errorFile permission or web server access.Check file exists and permissions such as chmod 644 *.html.
502 / server downBackend not running.Check PM2 status and logs.
Cannot POST /api/scoreboard/live/.../set-scoreController file newer than server.js.Upload matching server.js from the same patch and restart PM2.
Display holds last loaded boutTemporary sync delay or missed snapshot.Use READY / LOAD again, check server, then refresh Display if needed.
Weigh-in groupLabel errorOld Weigh-in file missing helper.Apply v35.10W Weigh-in fix.
Page looks unchanged after uploadBrowser cache.Hard refresh with Ctrl + F5 or open in private window.

10. Recent Patch Notes

VersionAreaSummary
v35.10SDisplay ScoreboardFixed-grid display layout; no overlap/hidden scores or letters.
v35.10TStandalone ScoreboardRebuilt standalone scoreboard page from working base and suitable Main Web tab UI.
v35.10UStandalone ScoreboardAdded View 2-style announcements/animations for scores, penalties, winner, Jazo, and removal.
v35.10VPlayers TabReduced player flags and used contained fit inside the existing space.
v35.10WWeigh-inFixed groupLabel is not defined in Weigh-in page only.
v35.10XHelpReorganized Help page into clear operational sections and removed broken sections outside the HTML body.