Yes, I did.
Run sfs2x.sh solved my problem
Search found 11 matches
- 15 Oct 2018, 15:29
- Forum: Server Side Extension Development
- Topic: smartfox and hibernate
- Replies: 6
- Views: 7860
- 13 Oct 2018, 09:10
- Forum: Server Side Extension Development
- Topic: smartfox and hibernate
- Replies: 6
- Views: 7860
Re: smartfox and hibernate
Lapo wrote:Maybe you've edited the sfs2x.sh?
No, I haven't
But thank you so much
- 11 Oct 2018, 14:01
- Forum: Server Side Extension Development
- Topic: smartfox and hibernate
- Replies: 6
- Views: 7860
Re: smartfox and hibernate
Sorry, its my fault. I did run sfs2x-standalone instead of running sfs2x.sh
Its successfully if I run sfs2x.sh
Can you tell me what is different between sfs2x-standalone and sfs2x.sh
Its successfully if I run sfs2x.sh
Can you tell me what is different between sfs2x-standalone and sfs2x.sh
- 05 Oct 2018, 02:52
- Forum: Server Side Extension Development
- Topic: smartfox and hibernate
- Replies: 6
- Views: 7860
smartfox and hibernate
Hello, I just code my server extension with hibernate without using maven. I copy hiberante, mysql connector... jars file to my libs folder and put hibernate.cfg.xml like this below picture https://imgur.com/a/TBZYFeO https://imgur.com/a/TBZYFeO then i configure jar file like https://imgur.com/a/srP...
- 07 Mar 2018, 14:35
- Forum: SFS2X Questions
- Topic: call zone extension's variable in request handler
- Replies: 5
- Views: 6265
Re: call zone extension's variable in request handler
Oh, sorry
If I put code in handleClientRequest method, it will return the exist value.
If I put code in handleClientRequest method, it will return the exist value.
- 07 Mar 2018, 14:27
- Forum: SFS2X Questions
- Topic: call zone extension's variable in request handler
- Replies: 5
- Views: 6265
Re: call zone extension's variable in request handler
This is my ZoneExtension public class ZoneExtension extends SFSExtension { private Database database; private Cache cache; private UserManager userManager; @Override public void init() { generateDbAndCache(); addEventHandler(SFSEventType.USER_LOGIN, LoginHandler.class); addRequestHandler("game....
- 06 Mar 2018, 10:05
- Forum: SFS2X Questions
- Topic: call zone extension's variable in request handler
- Replies: 5
- Views: 6265
Re: call zone extension's variable in request handler
Hi, you mean that you want to access some fields of your Extension class from another class? Such as a RequestHandler? If this is the case you just need to create getters for those fields and the access them from the other class. Example: This is in your main Extension class, called MyExtension pub...
- 04 Mar 2018, 01:50
- Forum: SFS2X Questions
- Topic: call zone extension's variable in request handler
- Replies: 5
- Views: 6265
call zone extension's variable in request handler
Hello,
I have got some variables which were declared in zone extension, and I want to call them in ClientRequestHandler or ServerEventHandler without using static.
How can I do it?
Thank you and sorry about my poor English
I have got some variables which were declared in zone extension, and I want to call them in ClientRequestHandler or ServerEventHandler without using static.
How can I do it?
Thank you and sorry about my poor English
- 12 Apr 2017, 08:19
- Forum: SFS2X Questions
- Topic: How to active account with Sign Up Assistant
- Replies: 4
- Views: 5698
Re: How to active account with Sign Up Assistant
Lapo wrote:It is explained in the tutorial
http://docs2x.smartfoxserver.com/Develo ... activation
See the section at the bottom called "User account activation"
oh, thanks so muck I though it will be actived via web url
- 12 Apr 2017, 07:47
- Forum: SFS2X Questions
- Topic: How to active account with Sign Up Assistant
- Replies: 4
- Views: 5698
Re: How to active account with Sign Up Assistant
Hi, in the tutorial we say this: By default the activationCodeField is set to null which means that no activation is required during the sign up process. Are you sure you've done this? thanks I did this and this activition code was sent to email. But I don't know how to use this code to active acco...
- 11 Apr 2017, 17:17
- Forum: SFS2X Questions
- Topic: How to active account with Sign Up Assistant
- Replies: 4
- Views: 5698
How to active account with Sign Up Assistant
Hi, I am a newbie. I just follow this tutoorial to send activition codehttp://docs2x.smartfoxserver.com/DevelopmentBasics/signup-assistant-activation, and I got only username, password and account on register's email which not contain active url. How can use this active code?