create Room Programatically

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

nabeelahmed87
Posts: 32
Joined: 25 Mar 2011, 14:12
Location: Pakistan
Contact:

create Room Programatically

Postby nabeelahmed87 » 03 Jun 2011, 05:05

i am making a MMO game. i want to give admin a panel through which he can create/delete/Edit Room. i am using avatarChat for this purpose.i am using Flash as3 as a front end and php as a back end.. plz tell me how i should do that??

i am using smartfoxserver pro 1.6.6
Regards
Nabeel
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Postby rjgtav » 03 Jun 2011, 09:51

Hi. Please read the docs at www.smartfoxserver.com/docs and use the AS3 API documentation at http://www.smartfoxserver.com/docs/docP ... index.html.

You can find at the API the createRoom method at http://www.smartfoxserver.com/docs/docP ... createRoom, that is used to dinamically create rooms.

Hope this helps.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
nabeelahmed87
Posts: 32
Joined: 25 Mar 2011, 14:12
Location: Pakistan
Contact:

Postby nabeelahmed87 » 03 Jun 2011, 10:29

will it be permanent??? and i will not using that game at that time. I want to do it through you can say admin panel..:)

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 108 guests