To implement the Reality Check (RC) functionality in our games, you can parse the below variables in the GameClient JavaScript Function. (GameClient JavaScript information can be found here).
These additional variables are;
VARIABLE |
URL |
var:realitycheck_startduration |
|
var:realitycheck_interval |
|
var:realitycheck_historyurl |
|
var:realitycheck_exiturl |
|
Example renderClient
var params = {
'var:lang': 'en-GB',
'width': '1068',
'height': '600',
'param:base': 'https://server/folder/',
'var:config':'%3Cconfig%20isSystem%3D%22true%22%20priority%3D%221%22%3E%3CClientConfig%20FAST_URL%3D%22http%3A%2F%2Fserver%2F%22%20LANGUAGES%3D%22zh-CHT%3Bcs-CZ%3Bnl-NL%3Ben-GB%3Bde-DE%3Brw-RW%3Bsk-SK%3Bes-ES%22%20TREE_ROOT_ID%3D%22Z%3A1%22%20%2F%3E%3CModuleConfig%20REMOTE_PATH%3D%22%22%20REMOTE_PATH_HTML5%3D%22http%3A%2F%2Fserver%2Ffolder%2F%22%20%2F%3E%3CResourcePack%20FILE_LIST_POSTFIX%3D%22_IC%22%20%2F%3E%3CClientConfig%20LOGGER_ENABLED%3D%22true%22%20%2F%3E%3CFullscreenController%20SINGLE_BUTTON%3D%22false%22%20%2F%3E%3C%2Fconfig%3E',
'var:auth':'uP69nzoZ9wvr2NkM31RWzBk0nNvmlWw1ju%2BXhLYiLuVoJzAR%2Fr9opC2HIA%2Fqe8tnGXEL8yz%2BnpmdENVUbzY7ll4PZ8DQ4jONTkPF7DcSEkthoNgVoqdbrw%3D%3D%3B201602028269469823',
'var:moneyType': '2',
'channel': 'Html5',
'var:gameKey': 'VSlotSK_tnp',
'var:gameAddress': 'R%3A1.3.298',
'var:gameVersion': '1',
'var:gameName': 'Savannah%20King%20-%20Touch%20N'%20Play',
'var:realitycheck_startduration': '5',
'var:realitycheck_interval': '30',
'var:realitycheck_historyurl': 'https://some.history.page',
'var:realitycheck_exiturl': 'https://some.exit.page'
};
Exit Game: Closes the game and redirects the player to the var:realitycheck_exiturl parameterReality Check Options:
- Game History: Redirects the player to the game history. This URL is provided in the var:realitycheck_historyurl parameter
- OK: Closes the popup window and continue playing
Comments
0 comments
Article is closed for comments.