Search found 149 matches
- 23 Mar 2021, 00:14
- Forum: SFS2X Questions
- Topic: Migration tool failure - 2.14 -> 2.17
- Replies: 1
- Views: 2620
Migration tool failure - 2.14 -> 2.17
Hi, I tried to use the migration tool to update SFS 2.14 to 2.17, but got this error: 00:13:03,896 INFO - Input Params: {webFiles=false, extFiles=true, zoneConfig=true, analyticsDB=false, source=../../SmartFoxServer_2X/, sslCert=false, licenseCode=false, serverConfig=true, target=../../SmartFoxServe...
- 20 Apr 2020, 12:33
- Forum: SFS2X Questions
- Topic: Websocket port not attempting to open on startup
- Replies: 2
- Views: 4189
Re: Websocket port not attempting to open on startup
Don't worry about the logs. Since we have moved to Tomcat we no longer report the active websocket port in the logs, but it is active anyway. Cheers Thanks very much! Indeed it was running. I didn't realize I needed to update the javascript library as well, I think that was causing surprise issues,...
- 20 Apr 2020, 10:35
- Forum: SFS2X Questions
- Topic: Websocket port not attempting to open on startup
- Replies: 2
- Views: 4189
Websocket port not attempting to open on startup
Hi, I'm trying to get the web socket (port 8888) or even port 8080 (Smartfox V 2.14.0) , but for some reason Listening Sockets does not include the port listed on Startup like in the earlier version of SFS I have installed. It looks like this on startup: 10:37:21,895 INFO [SFSWorker:Sys:1] v2.SmartF...
- 25 Sep 2019, 06:47
- Forum: SFS2X Questions
- Topic: Old Taskscheduler still runs after auto reloading extensions
- Replies: 3
- Views: 10532
Re: Old Taskscheduler still runs after auto reloading extensions
Hi, yes my apologies. Are you able to move this thread?
- 24 Sep 2019, 09:13
- Forum: SFS2X Questions
- Topic: Old Taskscheduler still runs after auto reloading extensions
- Replies: 3
- Views: 10532
Old Taskscheduler still runs after auto reloading extensions
Hi, I have a question about the task scheduler (sfs.getTaskScheduler()). I have noticed that if I have some scheduled tasks running, and frequently have extensions reload (to smoothly update the software without requiring a restart), or during development, that sometimes some of the old tasks are st...
- 16 Sep 2019, 06:51
- Forum: SFS2X Questions
- Topic: Session Reconnection failure
- Replies: 5
- Views: 6858
Re: Session Reconnection failure
Can I suggest that for a future upgrade, Smartfox moves to a sort of cookie based solution where the cookie identifies the user rather than the IP and connection ? It might help with development in this age where people are on phones and moving about so much. It will make retaining a connection so m...
- 16 Sep 2019, 06:49
- Forum: SFS2X Questions
- Topic: change username when logged in
- Replies: 7
- Views: 10482
Re:
Lapo wrote:You can change the name at login time.
See login tutorial:
http://docs2x.smartfoxserver.com/Gettin ... wtos#item3
My apologies, but this document seems to be missing or moved. I'm wondering how to go about changing the username from the java code at login time. Thanks!
- 29 Aug 2019, 02:12
- Forum: SFS2X C# API
- Topic: Disconnected while away
- Replies: 6
- Views: 9821
Re: Disconnected while away
Very interesting, those options above look quite good. My producer is saying that other games recognize disconnection events quite immediately. I think her test was to minimize the app, turn off wifi, and then reopen it. If it's possible to tell if there is that disconnection when the app is given f...
- 26 Aug 2019, 03:26
- Forum: Server Side Extension Development
- Topic: getUtfStringArray returns an error
- Replies: 3
- Views: 9121
Re: getUtfStringArray returns an error
Hi, my version is 2.13.0 I have looked into this and found that you are indeed correct, and the example I provided is not sufficient to reproduce my error. I spent time trying to produce it as the actual code we have is more complicated, and finally managed to narrow it down to this : String[] STRIN...
- 24 Aug 2019, 02:24
- Forum: Server Side Extension Development
- Topic: getUtfStringArray returns an error
- Replies: 3
- Views: 9121
getUtfStringArray returns an error
I think I have found a bug with the getUtfStringArray server code (Java). Here is how to reproduce. String[] STRING_ARRAY= new String[]{"test 1","test 2","test 3"}; ISFSObject testObj = new SFSObject(); testObj.putUtfStringArray("push", Arrays.asList(STRING_AR...
- 10 Apr 2018, 21:13
- Forum: SFS2X HTML5 / JavaScript API
- Topic: SFSErrorCodes documentation appears incorrect
- Replies: 2
- Views: 5913
SFSErrorCodes documentation appears incorrect
Using the examples from the documentation : http://docs2x.smartfoxserver.com/api-docs/jsdoc/client/SFSErrorCodes.html results in an error : function someMethod() { SFS2X.ErrorCodes.setErrorMessage(13, "Le Groupe demandé n'est pas disponible - Salle: {0}; Groupe: {1}"); } TypeError: Cannot ...
- 04 Apr 2018, 16:23
- Forum: SFS2X HTML5 / JavaScript API
- Topic: Convert SFSObject to js normal object?
- Replies: 13
- Views: 19509
Re: Convert SFSObject to js normal object?
Hey Lapo, In Angular JS, you can for example produce a table by simply pointing a row to a JS array. Angular JS will handle the display part of updating the content. So in this situation it's efficient to produce native JS objects. Here is a bit of code that I wrote that has helped me with this task...
- 03 Apr 2018, 22:01
- Forum: SFS2X HTML5 / JavaScript API
- Topic: Convert SFSObject to js normal object?
- Replies: 13
- Views: 19509
Re: Convert SFSObject to js normal object?
There is one situation where this would be helpful to be able to dump to a JS object - and that is using a JS library such as angular JS, where the SFSArray and SFSObject type don't work well when looping and accessing properties. I've tried to make a few functions to loop through on each object in ...
- 01 Dec 2015, 01:34
- Forum: SFS2X Questions
- Topic: Bluebox slow to activate on Android and iOS in C# / Unity
- Replies: 4
- Views: 7137
Re: Bluebox slow to activate on Android and iOS in C# / Unit
It would be good if SFS clients where more aware of any delays and don't adhere simply to the timeouts - waiting for 2 minutes is a very long time and enough time for players to close the app. Perhaps if the client C# notices that there is a very lengthy wait, it can attempt bluebox and see what ret...
- 13 Nov 2015, 10:52
- Forum: SFS2X Questions
- Topic: Bluebox slow to activate on Android and iOS in C# / Unity
- Replies: 4
- Views: 7137
Re: Bluebox slow to activate on Android and iOS in C# / Unit
Thanks that would be appreciated.