Hi,
The extension stops responding because all the ExtensionsController threads are busy, running that infinite loop.
If your application/game starts experiencing issues like this, you can increase the ExtensionsController pool size by small increments at a time, around 2-3, from the ...
Search found 25 matches
- 24 Dec 2012, 06:55
- Forum: SFS2X Questions
- Topic: JoinZone extension block
- Replies: 3
- Views: 5899
- 21 Dec 2012, 11:18
- Forum: SFS2X Questions
- Topic: JoinZone extension block
- Replies: 3
- Views: 5899
JoinZone extension block
I wrote a endless loop test in USER_JOIN_ZONE extension:
@Override
public void handleServerEvent(ISFSEvent evt) throws SFSException {
User user = (User) evt.getParameter(SFSEventParam.USER);
Zone zone = (Zone) evt.getParameter(SFSEventParam.ZONE);
trace(user + " join zone");
if(UserUtils ...
@Override
public void handleServerEvent(ISFSEvent evt) throws SFSException {
User user = (User) evt.getParameter(SFSEventParam.USER);
Zone zone = (Zone) evt.getParameter(SFSEventParam.ZONE);
trace(user + " join zone");
if(UserUtils ...
- 18 Jul 2012, 17:17
- Forum: SFS2X C# API
- Topic: About u3d api connect
- Replies: 6
- Views: 13185
About u3d api connect
Hello there:
Here is a issue we met when we trying to use the unity3d with sfs.
We are using the latest plugin, with sfs 2.1.0, when client is disconnected by the server(if the client doing nothing) for idling reason, then we try to connect to the server again,but we found the IsConnected property ...
Here is a issue we met when we trying to use the unity3d with sfs.
We are using the latest plugin, with sfs 2.1.0, when client is disconnected by the server(if the client doing nothing) for idling reason, then we try to connect to the server again,but we found the IsConnected property ...
- 02 Jul 2012, 02:22
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Unable to load properties file
- Replies: 3
- Views: 6615
Re: Unable to load properties file
I created a tool jar file for my java extension...and put it in "...\jre\lib\ext" folder, but the tool jar have to load a config properties file.
I should be in which folder let it can be loaded?
I should be in which folder let it can be loaded?
- 29 Jun 2012, 08:37
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Unable to load properties file
- Replies: 3
- Views: 6615
Unable to load properties file
hello~~~I met a problem~~
I create a jar and put it into "jre\lib\ext" folder, but it must loading a properties file~~~Where shall I put it?
thanks a lot~~~
I create a jar and put it into "jre\lib\ext" folder, but it must loading a properties file~~~Where shall I put it?
thanks a lot~~~
- 26 Jun 2012, 17:23
- Forum: SFS2X ActionScript 3 API
- Topic: Can't get user variables update message~
- Replies: 1
- Views: 5577
Can't get user variables update message~
hello~~~here is my server code~~~
try {
dbManager.executeUpdate(sql, sqlPara);
List<UserVariable> variables = new ArrayList<UserVariable>();
variables.add(new SFSUserVariable(Constans.PLAYER_NICK, newNick));
getApi().setUserVariables(sender, variables, true, false);
} catch (SQLException ...
try {
dbManager.executeUpdate(sql, sqlPara);
List<UserVariable> variables = new ArrayList<UserVariable>();
variables.add(new SFSUserVariable(Constans.PLAYER_NICK, newNick));
getApi().setUserVariables(sender, variables, true, false);
} catch (SQLException ...
- 09 May 2012, 03:08
- Forum: SFS2X Questions
- Topic: room variables is null~
- Replies: 6
- Views: 9472
Re: room variables is null~
yes, I did it in joinRoom event~~~here is all my test client code~~~
public class Main extends Sprite
{
var sfs:SmartFox;
var myUser:User;
var currentRoom:Room;
public function Main():void
{
if (stage) init();
else addEventListener(Event.ADDED_TO_STAGE, init);
}
private function ...
public class Main extends Sprite
{
var sfs:SmartFox;
var myUser:User;
var currentRoom:Room;
public function Main():void
{
if (stage) init();
else addEventListener(Event.ADDED_TO_STAGE, init);
}
private function ...
- 08 May 2012, 15:32
- Forum: SFS2X Questions
- Topic: room variables is null~
- Replies: 6
- Views: 9472
Re: room variables is null~
I checked client debug trace just now, and I found room variables message came back by JoinRoom event~~~but I can't use room.getvariables() to get any variable yet...
here is the trace log:
[SFS - INFO] JoinRoom { Message id: 4 }
{ Dump: }
(sfs_array) r:
(int) 153
(utf_string) room:152
(utf ...
here is the trace log:
[SFS - INFO] JoinRoom { Message id: 4 }
{ Dump: }
(sfs_array) r:
(int) 153
(utf_string) room:152
(utf ...
- 08 May 2012, 14:51
- Forum: SFS2X Questions
- Topic: room variables is null~
- Replies: 6
- Views: 9472
Re: room variables is null~
Hi.
Has the client joined those rooms whose variables you're trying to access?
Remember that for receiving variables from a room by just joining its Room Group, you have to set those variables as global.
thank you ~~~ I change my cods like this
List<RoomVariable> variables = new ArrayList ...
Has the client joined those rooms whose variables you're trying to access?
Remember that for receiving variables from a room by just joining its Room Group, you have to set those variables as global.
thank you ~~~ I change my cods like this
List<RoomVariable> variables = new ArrayList ...
- 07 May 2012, 17:48
- Forum: SFS2X Questions
- Topic: room variables is null~
- Replies: 6
- Views: 9472
room variables is null~
hello~~
I created 100 rooms into 8 groups when Zone extension has been initalized~~~and every room has 2 variables~~~I create them like this:
List<RoomVariable> variables = new ArrayList<RoomVariable>();
variables.add(new SFSRoomVariable("btnPoint", serverType.getRoomButtomPoint()));
variables ...
I created 100 rooms into 8 groups when Zone extension has been initalized~~~and every room has 2 variables~~~I create them like this:
List<RoomVariable> variables = new ArrayList<RoomVariable>();
variables.add(new SFSRoomVariable("btnPoint", serverType.getRoomButtomPoint()));
variables ...
- 13 Jan 2012, 02:14
- Forum: SFS2X Questions
- Topic: Some idle users can not be disconnected
- Replies: 2
- Views: 4900
Some idle users can not be disconnected
Here are some users had connected more than 10 hours, and Write data never changed at all...I think they are all disconected, but user instance still there, is any other met this problem? :(
I have to create a thread to check user whio logined more than 10 hours...
ps: user max idle time is 300 ...
I have to create a thread to check user whio logined more than 10 hours...
ps: user max idle time is 300 ...
- 16 Dec 2011, 04:01
- Forum: SFS2X Questions
- Topic: Ghost room
- Replies: 5
- Views: 7793
- 15 Dec 2011, 01:18
- Forum: SFS2X Questions
- Topic: Ghost room
- Replies: 5
- Views: 7793
- 14 Dec 2011, 06:11
- Forum: SFS2X Questions
- Topic: Ghost room
- Replies: 5
- Views: 7793
Ghost room
http://img165.poco.cn/mypoco/myphoto/20111214/14/6457160520111214141309015.jpg
http://img165.poco.cn/mypoco/myphoto/20111214/14/6457160520111214144924071.jpg
:cry:
this problem cropped up every day... and when I use zone.getRoomByName() , but only get one of them. I try to get one and destory ...
http://img165.poco.cn/mypoco/myphoto/20111214/14/6457160520111214144924071.jpg
:cry:
this problem cropped up every day... and when I use zone.getRoomByName() , but only get one of them. I try to get one and destory ...
- 29 Nov 2011, 10:26
- Forum: SFS2X Questions
- Topic: Can't monitor user state in adminTool
- Replies: 9
- Views: 11534