home *** CD-ROM | disk | FTP | other *** search
-
- Trade Wars 2002, database utility TWZAPPER.
-
- On rare occasions, Trade Wars datafiles can be corrupted when a user hangs up
- in the exact moment that DOS is updating a file. Though this happens rarely,
- it can happen. Usually you will be able to fix the record involved through
- the TEDIT editor without any further assistance. It is possible for the
- garbage data in a screwed up record to cause both the game AND the editor to
- crash. This happens if garbage gets in a pointer that the game or editor is
- trying to use to do a calculation or find another, related record in the
- database. In this case, you will need to use this utility, TWZAPPER to
- "nullify" the offending record.
-
- This utility will ask you whether its nullifying a Player, Sector, Port or
- Planet record and the the Number of that record (ie, player 22, sector 425,
- Port 123). These numbers can be viewed from within the TEDIT editor. After
- you have given it the appropriate data, it will nullify that record and exit.
- You can also abort by entering a 0 at any point.
-
-
- IMPORTANT CONSIDERATIONS!
-
- Nullifying a Player record is fairly safe. You will still see old info in the
- Player Edit screen though, as some of the data comes from the SHIPFILE.DAT
- database as well as the TWDATA.DAT file. This is OK.
-
- Nullifying a Sector record is safe as well. Anyone in that sector WILL NOT BE
- ABLE TO GET OUT! (grin, don't use this for that purpose!) Displaying that
- sector will work fine, but there will not be any warps leading out of it.
-
- Nullifying a Port record WILL CAUSE PROBLEMS if you do not immediately use
- Tedit to 1) Recreate the port or 2) Remove the pointer to the port in the
- Sector record (that the port was in). Why? Because the port record has some
- numeric information that is used by the port production routines to determine
- a ton of things. One of the variable sets (production rate) is involved in a
- division, so the game will dump with a Division by Zero error if you do not do
- one of the following steps above.
-
- Nullifying a Planet record *CAN* cause problems in some cases, so you should
- be aware of them. The planet location is determined from within the Planet
- record. If you ZAP the planet record, it will cease to exist to the game,
- unless someone is ON that planet. When they enter the game, it should work
- ok, but they will be on a Nullified planet, no nothing. When they LEAVE
- the planet, it will have disapeared. So, before nullifying a planet, make
- sure all players are off the planet first. In the player records, if someone
- is in a sector thats greater than 1000, that means they are on a planet in
- sector (Their Sector - 1000). Just subtract 1000 from their sector location
- to fix this. If they are in a sector greater than 2000, that means they are
- cloaked in sector (Their Sector - 2000).
-
-
- Hope this utility helps some of you to fix small problems and keep your
- current games going. (instead of re-rolling).
-
- This utility is provided as part of the product support we have for Trade Wars
- 2002. This utility is primarilly meant to be used by REGISTERED users of our
- product, so if you're not registered and using this, consider registering! If
- you don't support Software authors, you will not see games like Trade Wars
- 2002 in the future. Please note that if you are NOT registered, you will NOT
- be able to use the TEDIT editor to fix the database after using this utility.
-
- Released to the Public Domain, 1-3-1991, Gary A. Martin, Martech Software.
-