Search found 22649 matches
- 27 Jul 2007, 13:09
- Forum: Server Side Extension Development
- Topic: Chat History - Roomnames equal?
- Replies: 3
- Views: 6218
- 27 Jul 2007, 08:21
- Forum: Server Side Extension Development
- Topic: Add extensions in admin interface
- Replies: 3
- Views: 5922
You have 2 options for reloading / starting / stopping extensions: 1. from the Zone Browser as explained here -> http://www.smartfoxserver.com/docs/docPages/running/extManager.htm 2. by turning on the <AutoReloadExtensions> feature. This allows you to recompile / reload your extensions each time the...
- 27 Jul 2007, 08:16
- Forum: Server Side Extension Development
- Topic: Porting js extension from different socket server
- Replies: 1
- Views: 4222
Hi and welcome, To give you an overview we have several clients connecting to a server and passing messages (objects) back and forth between the server and the client (in addition the server connects to a database layer (using LoadVars) to verify the data to send to the client). Using LoadVars for a...
- 27 Jul 2007, 08:08
- Forum: Server Side Extension Development
- Topic: call function from another extension
- Replies: 9
- Views: 12588
Yes, use the #include directive
in script B you add this line at the top of the code:
In this scenario script B is the one that should be used as the main extension file.
in script B you add this line at the top of the code:
Code: Select all
#include "scriptA.as"
In this scenario script B is the one that should be used as the main extension file.
- 27 Jul 2007, 08:05
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: SFS Crashes
- Replies: 1
- Views: 4265
- 27 Jul 2007, 07:52
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Excessively High Sockets Connected Count
- Replies: 4
- Views: 7328
1. If you have a very high maxIdleTime value in your config the server won't auto-disconnect users. 2. You can use the IP filter to avoid too many connections from 1 single IP, by default this is set to 10 3. 15k connections will suck resources on your server machine and if the actual number of user...
- 27 Jul 2007, 07:48
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: autoJoin and setUserVariables
- Replies: 1
- Views: 3886
- 27 Jul 2007, 07:46
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Java code in AS
- Replies: 2
- Views: 5016
- 26 Jul 2007, 13:41
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: MaxUserIdleTime largest allowed setting
- Replies: 4
- Views: 5481
Hi, the problem is related with the fact that, internally, SFS treats the maxIdleTime as an integer but it needs to express that value in milliseconds. By multiplying this value * 1000 as an int it goes out of the max capacity of 32bit integer, resulting in a negative value (because bit 31 is set) W...
- 26 Jul 2007, 12:47
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Admin Tool v 1.3.5 bug
- Replies: 1
- Views: 3858
- 26 Jul 2007, 06:33
- Forum: Server Side Extension Development
- Topic: Chat History - Roomnames equal?
- Replies: 3
- Views: 6218
- 25 Jul 2007, 06:43
- Forum: Server Side Extension Development
- Topic: Destroying Rooms once all users have left
- Replies: 3
- Views: 6871
the room can be destroyed when no one is inside.
The following condition is wrong:
it should be
The following condition is wrong:
Code: Select all
rucount<=1
it should be
Code: Select all
rucount == 0
- 25 Jul 2007, 06:37
- Forum: Server Side Extension Development
- Topic: can't find Zone.getRoom method
- Replies: 1
- Views: 5432
the explanation is that you're passing an undefined as the argument to the method, and the java runtime complains about the fact that it doesn't exist a getRoom() method wich accepts an undefined value instead of an int This is because getRoom is a Java method. You should make sure that the passed v...
- 25 Jul 2007, 06:34
- Forum: Server Side Extension Development
- Topic: Synchronized extension handling?
- Replies: 1
- Views: 4701
- 24 Jul 2007, 16:37
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Login to several zones problem
- Replies: 2
- Views: 5093
Zones represent different applications running on the same server instance. You can't connect to more than one Zone at a time with a single client application. It's as if you would like to see 2 website in the same webpage... you have two open two different web pages. More details on Zones, Rooms an...