you must have started the task like so :
SmartFoxServer sfs = SmartFoxServer.getInstance();
// Schedule a task to run every second, with 1 sec initial delay
taskHandle = sfs.getTaskScheduler().scheduleAtFixedRate(.....);
To stop do this: taskHandle.cancel(true);
Search found 186 matches
- 28 Mar 2012, 17:13
- Forum: SFS2X Questions
- Topic: Stop a recurring task started with scheduleAtFixedRate?
- Replies: 2
- Views: 4815
- 28 Mar 2012, 17:07
- Forum: SFS2X Questions
- Topic: sequence of events.
- Replies: 3
- Views: 5421
sequence of events.
hi. i have two rooms roomA, roomB a user is in roomA. the following two lines are executed in order in which they appear: getApi().leaveRoom(user, roomA,true,true); getApi().joinRoom(user, roomB, null, false, null,true,true); room A has a USER_LEAVE handler defined which sends an extension response ...
- 22 Mar 2012, 19:00
- Forum: SFS2X Questions
- Topic: Wordfile turkish character problem
- Replies: 3
- Views: 4923
Re: Wordfile turkish character problem
hi,
are you sure that your word filter is working for other strings?
are you sure that your word filter is working for other strings?
- 22 Mar 2012, 04:56
- Forum: Job offers and requests
- Topic: 3dFoin March Madness Sale - Up to 70% off!!!
- Replies: 0
- Views: 9789
Re: 3dFoin March Madness Sale - Up to 70% off!!!
nice models!
- 21 Mar 2012, 06:04
- Forum: SFS2X Questions
- Topic: Word Filter Isn't Active?
- Replies: 10
- Views: 12783
Re: Word Filter Isn't Active?
hi, please try this as i had the same problem : go to the zone configurator -> words filter tab set the filter mode = BLACKLIST. it is by default WHITELIST. set the correct text file where you have written all the bad words, a default file is already there in the config/wordsFile.txt in you sfs2x in...
- 21 Mar 2012, 05:53
- Forum: SFS2X ActionScript 3 API
- Topic: Get Sender on custom extension response
- Replies: 5
- Views: 9611
Re: Get Sender on custom extension response
hi, you must be having some client request handler defined for the incoming client request in you extension right? in this handler which basically extends baseclientrequesthandler you can write User sender = (SFSUser) event.getParam(sfseventparam.USER) ; so you can get the user who sent the request....
- 20 Mar 2012, 17:49
- Forum: SFS2X Questions
- Topic: sfs2x and sfs pro on same machine
- Replies: 2
- Views: 3953
Re: sfs2x and sfs pro on same machine
thanks installed.
- 20 Mar 2012, 10:31
- Forum: SFS2X Questions
- Topic: sfs2x and sfs pro on same machine
- Replies: 2
- Views: 3953
sfs2x and sfs pro on same machine
hi,
can i have both sfs2x and sfs pro on the same machine without interfering? I wont be running them together... just wanted
to make sure!
can i have both sfs2x and sfs pro on the same machine without interfering? I wont be running them together... just wanted
to make sure!
- 19 Mar 2012, 18:49
- Forum: SFS2X Questions
- Topic: SmartFoxServer 2X NEWS!
- Replies: 12
- Views: 12755
Re: SmartFoxServer 2X NEWS!
good read! will get a license soon!
- 18 Mar 2012, 04:44
- Forum: SFS2X Questions
- Topic: Zone not listed in zone monitor
- Replies: 4
- Views: 6181
Re: Zone not listed in zone monitor
hi, why dont you upgrade to the final release of sfs2x which is already out : http://www.smartfoxserver.com/download/sfs2x#p=installer its a new installation and not a patch...so uninstall your RC1 before . The client apis are there in the client folder in the installation directory that will be cre...
- 17 Mar 2012, 19:21
- Forum: SFS2X Questions
- Topic: Total noob Q
- Replies: 2
- Views: 4389
Re: Total noob Q
hi, well from point of no knowledge it would take you weeks i m sure, as there are many things to be understood like extensions, plus knowing the client api etc.plus dont forget when you get stuck with that bug for days! but then on it shoud'nt be a problem for your other games. worth the time inves...
- 17 Mar 2012, 08:26
- Forum: SFS2X ActionScript 3 API
- Topic: [unresol] VerifyError: Error #1111: de.polygonal.ds::Listset
- Replies: 9
- Views: 13744
Re: [unresol] VerifyError: Error #1111: de.polygonal.ds::Lis
just remove any previous references of swc of older sfs versions from your buildpath and add this swc freshly.
- 17 Mar 2012, 08:25
- Forum: SFS2X ActionScript 3 API
- Topic: [unresol] VerifyError: Error #1111: de.polygonal.ds::Listset
- Replies: 9
- Views: 13744
Re: [unresol] VerifyError: Error #1111: de.polygonal.ds::Lis
yea i know it can be frustrating... hope the moderators have read your problem. yes, after you do a fresh installation of sfs2x final. go to your installation dir named SmartFoxServer2X. go to this path SmartFoxServer2X\Client\ActionScript3 , you will find the client api that you can just drop into ...
- 17 Mar 2012, 06:43
- Forum: SFS2X Questions
- Topic: Creating account with custom login
- Replies: 2
- Views: 4922
Re: Creating account with custom login
sounds ok to me.
for encrypting the password sent while registering, you could use some as3 encryption library like as3crypto.
for encrypting the password sent while registering, you could use some as3 encryption library like as3crypto.
- 17 Mar 2012, 06:32
- Forum: SFS2X Questions
- Topic: unmodifiable uservariable
- Replies: 5
- Views: 6809
Re: unmodifiable uservariable
hi, LOGIN_OUT param can be used but will be used to notify something only to the user who is logging in. i need to tag users as guest or money players. each user must be able to identify other users as a guest /money player. in order to do this the natural choice is to set a user variable on the Use...