Search found 33 matches

by arun8483
19 Mar 2012, 10:18
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Room destroy
Replies: 4
Views: 7697

Room destroy

Hi, Is it possible to change the owner of room, after creating the room with server as the owner...??????. I have tried setting setCreator()..But even after all players left the room, room didn't destroy..... ie, 1) I've created a room with server as the owner( passed null for owner) 2) I am changin...
by arun8483
16 Mar 2012, 13:05
Forum: SmartFoxServer 1.x Discussions and Help
Topic: createRoom - Game Room
Replies: 1
Views: 4060

createRoom - Game Room

Room newRoom = helper.createRoom(zone, map, user, roomVars, null, true, true, true); As per document, assigning a valid user as the creator make the user as the owner of this room and the room will be destroyed when the last user leaves the room. But whats the purpose of the 5th argument, "vars...
by arun8483
11 Mar 2012, 00:57
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Loading jars from javaExtensions folder
Replies: 1
Views: 4142

Loading jars from javaExtensions folder

Hi, How to load my application jar from javaExtensions... Problem: 1) Currently I am loading all jars from smartfox_pro/server/lib....location.... My application has spring dependencies and lots of spring configuration xml files...all embedded inside jar file... I am using ClassPathXmlApplicationCon...
by arun8483
10 Mar 2012, 23:51
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Configure slf4j in smartfox pro 1.6.9
Replies: 1
Views: 3891

Configure slf4j in smartfox pro 1.6.9

Hi,
How to configure slf4j in smartfox pro version 1.6.6/1.6.9.
I want to configure log4j/slf4j...slf4j is preferred....
Please help us.......
by arun8483
28 Feb 2012, 12:41
Forum: SmartFoxBits for SFS 1.x
Topic: Connector component label color change.
Replies: 1
Views: 34224

Connector component label color change.

Hi,
We are trying to change the connector component label color....ie(connecting, connected, connnection lost,etc).
How can I change the color....we have tried many things but nothing seems to be working....
Please help.......
by arun8483
28 Feb 2012, 12:39
Forum: Server Side Extension Development
Topic: onRoomAddedHandler is not fired on client side
Replies: 3
Views: 6248

Re: onRoomAddedHandler is not fired on client side

Hi,
We have solved that problem by making the user stay both in lobby as well as in game room. I have set the lobby limit to around 500000.
So he will be getting the roomAdded event all the time....Do you think this is a better approach????
by arun8483
22 Feb 2012, 10:07
Forum: Server Side Extension Development
Topic: onRoomAddedHandler is not fired on client side
Replies: 3
Views: 6248

onRoomAddedHandler is not fired on client side

newRoom = helper.createRoom(currZone, map, null, true, true); UserA - in lobby (non-game room) UserB- in game room UserC-About to join game room. But before that when his request arrives at the server side, I am creating a new gameroom in handleInternal event. After room creation, only User C and Us...
by arun8483
02 Jan 2012, 09:06
Forum: OpenSpace v2 discussions and help
Topic: Override _os_move in server side
Replies: 1
Views: 4762

Override _os_move in server side

HiAll, How to override _os_move command in server side.... I tried addEventListener("_os_move", myHandler)... But nothing seems to be working...is there anyway I can override it? To be more precise: When we click on a tile, avatar moves to that tile by default. But I don't want this behavi...
by arun8483
16 Oct 2011, 14:26
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Smartfox card game timer logic
Replies: 19
Views: 28349

Sarevok,
I have one more doubt... :) I am seeing SFSTris2.java, in that the same startGame() function logic is implemented there..But I cant see any syn logic involved in that file... Since its 2 player game they avoided that????? any reason???
by arun8483
16 Oct 2011, 12:48
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Smartfox card game timer logic
Replies: 19
Views: 28349

Sure I will look at it ... Thanks a lot Sarevok...
by arun8483
16 Oct 2011, 12:07
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Smartfox card game timer logic
Replies: 19
Views: 28349

aahh if its default server behaviour then ok... Yes I am actually ignoring that event now...just curious to know whether any problem with my config logic or something else... :).... and regarding that previous sync post?
by arun8483
16 Oct 2011, 11:49
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Smartfox card game timer logic
Replies: 19
Views: 28349

I don't recognize the signature of that join room method. Are you calling it from the server or client side? I guess it must be client side, since I never saw that signature :) What is your room layout in config file? What do you do in the zone extension? Is zone extension attached to some rooms in...
by arun8483
16 Oct 2011, 11:29
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Smartfox card game timer logic
Replies: 19
Views: 28349

I have one more question regarding synchronization scenario I mentioned above. If we use the below code, Do we really require sync there? if (room != null) { if (room.getAllPlayers().length == MIN_PAYERS_REQUIRED) { synchronized (this) { // Is this sync block really required here? if (!gameRunning) ...
by arun8483
16 Oct 2011, 11:01
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Smartfox card game timer logic
Replies: 19
Views: 28349

Hi Sarevok, All my rooms are dynamic. I have configured only one room in config.xml and that is for lobby. This is the place where all users who logs in joins in the first place by default and they can see all game rooms in a grid, from there they can select and join any game room. Is this process c...
by arun8483
16 Oct 2011, 10:12
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Smartfox card game timer logic
Replies: 19
Views: 28349

Hi Sarevok, One more doubt regarding room/zone level variable synchronization 1) Lets assume this scenario... 1000 people trying to join the same room at the same point of time ( this room has an extension associated with it ) In userJoin event I am trying to start the card game when there are more ...

Go to advanced search