
GP2 Utilitie

RZcode.exe v1.03b                                                  04-Sep-1999
_____________________________________________________________________________

Title           : GP2 - RZcode v1.03b
Filenames       : rzcode.exe, rzcode.txt
Author          : Ricardo Zamith (RZ)
Email Address   : rzamith@mail.telepac.pt
Description     : An utilitie to help GP2 leagues to control the repeating of races.
		  It patches race files, and with an internet page becames a very usefull tool!

Building time   : 10 days

Homepage        : RZamith Web site
		  http://members.xoom.com/rzamith/

Thanks to       : Ren "SDI" Smit for all programming help
		  Kurt Baumman for support
_____________________________________________________________________________

* Introduction *

A big problem playing leagues, is that, a driver can repeat is race as much as he can handle and then send the best result of his races. In many leagues that's not the goal. What we want is that the driver sit down, say: "This is the race", and no matter what happens that was his race! NO repeatings if he crashes! 
How can you detect this? You just can't! 
How can you stop guys doing this? You can't! 
Well... now you can!!! :)

This method consists in 2 things: an internet Web page and this utilitie (rzcode).
The league administrator must build an internet page on his site, that, with the driver login and password generates a random code (from 0001 to 9999). This code, driver data and the actual date/time is sended to the administrator email.
The driver must have this utilitie and access to the internet at home (or the place you drive), or ask by phone to an friend, who as internet, to help him with this. It's the only way...

_____________________________________________________________________________

* What to do *

During the week the player does the qualifying and saves the game (filename.xxx) after Qualifying 2 (or Warmup).
He can drive, test, qualify, has much as he want's. When he decides to start the race he connects the internet, go to the site to the special page, login, press the rzcode button wich gives a code. That code must be write down (this is very important!). Then, he goes offline, opens an "MS-DOS command prompt" window, search the saved file (filename.xxx) and patch it with the code using this utilitie (rzcode.exe).
Now you just have to load GP2, load the patched file, do the race, and when "RACE OVER" is shown, save the game.
Finally you connect again to the internet, submit your race to the League site and THAT'S ALL!

_____________________________________________________________________________

* Checking races*

The administrator as to decide a limit time to the player do this operation:

OPERATION	               DURATION	(minutes)
 		        
Connect the Internet .......... --
Go to site / Ask for code ..... time starts to count
Offline / Patch the Game ...... 05
Load GP2 / Warmup laps ........ 10
Race* ......................... xx+2 (xx=1st CC car time)
Save Game and watch results ... 05
Connect the Internet .......... 05
Go to site / Submit result .... 05
Tolerance ..................... 10
TOTAL time ==================== 42+xx minutes

* In a race if the 1st CC car manage 1h30min the total time should be
 2 hours + 12 minutes

If the player doesn't submit the results during this (large) time is disqualifyed!
The administrator can check the amount of time the player spent, by comparing the email date/time with the submited results date/time.
To check if this was THE RACE he asks the driver for his "RACE OVER" saved file and uses the utilitie (rzcode) to compare the email code with the file code.

_____________________________________________________________________________

* Usage *

RZCODE filename 

filename        Name of the file to be patched or view the code
		This file should be on the same folder than rzcode.exe

It's very easy. On the command prompt just write: 
RZCODE filename and it starts to check if it's on "Qualifying 2" or "Warm-up" (for drivers), or "RACE OVER" (for administrators).
If "Qualifying 2" or "Warm-up" a message "Insert the 4 digit rzcode:" appears on the screen and you just insert the code and press ENTER. After this the message "File Patched Successfully" appears on the screen.
If "RACE OVER" the start date/time and RZcode (xxxx) appears on the screen.

_____________________________________________________________________________

* What's New *

version 1.01  - 19 Aug 1999 - 1st official release

version 1.02  - 22 Aug 1999 - Smaler version / DOS support

version 1.03  - 04 Sep 1999 - "Sp" Bug fixed. 
		              Race start Date/Time added.
			      Better patch.
			      EXE file packed and coded.

_____________________________________________________________________________

* Disclaimer *

This program is not fully tested. I recommend everyone to make backups of the saved files that will be used with this utilitie.
The contained files are provided "as is" without warranty of any kind, either expressed or implied.
The author will not be held responsible for any losses incurred.

_____________________________________________________________________________

* Copyright / Permissions *

All files must be included in any distribution.
This software is distributed as freeware. This software is for personal use only. 
Source code is available upon request from the author on the basis that it is not to be used for commercial gain of any type and that further distribution of source code is made conditional upon the same basis.

_____________________________________________________________________________
Copyright (c) 1999 Ricardo Zamith
