Search found 71 matches

by prince_hao
28 Mar 2016, 13:42
Forum: SFS2X Questions
Topic: SFS2X Admin Server and Players cannot Login
Replies: 9
Views: 1517

Re: SFS2X Admin Server and Players cannot Login

Thanks. I don't see anything strange in the thread dump besides the fact that you're running two SocketAcceptor threads, which I don't think is useful. Can you please revert the setting (core.xml) to one thread and try again? Thanks hi Lapo, I have the same problems! when the server can't login the...
by prince_hao
13 Apr 2015, 07:45
Forum: SFS2X C++ API
Topic: about reconnection
Replies: 6
Views: 3419

Re: about reconnection

Have you removed you server side code that removes logged in users manually? Can you give me a step by step description of how to reproduce the problem? Also can you specify which SmartFoxServer version are you using? Thanks yeah! I have removed my server side code. server API is 2.9 , client API i...
by prince_hao
13 Apr 2015, 02:10
Forum: SFS2X C++ API
Topic: about reconnection
Replies: 6
Views: 3419

Re: about reconnection

It sounds like you are trying to re-implement the "force-logout" system. If you want to disconnect a client to allow another client with the same name this function already exists. It is called "Force Logout" and it is activated in the Zone Configurator. When User "Kermit&q...
by prince_hao
10 Apr 2015, 02:46
Forum: SFS2X C++ API
Topic: about reconnection
Replies: 6
Views: 3419

Re: about reconnection

Hi, what does it mean that client A crashes? Please describe what happens, which client errors you're getting exactly. Also add which client platform you're using and which version of the SFS2X client API. Thanks Hi Lapo, Thanks for your reply! the client API is C++ 1.1.6 the server disconnt client...
by prince_hao
09 Apr 2015, 08:28
Forum: SFS2X C++ API
Topic: about reconnection
Replies: 6
Views: 3419

about reconnection

Hi,
I have set reconnection time 120s,now clientA login with testone,then clientB login with the same loginname, the server disconnt clientA in LoginEvent and allow the clientB login.but the clientA crash.How to solve it?
help me.thinks!
by prince_hao
26 Feb 2015, 10:00
Forum: SFS2X C++ API
Topic: About room.getUserByName()
Replies: 1
Views: 2068

About room.getUserByName()

Hi all:
Now, I have some doubts about room.getUserByName(). I'm sure the user in the room but i can not get the user by room.getUserByName().
Who can help me! thanks!
by prince_hao
29 Dec 2014, 04:28
Forum: SFS2X C++ API
Topic: How to get UserVariable in OnUserVarsUpdate
Replies: 5
Views: 3522

Re: How to get UserVariable in OnUserVarsUpdate

Please use next API release 0.9.4 that contains some bug fixing and try follow statements to read vars. Get the changed vars vector<string*>* changedVars = (vector<string*>*)((*(ptrEvent->Params()))["changedVars"]); User* user = (User*)((*(ptrEvent->Params()))["user"]); Read a s...
by prince_hao
23 Dec 2014, 02:19
Forum: SFS2X C++ API
Topic: compile 1.1.6 API in eclipse on Ubuntu(14.04 LTS/ 64bit)
Replies: 6
Views: 3432

Re: compile 1.1.6 API in eclipse on Ubuntu(14.04 LTS/ 64bit)

