Search found 298 matches

by Carl Lydon
12 May 2017, 14:45
Forum: SFS2X HTML5 / JavaScript API
Topic: High latency when playing a game
Replies: 36
Views: 12043

Re: High latency when playing a game

So, the solution is to test with a server that is closer to your location. When you launch your application use a server (or servers) close to your customers.
by Carl Lydon
12 May 2017, 13:01
Forum: SFS2X HTML5 / JavaScript API
Topic: High latency when playing a game
Replies: 36
Views: 12043

Re: High latency when playing a game

The server somewhere in the USA, but where are you and how far are you from the server?
by Carl Lydon
11 May 2017, 17:05
Forum: SFS2X HTML5 / JavaScript API
Topic: High latency when playing a game
Replies: 36
Views: 12043

Re: High latency when playing a game

Maybe your client is sending data for all attached players instead of just its own player? If the delay is on the client side then that might be one explanation.

Make sure that the avatar or whatever you're sending data for is isMe before sending.
by Carl Lydon
10 May 2017, 15:37
Forum: SFS2X HTML5 / JavaScript API
Topic: High latency when playing a game
Replies: 36
Views: 12043

Re: High latency when playing a game

How often are you sending info to other players? How much data is in each package you send? Are you sending position and rotational info at a set rate, or is it some other type of system? I'm curious to know other people's experiences with this type of thing.
by Carl Lydon
02 Nov 2016, 13:58
Forum: SFS2X Questions
Topic: Put users into a SFSObject?
Replies: 3
Views: 700

Re: Put users into a SFSObject?

Thanks. Your example helps a lot. So, if I want to pass a string along with a User, I just make a Java class that accepts those parameters, create a Java object and pass that.
by Carl Lydon
01 Nov 2016, 19:12
Forum: SFS2X Questions
Topic: Put users into a SFSObject?
Replies: 3
Views: 700

Put users into a SFSObject?

Hello, To communicate between room extension I am using "handleInternalMessage" which requires me to package up my parameters and parse them on the other side. I'm mostly using SFSObjects. Sometimes I need to pass a reference to a user to another extension, along with other info. Currently...
by Carl Lydon
24 Oct 2016, 17:01
Forum: SFS2X Questions
Topic: How to access room extension variables from another class
Replies: 18
Views: 4059

Re: How to access room extension variables from another class

Sorry, typo, meant "main" class. Thanks.
by Carl Lydon
24 Oct 2016, 15:59
Forum: SFS2X Questions
Topic: How to access room extension variables from another class
Replies: 18
Views: 4059

Re: How to access room extension variables from another class

Ok, I read this doc: http://docs2x.smartfoxserver.com/AdvancedTopics/advanced-extensions#classLoading Which mentions that you should "deploy the model classes in the extensions/__lib__/ folder... When you say "deploy" you mean place the jar in that folder, then set the email class in ...
by Carl Lydon
23 Oct 2016, 18:09
Forum: SFS2X Questions
Topic: How to access room extension variables from another class
Replies: 18
Views: 4059

Re: How to access room extension variables from another class

Question: Although "handleInternalMessage" works fine, it adds quite a bit of extra work that can lead to errors if you miss step. For example, if you call a function directly it's a pretty simple 1-step process, pretty much one line: roomExtnesion.doSomething(param1, param2); Also, if you...
by Carl Lydon
05 Oct 2016, 14:24
Forum: SFS2X Questions
Topic: Admin tool keeps disconnecting
Replies: 10
Views: 1725

Re: Admin tool keeps disconnecting

I don't think so. I don't think I've had this problem with other projects. How do I know if smart fox really has access to that port? Is there some info in the fact that a session is created on 9933 but then that session is terminated and a bluebox session is started, or is that how bluebox always w...
by Carl Lydon
04 Oct 2016, 23:25
Forum: SFS2X Questions
Topic: Admin tool keeps disconnecting
Replies: 10
Views: 1725

Re: Admin tool keeps disconnecting

Apparently not? The sever guys told me they opened 9933, and that is what I'm trying to connect through on the admin tool. This is what the logs show when I login to the admin tool: Session created: { Id: 12, Type: DEFAULT, Logged: No, IP: xx.xx.xxx.xxx:57412 } on Server port: 9933 <---> 57412 Sessi...
by Carl Lydon
04 Oct 2016, 15:09
Forum: SFS2X Questions
Topic: Admin tool keeps disconnecting
Replies: 10
Views: 1725

Re: Admin tool keeps disconnecting

My admin tool disconnects every 2 or 3 minutes which is very aggravating when I'm trying to troubleshoot something. I'm guessing from the logs it might be a bluebox problem? I can't easily copy/paste the full info from the logs because your "export button" locks up my browser every single ...
by Carl Lydon
14 Aug 2016, 17:38
Forum: SFS2X Questions
Topic: Can't log into admin portal
Replies: 6
Views: 2450

Re: Can't log into admin portal

It didn't work for me. We think maybe the server admin guys changed some settings or something...

How do I know what port to try? I'm trying 9933 but I don't know if that's the open port now or not...
by Carl Lydon
30 Jul 2016, 14:48
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Getting SmartFox Server working on Amazon EC2 (GUIDE)
Replies: 15
Views: 9072

Re: Getting SmartFox Server working on Amazon EC2 (GUIDE)

Yes, that does help a lot, as I had no idea what I could get away with, and I want to keep my costs down :-)
by Carl Lydon
30 Jul 2016, 01:25
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Getting SmartFox Server working on Amazon EC2 (GUIDE)
Replies: 15
Views: 9072

Re: Getting SmartFox Server working on Amazon EC2 (GUIDE)

Hi, This is a really old thread, so I wonder if there are any updated tutorials, or does everything mentioned above still stand? Also, are there any guides for setting this up from a mac? What is the minimum sized machine that can run smartFox 2X (just for dev and demo purposes): https://aws.amazon....

Go to advanced search