This has been our mantra for all the past years dealing with SFS Basic/PRO support
"Check the docs" has probably become the most popular sentence in the forums... a more polite version of the infamous RTFM
Seriously, this time we not only want to reinforce the suggestion but we would also like to recommend to really checking the online preview documentation every once in a while as we will be publishing updates as soon as they are available.
Although we ship the docs with the beta download we want to emphasize that the online version will always be more up to date (for obvious reasons).
Happy SFS2X coding!
MANTRA: Check the docs!
Hi,
there is no tutorial right now although the code should be self explanatory if you have gone through the "Development Basics" section of the docs and the introduction on Extensions.
Anyways the good news is that we'll be releasing a series of video tutorials and we have plans to dissect the TicTacToe game as well
there is no tutorial right now although the code should be self explanatory if you have gone through the "Development Basics" section of the docs and the introduction on Extensions.
Anyways the good news is that we'll be releasing a series of video tutorials and we have plans to dissect the TicTacToe game as well
-
- Posts: 7
- Joined: 30 Nov 2010, 17:15
docs - are they valid
Hello!
I was trying to implement does examples
http://docs2x.smartfoxserver.com/Develo ... se-recipes
I have copy all folder sfs2x (from downloaded zip) to muppetExt folder in {MY-SFS2-FOLDER}/extensions/
as well as ExtensionTests.jar from downloaded zip.
I've made table in database on my localhost (Win7 + Xampp and Debian + Apache)
2 Every time when i am trying to start server i'm getting this error:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: com.smartfoxserver.v2.exceptions.SFSException
Message: Extension creation failure: muppetsExt - Class not found: sfs2x.extensi
on.test.dblogin.DbLogin
Description: There were startup errors during the Zone Setup
Please connect via the AdminTool and correct the problem
+--- --- ---+
Could someone help me? Should i build it before? I am using NetBeans 6.9.1 but cant figure how to do my first extension - any links would be very helpfull.
many thanks
I was trying to implement does examples
http://docs2x.smartfoxserver.com/Develo ... se-recipes
I have copy all folder sfs2x (from downloaded zip) to muppetExt folder in {MY-SFS2-FOLDER}/extensions/
as well as ExtensionTests.jar from downloaded zip.
I've made table in database on my localhost (Win7 + Xampp and Debian + Apache)
2 Every time when i am trying to start server i'm getting this error:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: com.smartfoxserver.v2.exceptions.SFSException
Message: Extension creation failure: muppetsExt - Class not found: sfs2x.extensi
on.test.dblogin.DbLogin
Description: There were startup errors during the Zone Setup
Please connect via the AdminTool and correct the problem
+--- --- ---+
Could someone help me? Should i build it before? I am using NetBeans 6.9.1 but cant figure how to do my first extension - any links would be very helpfull.
many thanks
Sorry
Small typo in the docs. The class name is DBLogin not DbLogin
This will fix it.
Small typo in the docs. The class name is DBLogin not DbLogin
This will fix it.
Last edited by Lapo on 16 Dec 2010, 07:48, edited 1 time in total.
-
- Posts: 7
- Joined: 30 Nov 2010, 17:15
works fine
thanks Lapo!!!
I tried both DBLoign and DBLogin..
but still get this error
*-------------------------------------------*
02:19:58,312 WARN [main] v2.SmartFoxServer -
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: com.smartfoxserver.v2.exceptions.SFSException
Message: Extension creation failure: muppetsExt - Class not found: sfs2x.extension.test.dblogin.DbLogin
Description: There were startup errors during the Zone Setup
Please connect via the AdminTool and correct the problem
but still get this error
*-------------------------------------------*
02:19:58,312 WARN [main] v2.SmartFoxServer -
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: com.smartfoxserver.v2.exceptions.SFSException
Message: Extension creation failure: muppetsExt - Class not found: sfs2x.extension.test.dblogin.DbLogin
Description: There were startup errors during the Zone Setup
Please connect via the AdminTool and correct the problem
-
- Posts: 7
- Joined: 30 Nov 2010, 17:15
I think there's an error in the Advanced Extensions Features section.
It didn't work for me until I replaced BaseServerEventHandler with BaseClientRequestHandler for the "extends" part.
Code: Select all
@MultiHandler
public class RegisterMultiHandler extends BaseServerEventHandler
{
@Override
public void handleClientRequest(User sender, ISFSObject params)
{
// Obtain the request id
String requestId = params.getUtfString(SFSExtension.MULTIHANDLER_REQUEST_ID);
}
}
It didn't work for me until I replaced BaseServerEventHandler with BaseClientRequestHandler for the "extends" part.
Who is online
Users browsing this forum: No registered users and 29 guests