Search found 12 matches
- 06 Dec 2012, 14:12
- Forum: SFS2X Java / Android API
- Topic: Disconnection on calling toJson() for SFSObject
- Replies: 2
- Views: 5789
Disconnection on calling toJson() for SFSObject
I am trying to call toJson() on SFSObject in the dispatch method of my class (which implements IEventListener): @Override public void dispatch(BaseEvent event) throws SFSException { if (event.getType().equalsIgnoreCase(SFSEvent.EXTENSION_RESPONSE)) { ISFSObject params = (ISFSObject) eventArgs.get(&q...
- 11 Oct 2010, 09:43
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Getting Date & Time using SFS Extension
- Replies: 1
- Views: 3628
Getting Date & Time using SFS Extension
Hi,
I need to record the login time using the SFS Extension. Is there a function the can fetch the current date and time using an extension?
Thanks in advance,
Suvro
I need to record the login time using the SFS Extension. Is there a function the can fetch the current date and time using an extension?
Thanks in advance,
Suvro
- 20 Sep 2010, 10:54
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Getting Buddy List of other Buddies
- Replies: 2
- Views: 4614
- 20 Sep 2010, 08:39
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Getting Buddy List of other Buddies
- Replies: 2
- Views: 4614
Getting Buddy List of other Buddies
Hi,
Is it possible to get list of buddies of another Buddy. For ex. Chimpo is a buddy of Monky. Chimpo needs to know who are Monky's buddies? Is it possible?
Thanks in advance..
Suvroz
Is it possible to get list of buddies of another Buddy. For ex. Chimpo is a buddy of Monky. Chimpo needs to know who are Monky's buddies? Is it possible?
Thanks in advance..
Suvroz
- 16 Aug 2010, 07:38
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: advanced buddylist options not working.
- Replies: 1
- Views: 3515
advanced buddylist options not working.
Hi, I have the below configuration set in config.xml <BuddyList active="true"> <size>200</size> <maxBuddyVariables>10</maxBuddyVariables> <mode>advanced</mode> <offLineBuddyVariables>true</offLineBuddyVariables> <addBuddyPermission>true</addBuddyPermission> <permissionTimeOut>10</permissio...
- 13 Aug 2010, 08:16
- Forum: Server Side Extension Development
- Topic: Auto-Destroy Rooms created by sfsExtensons
- Replies: 2
- Views: 4830
- 13 Aug 2010, 07:09
- Forum: Server Side Extension Development
- Topic: Auto-Destroy Rooms created by sfsExtensons
- Replies: 2
- Views: 4830
Auto-Destroy Rooms created by sfsExtensons
Hi, I am creating room using extension using the below code: var roomObj = {} roomObj.name = roomname roomObj.maxU = 20 roomObj.isGame = "true" var roomVars = [{name:"wel", val:'welcome to room', priv:false, persistent:true}]; var resRom = _server.createRoom(roomObj, null, true, ...
- 18 Mar 2010, 05:37
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: DbManager could not retrive a connection.
- Replies: 5
- Views: 7442
- 18 Mar 2010, 02:33
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Access of possibly undefined property onExtensionResponse
- Replies: 1
- Views: 4087
Access of possibly undefined property onExtensionResponse
I am trying to compile this piece of code: import it.gotoandplay.smartfoxserver.*; import it.gotoandplay.smartfoxserver.data.*; var smartfox:SmartFoxClient=new SmartFoxClient(true); var extensionName:String="mydb"; butt_load.addEventListener("click", getData); function getData() ...
- 17 Mar 2010, 12:10
- Forum: Server Side Extension Development
- Topic: Access to undefined extension
- Replies: 1
- Views: 3880
Access to undefined extension
I am trying to compile this piece of code: import it.gotoandplay.smartfoxserver.*; import it.gotoandplay.smartfoxserver.data.*; var smartfox:SmartFoxClient=new SmartFoxClient(true); var extensionName:String="mydb"; butt_load.addEventListener("click", getData); function getData() ...
- 17 Mar 2010, 09:32
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: DbManager could not retrive a connection.
- Replies: 5
- Views: 7442
- 16 Mar 2010, 09:48
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: DbManager could not retrive a connection.
- Replies: 5
- Views: 7442
DbManager could not retrive a connection.
Hi I am using the below configuration: <DatabaseManager active="true"> <!-- <Driver>sun.jdbc.odbc.JdbcOdbcDriver</Driver> <ConnectionString>jdbc:odbc:sfsTest</ConnectionString> --> <!-- Example connecting to MySQL --> <Driver>org.gjt.mm.mysql.Driver</Driver> <ConnectionString>jdbc:mysql://...