Search found 89 matches

by gg
23 Mar 2015, 03:14
Forum: SFS2X Questions
Topic: stats.CCULoggerTask
Replies: 3
Views: 1774

Re: stats.CCULoggerTask

thanks! I am getting this, do you know what is wrong/how to fix? Not sure if it's related, but I since cannot forward on my router's port 9933, I set sfs2x to use port 8080, so all clients are connected thru bluebox to my server. And 8080 is also used by bluebox. 12:57:04,727 WARN [SocketWriter-1] c...
by gg
21 Mar 2015, 05:18
Forum: SFS2X Questions
Topic: stats.CCULoggerTask
Replies: 3
Views: 1774

stats.CCULoggerTask

How can I get these types of logs to stop showing up? I don't know what they are and I don't want them clogging my logs. Thanks! 20:55:26,077 INFO [pool-1-thread-1] stats.CCULoggerTask - CCU stats: CCU: 0 /0 21:55:26,065 INFO [pool-1-thread-2] stats.CCULoggerTask - CCU stats: { Zone : --=={{{ AdminZ...
by gg
17 Mar 2015, 22:03
Forum: SFS2X HTML5 / JavaScript API
Topic: Moving from Flash to HTML5
Replies: 1
Views: 2577

Moving from Flash to HTML5

Hi, I would like to move the game I made in Flash to HTML5. In Flash, I paid for the SmartFoxBits. Is there something like that for HTML5? If not, is there a guide somewhere on how I can implement the UI ?

Thanks!
by gg
21 Oct 2014, 14:38
Forum: SFS2X Java / Android API
Topic: Skipping the connection phase in the tris example
Replies: 3
Views: 3154

Re: Skipping the connection phase in the tris example

I made LinearLayout1 Visibility=invisible in connector.xml and that seems to work. But when I type in the "please enter your nick" screen, it seems to type in the main lobby chatbox. Is this a coding issue with the android example? Hi Lapo, can you go in more details into what code to chan...
by gg
21 Oct 2014, 05:39
Forum: SFS2X Java / Android API
Topic: Skipping the connection phase in the tris example
Replies: 3
Views: 3154

Skipping the connection phase in the tris example

Hi guys, How can I skip the first screen (the connection) in the Tris example in Android, and do it in the code automatically? I know it's for example purposes, but it doesn't make sense for the user to have to connect to a server. It should be done automatically. I tried: in TrisLobbyActivity.java,...
by gg
23 Mar 2013, 01:41
Forum: SFS2X Questions
Topic: SmartFox, password and encoding
Replies: 40
Views: 16584

Re: SmartFox, password and encoding

I am now gathering the Wordpress session in Actionscript and if the user is already logged on in Wordpress, I'll log him/her in directly to the lobby, skipping the log in phase altogether. This solves the issue (that I didn't think of) where the users had to log on twice, once to Wordpress, and once...
by gg
22 Mar 2013, 20:42
Forum: SFS2X Questions
Topic: SmartFox, password and encoding
Replies: 40
Views: 16584

Re: SmartFox, password and encoding

Bad news, I tried encrypting the password on the client side with the wordpress function. Now what happens is I always get a bad password error. So here's my flow: step 1 - in actionscript, get the plain-text password step 2 - send it to a php that applies the wordpress hash step 3 - returned to act...
by gg
21 Mar 2013, 15:20
Forum: SFS2X Questions
Topic: SmartFox, password and encoding
Replies: 40
Views: 16584

Re: SmartFox, password and encoding

Thanks bax,I appreciate your answer. I at least know I'm writing the correct code. But something I'm still doing wrong. I gave an id to the loginBox in my login panel. I called it _myLoginBox. This is my init() function of Tris.as : private function init():void { sfs = loginPanel.connector.connectio...
by gg
19 Mar 2013, 21:15
Forum: SmartFoxBits for SFS 2X
Topic: please help a beginner with bits
Replies: 10
Views: 8594

Re: please help a beginner with bits

My setCustomUserLabel() function works fine when I connect the first time, but after I play a game, it still displays the old rating. Is there a way to force a refresh on the user label ?
by gg
19 Mar 2013, 18:48
Forum: SFS2X Questions
Topic: SmartFox, password and encoding
Replies: 40
Views: 16584

Re: SmartFox, password and encoding

rjgtav was really kind to help me but we didn't know how to capture the LOGIN_CLICK event this way: sfs = loginPanel.connector.connection; sfs.addEventListener(BitEvent.LOGIN_CLICK, onLoginClick); it just logs on, I don't even think the onLoginClick function gets called and this way nothing happens ...
by gg
19 Mar 2013, 00:39
Forum: SFS2X Questions
Topic: SmartFox, password and encoding
Replies: 40
Views: 16584

Re: SmartFox, password and encoding

so I have 2 problems - I place my login at runtime on the page, but when I click login, nothing happens (no error message, nothing). If I use the login already included from the example, this one <sfb:LoginBox autoHide="false" buttonText="Login" focusEnabled="true" form...
by gg
17 Mar 2013, 17:52
Forum: SFS2X Questions
Topic: SmartFox, password and encoding
Replies: 40
Views: 16584

Re: SmartFox, password and encoding

the loginBox is appearing on the stage, but when I click the login button, nothing happens. (I don't get redirected, I don't see an error message). I don't think it even goes in the onLoginClick() function. So I'm doing something wrong Can I have some sample code that retrieve the username and the p...
by gg
17 Mar 2013, 08:09
Forum: SFS2X Questions
Topic: SmartFox, password and encoding
Replies: 40
Views: 16584

Re: SmartFox, password and encoding

In order to grab the login password, do I have to create my own loginBox at runtime, or can I use the one already provided in the Tris example? I couldn't see a way to get the password from the one already provided. I tried creating my own but nothing happens when I click the "Login" butto...
by gg
17 Mar 2013, 04:42
Forum: SmartFoxBits for SFS 2X
Topic: please help a beginner with bits
Replies: 10
Views: 8594

Re: please help a beginner with bits

So the code example in the labelFunction property doesn't work as it is, it needs some tweaking... here's what I did: - In Tris.mxml, I added labelFunction="setCustomUserLabel()" to sfb:UserList id="ul_players" ; result = s an error message says it's undefined. That's fine. - in ...
by gg
16 Mar 2013, 18:54
Forum: SmartFoxBits for SFS 2X
Topic: please help a beginner with bits
Replies: 10
Views: 8594

Re: play button and Chat question

I'm clearly using the bits wrong, is there a tutorial on how to use them with a flash example that uses Flex?

Go to advanced search