Hi, Please open API file SmartFox.cpp and move to line 1618. Here replace boost::shared_ptr<vector<string>> changedVarNames = ((boost::static_pointer_cast<vector <string> >))((*(e->Params()))["changedVars"]); with boost::shared_ptr<vector<string> > changedVarNames = ((boost::static_pointe...
by prince_hao
22 Dec 2014, 08:31
Forum: SFS2X C++ API
Topic: compile 1.1.6 API in eclipse on Ubuntu(14.04 LTS/ 64bit)
Replies: 6
Views: 3432

Re: compile 1.1.6 API in eclipse on Ubuntu(14.04 LTS/ 64bit)

Hi, Please open API file SmartFox.cpp and move to line 1618. Here replace boost::shared_ptr<vector<string>> changedVarNames = ((boost::static_pointer_cast<vector <string> >))((*(e->Params()))["changedVars"]); with boost::shared_ptr<vector<string> > changedVarNames = ((boost::static_pointe...
by prince_hao
16 Dec 2014, 04:17
Forum: SFS2X C++ API
Topic: compile 1.1.6 API in eclipse on Ubuntu(14.04 LTS/ 64bit)
Replies: 6
Views: 3432

Re: compile 1.1.6 API in eclipse on Ubuntu(14.04 LTS/ 64bit)

Hi, Thanks for the help in advance. I have repeated, on my Ubuntu machine (14.04 LTS/ 64bit) with Eclipse, all steps described in chapter Linux/Unix — Eclipse Cygwin of http://docs2x.smartfoxserver.com/GettingStarted/client-api-cpp that are required to build the library . I have read this page [url...
by prince_hao
16 Dec 2014, 04:17
Forum: SFS2X C++ API
Topic: compile 1.1.6 API in eclipse on Ubuntu(14.04 LTS/ 64bit)
Replies: 6
Views: 3432

Re: compile 1.1.6 API in eclipse on Ubuntu(14.04 LTS/ 64bit)

Hi, Thanks for the help in advance. I have repeated, on my Ubuntu machine (14.04 LTS/ 64bit) with Eclipse, all steps described in chapter Linux/Unix — Eclipse Cygwin of http://docs2x.smartfoxserver.com/GettingStarted/client-api-cpp that are required to build the library . I have read this page [url...
by prince_hao
16 Dec 2014, 04:16
Forum: SFS2X C++ API
Topic: compile 1.1.6 API in eclipse on Ubuntu(14.04 LTS/ 64bit)
Replies: 6
Views: 3432

Re: compile 1.1.6 API in eclipse on Ubuntu(14.04 LTS/ 64bit)

Hi, Thanks for the help in advance. I have repeated, on my Ubuntu machine (14.04 LTS/ 64bit) with Eclipse, all steps described in chapter Linux/Unix — Eclipse Cygwin of http://docs2x.smartfoxserver.com/GettingStarted/client-api-cpp that are required to build the library . I have read this page [url...
by prince_hao
16 Dec 2014, 04:12
Forum: SFS2X C++ API
Topic: Compile 1.1.3 Api in Eclipse
Replies: 13
Views: 5578

Re: Compile 1.1.3 Api in Eclipse

Hi, any news about compiling API on Windows with Eclipse? In these days I have successfuly compiled API on Linux with Eclipse and on Windows with VisualStudio....seems that API source is "compatible" with both Eclipse and VisualStudio. I have done only a preliminary test to compile API on...
by prince_hao
16 Dec 2014, 04:11
Forum: SFS2X C++ API
Topic: Compile 1.1.3 Api in Eclipse
Replies: 13
Views: 5578

Re: Compile 1.1.3 Api in Eclipse

Hi, any news about compiling API on Windows with Eclipse? In these days I have successfuly compiled API on Linux with Eclipse and on Windows with VisualStudio....seems that API source is "compatible" with both Eclipse and VisualStudio. I have done only a preliminary test to compile API on...
by prince_hao
16 Dec 2014, 04:10
Forum: SFS2X C++ API
Topic: Compile 1.1.3 Api in Eclipse
Replies: 13
Views: 5578

Re: Compile 1.1.3 Api in Eclipse

Hi, any news about compiling API on Windows with Eclipse? In these days I have successfuly compiled API on Linux with Eclipse and on Windows with VisualStudio....seems that API source is "compatible" with both Eclipse and VisualStudio. I have done only a preliminary test to compile API on...

Go to advanced search