home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / comm / batdoor.zip / BATDOR33.DOC < prev    next >
Text File  |  1990-07-25  |  15KB  |  282 lines

  1.  
  2.  
  3.  
  4. ==============================================================================
  5.  
  6.                          Battleship Door Version 3.3
  7.  
  8.                    A Multiplayer Door for PCBoard Version 14
  9.  
  10.                         Registration is only $10.00!
  11.  
  12.               Written by: Gerry Freymann
  13.                           R.R.#1
  14.                           Baltimore, ONT K0K 1C0
  15.  
  16.           The Phantom BBS (416) 342-3734/3766 USR HST
  17.                           (416) 342-5573 Hayes Ultra
  18. ==============================================================================
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25. Brief Update History
  26. ---------------------------------------------------------------------------
  27. 1.0 - Initial Release written in Turbo Basic
  28. 2.0 - Updated to work with PCBoard 12 or 14
  29. 2.1 - fixed a few bugs
  30. 3.0 - Now rewritten in Quickbasic using Clint Labarthe's Door Patch code
  31.     - Changed the screens to look more like Backgammon and Checkers
  32.     - Added an ANSI version of the Bulletin as well as the ASCII
  33.     - Added an option to reply to a message right after you read it.  Before
  34.       you had to get to the Command Line in the Game to leave a message
  35.     - Added "stacking" of Commands.  Make a move in Game One by entering
  36.       1-1 <RETURN> etc.
  37. 3.1 - The authors of Door Patch released an update on their code which caused
  38.       me to recompile all of my Doors using DORPCH35.EXE
  39.     - fixed a problem of no flashing hit ships on the far right columns
  40.   * - NOTE:  the .CFG file format has changed.  See the section on the .CFG
  41.       file later in this document.
  42.     - added NULL options on the two Bulletin lines in the .cfg file.  You can
  43.       now choose from one, both or none.  Simply put the word NULL on the
  44.       line(s) for the bulletins if you wish NOT to produce one or both of
  45.       them.
  46.     - changed the method by which the program would copy the Hall Of Fame
  47.       at the bottom of the Bulletins.  I used a SHELL COPY command before
  48.       but that caused problems if you had a small amount of memory available.
  49.     - also added a carraige return after the sentence at the end that says
  50.       please wait while updating the bulletins.  Looks nicer now.
  51.     - Also fixed the problem with the .NDX file getting mysteriously set to
  52.       zero!  Every now and then you could have a batch of games going and
  53.       when somebody entered the door the program thought NO games were
  54.       underway.  All you found in the .NDX file was the number 0.  This has
  55.       been fixed.
  56. 3.2 - Released after successful Beta Testing on March 22, 1989
  57.     - The Index file has been changed to a Random Access File.  The program
  58.       will read this file at various points throughout the Door.  The index
  59.       file will only be updated IF a new game is added, a player completes
  60.       his move or a player joins a game waiting for a player.  It also only
  61.       updates the RECORD in the .NDX file as opposed to rewriting the entire
  62.       file.  This will fix the mixed up .NDX file problem on multi-node
  63.       systems.
  64.     - All game files have been changed to Random access files and are
  65.       opened with File Locking syntax.
  66.     - The opening and closing screens have been changed in favour of
  67.       quicker log-ins and log-offs.
  68.     - The opening where the program searches for the Players' name has been
  69.       updated.  The program now tells the user it's his move in game 1, 2,
  70.       3, etc..  The program also lists the game numbers of games which
  71.       need a second player.
  72.  ** - A convert program to change the .NDX file and the game file to the new
  73.       format has been created.  Run it once and forget it. [BCONVERT.EXE]
  74.     - The Sysop maintenance program [BATKILL.EXE] has been updated to 3.3
  75.       and has also been rewritten in QuickBasic.  Very FAST!
  76.     - An option to allow the player to withdraw from the game has been
  77.       added.  Option 9 - a Sysop only command has been removed.  If you
  78.       really want to delete a game just DEL BATDOOR.0?? and run the
  79.       BATKILL program.
  80.     - If you don't specify a configuration file after the BATKILL name,
  81.       Batkill will now open BATDOOR.CFG by default.  Batkill does require
  82.       a .cfg file to be passed onto it, but if one isn't, BATDOOR.CFG will
  83.       be used.
  84.     - Stopped displaying the Hall of Fame (if one exists) upon exiting the
  85.       door program to speed up exits.  If they want to see the Hall of Fame
  86.       they can read the Bulletin!
  87. May 15/89
  88.     - fixed a small problem with the messages in the system.  Player 1's
  89.       messages were never seen by Player 2, although Player 2's messages
  90.       were seen by Player 1.  My fault.  Fixed now.
  91. ---------------------------------------------------------------------------
  92. 3.3 - increased maximum number of games allowed to 100 from 50
  93.     - added necessary code to work with Register program (see DOCS)
  94.     - added expert mode on Main Menu
  95.     - added a check for ? or H on Main Menu command line and offer help
  96.     - added a comment to screen when searching for player stats
  97.     - messages left will be displayed in their original case (used to be
  98.       all caps in earlier versions)
  99.     - added a colour graphics toggle to Main Menu
  100.     - corrected stacking at main command line.  You could view game 5 with
  101.       just a 2;5 but a 2;10 would fail.
  102.     - have the program stop after filling up the screen when listing games
  103.       and displaying current game status bulletin.  It used to just scroll.
  104.     - Added a question mark at the end of the Main Menu command line
  105.     - put in the current date to the game file when player2 joins a game.
  106.     - justified the game numbers from 1-9 when listing games
  107.     - Updated the Batkill program
  108.       -fixed double version number when the Hall of Fame was added to Blt
  109.       -now creates a Batkill.LOG file (overwrites each time)
  110.       -automatically deletes games that have not had a move in them for
  111.        45 days or longer
  112.  
  113.  
  114.  
  115. Overview of Battleship Door
  116. ---------------------------------------------------------------------------
  117.  
  118. Welcome to Battleship!  A Multiplayer Door for PCBoard Ver 14. Now
  119. written in QuickBasic using Clint Labarthe's Door Patch Ver 3.5!
  120.  
  121. Battleship was a program I first found way back in my Commodore days.  I've
  122. played around with that program for some time and have two modem battleship
  123. packages available, one for the C64 and one for the IBM.  Now I've converted
  124. it to a PCBoard Door.  It was a PUBLIC DOMAIN file and the author's name was
  125. not included.  Some routines and code from the very original program exist
  126. in various forms in this Door program.
  127.  
  128. Batdoor Release 3.2 and greater are now fully NETWORK compatable.  All of the
  129. main Data files are opened using File Sharing.
  130.  
  131. Upgrading instructions are in the History log... read em!
  132.  
  133. Batdoor is very simple.  It lets two users take turns guessing where each
  134. other's ships are.
  135.  
  136. When you enter the Door a menu will be presented with 8 choices.  They
  137. are:
  138.  
  139.                 1) Make a move in a Game that you are in
  140.                 2) Start a brand new game and wait for a Player
  141.                 3) See a Game that is already underway
  142.                 4) Become Player 2 in a Game waiting for a Player
  143.                 5) List the current Games, Players & who's move
  144.                 6) Complete instructions for Battleship Door
  145.                 7) End program and Exit to PCBoard
  146.                 8) List your current Stats
  147.                 X) Expert Mode ON/Off
  148.                 G) Colour Graphics ON/off
  149.  
  150. Most of this stuff is pretty straight forward.  The program checks and checks
  151. again to make sure that anyone trying to make a move or join a game is indeed
  152. eligible to do so.  Other users not involved in a game will NOT see where
  153. anyone has placed their ships in any game but their own.  See a Game that is
  154. already underway simply displays the guessing grids of the two players
  155. involved in the game.  You also won't be allowed to make a move unless it's
  156. your turn - go ahead and try!  You basically aren't allowed to enter anything
  157. the program isn't expecting.
  158.  
  159. When a Player enters the program and gets into the Setup or Make a Move
  160. function, his grid containing his ships will always be on the left while
  161. his "guess" grid will always be on his right, regardless of what Player
  162. he is (like in 1 or 2).  The only time Player 1 is on the left and Player
  163. 2 is on the right is when you view a game in progress, all other times
  164. the program automatically flips the grids as needed.
  165.  
  166. When a user exits the Battleship Door the program will write a Bulletin
  167. that you can add to your system containing the names of the Players and
  168. their opponents, who's turn it is, if the game is over, how may guesses
  169. have been made and if some games have been completed, the
  170. Battleship "Hall of Fame" appears at the bottom of the Bulletin.
  171. The "Hall of Fame" is contained in a file that is called BATDOOR.SCR
  172. and will appear once a game has been completed and should remain there
  173. until you deem fit to 'reset' the Hall of Fame scoreboard.
  174. The program basically appends BATDOOR.SCR to your Bulletins
  175. so deleting BATDOOR.SCR will erase any completed game history.
  176.  
  177.  
  178. Files needed for Battleship Door Operation
  179. ---------------------------------------------------------------------------
  180.  
  181. If you have any doubt about the integrity of the files contained in this
  182. ARCHive, feel free to call my BBS in Cobourg, Ontario Canada and download
  183. the latest version.  (416) 342-3734/3766 HST (416) 342-5573 Hayes Ultra.
  184.  
  185. *BATDOR35.EXE      <<--The main program
  186. * BATDOOR.CFG      <<--A sample configuration file
  187.   BATDOOR          <<--A sample file to run the whole thing
  188. * BATDOOR.INS      <<--The instructions the user will see
  189.  BATDOR33.DOC      <<--I luv this part - You're reading it right now!
  190. * BATKILL.EXE      <<--Sysop Maintenance program, use in your Event.Sys
  191.  BCONVERT.EXE      <<--Updates files to new 3.2 format, run once and forget
  192.                                             ^-> if you are running 3.2
  193.                                                 and are upgrading to 3.3 you
  194.                                                 DON'T run this again.
  195.   LICENSE.DOC      <<--You MUST read, understand and agree with this!
  196.     SYSOP.DOC      <<--Important setup instructions
  197.     FLYER.DOC      <<--Information on other programs available from me
  198.  REGISTER.FRM      <<--Registration Form
  199.  
  200. Files created by the program after running it:
  201.  
  202. * BATDOOR.SCR      <<--Hall of Fame is held in here once a game has ended
  203. * BATDOOR.0??      <<--Games currently underway, ?? equals 01 to 100
  204. * BATDOOR.NDX      <<--Quick index off all the Games
  205. * BATDOOR.REG      <<--Created by BATREG.EXE after registering
  206.  
  207. Files needed for proper Door Patch Operation:
  208.  
  209. * DOORPCH35.EXE  <--you should have these already.  If you don't they are
  210.      BRUN30.EXE  <--available to you on my system.
  211.  
  212.  
  213. [*] - these files must be in the same directory
  214.  
  215.  
  216. BATDOOR.CFG - What is required
  217. ---------------------------------------------------------------------------
  218. C:\PCB\PCBOARD.SYS   <<--Full path and name of PCBoard.Sys
  219. The Phantom BBS      <<--Your BBS Name (Use upper and lowercase)
  220. Gerry                <<--Sysop first name
  221. Freymann             <<--Sysop last name
  222. 20                   <<--Maximun number of games you want (100 is the max)
  223. C:\PCB\GAMES\GBLT4   <<--Full path and name of ASCII Bulletin | NULL if none
  224. C:\PCB\GAMES\GBLT4G  <<--Full path and name of ANSI Bulletin  | NULL if none
  225.  
  226.  
  227. BATKILL.EXE - Daily Maintenance Program - UPDATED!
  228. ---------------------------------------------------------------------------
  229. This program has been rewritten in Quick Basic also.  This program can be
  230. called up from DOS or added to your Event.sys file.  I suggest you run this
  231. at LEAST ONCE A WEEK.  The players can now quit the game and the only way
  232. to remove it is by running BATKILL.  Why?  I couldn't fit any more code into
  233. the damned program!  The compiler wouldn't take it.  The basic code for the
  234. main program is over 66,000 bytes as it is!  BATKILL's purpose is to delete
  235. any games that are completed and move all other games up.  Games are stored
  236. as BATDOOR.001 for game 1, BATDOOR.002 for game 2 etc.  The main program
  237. reads these files sequentially from 1 to the end and should you delete a game
  238. in the middle it will not see any game past that point.  Therefore you should
  239. run BATKILL to delete unwanted finished games and restore the list.  It will
  240. automatically delete expired games and rename the remaining games from 1 to
  241. end, update the Bulletins and index file.
  242.  
  243. Also, if for any reason your index file becomes inaccurate, simply run
  244. BATKILL and it will be updated.  BATKILL actually reads in each data file
  245. of all the games and read the Player's name and who's turn and all that
  246. important stuff.  It kinda double checks everything and sets it right.
  247.  
  248. Batkill also needs a configuration file name passed onto it when you run it,
  249. as it must know your maximum allowed games and where your Bulletin is to be
  250. kept.  Use the SAME name as you did to load BATDOOR.  For example, if you
  251. loaded Batdoor using BATDOOR BATDOOR.CFG then you should load the Battleship
  252. Sysop maintenance program like this:  BATKILL BATDOOR.CFG.  If you don't
  253. specify a .cfg file name, then Batkill will open BATDOOR.CFG by default.
  254.  
  255. As of Batdoor v3.3 the Batkill program will now automatically delete games
  256. that have not seen action for 45 days or more.  Batkill also creates a log
  257. file called BatKILL.LOG which will let you know what games have been
  258. deleted and why.  The Log file is overwritten each time the program is run
  259. so you don't have to worry about it growing and growing.
  260.  
  261.  
  262. Support the Shareware concept...
  263. ---------------------------------------------------------------------------
  264. To Register, please print out and return the REGISTER.FRM in the Zip file.
  265. With the release of Batdoor 3.3 I have made a slight change to the
  266. register process.  Now, when you register, you will be given a small program
  267. called BATREG.EXE which you run in your door subdirectory.  This program will
  268. create a file called BATDOOR.REG which will instantly register your existing
  269. copy of the door program, and any and all future versions as well.  This
  270. means that any future releases you find will automatically continue to say
  271. registered to you, without the need to come back to me.  I hope you'll
  272. appreciate this new system.  You should be able to call The Phantom BBS and
  273. make your initial call, wait until I receive your payment, and download this
  274. small utility without spending alot of time on the phone.  Or, for an
  275. additional $5.00 per order, I can send you the whole package on disk using
  276. the postal service.  The choice is yours.
  277.  
  278. ---------------------------------------------------------------------------
  279.  
  280. Thanks for your support!
  281.  
  282.