Search found 17 matches
- 19 Jul 2020, 19:24
- Forum: Server Side Extension Development
- Topic: DBManager.executeInsert() not returning a key even It added a row on mysql database
- Replies: 1
- Views: 6532
DBManager.executeInsert() not returning a key even It added a row on mysql database
im using sfs2x-core.jar and sfs2x.jar from smartfoxserver2X 2.16 I notice DBManager.executeInsert() doesn't return a key even it added the row on my mysql database. meaning DBManager.executeInsert() return null. but when you look at your table, it successfully inserted the row. i also notice the pro...
- 27 May 2020, 19:40
- Forum: SFS2X Questions
- Topic: [NEW] SFS2X 2.16.0 is available!
- Replies: 22
- Views: 34140
Re: [NEW] SFS2X 2.16.0 is available!
Hi i upgraded to 2.16.0 and Add Room seems not working on the Zone Configurator Page, when im pressing submitt nothing happens Edit: i tried to edit my ..SmartFoxServer_2X/SFS2X/zones/MyZone.zone.xml and copy my existing <rooms>..</rooms> on my old project to MyZone.zone.xml and restarted the server...
- 22 Nov 2019, 07:03
- Forum: SFS2X Questions
- Topic: Send Admin Message from Server Extension
- Replies: 2
- Views: 8617
Re: Send Admin Message from Server Extension
Lapo wrote:Hi,
you can use the server API's sendAdminMessage() method.
Example:Code: Select all
getApi().sendAdminMessage(sender, message, params, recipients)
To learn more see the docs here
Hope it helps
thanks lapo
- 20 Nov 2019, 06:06
- Forum: SFS2X Questions
- Topic: Send Admin Message from Server Extension
- Replies: 2
- Views: 8617
Send Admin Message from Server Extension
Hi i know this Question is asked before, but would like to know if we can send an admin message from Extension. our old build only Accepts Admin message to popup messages on their screen would like to send an admin message on the server side to tell a specific player(User) to update to latest versio...
- 19 Mar 2019, 07:02
- Forum: SFS2X C# API
- Topic: Disconnected When Pressing Home Button
- Replies: 1
- Views: 4105
Disconnected When Pressing Home Button
Hi i would like to ask if is it possible for SmartFox for Unity to not Disconnect when the app goes to background? Every time i press Home Button My application triggers SFSEvent.CONNECTION_LOST im on android do i need to reconnect it again like the normal sfs.connect( configData ) or there's a way ...
- 26 Feb 2019, 09:05
- Forum: SFS2X HTML5 / JavaScript API
- Topic: [SOLVED] WebSocket Connection Error
- Replies: 13
- Views: 50035
Re: WebSocket Connection Error
thanks guys, thanks lapo, its now working,
- 26 Feb 2019, 07:41
- Forum: SFS2X HTML5 / JavaScript API
- Topic: [SOLVED] WebSocket Connection Error
- Replies: 13
- Views: 50035
Re: WebSocket Connection Error
Hi Bax i tried the plain Url but still get the error
- 22 Feb 2019, 06:54
- Forum: SFS2X Questions
- Topic: How To Write on Extension Log on Zone Monitor
- Replies: 2
- Views: 8433
Re: How To Write on Extension Log on Zone Monitor
thanks lapo, its now working as expected
- 22 Feb 2019, 06:17
- Forum: SFS2X HTML5 / JavaScript API
- Topic: [SOLVED] WebSocket Connection Error
- Replies: 13
- Views: 50035
Re: WebSocket Connection Error
thanks lapo, but we already have a domain and a valid certificate from cloudflare. and on our testing it is already working but only on my machine. when someone try to visit the webGL build that i uploaded to our domain. it gives me the said error
- 21 Feb 2019, 04:53
- Forum: SFS2X HTML5 / JavaScript API
- Topic: [SOLVED] WebSocket Connection Error
- Replies: 13
- Views: 50035
[SOLVED] WebSocket Connection Error
Hi guys im having an Error Connecting using My webgl build in unity port = 8443; sfs = new SmartFox(UseWebSocket.WSS_BIN); ConfigData cfg = new ConfigData (); cfg.Host = serverHost; cfg.Port = port; cfg.Zone = defaultZone; sfs.Connect ( cfg ); WebSocket connection to 'wss://myip/websocket' failed: E...
- 18 Feb 2019, 10:43
- Forum: SFS2X Questions
- Topic: How To Write on Extension Log on Zone Monitor
- Replies: 2
- Views: 8433
How To Write on Extension Log on Zone Monitor
Hi i just want to ask how to write on the Extension Log on the Admin Tool> Zone Monitor > Click Open Room and Monitor Extension > Room Extension Tab there's a Extension log table there. my trace isn't writing on there. is there any way to write logs on a specific Room for monitoring purpose my Exten...
- 14 Feb 2019, 19:36
- Forum: SFS2X C# API
- Topic: Change Room Name on server properly
- Replies: 2
- Views: 5515
Re: Change Room Name on server properly
sorry after reading some old comments here's the answer to my question
Code: Select all
Room room = getParentRoom();
try {
getApi().changeRoomName(null, room, room.getName()+"-"+room.getId());
} catch (SFSRoomException e) {
e.printStackTrace();
}
- 14 Feb 2019, 19:22
- Forum: SFS2X C# API
- Topic: Change Room Name on server properly
- Replies: 2
- Views: 5515
Change Room Name on server properly
Hi i want to ask how to properly change the name on a Room that was created by the Client. RoomSettings settings = new RoomSettings ( "Table" ); On my room extension after the client created a room i call @Override public void init() { Room room = getParentRoom(); room.setName(room.getName...
- 11 Feb 2019, 09:40
- Forum: SFS2X C# API
- Topic: Getting Updated Variables on Room
- Replies: 2
- Views: 5562
Re: Getting Updated Variables on Room
nevermind i figure it out this code is not enough to change RoomVariable from the server to client. getParentRoom().setVariable(new SFSRoomVariable( "p1",newP1)); getParentRoom().setVariable(new SFSRoomVariable( "p2",newP2)); I need to Call this code, whenever i change Room Varia...
- 11 Feb 2019, 08:49
- Forum: SFS2X C# API
- Topic: Getting Updated Variables on Room
- Replies: 2
- Views: 5562
Getting Updated Variables on Room
Hi, i would like to ask if is there a way to get the updated Room Variables value of a Room i tried creating a Room in Unity with this Code RoomSettings settings = new RoomSettings ( NAME ); settings.GroupId = "table"; settings.IsGame = true; settings.MaxUsers = 999; settings.MaxSpectators...