Search found 17 matches

by pogsdbest
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: 316

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...
by pogsdbest
27 May 2020, 19:40
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.16.0 is available!
Replies: 22
Views: 2791

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...
by pogsdbest
22 Nov 2019, 07:03
Forum: SFS2X Questions
Topic: Send Admin Message from Server Extension
Replies: 2
Views: 1143

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
by pogsdbest
20 Nov 2019, 06:06
Forum: SFS2X Questions
Topic: Send Admin Message from Server Extension
Replies: 2
Views: 1143

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...
by pogsdbest
19 Mar 2019, 07:02
Forum: SFS2X C# API
Topic: Disconnected When Pressing Home Button
Replies: 1
Views: 847

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 ...
by pogsdbest
26 Feb 2019, 09:05
Forum: SFS2X HTML5 / JavaScript API
Topic: [SOLVED] WebSocket Connection Error
Replies: 6
Views: 8682

Re: WebSocket Connection Error

thanks guys, thanks lapo, its now working, :D :D :D :D
by pogsdbest
26 Feb 2019, 07:41
Forum: SFS2X HTML5 / JavaScript API
Topic: [SOLVED] WebSocket Connection Error
Replies: 6
Views: 8682

Re: WebSocket Connection Error

Hi Bax i tried the plain Url but still get the error

Image

error 1015.png
(25.09 KiB) Not downloaded yet
by pogsdbest
22 Feb 2019, 06:54
Forum: SFS2X Questions
Topic: How To Write on Extension Log on Zone Monitor
Replies: 2
Views: 1204

Re: How To Write on Extension Log on Zone Monitor

thanks lapo, its now working as expected
by pogsdbest
22 Feb 2019, 06:17
Forum: SFS2X HTML5 / JavaScript API
Topic: [SOLVED] WebSocket Connection Error
Replies: 6
Views: 8682

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


Capture.PNG
ErrorTrace
(32.62 KiB) Not downloaded yet

Capture.PNG
validCert
(13.08 KiB) Not downloaded yet
by pogsdbest
21 Feb 2019, 04:53
Forum: SFS2X HTML5 / JavaScript API
Topic: [SOLVED] WebSocket Connection Error
Replies: 6
Views: 8682

[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...
by pogsdbest
18 Feb 2019, 10:43
Forum: SFS2X Questions
Topic: How To Write on Extension Log on Zone Monitor
Replies: 2
Views: 1204

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...
by pogsdbest
14 Feb 2019, 19:36
Forum: SFS2X C# API
Topic: Change Room Name on server properly
Replies: 2
Views: 1181

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();
   }
by pogsdbest
14 Feb 2019, 19:22
Forum: SFS2X C# API
Topic: Change Room Name on server properly
Replies: 2
Views: 1181

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...
by pogsdbest
11 Feb 2019, 09:40
Forum: SFS2X C# API
Topic: Getting Updated Variables on Room
Replies: 2
Views: 1199

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...
by pogsdbest
11 Feb 2019, 08:49
Forum: SFS2X C# API
Topic: Getting Updated Variables on Room
Replies: 2
Views: 1199

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...

Go to advanced search