ISRM 0.81 Beta, mod_drag

--------------------------

Features:

- An automatic system - no admin needed!
- Fully-fledged Christmas Tree
- Staging and prestaging
- Realistic start detection (allows rollout)
- Accurate winner detection
- Jumpstart detection
- Hall Of Fame (the best times)
- Practice mode and competition mode
- 3 styles of starting lights - Sportsman, Pro and LFS-like
- 1/4 mile, 1/8 mile and even 1/2 mile distances
- Measures total time, reaction time, margin of win
- Measures 0-60 mph time and finish speed
- Interval timers at 60', 660', 1000', 1320' and 2000'
- On-screen options menu (Shift+I)
- English and Russian languages, with ability to add your own.
- Optional and customisable agreement screen
- Race on the BL1 backstraight and the AU3 drag strip, or...
- Set up your own drag strip in any part of any track!

--------------------------

Version history:

v0.81
- greatly improved accuracy of R.T. and 0-60 MPH
- fix: player's name couldn't contain '{' or '}'

v0.8
- fix: numerous Hall Of Fame issues
- added distance to config file
- added Tracks.txt

v0.79
- Hall Of Fame (pb.txt)
- fix: threading issues
- fix: "?" appearing if a jumpstarter finished 1st
- fix: results froze on screen
- Minor language file additions and corrections
- A debug log


v0.75
- fix: periodic crashes.
- added Auto Restart.
- added "Disable voting" option.
- added an option for a min. number of players needed for Competition Mode.
- fix: no longer spectates players on startup if Agreement is NOT shown.
- fix: question marks appeared instead of results sometimes.

v0.7
- fix: no interface on non-dedicated servers
- A few small fixes
- Added "DQ on pit teleport" option.
- Added optional agreement screen
- Language selection on connect
- Extended configuration file
- Player can no longer win a round without actually finishing


v0.6:
- fix: could not connect to localhost/127.0.0.1
- fix: crashed on non-dedicated servers
- fix: could not connect if game password set or server is 'hidden'
- Added configuration file.
- Added ability to add your own languages.
- Added "Autospec impeding drivers" option.

v0.5: 
- first release.

--------------------------

A short FAQ:

Q: Does it work in singleplayer?
NO! If you want to try in out offline, you'll have to create a local server (Multiplayer->Start new game) and connect ISRM to it.

Q: How do I start it?
A: Make sure you've got .NET Framework.
Type /insim 29999 on your server.
Open ISRM.exe.config file and change your IP, port (if necessary), password and the default language.
Launch ISRM.exe. If you encounter connecting problems with a dedicated server, also try setting /ip=127.0.0.1 in the configuration.
That's it!

Most drag-related questions are answered here:
http://www.staginglight.com/guide/react.html

Q: The program crashes or behaves strangely.
A: Try to remember in what conditions this happened. Send Knu the debug.log file AND your description of what went wrong! And if you get "An Exception Occured" messages in the console window, even if nothing (noticeably) went wrong, still send me the debug.log.

Q: You can start well before the green light without DQ. WTF?
A: RTFM! http://www.staginglight.com/guide/react.html

Q: What is practice mode? How do I start?
A: It's easy: just come to the starting line, stage, and wait for the lights.
Several players can start at once.

Q: Competition mode, huh?
A: Yep. Consists of 1 or several rounds.
Each round players are divided into groups (of 2 or 3 players).
Group winners go to the next round, and so on, until the overall winner is determined.

Q: How do I edit my own agreement screen?
A: Edit text in the .resx language file. The number of lines etc. is NOT limited

Q: How do add a drag strip to an existing track?
A: You need to add a line to tracks.txt: [track]'[x1]'[y1]'[x2]'[y2]'[dir]
[track] - BL1, AU3, etc.
To get [x1],[y1]: position your car on your new start line in the leftmost part of track and type /i position.
To get [x2],[y2]: same for the rightmost part of track.
[dir] is 1 or -1, depending on the start direction.

Q: How do I make my own language pack?
A: Make a copy of EN.resx file in the Language folder (example: EN.resx -> RO.resx), and modify the "values", preserving the special symbols. Here's an example:

<data name="dr_win" xml:space="preserve">
    <value>{0}^9 wins the round!</value>
</data>

You might need to change the code page by adding corresponding symbol. For example, it's necessary to insert ^C before any Russian text.

^L = Latin 1
^G = Greek
^C = Cyrillic
^J = Japanese
^E = Central Europe
^T = Turkish
^B = Baltic

--------------------------

Suggestions? Bugs?
Mail kuhnoo@gmail.com