PACS

Practical Guide

  1. Download & install PACS
  2. The PACS-Files
  3. The Interface
  4. How to play a game
  5. How to create a players behaviour
  6. How to test your code
  7. Troubleshooting



Download & Install PACS

Older versions and version changements - Problems? Troubleshooting!

Check this page regularly for upcoming versions...

Install Modula-2 compiler XDS first!!
  Install PACS version 2.01 (20/2/2002)


Browse the code


The PACS-Files

  The main module PACS.mod:   The PACS engine library modules (.def & .mod files)   The Player behaviour library modules (.def & .mod files)   The PACS interface library module PACSInterface   The Standard library module StandardLib (.def & .mod)



The Interface

see PACSInterface.def

How to play a game

in PACS.mod (see file for documentation)

How to create a players behaviour

copy JJSimplePl.def & JJSimplePl.mod(use as template)
 

In detail:

HINT: to check if your file got errors: compile it (push the compile button while your file is activated)
 

Behaviour procedure

  • IN
  • Properties

    State

  • user defined in module with global variables

  • How to test your code


    PACS Troubleshooting

    Here we list all PACS specific errors, check the XDS troubleshooting page for general errors.
    Check also the FAQ.
     
    Problem Solution
    compile error: Key Inconsistency in ... compile PACSInterface.def first 
    run PACS.mod then
    compile error: Severe Error in ....mod (1:23): INTERNAL ASSERT(17) while reading symbol file "....sym" delete all .SYM-files (generated by XDS) and recompile
    Severe Error in PACSSound.mod (4:15): file open error: "Windows.sym" no such file  The installation of your XDS went wrong, it didn't install Windows.sym (necessary for PACS with sound): copy this file from here to the SYM/x86/ folder (which is in the folder where you installed XDS): 
     - for XDS 2.32: Windows.sym
     - for XDS 2.45: Windows.sym
    to download this file: rightclick on the link and select "Save link as ..."
    Error in PACSGui.mod (41:17): undeclared identifier "VideoConfig" you are using XDS version 2.32 (in PC-rooms from the third floor): 
     in file PACSGUI.mod, line 5: change  <* NEW XDS_245 + *>  into <* NEW XDS_245 - *> 
    Error in PACSGui.mod (65:1): proper procedure is expected you are using XDS version 2.45 (in PC-rooms from the third floor): 
     in file PACSGUI.mod, line 5: change  <* NEW XDS_245 - *>  into <* NEW XDS_245 + *>


    - Back to the top -