Search found 9 matches

by htpeng
20 Mar 2012, 20:39
Forum: SFS2X Questions
Topic: [help] missing lib?
Replies: 5
Views: 9021

[help] missing lib?

Well, it's kinda weird but my LeaveRoomRequest class seems to be missing.

I write this code

private function exitRoom(evt:Event):void {
sfs.send(new LeaveRoomRequest());
}

and I got this error :
1180: Call to a possibly undefined method LeaveRoomRequest.


I tried to import the class alone ...
by htpeng
18 Mar 2012, 15:51
Forum: SFS2X ActionScript 3 API
Topic: Access room variable before joining it
Replies: 7
Views: 13130

Re: Access room variable before joining it

How to do it? :(
Can you give me some examples? I've never used Java before, so it's still kinda confusing. And how to get it from client side (AS3) ?


Thanks before
by htpeng
18 Mar 2012, 09:25
Forum: SFS2X ActionScript 3 API
Topic: Access room variable before joining it
Replies: 7
Views: 13130

Re: Access room variable before joining it

Hi,
I'm using AS3 and I have a same problem. I have to get playerlist of any rooms shown to any user who hasn't join a room. I tried to access the room playerlist, but it can't be accessed by users outside the room. So then I tried using room variables to do the list. But, it's just the same. Can't ...
by htpeng
15 Mar 2012, 07:06
Forum: SFS2X Questions
Topic: [help] Create dynamic room
Replies: 3
Views: 6569

Re: [help] Create dynamic room

Well, I didn't know if the zone would be automatically the one I logged in to. But, I have logged into a zone before I create the room. I do put it in a SFSEvent.LOGIN event to make sure it's logged successfully.
Is there any other issues that could possibly make it failed to create?
note : I logged ...
by htpeng
14 Mar 2012, 21:31
Forum: SFS2X Questions
Topic: [help] Create dynamic room
Replies: 3
Views: 6569

[help] Create dynamic room

Hi,
I have some problems creating dynamic room.



var settings:RoomSettings = new RoomSettings("Room");
settings.maxUsers = 6;
sfs.addEventListener(SFSEvent.ROOM_ADD, onRoomAdded);
sfs.addEventListener(SFSEvent.ROOM_CREATION_ERROR, onRoomCreationError);
sfs.send(new CreateRoomRequest(settings ...
by htpeng
14 Mar 2012, 21:12
Forum: SFS2X Questions
Topic: [help] add new zone?
Replies: 7
Views: 10518

Re: [help] add new zone?

Thanks for the answer. But, actually it still has no play button.
I don't know is it just me or not, but I have to restart my computer in order to make it visible in Zone Monitor.
by htpeng
13 Mar 2012, 08:15
Forum: SFS2X Questions
Topic: [help] add new zone?
Replies: 7
Views: 10518

Re: [help] add new zone?

I've reinstall my smartfoxserver due to that 'unable to connect' , and now it works as before. :|

Back to the zone problem, I've checked it. And I can't find any play button, the name isn't greyed out too. But yes, it's listed in Zone Configurator.
What should I do? :(
by htpeng
13 Mar 2012, 06:19
Forum: SFS2X Questions
Topic: [help] add new zone?
Replies: 7
Views: 10518

Re: [help] add new zone?

thanks for the answer.
I've read it somewhere in the tutorial similar to what you say.
And I did try it last night, but I couldn't see any play button.

[OOT]
Now that I'm going to check it once again, but I got a new problem. I can't enter Administrator Panel, it says unable to connect to port:9933 ...
by htpeng
12 Mar 2012, 20:22
Forum: SFS2X Questions
Topic: [help] add new zone?
Replies: 7
Views: 10518

[help] add new zone?

I added new zone at Zone Configurator panel, but it doesn't appear in Zone Monitor list, though it sure listed in Zone Configurator panel.
That's the way to add new zone I thought, or am I doing it wrong?


please kindly reply.

regards