I can not send request to rooms by bluebox
Posted: 29 May 2014, 11:09
sfs-config.xml
this what I send to server but server do not have any response and error.
if I remove the room parameter server will have response.
Below is the debug message on clinet.
bluebox log file is empty.
My smartfox2x version is 2.6, but I update to 2.8. It's the same.
Code: Select all
<!--
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
SFS2X Client Configuration file
(c) 2011 gotoAndPlay
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-->
<SmartFoxConfig>
<!-- Mandatory Settings -->
<ip>XXX.XXX.XXX.XXX</ip>
<port>9930</port> <!-- wrong port make sure that client connect by bluebox -->
<zone>texas</zone>
<!-- End Mandatory Settings -->
<debug>true</debug>
<httpPort>8080</httpPort>
<useBlueBox>true</useBlueBox>
<blueBoxPollingRate>500</blueBoxPollingRate>
</SmartFoxConfig>
this what I send to server but server do not have any response and error.
if I remove the room parameter server will have response.
Code: Select all
var sfsObj:SFSObject = new SFSObject();
sfsObj.putInt(GameVariableType.BUY_IN_CHIP, chip);
sfsObj.putInt(GameVariableType.SEAT_NO, seat);
sfsObj.putBool(GameVariableType.AUTO_BUY_IN, autoBuy);
return new ExtensionRequest("CLI2TXH_GAME_SIT_DOWN_PL", sfsObj, room);
Below is the debug message on clinet.
bluebox log file is empty.
Code: Select all
[SFS - INFO] Object going out:
(sfs_object) p:
(int) r: 3
(sfs_object) p:
(int) buy_in_coin: 200000
(bool) auto_buy_in: true
(int) seat_no: 0
(utf_string) c: CLI2TXH_GAME_SIT_DOWN_PL
(byte) c: 1
(short) a: 13
My smartfox2x version is 2.6, but I update to 2.8. It's the same.