Search found 37 matches

by faisal007
18 Jul 2017, 17:33
Forum: SFS2X Questions
Topic: Connecting failed !
Replies: 1
Views: 3550

Connecting failed !

this issue is Occurs when we try to connect sfs server on android device . in this function: sfs.AddLogListener(LogLevel.ERROR, OnErrorMessage); public void OnErrorMessage(BaseEvent evt) ErrorMessage = " [TCPSocketLayer] Connection error:NO such host is known at " i am using unity5.5.3 . P...
by faisal007
20 Jun 2017, 10:10
Forum: SFS2X Questions
Topic: Creating rooms on server ready !
Replies: 10
Views: 10684

Re: Creating rooms on server ready !

Alright, confirmed no .jar's are packed. Thanks.
by faisal007
20 Jun 2017, 09:13
Forum: SFS2X Questions
Topic: Creating rooms on server ready !
Replies: 10
Views: 10684

Re: Creating rooms on server ready !

Alright, Is there a way to check if these dependencies are packed with Extension.jar ? Because I have changed .jar to.zip and than extract to see, only classes are there and no sfs2x.jar and sfs2x-core.jar found.
by faisal007
20 Jun 2017, 05:54
Forum: SFS2X Questions
Topic: Creating rooms on server ready !
Replies: 10
Views: 10684

Re: Creating rooms on server ready !

One more question: PFA, External libraries/jars I have added while developing extension in Flash builder, Should I remove all of them before export and put all of them in _lib_folder on my server where sfs2x is installed ? Also, do you have any idea about Order and Export tab in other screenshot ? T...
by faisal007
20 Jun 2017, 05:44
Forum: SFS2X Questions
Topic: Creating rooms on server ready !
Replies: 10
Views: 10684

Re: Creating rooms on server ready !

Alright, thanks for the details reply.

Right now, I have increased Heap memory size and the problem is solved, but this is a temporary fix.

Now, I m separating libraries and also removing sfs2x-core.jar and sfs2x.jar to make sure these will not be there in final jar.

Thanks.
by faisal007
16 Jun 2017, 06:51
Forum: SFS2X Questions
Topic: Creating rooms on server ready !
Replies: 10
Views: 10684

Re: Creating rooms on server ready !

By doing the alternative method, I m getting this error and unable to attach extension with rooms dynamically, com.smartfoxserver.v2.exceptions.SFSExtensionException: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Exception: com.smartfoxserver.v2.exceptions.SFSExtensionExcept...
by faisal007
16 Jun 2017, 06:16
Forum: SFS2X Questions
Topic: Creating rooms on server ready !
Replies: 10
Views: 10684

Re: Creating rooms on server ready !

Yes I m attaching extensions dynamically and NO i m not using dependencies files right now, I have compiled everything in the same jar as explained below. Yes, I came through this link and now implementing the suggested solutions. However, I have a question: Currently I have 3 rooms extensions, Poke...
by faisal007
15 Jun 2017, 11:20
Forum: SFS2X Questions
Topic: Creating rooms on server ready !
Replies: 10
Views: 10684

Creating rooms on server ready !

Hello, I wanted to create 500 rooms at server boot, however server is crashing by doing so. That's why I m creating 100 rooms after every 1 minute but after 3 or 4 db calls, I m getting this error: java.lang.OutOfMemoryError: PermGen space Any suggestions ? or whats the best way to achieve this task...
by faisal007
22 Mar 2017, 07:58
Forum: SFS2X Questions
Topic: Ban-Unban User ?
Replies: 1
Views: 3661

Ban-Unban User ?

Hello, We want to ban/unban user from PHP admin panel. The scenario could be, admin can see user list with IP addresses in the admin panel and they can ban or unban that user from their. When that user logged in future we want him/her to be banned or unbanned based on that value. Do we need to check...
by faisal007
22 Mar 2017, 07:55
Forum: SFS2X Questions
Topic: Custom banned words list !
Replies: 1
Views: 3520

Custom banned words list !

Hello,

We have a custom banned words list on PHP end and admin can update this list in PHP admin panel. How can we implement this list in smartfoxserver so that chat messages will be filtered out according to that list ?

Thanks.
by faisal007
20 Mar 2017, 16:12
Forum: Server Side Extension Development
Topic: Bridge between php and smartfoxserver !
Replies: 1
Views: 4442

Bridge between php and smartfoxserver !

Is there a way to call smartfoxserver server side extension method from PHP ? Basically we need to do these tasks without restarting server and also directly showing messages at client end. - Add room from php admin panel. - Add zone from php admin panel. - Admin can send messages that will be direc...
by faisal007
07 Mar 2017, 06:14
Forum: SFS2X C# API
Topic: Invalid cast exception between WebGL and Mobile builds !
Replies: 4
Views: 7038

Re: Invalid cast exception between WebGL and Mobile builds !

Alright i will post update after upgrading server version.
by faisal007
03 Mar 2017, 06:54
Forum: SFS2X C# API
Topic: Invalid cast exception between WebGL and Mobile builds !
Replies: 4
Views: 7038

Re: Invalid cast exception between WebGL and Mobile builds !

Server version: 2.9.0

C# API version: 1.7.2
by faisal007
02 Mar 2017, 16:24
Forum: SFS2X C# API
Topic: Invalid cast exception between WebGL and Mobile builds !
Replies: 4
Views: 7038

Invalid cast exception between WebGL and Mobile builds !

Hi, We Recently started porting our unity game from WebGL to mobile. This mostly consisted of UI changes and no changes to the SFS code were made, however we started encountering weird cast errors right away in the client side code. InvalidCastException: Cannot cast from source type to destination t...
by faisal007
07 Feb 2017, 16:06
Forum: SFS2X Questions
Topic: Calling stored procedures from server side !
Replies: 3
Views: 5423

Re: Calling stored procedures from server side !

It is working, thanks.

Go to advanced search