home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / BBSONLIN / GWAR23R.ZIP / DATAFILE.TXT < prev    next >
Text File  |  1990-09-01  |  5KB  |  120 lines

  1. GLOBAL WAR data file documentation
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. Revised for Global War version 2.0
  4.  
  5. This file documents the contents of your WARxx.DAT and WARxx.REC files.
  6. These files contain all the information for GLOBAL WAR games in progress,
  7. in signup mode, and after completion.
  8.  
  9. FILE CONTENTS:
  10. ~~~~~~~~~~~~~~
  11. Note: "daynum" refers to a real number which is the number of days since
  12. January 1, 1985.   Example: a daynum of 1671.6039 works out to be
  13. July 30, 1989 (1/1/85 + 1671 days).  Adding another .6039 days works out
  14. to be 14.4936 hours, which puts us at about 2:29 pm.
  15.  
  16. Line Description    Range
  17. ~~~~ ~~~~~~~~~~~    ~~~~~~
  18.    1 Game_Event     (0..1166)
  19.        0 = Normal game, not started
  20.        1 = Normal game, in progress
  21.        2 = Normal game, completed and awaiting auto-deletion.
  22.        3 = Team   game, not started
  23.        4 = Team   game, in progress
  24.        5 = Team   game, completed and awaiting auto-deletion.
  25.       33 = Normal game,   3 players, not started
  26.       34 = Normal game, 3-4 players, not started
  27.       35 = Normal game, 3-5 players, not started
  28.       36 = Normal game, 3-6 players, not started
  29.       44 = Normal game,   4 players, not started
  30.       45 = Normal game, 4-5 players, not started
  31.       46 = Normal game, 4-6 players, not started
  32.       55 = Normal game,   5 players, not started
  33.       56 = Normal game, 5-6 players, not started
  34.       66 = Normal game,   6 players, not started
  35.  
  36.       100 is added to the above value if Hidden names are in effect.
  37.      1000 is added to the above value if Unlimited Fortifications are
  38.           in effect.
  39.  
  40.    2 Event_Day      daynum
  41.        The daynum that Game_Event occurred.
  42.  
  43.    3 Player_Name    17-Char String    \
  44.        The Player's Name                \
  45.                                           \
  46.    4 Player_Vote    T or F                  \
  47.        The Player's Vote to start the game,   \
  48.        "T" or "F" for Yes or No.                \
  49.                                                  | This is player 1's
  50.    5 Player_Moved   daynum                       | data.
  51.        daynum that the player last took a turn.  | This data is repeated
  52.                                                  | 5 more times for the
  53.    6 Cmd_General    1..5                         | remaining 5 players.
  54.        Number of Commendations from the          | A Player_Name of NONE
  55.        General this player holds.                | denotes no player.
  56.                                                  |
  57.    7 Cmd_King       1..5                         |
  58.        Number of Commendations from the         /
  59.        King this player holds.                /
  60.                                             /
  61.    8 Cmd_Queen      1..5                  /
  62.        Number of Commendations from the /
  63.        Queen this player holds.       /
  64.  
  65.   39 Cmd_Sets       INTEGER
  66.        Number of Sets of Commendations turned in for additional armies.
  67.  
  68.   40 Armies         INTEGER              \
  69.        Number of armies on the country.    \  This data is for Country #1
  70.                                             | (Afghanistan) and is repeated
  71.   41 Owner          1..6                   /  for the remaining 41 countries.
  72.        Player who occupies this country. /
  73.  
  74.  124 Team 1 password \
  75.                       \
  76.  125 Team 2 password   |- If GameEvent = 3 (or 103, 1003, 1103), these are the
  77.                       /   passwords required for a player to join a team.
  78.  126 Team 3 password /
  79.  
  80. Country numbers:
  81.    1 Afghanistan   13 France      25 W. Africa   37 Ural
  82.    2 Alaska        14 Greenland   26 Germany     38 Venezuela
  83.    3 Alberta       15 England     27 Yukon       39 W. Australia
  84.    4 Argentina     16 India       28 Ontario     40 Spain
  85.    5 Brazil        17 Borneo      29 Peru        41 W. US
  86.    6 Mexico        18 Irkutsk     30 Quebec      42 Taimyr
  87.    7 China         19 Japan       31 Scandinavia
  88.    8 Zaire         20 Kamchatka   32 Siam
  89.    9 E. Africa     21 Madagascar  33 Siberia
  90.   10 E. Australia  22 Iran        34 S. Africa
  91.   11 E. US         23 Mongolia    35 Italy
  92.   12 Libya         24 New Guinea  36 Ukraine
  93.  
  94. Recovered games:
  95. ~~~~~~~~~~~~~~~~
  96. In the event of a loss of carrier, the game is saved in a file called
  97. WARxx.REC (where xx is the game number).  If the player then calls back
  98. his turn will be resumed right where he left off.  If another player calls
  99. back first and takes his turn, this file is deleted and the original game
  100. (WARxx.DAT) is used instead.
  101.  
  102. WARxx.REC file format is the same as WARxx.DAT format except the following
  103. prefix data appears before the game data:
  104.  
  105. LINE 1: PlayerNumber      The player number (1-6) of the player who lost
  106.                           connection.
  107.  
  108. LINE 2: LastPlay          What the player was doing when he lost connection.
  109.                           0=Deploying armies, 1=Attacking, 2=Fortifying
  110.                           3=Attacking and has earned a commendation
  111.  
  112. LINE 3: ArmiesToDeploy    If the player was deploying armies, this is the
  113.                           number of armies still left to deploy.
  114.  
  115. LINE 4: Map               This is the map which was displayed when carrier
  116.                           was lost.  1=Globe 2=Africa 3=Asia 4=Australia
  117.                           5=Europe 6=N.America 7=S.America
  118.  
  119. The remainder of the data is as documented above.
  120.