bw logo

Chapter 6. Server Changes

6.1. Server Hardware Support

32 bit Linux distributions are no longer supported. Only 64 bit environments are now supported. This change was made as most hardware that has been sold recently has been 64 bit, and the increased memory availability on 64 bit servers is more suited to the requirements of the BigWorld server.

While there should be no game script related changes needed as a result of this change, any code you have implemented on a 32 bit system will need to be reviewed to ensure it works safely under a 64 bit environment.

6.2. DBMgr source code

The DBMgr source code has undergone a cleanup and refactor which has involved separating the bulk of the code into three libraries. The core DBMgr code is still located in bigworld/src/server/dbmgr, however the XML and MySQL implementations along with the generic DBMgr interface have been moved into bigworld/src/lib. Specifically the layout of the DBMgr code is as follows:

  • bigworld/src/lib/dbmgr_lib

    This directory contains the interface required for DBMgr to communicate with specific database implementations, and vice-versa.

  • bigworld/src/lib/dbmgr_mysql

    This directory contains the MySQL implementation for DBMgr, SyncDB and ConsolidateDBs.

  • bigworld/src/lib/dbmgr_xml

    This directory contains the XML implementation for DBMgr.

The most significant change that occurred along with the source code moving location has been the cleanup and separation of the MySQL implementation. Most classes are now contained in their own file, and DBMgr tasks along with property data type mappings have been separated in their own subdirectories.