Search found 18 matches

by MrMooMoo
17 Mar 2012, 07:45
Forum: SFS2X Questions
Topic: Creating account with custom login
Replies: 2
Views: 4922

Re: Creating account with custom login

Thanks for the reply. I assumed I'd need to incorporate my own (or 3rd party) encryption solution. I'll take a look at the one you suggest.
by MrMooMoo
16 Mar 2012, 18:07
Forum: SFS2X Questions
Topic: Timed tasks locks the extension file
Replies: 2
Views: 4105

Re: Timed tasks locks the extension file

Very good point. We'll have a look first thing on Monday.
by MrMooMoo
15 Mar 2012, 17:02
Forum: SFS2X Questions
Topic: Timed tasks locks the extension file
Replies: 2
Views: 4105

Timed tasks locks the extension file

Hi there, We've noticed that when you have a scheduled, timed task within an extension you can no longer overwrite the extension .jar file with the latest version. The file gets locked. Current, we have to halt the server, copy over the latest version then start the server again. Just wondering if a...
by MrMooMoo
12 Mar 2012, 20:55
Forum: SFS2X Questions
Topic: Creating account with custom login
Replies: 2
Views: 4922

Creating account with custom login

I'm looking at creating my own custom login extension and wondered the best approach to letting a user create an account. I had in mind the following: * Have a "create account" zone which allows for guest login and only deals with creating accounts. Does nothing else. * Have the "prop...
by MrMooMoo
11 Mar 2012, 19:57
Forum: SFS2X Questions
Topic: Database connection
Replies: 3
Views: 5712

Re: Database connection

Thanks for the reply. I was actually connecting to the database all along (I just went ahead and implemented a test extension to double-check and it seems fine). Unfortunately, Smartfox doesn't appear to spit out a log message to say that it's successfully connected to the db. Not a major issue just...
by MrMooMoo
11 Mar 2012, 08:42
Forum: SFS2X Questions
Topic: Database connection
Replies: 3
Views: 5712

Database connection

I've been trying to following the instructions on how to connect to a mySQL database but cannot seem to see whether it's working or not. I've looked in the boot log but cannot see either a "success" or "failure" message. At this stage I've simply set it up in the Zone configurati...
by MrMooMoo
11 Mar 2012, 08:35
Forum: SFS2X Questions
Topic: Database connection
Replies: 1
Views: 3468

Database connection

I've been trying to following the instructions on how to connect to a mySQL database but cannot seem to see whether it's working or not. I've looked in the boot log but cannot see either a "success" or "failure" message. At this stage I've simply set it up in the Zone configurati...
by MrMooMoo
29 Jun 2011, 06:45
Forum: SFS2X Questions
Topic: DBLogin - Potential bug in sample
Replies: 5
Views: 7745

Yes, you are correct. Initially, in the login handler, the dbId is stored in the session object so, as you noted, the code must retrieve that bit of information from the same object. In this case when you have the User object available you will need to grabs its underlying session object via the ge...
by MrMooMoo
24 Jun 2011, 10:36
Forum: SFS2X Questions
Topic: DBLogin - Potential bug in sample
Replies: 5
Views: 7745

DBLogin - Potential bug in sample

Hi there, I've been trying to store off the user's database id when they log in but was having problems with the DBLogin example and I think I've discovered a bug. Basically, when I get to joining the zone the user's property for the dbID is null. Basically it's not been set yet. This results in the...
by MrMooMoo
24 Nov 2009, 07:39
Forum: Server Side Extension Development
Topic: Passing extra data to Login
Replies: 2
Views: 5638

Hello, this is the way we recommend for creating a registration system: http://www.smartfoxserver.com/forums/viewtopic.php?t=6111 Other customers have also implemented the registration outside of SmartFox so that they can integrate it with their website. This is easily done by sharing the login dat...
by MrMooMoo
22 Nov 2009, 15:52
Forum: Server Side Extension Development
Topic: Passing extra data to Login
Replies: 2
Views: 5638

Passing extra data to Login

I currently have an extension which deals with custom login request (checking username and password details again my DB). The thing is, I'd now like to have the option to create a new account but I know that you can't run any code on an extension without already being logged in. As far as I can tell...
by MrMooMoo
22 Nov 2009, 15:38
Forum: iPhone Objective-C API
Topic: Placing onExtensionResponse into a thread
Replies: 2
Views: 11819

I've come up with a solution. Instead of looking into Threads I simply implement the onExtensionResponse callback into each of my Controller views. This makes things far more elegant.
by MrMooMoo
16 Nov 2009, 19:52
Forum: iPhone Objective-C API
Topic: Placing onExtensionResponse into a thread
Replies: 2
Views: 11819

Placing onExtensionResponse into a thread

Basically, I'm finding numerous places where I call SendXtMessage within a function only to have to drop out to wait for the onExtensionResponse to get called. After this I then need to pick up where I left off within the previous function and all of this is starting to get messy. I could write my o...
by MrMooMoo
16 Nov 2009, 19:28
Forum: iPhone Objective-C API
Topic: - (void)onLogin don't get called after login
Replies: 9
Views: 21250

Lapo wrote:The ID is assigned to the User object automatically by the server, so its just a matter of calling User.getUserId() and that's all.
Optionally you can add some other custom data if it's needed on the client side.


Excellent. That should cover it. Thanks for help.
by MrMooMoo
12 Nov 2009, 19:14
Forum: iPhone Objective-C API
Topic: - (void)onLogin don't get called after login
Replies: 9
Views: 21250

By the way both login tutorials explain the myUserId matter: http://www.smartfoxserver.com/docs/docPages/tutorials_pro/05_loginExt/ http://www.smartfoxserver.com/docs/docPages/tutorials_pro/09_secureLogin/index.htm hope it helps Thanks for the clarification. The only question I have remaining is ho...

Go to advanced search