Search found 191 matches

by tchen
27 May 2011, 04:57
Forum: SFS2X C# API
Topic: LoadConfig do not work
Replies: 11
Views: 16030

Whats the error and do you have the file in the correct place? How are you trying to run the client? Unity web? Standalone? /T I run the program using the Visual Studio 2010. File sfs-config.xml located in the bin folder. This might be an o' so silly question, but shouldn't the file be either in bi...
by tchen
26 May 2011, 19:08
Forum: SFS2X Questions
Topic: Monitoring queues
Replies: 3
Views: 6159

Try monitoring the GC as well.
by tchen
26 May 2011, 19:03
Forum: SFS2X Questions
Topic: cant run SFS2x on vps server
Replies: 9
Views: 11542

Since you're running cpanel on that vps, you likely have iptables on it discarding everything other than standard http and ssh. Double check that you have the required rules to pass through the 8080 and 9933 ports.
by tchen
07 May 2011, 00:08
Forum: SFS2X Questions
Topic: Using Facebook server side (Java extensions)
Replies: 1
Views: 4092

Not directly related to Facebook per se, but I've ended up creating rest api proxies for various services my SFS server calls. It keeps the SFS server itself lighter and leaner and reduces the impedance mismatch when working with other services. Perhaps you can do the same with Facebook. Mind you, t...
by tchen
05 May 2011, 18:20
Forum: SFS2X Questions
Topic: Server event handler not invoked
Replies: 1
Views: 4432

I'd hazard a guess that its a patch mis-match issue. Are you sure you're compiling against the same version as the server for both machines?
by tchen
04 May 2011, 21:51
Forum: SFS2X Questions
Topic: Database Performance?
Replies: 1
Views: 3866

There's nothing specific to databases. Like all other processing, if it's starting to take too much time in the socket request handling thread, then use the scheduler to move it off. See Delayed and Scheduled Tasks Inside the Runnable object, just call your db routines like you normally would. You m...
by tchen
26 Apr 2011, 08:39
Forum: SFS2X Questions
Topic: Server side trace not working?
Replies: 7
Views: 11441

I haven't updated to RC2 yet, but you might want to check the log4j.properties to make sure that consoleAppender is still part of the output lines. from my version log4j.category.com.smartfoxserver=INFO,consoleAppender,fileAppender log4j.category.sfs.test=INFO,consoleAppender,fileAppender log4j.cate...
by tchen
23 Apr 2011, 00:50
Forum: SFS2X C# API
Topic: Need help, I'm a noob
Replies: 4
Views: 7470

I'm trying to get super simple such as connecting,login, get in a room, send transforms, animations and using the spawnpoints within unity itself. Look under the folder sfs2x\Client\Unity\Examples There's the Connector, Lobby, and TrisGame examples which details the basics. With the TrisGame exampl...
by tchen
23 Apr 2011, 00:38
Forum: SFS2X C# API
Topic: Scale Planning for Virtual Spaces Implementation
Replies: 1
Views: 4487

The general rule of thumb for estimation is 7-10kBps outbound per user for bandwidth. It has been more of a historical target-point than anything else concrete. The lower end is based on the speed of dial up, but has been ever steadily creeping upward thanks to broadband. You can surely use more, an...
by tchen
16 Apr 2011, 01:36
Forum: SFS2X Questions
Topic: Imagemagick
Replies: 4
Views: 7149

If you're already familiar with ImageMagick, then just look under the API section of it for some language bridges.

JMagick provides an object-oriented Java interface to ImageMagick. Im4java is a pure-java interface to the ImageMagick command-line.
by tchen
15 Apr 2011, 21:08
Forum: SFS2X Questions
Topic: SFS2X Cluster Edition
Replies: 4
Views: 7619

Communicating across servers shouldn't require anyone to resort to using Terracotta. To address the specific problem of allowing globally accessible chat, consider using a basic relay system. Personally, we use RabbitMQ as an interchange between servers to avoid DB polling. We can attach loggers to ...
by tchen
13 Mar 2011, 06:42
Forum: SFS2X Questions
Topic: Clustering sfs2x
Replies: 4
Views: 6522

It's not so much that SFS2X has direct support for it, but that Terracotta pretty much works with any jvm app. You should be able to use it on SFS2X now although I haven't tried. I personally warn against using it just because I have a sneaking suspicion you'll run into problems with how well it and...
by tchen
09 Mar 2011, 23:30
Forum: SFS2X Questions
Topic: Which thread is responsible for sending msg?
Replies: 4
Views: 7147

Close to the number of cores really. Of course, this assumes your handlers don't do anything too rambunctious and shove any heavy lifting to the built in task schedulers. Otherwise, you'll need to just slowly increase it until your input queue clears. Those are large outbound spikes. Are all your te...
by tchen
09 Mar 2011, 23:22
Forum: SFS2X Questions
Topic: Custom room events?
Replies: 17
Views: 20068

I think you keep coming to this with some preconceptions on threading. The handleClientRequest you have is just fine. Let's follow a request as it comes over the network. 1. The client initiates an extension request 2. The request is packaged and sent over the network 3. At the server, the packet is...
by tchen
09 Mar 2011, 22:55
Forum: SFS2X Questions
Topic: Can't connect to SFS2X, but can connect to SFSPro
Replies: 9
Views: 12589

For SFS2X you need to explicitly add the external interface. Currently, you only have the loopback (under socketAddresses).

Go to advanced search