Search found 80 matches

by Vishwas
22 May 2012, 10:45
Forum: SFS2X Questions
Topic: Noat able to get a roomlist
Replies: 1
Views: 730

Noat able to get a roomlist

here is my code :


var roomList:Array = sfs.roomList ;
for each(var gameroom:Room in roomList)
{
trace( gameroom.name );

}


what is wrong ?
by Vishwas
20 May 2012, 06:13
Forum: SFS2X Questions
Topic: AdminTool.swf root vs www
Replies: 4
Views: 1545

AdminTool.swf root vs www

There are two AdminTool.swf, one is in root folder and another inside www folder. I was wondering why there are 2 . And which one to use ?
by Vishwas
30 Apr 2012, 20:09
Forum: SFS2X Questions
Topic: Use of Peer to Peer Connection ?
Replies: 1
Views: 986

Use of Peer to Peer Connection ?

hi! May be i am in the wrong forum, to ask this question. But in case, you find it right , i wanted to know, the advantage of a connection that uses a server ( like smartfox ) in between above peer to peer connection. In what situations should i consider using a server like smartfox, and what are th...
by Vishwas
24 Mar 2012, 17:43
Forum: SFS2X Questions
Topic: getUserById is the method of SFSRoom, why not Smartfox ?
Replies: 1
Views: 827

getUserById is the method of SFSRoom, why not Smartfox ?

hi!
Sorry, for the dumb question. But i wonder sometimes how getUserById() or getUserByName() is a method of SFSRoom. I think User ID or User-name is related to Smartfox, and thus should be accessible via Smartfox object ? Isn't it ?

thnx..
V.
by Vishwas
21 Feb 2011, 14:15
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room creation issue
Replies: 4
Views: 2424

Re: Room creation issue

Hi!
My doubt is , what you are calling as duplicates, are actually occupying both the rooms. This is
I think you must use leaveRoom function to force the users to leave the room before joining another one.
by Vishwas
08 Feb 2011, 16:17
Forum: SFS2X Questions
Topic: Can smartfox 2x can be written with AS1.0 server side?
Replies: 3
Views: 1898

appels wrote:no, only java at the moment, i think python in a later stage but no AS


Bit offtopic, but i am curious to know why AS1.0 is removed in this version. Are their any performance issues when using AS1.0 ?
by Vishwas
08 Feb 2011, 04:05
Forum: SFS2X Questions
Topic: Can smartfox 2x can be written with AS1.0 server side?
Replies: 3
Views: 1898

Can smartfox 2x can be written with AS1.0 server side?

Hi!,
can i use AS1.0 ( instead of java) with SFS2x ?
by Vishwas
06 Jan 2011, 15:35
Forum: SFS2X Questions
Topic: Errors while following tutorial on custom login
Replies: 3
Views: 2395

Rotty956 wrote:Are you trying to run your extension or are you trying to export it. I had similar issue I believe you should be exporting the extension not running.



How to export the extension ?
by Vishwas
05 Jan 2011, 18:26
Forum: SFS2X Questions
Topic: Errors while following tutorial on custom login
Replies: 3
Views: 2395

Errors while following tutorial on custom login

I am getting this exception when following the tutorial : http://jadendreamer.wordpress.com/2010/12/27/smartfoxserver-2x-tutorial-how-to-create-a-custom-mysql-login-extension I don't know what does it mean exactly. Is it related to jar files sfs2x.jar an sfs2x_core.jar, which i added for the project...
by Vishwas
22 Dec 2010, 12:03
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Why not amfphp used instead of xml based communication!
Replies: 0
Views: 949

Why not amfphp used instead of xml based communication!

Just a query popped up in my mind, why not amfphp was used for communication ( server-client) instead of xml based or string based communication ? Won't it help big transactions ?
by Vishwas
12 Nov 2010, 11:07
Forum: SmartFoxServer 1.x Discussions and Help
Topic: What's the need of allowing user join morethan 1 game rooms?
Replies: 3
Views: 1383

One of the practical scenarios could be where: User creates a game room, joins it and waits for other players. While the user is waiting for other players, he joins the lobby room, whilst not leaving the game room, and look if there is anyone in the lobby and invites them if so. Once done, the room...
by Vishwas
11 Nov 2010, 17:23
Forum: SmartFoxServer 1.x Discussions and Help
Topic: What's the need of allowing user join morethan 1 game rooms?
Replies: 3
Views: 1383

What's the need of allowing user join morethan 1 game rooms?

Is their any practical scenario where a user is allowed to join more than one game rooms ? ( This is with respect to the parameter in function sfs.joinRoom() , where one can set , if user wants to leave the previous room or not ). I wonder, why would anyone allow a user to stay in previous room ? On...
by Vishwas
09 Nov 2010, 08:23
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How can i access these variables when creating room
Replies: 1
Views: 976

How can i access these variables when creating room

var roomObj:Object = new Object() roomObj.name = "The Cave" roomObj.isGame = true roomObj.maxUsers = 15 var variables:Array = new Array() variables.push({name:"ogres", val:5, priv:true}) variables.push({name:"skeletons", val:4...
by Vishwas
09 Nov 2010, 04:57
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How should i load an xml file into AS based extension
Replies: 2
Views: 1316

Perhaps you could load the XML values through a php extension? See this php example: http://www.smartfoxserver.com/docs/docPages/tutorials_basic/13_customLogin/index.htm actually when using a java extension one can directly use an xml in the same folder. Can't it be done something in a similar way,...
by Vishwas
08 Nov 2010, 17:58
Forum: SmartFoxServer 1.x Discussions and Help
Topic: How should i load an xml file into AS based extension
Replies: 2
Views: 1316

How should i load an xml file into AS based extension

I want to initialize some values on server from an xml, that can be loaded by an extension file on startup. How to do that?
thnx

Go to advanced search