4.SimpleDB2 Sample

SimpleDB2 is an example of using dbc2_cache_overview. The actual cases of using are guided in http://www.nettention.com/sample. It is recommended for you to learn 1.4 DB cache ver.2 Basic Usage first for better understanding of the sample codes.

First, install Creating a sample database.

Then you need build for the sample sources.

When the sample sources are properly built, start the server.

Run the client when the server starts. The client is CUI application program in the sample sources but in the real cases, DB cache client gets included in the game server.

The client program shows the process of loading gamer data after connecting to DB cache server, creating a playable character, adding an item, editing properties, deleting a character or an item, release loading and etc. at each time you click on [Run] button. To understand each process properly, please take a closer look at the routines related to client in the sample sources.