Search found 5 matches

by y_nk
15 Nov 2010, 16:06
Forum: SFS2X Questions
Topic: Serverside Room Creation
Replies: 2
Views: 6731

Thanks a lot tpenn.

I just checked a SFSApi and it works well. Also, i had to check in a very obscur page of the documentation that you need to pass "null" in the user parameter to make the server owner of the room in api.createRoom() function ; i was looking for smartfoxserver.getUserManager ...
by y_nk
15 Nov 2010, 13:51
Forum: SFS2X Questions
Topic: [Solved] Custom room creation
Replies: 14
Views: 19553

thanks, i'm gonna check SFSApi right now
by y_nk
15 Nov 2010, 13:33
Forum: SFS2X Questions
Topic: Serverside Room Creation
Replies: 2
Views: 6731

Serverside Room Creation

Hi there,

i've been talking about it in a different threads but since the problem looks getting bigger and bigger, i prefer putting all the stuff related in a unique topic.

My need is to create rooms that are owned by the server. To do so, i created an extension that does the tricks.

This is my ...
by y_nk
15 Nov 2010, 09:23
Forum: SFS2X Questions
Topic: [Solved] Custom room creation
Replies: 14
Views: 19553

Ok i got it. (i still post because i could be usefull for people like me, newbie in java and in the need to create rooms serverside).

I first tried myRoom.setFlag() with each SFSRoomSettings enum and a boolean, which didnt work. It was throwing the same exception everytime.

So i created a HashSet ...
by y_nk
15 Nov 2010, 08:01
Forum: SFS2X Questions
Topic: [Solved] Custom room creation
Replies: 14
Views: 19553

Hey there,

I'm in the same need :)

So i looked at the Tris server-side example and did not found the good way to create a room.

I tried those 2 ways :

1/ get the server instance, get the zone manager and call myZone.addRoom with a new Room() object.

2/ get the server instance, the zone manager ...