Search found 89 matches

by gg
05 Feb 2013, 23:35
Forum: SFS2X Questions
Topic: Logs questions
Replies: 3
Views: 1118

Re: Logs questions

for 2), can I use something else instead of trace()? Or that's the only function that stays in the log file?
by gg
05 Feb 2013, 23:16
Forum: SFS2X Questions
Topic: Logs questions
Replies: 3
Views: 1118

Logs questions

Hi, 2 questions 1) How can I NOT log the following warning when a room is full om.smartfoxserver.v2.exceptions.SFSJoinRoomException: Join Error - Room is full: gg (15), Zone: { Zone: BasicExamples } - Can't add User: ( User Name: Negative, Id: 5, Priv: 0, Sess: 67.174.6.108:54671 ) com.smartfoxserve...
by gg
28 Jan 2013, 21:32
Forum: SFS2X Questions
Topic: logs from one day in one file
Replies: 1
Views: 760

logs from one day in one file

logs are being spread over multiple files for one day. what is the reasoning behind that?

is there a way to make sfs create only one log per day?
by gg
28 Jan 2013, 16:26
Forum: SFS2X Questions
Topic: Adding a timer to the Tris example
Replies: 4
Views: 1530

Re: Adding a timer to the Tris example

woooow holy crap, thank you rjgtav, i didn't know you can send and receive data between the players. you saved me lots of megabytes of data . i tried room variables and it worked like a charm. i couldn't get the other option to work (couldn't figure out how to receive the data - is there an example ...
by gg
27 Jan 2013, 17:38
Forum: SFS2X ActionScript 3 API
Topic: Hitting the Space bar from Game triggers button in Lobby
Replies: 6
Views: 4135

Re: Hitting the Space bar from Game triggers button in Lobby

I fixed it by setting the focus to something else when the game is created
using .setFocus()
by gg
27 Jan 2013, 07:48
Forum: SFS2X ActionScript 3 API
Topic: Hitting the Space bar from Game triggers button in Lobby
Replies: 6
Views: 4135

Re: Hitting the Space bar from Game triggers button in Lobby

You know, focusEnabled should simply work but according to this it might not
bugs.adobe.com/jira/browse/SDK-19577
I have Flash builder 4.5 which means it should have been fixed according to these guys but it does not :(
by gg
25 Jan 2013, 04:51
Forum: SFS2X ActionScript 3 API
Topic: Hitting the Space bar from Game triggers button in Lobby
Replies: 6
Views: 4135

Re: Hitting the Space bar from Game triggers button in Lobby

I have tried ever location, it doesn't work. The host doesn't have this problem, but the user who joins a game and presses space always ends up hitting the "Create new game" button. Can I just move the focus somewhere else (to the stage, or to any other element such as the chat, anything t...
by gg
25 Jan 2013, 00:30
Forum: SFS2X ActionScript 3 API
Topic: Hitting the Space bar from Game triggers button in Lobby
Replies: 6
Views: 4135

Re: Hitting the Space bar from Game triggers button in Lobby

Great idea, that should work. But where do I disable it? Can I access the button in TrisGame.as?
It seems I can disable it in Tris.as but, in what method? I am able to disable it before I join a game, but then I can't create a game myself :(
by gg
20 Jan 2013, 08:24
Forum: SFS2X ActionScript 3 API
Topic: Hitting the Space bar from Game triggers button in Lobby
Replies: 6
Views: 4135

Hitting the Space bar from Game triggers button in Lobby

Hi guys, Apologies if this is not the correct section. I really appreciate any help I can get on this. In the tris example, once I am in "the game", and I press the space key, the "Start new game" button from "The Lobby" is triggered, even though I am not in "the l...
by gg
12 Jan 2013, 19:49
Forum: SFS2X Questions
Topic: Adding a timer to the Tris example
Replies: 4
Views: 1530

Re: Adding a timer to the Tris example

the way I solved it: when the game is created, pass the number of seconds in a variable to the server. And when the second player joins, get that from the server. I didn't know there's no way to communicate between player 1 and player 2.
by gg
05 Jan 2013, 19:57
Forum: SFS2X Questions
Topic: Requested zone Tris does not exist
Replies: 3
Views: 2088

Re: Requested zone Tris does not exist

Hi, I have a fresh installation of sfs2x and I'm following instructions exactly as they appear here: http://docs2x.smartfoxserver.com/ExamplesFlash/tris 1)copy the tris folder from the /deploy/extensions folder to your SFS2X installation folder, under /SFS2X/extensions; (there is already a tris fol...
by gg
05 Jan 2013, 19:55
Forum: SFS2X Questions
Topic: Adding a timer to the Tris example
Replies: 4
Views: 1530

Adding a timer to the Tris example

Hi, I added a timer to the Tris game (number of seconds that a user has to make a move). In CreateGamePanel.mxml : <mx:FormItem label="Seconds:"> <mx:NumericStepper id=" ti_seconds " minimum="3" maximum="30" value="10"/> </mx:FormItem> In TrisGame.as...
by gg
18 Dec 2012, 00:47
Forum: SFS2X Questions
Topic: Requested zone Tris does not exist
Replies: 3
Views: 2088

Requested zone Tris does not exist

Hi, I have a fresh installation of sfs2x and I'm following instructions exactly as they appear here: http://docs2x.smartfoxserver.com/ExamplesFlash/tris 1)copy the tris folder from the /deploy/extensions folder to your SFS2X installation folder, under /SFS2X/extensions; (there is already a tris fold...
by gg
14 Sep 2012, 22:44
Forum: SFS2X Questions
Topic: Help on SFS Tris 2x example
Replies: 3
Views: 1598

Re: Help on SFS Tris 2x example

Hi, I have the same question as the OP - converting the Tris example made with FlashBuilder into a .fla file. I looked through every file in the FlashBuilder example for Tris. I see the actionscript file (TrisGame.as), .class files, .java files, the .jar for the extension. Bax, thanks for the answer...
by gg
31 Oct 2011, 11:18
Forum: SFS2X Questions
Topic: run/access examples
Replies: 10
Views: 4605

Great, I'll stop working on that dead end, but I have 2 questions now: Question 1 As you said here ( http://smartfoxserver.com/forums/viewtopic.php?t=10288&highlight=flashtris ) - "It seems we packed the example with the wrong IP set. " - If I understand correctly - the SFSTris example...

Go to advanced search