0. Common


0.1. Game keeper can be connected to R_keeper_CRM

0.2. This manual is for new GK3 installation

0.3. Game_keeper has allocated support gk@ucs.ru

0.4. Tested CRM 507 + GK 325

0.5. In case you do change in production system - stop apps in the following sequence:

0.5.1. gk3Agent;

0.5.2. gk3Host;

0.5.3. gkPosServer;

0.5.4. CS_Auth_Server.


1. Installation


1.1. Install GK3 as in manuals http://support.ucs.ru/en/gk.

1.2. Install CRM as in manuals http://support.ucs.ru/en/node/5619 (use MS SQL Server DB).

1.3. Execute SQL query for accounts creation on CRM DB with correct version.

1.4. Create cards in CRM using tool gkCsUtil (and later always use this tool for card creation).

1.4.1. "GK_CS utils" application from ftp://ftp.ucs.ru/GameKeeper/Temp/

1.4.2. gkCsUtil.exe has configuration file gkCsUtil.ini to be set

[DbConnect]
DbName = gkArcade
UserName = sa
ServerName = 127.0.0.1
Password =083204044C3D3D5012202010720A0C76
 
[Settings]
LogLevel=10
 
[CS_Connect]
Terminal_Type=gkPOS
Connect_Type=0
Address=127.0.0.1
Port=9191
 
[CS_Settings]
;STR_ACCOUNT_TYPE_LEVEL= 1000
;STR_ACCOUNT_TYPE_BONUSX_POINTS = 1001

1.4.2.1. Set up section [DbConnect]  same as for gkPosServer application. This is connect to GK3 DB.

1.4.2.2. Set [CS_Connect] for connection to CRM API (not to CRM DB)

1.4.2.2.1. Port – CRM connection port (default 9191 for Auth_Server, or port 211 of Borland socket server). See Connect_Type dependent.

1.4.2.2.2. Terminal_Type - CRM software classifier code

1.4.2.2.3. Connect_Type - choose where to connect in CRM: – CS_Server (0 – Auth_Server, 1 – Borland socket server, 2 - custom socket).

1.4.2.2.4. Address - IP of CRM server (CS_Server, Auth_Server).

1.4.2.3. Set [CS_Settings] section for communication details like possibility of card creation with Discout type account or X-bonus . See gkPosServer

1.4.2.3.1. STR_ACCOUNT_TYPE_LEVEL - ID of account type from CRM editor (in case game center uses)

1.4.3. GUI is simple to use

1.4.4. There are three ways for CRM to import cards. Two of them import from file (use in new installation).

1.4.4.1. use cards.txt - with signatures, new format for import after GK fresh installtion.

1.4.4.2. use cards.sql - deprecated format.

1.4.4.3. use GK data - in case upgrade GK3 system from own DB transfer to CRM.

1.5. Set up gkPosServer connect to CRM

1.5.1. set  similar to 1.4. gkPosServer.ini

[DbConnect]
ServerName = 127.0.0.1
DBNAME=gkArcade
UserName = sa
Password = 083204044C3D3D5012202010720A0C76
 
[Settings]
LogLevel = 1000
CheckExpiredSubscriptionsInterval = 5
 
[CS_Connect]
Terminal_Type=gkPOS
Connect_Type=0
Address=127.0.0.1
Port=9191
 
[CS_Settings]
STR_ACCOUNT_TYPE_LEVEL= 1000
STR_ACCOUNT_TYPE_BONUSX_POINTS =1001

1.5.2. Discount account type create and use or/and  X-bonus - set in section [CS_Settings] (in case necessary, set account type ID from CRM).

1.6.  Set sections [CS_Connect] and [CS_Settings] in gkMServer.ini

[DbConnect]
Port = 211
ServerName = 127.0.0.1
DBNAME = gkArcade
UserName = sa
Password = 083204044C3D3D5012202010720A0C76
 
;[SETTINGS]
;LOG_LEVEL = 3
;LOG_SIZE = 1024
;LOG_CNT = 10
 
[CS_Connect]
Terminal_Type=gkPOS
Connect_Type=0
Address=127.0.0.1
Port=9191
 
[CS_Settings]
STR_ACCOUNT_TYPE_LEVEL= 1000

1.6.1. in case Discount account type used (GK levels are saved to CRM DB) you have to use CRM Editor to adjust account type for GK levels. On start of gkEditor levels are updated.

1.6.2. Set up like in 1.5.

1.7. Set CRM editor and DB

1.7.1. Create Discount account type - for GK

1.7.2. Create necessary levels in this account type - for GK

1.7.3. Transfer level ID=1 to new account type with scripts provided, also need to have linked server for this step.

1.7.4. Set correspondence of levels manually


2. Start and use


2.0. Start CS_Auth_Server.

2.0.1. Check it works with Editor.

2.1. Start gkEditor.exe first (gkMServer must be started)

2.1.1. Check levels in work

2.2. Start gkPos.exe (gkPosServer must be started automatically)

2.2.1. Check levels in work

2.3. gk3Host;

2.4. gk3Agent.