Search found 29 matches

by amateur
13 Sep 2022, 15:55
Forum: SFS2X Questions
Topic: Tomcat equivalent of jetty.ssl.host
Replies: 4
Views: 2068

Re: Tomcat equivalent of jetty.ssl.host

Hi thanks that's just what I needed!
by amateur
13 Sep 2022, 07:19
Forum: SFS2X Questions
Topic: Tomcat equivalent of jetty.ssl.host
Replies: 4
Views: 2068

Re: Tomcat equivalent of jetty.ssl.host

Normally you don't need to manually configure the server, even in the case of two NICs. Tomcat (and SFS2X) will bind both. Cheers Thanks Lapo. Ah you see I have 2 NICs, both with port 443. I use one for the webserver and another for Jetty (SmartFox). If it binds to both then the webserver will stop...
by amateur
12 Sep 2022, 19:37
Forum: SFS2X Questions
Topic: Tomcat equivalent of jetty.ssl.host
Replies: 4
Views: 2068

Tomcat equivalent of jetty.ssl.host

Hello, I'm planning an upgrade of SmartFox Server from 2.13.4 to 2.18 and got stuck on one little topic. I use 2 network adaptors, and so I point Jetty to the second adaptor using the following line in jetty\start_d\ssl.ini: jetty.ssl.host=10.0.0.60 This all works fine but I can't work out what the ...
by amateur
31 Aug 2021, 12:46
Forum: SFS2X C# API
Topic: Problems shutting down Unity OSX client
Replies: 1
Views: 5381

Problems shutting down Unity OSX client

I have recently been having difficulties with MacOS clients appearing to crash when closing the app. This happens most with Macs on the BigSur update, I think. A quick way to demonstrate is with the "SFS2X Connector Example." If you attempt to connect to a server which isn't listening on 9...
by amateur
04 Feb 2021, 18:14
Forum: SFS2X Questions
Topic: Server-side JoinRoom handling
Replies: 4
Views: 10717

Re: Server-side JoinRoom handling

Thanks Lapo, I did get it all working with a custom permission profile. This keeps all the logic on the server and it is brilliant.

Many thanks
by amateur
26 Jan 2021, 10:41
Forum: SFS2X Questions
Topic: Server-side JoinRoom handling
Replies: 4
Views: 10717

Re: Server-side JoinRoom handling

What a terrific and thorough response! I think I just need to clarify one thing: when I use session.setProperty("$permission", DefaultPermissionProfile.MODERATOR); how do I use, say, 8 instead of 2? It won't accept a (short) but I want to set it to something other than the default profiles...
by amateur
22 Jan 2021, 10:44
Forum: SFS2X Questions
Topic: Server-side JoinRoom handling
Replies: 4
Views: 10717

Server-side JoinRoom handling

Hi, a couple of quick questions on the server-side handling of the login and joinRoom process. 1. I have started to pass parameters during login, which I can retrieve using: ISFSObject params = (ISFSObject) event.getParameter(SFSEventParam.LOGIN_IN_DATA); but earlier game versions didn't use this. I...
by amateur
15 Jun 2020, 15:13
Forum: SFS2X C# API
Topic: Privilege Manager Events
Replies: 2
Views: 5264

Re: Privilege Manager Events

Amazing quick response thanks!
by amateur
14 Jun 2020, 18:18
Forum: SFS2X C# API
Topic: Privilege Manager Events
Replies: 2
Views: 5264

Privilege Manager Events

I set the default privilege to 1 when a registered user signs in, this might be increased to a 2 when joining a Room (by calling setPrivilegeId). The change is reflected in SmartFox monitor on the server, but the client API doesn't know about it, and subsequent checks (e.g. IsModerator) don't know a...
by amateur
26 Mar 2020, 13:47
Forum: SFS2X Questions
Topic: SmartFox Server 2.15.0
Replies: 4
Views: 5780

SmartFox Server 2.15.0

I'd like to work out how to update from 2.13.4 to 2.15 and I'm not sure how to go about it. Only reason is to stay up to date - existing install is working fine. Do I apply the patches for 2.13 or does it require a full reinstall (this is a pain as I always struggle with the HTTPS certificate). Ther...
by amateur
12 Sep 2018, 09:24
Forum: SFS2X C# API
Topic: HRC and Disconnection Difficulties
Replies: 10
Views: 11184

Re: HRC and Disconnection Difficulties

Thanks for your help. According to SmartFox documentation referring to "SFSEvent.CONNECTION_RESUME", it's not behaving as it should. "When this event is dispatched the application interface should be reverted to the state it had before the disconnection. In case the reconnection attem...
by amateur
11 Sep 2018, 15:52
Forum: SFS2X C# API
Topic: HRC and Disconnection Difficulties
Replies: 10
Views: 11184

Re: HRC and Disconnection Difficulties

As a workaround, I could detect the reconnection attempt, then set a timeout for say 15 seconds, to check whether there has been a "resumed" event. If not, forcibly disconnect. Not elegant but might work. Can you think of any drawbacks?
by amateur
11 Sep 2018, 15:16
Forum: SFS2X C# API
Topic: HRC and Disconnection Difficulties
Replies: 10
Views: 11184

Re: HRC and Disconnection Difficulties

How to reproduce: 1. Start the Advanced Connector (first updating the client DLL to 1.7.8) 2. Turn ON the Lag Monitor toggle 3. Click CONNECT. You get messages in the debug about connection being successful, then every few seconds it reports the lag e.g. "Measured lag is 60ms" 4. After a f...
by amateur
11 Sep 2018, 09:13
Forum: SFS2X C# API
Topic: HRC and Disconnection Difficulties
Replies: 10
Views: 11184

Re: HRC and Disconnection Difficulties

Hi, thanks, the retry is being triggered when it first retries, but there is no acknowledgement that the retry has failed. In other words, if the reconnection is successful, it triggers CONNECTION_RESUME, but if it fails (and the server logs that it has failed), it does not trigger CONNECTION_LOST. ...
by amateur
11 Sep 2018, 08:37
Forum: SFS2X C# API
Topic: HRC and Disconnection Difficulties
Replies: 10
Views: 11184

Re: HRC and Disconnection Difficulties

Hi Yes, I can reproduce this lots of times, on 2 separate servers. I have set the zone reconnection timeframe to 60, and the overrided max idle time to 120. I'm not expecting the client to successfully connect: the server correctly detects a reconnection attempt and logs that the reconnection attemp...

Go to advanced search