Search found 20759 matches

by Lapo
07 Nov 2019, 14:47
Forum: SFS2X Questions
Topic: Synchronizing game time on server and client side
Replies: 13
Views: 1861

Re: Synchronizing game time on server and client side

I would try to sample the lag every 2 seconds via the LagMonitor and see if it helps compensate the user's latency. Using the SmartFox.enableLagMonitor(bool, int, int) method. The first param enables it The 2nd param specifies how many seconds between each ping (default = 4) The 3rd param specifies ...
by Lapo
07 Nov 2019, 09:27
Forum: SFS2X Questions
Topic: Synchronizing game time on server and client side
Replies: 13
Views: 1861

Re: Synchronizing game time on server and client side

Hi, the lag measured by the API's LagMonitor is the time it takes for a packet to go to the server and come back, the so called round-trip time. Reducing the bandwidth does not necessarily affect the lag. For example if you limit the network to 2KB/s but the client is only using 500byte/s it's likel...
by Lapo
06 Nov 2019, 16:21
Forum: SFS2X Questions
Topic: Installing once license on two server instances
Replies: 6
Views: 372

Re: Installing once license on two server instances

Hi,
yes no problem with that.

Cheers
by Lapo
06 Nov 2019, 16:18
Forum: SFS2X Java / Android API
Topic: Cannot work with the server, it constantly kicks me out.
Replies: 18
Views: 1082

Re: Cannot work with the server, it constantly kicks me out.

Thanks, we'll take a look and get back to you.
by Lapo
06 Nov 2019, 10:59
Forum: SFS2X Questions
Topic: Installing once license on two server instances
Replies: 6
Views: 372

Re: Installing once license on two server instances

Hi,
as I mentioned the license is per server instance.

Cheers
by Lapo
06 Nov 2019, 07:54
Forum: SFS2X Questions
Topic: Installing once license on two server instances
Replies: 6
Views: 372

Re: Installing once license on two server instances

Hi,
no every license is intended to work on one instance.

Cheers
by Lapo
05 Nov 2019, 16:46
Forum: SFS2X Questions
Topic: Weird CPU spikes
Replies: 22
Views: 782

Re: Weird CPU spikes

UPDATE: we can send an update patch for you to try.
Get in touch with us directly using our support@... mail box, and add a reference to this discussion.

Thanks
by Lapo
05 Nov 2019, 16:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: problem with evt.nick
Replies: 2
Views: 665

Re: problem with evt.nick

Hi,
in your config.xml check if you have a <UserNameAvoidChars> setting under your Zone definition. This will filter out the characters specified from user names.

Cheers
by Lapo
05 Nov 2019, 08:54
Forum: SFS2X Java / Android API
Topic: Cannot work with the server, it constantly kicks me out.
Replies: 18
Views: 1082

Re: Cannot work with the server, it constantly kicks me out.

Honestly I have no idea about what is going on, as I don't know what your Extension and custom classes are doing. The example code you showed doesn't look good to me. You should send the login request inside the connection handler, only when the "success" parameter is true. (Maybe you did ...
by Lapo
05 Nov 2019, 08:16
Forum: SFS2X Questions
Topic: Weird CPU spikes
Replies: 22
Views: 782

Re: Weird CPU spikes

No, I don't think this has to do with logins or background apps. It might be a concurrency issue. We're investigating the possibility.
I'll post an update when I have news about it.

Thanks
by Lapo
04 Nov 2019, 17:25
Forum: SFS2X Questions
Topic: Weird CPU spikes
Replies: 22
Views: 782

Re: Weird CPU spikes

Essentially the getProximityList() will return the list of Users within the AoI of a certain player or coordinate that you provide. We know that, that is why we use it. But why is it returning duplicated users from time to time? We are calling: Ext().send("cmd", params, Ext().MMORoom().ge...
by Lapo
04 Nov 2019, 16:13
Forum: SFS2X Java / Android API
Topic: Cannot work with the server, it constantly kicks me out.
Replies: 18
Views: 1082

Re: Cannot work with the server, it constantly kicks me out.

Hi, those errors suggest that there's a class conflict of some sort, maybe caused by duplicate classes. What causes this I don't know. I should know more. When these libs are in sfs2x-client classpath as the external libs - it doesn't work - constantly kicks me out with the only SFS2 user error I sh...
by Lapo
04 Nov 2019, 09:30
Forum: SFS2X Java / Android API
Topic: Cannot work with the server, it constantly kicks me out.
Replies: 18
Views: 1082

Re: Cannot work with the server, it constantly kicks me out.

Hi, I get the login response on the client side (I see it in debug logs - all the data in place) but Login Event has data = null, but correct zone name and SFS user. The data parameter is optional and it depends on what you send from the server side. Are you sure the data is sent from your Extension...
by Lapo
04 Nov 2019, 09:21
Forum: SFS2X Questions
Topic: Weird CPU spikes
Replies: 22
Views: 782

Re: Weird CPU spikes

How does GetPrixmityList work? Why would the same user be on the list multiple times? What could cause this? How can I debug this? It's pretty hard to answer, without knowing what you're doing and what is the context. Essentially the getProximityList() will return the list of Users within the AoI o...
by Lapo
04 Nov 2019, 08:20
Forum: SFS2X Questions
Topic: SFS Admin Tool When Flash Becomes Obsolete
Replies: 2
Views: 1627

Re: SFS Admin Tool When Flash Becomes Obsolete

Hi, we’re working on a new HTML5 version of the Admin Tool that will be released as soon as it is ready. For the meantime you have different options: 1) run the Flash-based admin tool in another browser that supports the Flash Player, such as Firefox 2) download the standalone version of the AdminTo...

Go to advanced search