Combu 2.1.13 is now available on Asset Store too. This version has some bugfix and new features.
Unity
- Minor change to AutoPing and Ping functions to update the currently logged user data after successful ping was received
Server
- Added support for suffix to table names, now you can host multiple Combu installations in the same database (const define GAME_DB_PREFIX in /lib/config.php)
- Added new property AddonModule:Version for versioning of the addons
- Fixed highlighting of all sub-menus of every addon in admin console
- Added tooltip to the section headers of addons in the admin console menus with name and version of the addon
- New buttons in Players > Edit section of the admin console: DELETE ALL SCORES, DELETE SCORE FROM LEADERBOARD, RESET ALL ACHIEVEMENTS, RESET ACHIEVEMENT
- Fixed issue in CB_Account_Platform:Save
How to install two or more Combu in the same database
We added the new const define GAME_DB_PREFIX in the web configuration to support those clients who need to use only one database to store the data of two or more different Combu apps (for example if your provider gives only a fixed number of databases). By setting a GAME_DB_PREFIX in a Combu installation, you will be able to create the tables with a prefix and maintain more than one app in the same database but for different apps not sharing the same data: for now you will need to manually edit the SQL file (combu_db.sql) and add your chosen prefix to the table names (e.g.: replace CREATE TABLE IF NOT EXISTS `CB_Account` with CREATE TABLE IF NOT EXISTS `myapp2_CB_Account`, same for all other CREATE TABLE statements), we’re thinking also to create a file in the web folder to easily setup the web application and create the database without doing this in phpMyAdmin/MySqlWorkbench or manually change the configuration file.