Search found 9 matches

by gofa
19 Nov 2012, 20:18
Forum: SFS2X Java / Android API
Topic: client side Development using Google PlayN and SmartFoxServe
Replies: 2
Views: 2387

client side Development using Google PlayN and SmartFoxServe

Has any one developed client side code using Google PlayN enabling you to target HTML5, Flash, Andriod, IOS, and the plain old Java application which is the sorce language. and Used SmartFoXServer with PlayN ? bit of a long shot, I know. intresting tech, giving good productivity, mabey ? so using th...
by gofa
19 Apr 2012, 12:20
Forum: SFS2X Questions
Topic: Room extension sleep()
Replies: 3
Views: 879

Re: Room extension sleep()

OK, Thanks, I changed my code to use the getTaskScheduler().schedule(new StartTask()); and its works fine. I see in the examples they are using the cancel() method, to stop the task, In my code i am using the schedule() method to run the task after a delay one time, so I dont need to call cancel() ?...
by gofa
18 Apr 2012, 14:27
Forum: SFS2X Questions
Topic: Room extension sleep()
Replies: 3
Views: 879

Room extension sleep()

Inisde my room extension, i am using the sleep() function to cause a delay after the room filling up and before the game officialy starting //last person joined try{ //take 5 Thread.sleep(parent.GAME_START_PAUS_TIME_MILI);//if player exits now, ok game not started, they get back the cash }catch(Inte...
by gofa
18 Apr 2012, 13:54
Forum: SFS2X ActionScript 3 API
Topic: number of users in a zone
Replies: 3
Views: 2404

number of users in a zone

How to find out the total number of useres in a zone, from the AS3 client sied API

eg. when my user logis in, i want to use the AS3 Api to get the number of players in the users zone
by gofa
24 Feb 2012, 03:23
Forum: SFS2X Questions
Topic: database commits and user Disconnect
Replies: 5
Views: 1575

Re: database commits and user Disconnect

So I handeled the problem with a Zone level extension, handling the user disconnect event and then manualy notifing all the rooms the user is in that the dissconect happened. with internal message "END". when the room handels this message is updates some variables and stuff (my player Data...
by gofa
21 Feb 2012, 13:32
Forum: SFS2X Questions
Topic: database commits and user Disconnect
Replies: 5
Views: 1575

Re: database commits and user Disconnect

ok so i could call this method handleInternalMessage("dis", event);
on the extension of every room a user is in,
at the zone level on a disconnect ?

it that the best way ?
by gofa
21 Feb 2012, 08:41
Forum: SFS2X Questions
Topic: database commits and user Disconnect
Replies: 5
Views: 1575

Re: database commits and user Disconnect

so if the zone disconect event fires first and then all the room disconect event's fire (one fore each room the user is in), how should i handle my data base update ? mabey i stop listing for a disconnect at the room level, at the zone level disconnect, I loop through all the useres room extensions ...
by gofa
21 Feb 2012, 08:08
Forum: SFS2X Questions
Topic: database commits and user Disconnect
Replies: 5
Views: 1575

Re: database commits and user Disconnect

why dose the Zone Level Disconnect event fire before a Room level Disconnect ???
if you enter a tower block then go into a flat. to exit the tower block first you must exit the flat ?
by gofa
20 Feb 2012, 14:27
Forum: SFS2X Questions
Topic: database commits and user Disconnect
Replies: 5
Views: 1575

database commits and user Disconnect

Hi, I need some advice no best way to update my user data base, In my system, i use a custome login extension to to auth my client and pull out the saved user profile data from my data base, e.g joined date, time spent playing, number of games played, games won, games lost, Credit's, ect... while th...

Go to advanced search