SmartFox server is best out there with very good forum support and I was hoping and waiting that some day silverlight support will be there.
I have few questions.
1 - Lapo will you be answering questions for silverlight here?
2 - Need more examples.
3 - Do you have any list or things to do when comparing to current Flash version of SmartFoxServer client API. I mean SilverLight Client API support all the functionality used for Flash Client API like extensions?
4 - More documentation.
I successfully connected.
Code: Select all
[SFS DEBUG] Trying to connect
[SFS DEBUG] Socket success
[SFS DEBUG] [Sending]: <msg t='sys'><body action='verChk' r='0'><ver v='154' /></body></msg>
[SFS DEBUG] [ RECEIVED ]: <cross-domain-policy><allow-access-from domain='*' to-ports='4502' /></cross-domain-policy>, (len: 91)
[SFS DEBUG] XML Handler null reference exception System.NullReferenceException: Object reference not set to an instance of an object.
at SmartFoxClientAPI.SmartFoxClient.XmlReceived(String msg)
[SFS DEBUG] [ RECEIVED ]: <msg t='sys'><body action='apiOK' r='0'></body></msg>, (len: 53)
Connected
Trying to login
[SFS DEBUG] [Sending]: <msg t='sys'><body action='login' r='0'><login z='simpleChat'><nick><![CDATA[]]></nick><pword><![CDATA[]]></pword></login></body></msg>
[SFS DEBUG] [ RECEIVED ]: <msg t='sys'><body action='logOK' r='0'><login n='guest_3' id='2' mod='0'/></body></msg>, (len: 88)
[SFS DEBUG] [Sending]: <msg t='sys'><body action='getRmList' r='-1'></body></msg>
On Login callback got: True : : guest_3
[SFS DEBUG] [ RECEIVED ]: <msg t='sys'><body action='rmList' r='0'><rmList><rm id='2' priv='0' temp='0' game='0' ucnt='0' maxu='50' maxs='0'><n><![CDATA[The Hall]]></n></rm><rm id='3' priv='0' temp='0' game='0' ucnt='0' maxu='50' maxs='0'><n><![CDATA[The Kitchen]]></n></rm><rm id='4' priv='0' temp='0' game='0' ucnt='0' maxu='50' maxs='0'><n><![CDATA[The Garden]]></n></rm><rm id='5' priv='0' temp='0' game='0' ucnt='0' maxu='50' maxs='0'><n><![CDATA[The Bathroom]]></n></rm><rm id='6' priv='0' temp='0' game='0' ucnt='0' maxu='50' maxs='0'><n><![CDATA[The Garage]]></n></rm><rm id='7' priv='1' temp='0' game='0' ucnt='0' maxu='50' maxs='0'><n><![CDATA[The Living Room]]></n></rm></rmList></body></msg>, (len: 677)
Room list updated with rooms:
- The Hall
- The Kitchen
- The Garden
- The Bathroom
- The Garage
- The Living Room
[SFS DEBUG] [Sending]: <msg t='sys'><body action='joinRoom' r='-1'><room id='2' pwd='' spec='0' leave='0' old='-1' /></body></msg>
[SFS DEBUG] [ RECEIVED ]: <msg t='sys'><body action='joinOK' r='2'><pid id='0'/><vars /><uLs r='2'><u i='2' m='0'><n><![CDATA[guest_3]]></n><vars></vars></u></uLs></body></msg>, (len: 150)
Joined room The Hall
[SFS DEBUG] [ RECEIVED ]: <msg t='sys'><body action='uCount' r='2' u='1'></body></msg>, (len: 60)
User count changed for room The Hall count: 1
[SFS DEBUG] [Sending]: <msg t='sys'><body action='rndK' r='-1'></body></msg>
[SFS DEBUG] [ RECEIVED ]: <msg t='sys'><body action='rndK' r='-1'><k>iWsdLzVwR}r]o]</k></body></msg>, (len: 74)
Random key: iWsdLzVwR}r]o]
[SFS DEBUG] [Sending]: <msg t='sys'><body action='roundTrip' r='2'></body></msg>
[SFS DEBUG] [ RECEIVED ]: <msg t='sys'><body action='roundTripRes' r='2'></body></msg>, (len: 60)
Round trip time: 0 seconds
[SFS DEBUG] [Sending]: <msg t='sys'><body action='createRoom' r='2'><room tmp='1' gam='0' spec='0' exit='1'><name><![CDATA[New room]]></name><pwd><![CDATA[]]></pwd><max>10</max><uCnt>0</uCnt><vars></vars></room></body></msg>
[SFS DEBUG] [ RECEIVED ]: <msg t='sys'><body action='roomAdd' r='0'><rm id='39' priv='0' temp='1' game='0' max='10' spec='0' limbo='0'><name><![CDATA[New room]]></name><vars /></rm></body></msg>, (len: 168)
Room created: New room
[SFS DEBUG] [Sending]: <msg t='sys'><body action='joinRoom' r='2'><room id='39' pwd='' spec='0' leave='1' old='2' /></body></msg>
[SFS DEBUG] [ RECEIVED ]: <msg t='sys'><body action='joinOK' r='39'><pid id='0'/><vars /><uLs r='39'><u i='2' m='0'><n><![CDATA[guest_3]]></n><vars></vars></u></uLs></body></msg>, (len: 152)
Joined room New room
[SFS DEBUG] [Sending]: <msg t='sys'><body action='pubMsg' r='39'><txt><![CDATA[I'm alive!!!]]></txt></body></msg>
[SFS DEBUG] [ RECEIVED ]: <msg t='sys'><body action='pubMsg' r='39'><user id='2' /><txt><![CDATA[I'm alive!!!]]></txt></body></msg>, (len: 110)
User guest_3 in room New room said: I'm alive!!!
[SFS DEBUG] [Sending]: <msg t='sys'><body action='asObj' r='39'><![CDATA[<dataObj><var n='name' t='s'>New object</var><var n='num' t='n'>10.3000001907349</var><var n='new' t='b'>1</var></dataObj>]]></body></msg>
[SFS DEBUG] [Sending]: <msg t='sys'><body action='logout' r='-1'></body></msg>
[SFS DEBUG] [ RECEIVED ]: <msg t='sys'><body action='logout' r='0'></body></msg>, (len: 54)
Logged out
[SFS DEBUG] Disconnect due to lost socket connection