Search found 14 matches

by jenth
19 Jan 2010, 06:42
Forum: SmartFoxServer 1.x Discussions and Help
Topic: connect to server very slowly
Replies: 1
Views: 3771

connect to server very slowly

why i connect to server very slowly, sometime need twice connection ? Is config wrong?
by jenth
02 Jan 2010, 09:51
Forum: Server Side Extension Development
Topic: how to judge the room is disposed ?
Replies: 6
Views: 9000

Thanks for your time.
by jenth
28 Dec 2009, 14:36
Forum: Server Side Extension Development
Topic: how to judge the room is disposed ?
Replies: 6
Views: 9000

server side has not error and i'm sure the room is created i got it in AdminTool. mybe the reason is i use joinroom after createroom, i find it if remove joinroom the client side will get onRoomAdded event .thanks

try {
helper.joinRoom(u, fromRoom, joinRoom.getId(), true, "", false, true ...
by jenth
23 Dec 2009, 11:28
Forum: Server Side Extension Development
Topic: how to judge the room is disposed ?
Replies: 6
Views: 9000

hi,
i have got a new problem.
in server side extent create a new room, but users of the zone not receive the onRoomAdded event .thanks

private Room createRoom(String roomName, User u){

HashMap<String, String> map = new HashMap<String, String>();
map.put("name", roomName);
map.put("isGame ...
by jenth
22 Dec 2009, 14:52
Forum: Server Side Extension Development
Topic: how to judge the room is disposed ?
Replies: 6
Views: 9000

i will do it. thank you for your help.
by jenth
22 Dec 2009, 02:46
Forum: Server Side Extension Development
Topic: how to judge the room is disposed ?
Replies: 6
Views: 9000

how to judge the room is disposed ?

hi,
in my app, i use java extend a object named Street in server side.
code :

public class Street {
private String streetId;
private HashMap<String, Room> roomMap;
private int maxCount;
.........
}

in server side, when i create a new dynamic room that will disposed if no user in, also add ...
by jenth
17 Dec 2009, 14:44
Forum: Server Side Extension Development
Topic: server side join room, client no receive event
Replies: 5
Views: 8141

servier side console:
[ com.re1001.extensions.street.StreetManager ]: handleInternalEvent -> newRoom
[ com.re1001.extensions.street.StreetManager ]: createRoom:1_lymmy Succ
ssfully
[ com.re1001.extensions.street.StreetManager ]: handleInternalEvent -> userJoin
[ com.re1001.extensions.street ...
by jenth
17 Dec 2009, 14:31
Forum: Server Side Extension Development
Topic: server side join room, client no receive event
Replies: 5
Views: 8141

thanks

My code like this:
..............
public void handleRequest(String cmd, ActionscriptObject ao, User u, int fromRoom) {
if (cmd.equalsIgnoreCase("ckRoom")) {
handleCheckRoom(ao, u, fromRoom);
}
}

private void handleCheckRoom(ActionscriptObject ao, User u, int fromRoom) {
String roomName ...
by jenth
16 Dec 2009, 06:12
Forum: Server Side Extension Development
Topic: server side join room, client no receive event
Replies: 5
Views: 8141

server side join room, client no receive event

i create the Room from server side ,then join it from there.But the client just receive onRoomAdded evet ,no onJoinRoom event .why?
by jenth
02 Dec 2009, 01:32
Forum: Server Side Extension Development
Topic: use java extension create room then joinroom fail
Replies: 3
Views: 6304

Thank you for your help. i will try it again.
i find the reason is my server version is 1.6.6 ,but client API version is 1.6.2 when update to 1.6.6 that success
by jenth
28 Nov 2009, 15:07
Forum: BlueBox
Topic: close bluebox
Replies: 1
Views: 6118

close bluebox

i want to close bluebox in SmartFoxServerPRO_1.6.6 , how setting it
by jenth
28 Nov 2009, 14:46
Forum: Server Side Extension Development
Topic: use java extension create room then joinroom fail
Replies: 3
Views: 6304

use java extension create room then joinroom fail

i use java extension create new room in server-side, when room is not existing it will create it. Now in client-side sendXtMessage create room and listener SFSEvent.onExtensionResponse then use sf.joinRoom ,the problem is sometime that success but sometime is fail. i find that in the server-side ...
by jenth
28 Nov 2009, 14:45
Forum: SmartFoxServer 1.x Discussions and Help
Topic: use java extension create room then joinroom fail
Replies: 1
Views: 3886

use java extension create room then joinroom fail

i use java extension create new room in server-side, when room is not existing it will create it. Now in client-side sendXtMessage create room and listener SFSEvent.onExtensionResponse then use sf.joinRoom ,the problem is sometime that success but sometime is fail. i find that in the server-side ...
by jenth
28 Nov 2009, 14:28
Forum: SmartFoxServer 1.x Discussions and Help
Topic: client-side not receive joinroom event
Replies: 1
Views: 3846

client-side not receive joinroom event

when i use sfs.joinroom join some different room ,sometime client-side not receive SFSEvent.onJoinRoom Event , sometime success why?