Search found 4472 matches

by Bax
08 Aug 2019, 09:17
Forum: SFS2X HTML5 / JavaScript API
Topic: Missing code completion
Replies: 5
Views: 1158

Re: Missing code completion

Rob, we have found a way to generate a d.ts file more easily and including the jsdoc. Still not perfect, but quite good.
If you want to give it a try in your dev environment, just send us an email referencing this thread.
Thanks.
by Bax
07 Aug 2019, 07:30
Forum: SFS2X HTML5 / JavaScript API
Topic: Missing code completion
Replies: 5
Views: 1158

Re: Missing code completion

In today's JavaScript programming there's so many layers (web pack or other bundlers, transpiration, npm, etc) and styles in writing the code which is almost impossible to understand what is going on and where. I still think the issue here is the missing type definitions file. Also check this thread...
by Bax
07 Aug 2019, 07:14
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeError: u.callback is undefined
Replies: 3
Views: 343

Re: TypeError: u.callback is undefined

I'm not familiar with Parcel, so it is not clear what a "warningfilter" is. Can you better explain what issue are you experiencing? Thank you. In the constructor you are checking this.sfsConn , which will always be null, because this.sfsConn is not sfsConn. I suggest to review your code an...
by Bax
30 Jul 2019, 10:04
Forum: SFS2X HTML5 / JavaScript API
Topic: Missing code completion
Replies: 5
Views: 1158

Re: Missing code completion

We have a partial solution to this issue. Using the tool at the url below, you can make it generate a d.ts file for our API, which I think should stop your IDE from complaining. We will figure out if we can distribute a d.ts file together with the API. But currently I'm not 100% happy with the resul...
by Bax
30 Jul 2019, 08:22
Forum: SFS2X HTML5 / JavaScript API
Topic: Missing code completion
Replies: 5
Views: 1158

Re: Missing code completion

IntelliSense in those environments requires a types definition file to be provided. We don't have such file available, because as of today we could not find a way to generate it automatically (at least the tree of classes, methods, etc). I guess you will need to configure Intellij so that it is not ...
by Bax
26 Jul 2019, 08:02
Forum: SFS2X Questions
Topic: Lose SFConnection on Scene Load
Replies: 8
Views: 648

Re: Lose SFConnection on Scene Load

I just did a simple test and everything works as expected: - added a new "Test" scene to the Tris project - inside the new scene, created an empty GameObject, called "Controller" - assigned a new script to the Controller object, called "TestScript" - added the following...
by Bax
26 Jul 2019, 07:36
Forum: SFS2X Questions
Topic: Lose SFConnection on Scene Load
Replies: 8
Views: 648

Re: Lose SFConnection on Scene Load

Does your scene contain a Controller object to which the GameController script is assigned?
by Bax
23 Jul 2019, 08:36
Forum: SFS2X Questions
Topic: Lose SFConnection on Scene Load
Replies: 8
Views: 648

Re: Lose SFConnection on Scene Load

From your description it seems you are not following the Tris example entirely. In fact, after the login is performed, the Lobby scene is loaded. That's where players meet (in a dedicated Room), and create a game Room to play. Anyway... As my colleague Lapo pointed out, the Lobby and Game scenes acc...
by Bax
15 Jul 2019, 17:30
Forum: SFS2X Questions
Topic: SmartFoxServer 2X C# API Documentation
Replies: 2
Views: 482

Re: SmartFoxServer 2X C# API Documentation

Turned out that the doc generation tool had an issue when loading source files from a network drive.
Now the search feature works as expected. Thank you for reporting.
by Bax
03 Jul 2019, 09:35
Forum: SFS2X HTML5 / JavaScript API
Topic: Return value documentation errors
Replies: 5
Views: 752

Re: Return value documentation errors

We fixed the documentation issues. Again, thank you for reporting.
by Bax
02 Jul 2019, 14:04
Forum: SFS2X C# API
Topic: WebSocketSharp Conflict. Could it be internal instead of public?
Replies: 9
Views: 629

Re: WebSocketSharp Conflict. Could it be internal instead of public?

Please contact us by email.
We can provide a test release with a modified namespace of the WebSocketSharp library we use internally.
by Bax
01 Jul 2019, 15:44
Forum: SFS2X C# API
Topic: WebSocketSharp Conflict. Could it be internal instead of public?
Replies: 9
Views: 629

Re: WebSocketSharp Conflict. Could it be internal instead of public?

Thanks. Let us know how it goes. As I said, if needed we will help to fix this issue.
by Bax
01 Jul 2019, 10:11
Forum: SFS2X C# API
Topic: WebSocketSharp Conflict. Could it be internal instead of public?
Replies: 9
Views: 629

Re: WebSocketSharp Conflict. Could it be internal instead of public?

Anyway, if the plugin developers can't help, we'll make the change to the WSSharp code in our source files.
by Bax
01 Jul 2019, 10:02
Forum: SFS2X Questions
Topic: SmartFoxServer 2X C# API Documentation
Replies: 2
Views: 482

Re: SmartFoxServer 2X C# API Documentation

Yes, you are right. Unfortunately there's nothing we can do, because the doc is generated by a tool and we have no clue why it doesn't work.
We'll try to check again the tool options, but I don't think we will be able to solve it.
by Bax
01 Jul 2019, 08:50
Forum: SFS2X C# API
Topic: WebSocketSharp Conflict. Could it be internal instead of public?
Replies: 9
Views: 629

Re: WebSocketSharp Conflict. Could it be internal instead of public?

This could be something to explore: https://blogs.msdn.microsoft.com/ansonh/2006/09/27/extern-alias-walkthrough/ The problem is that we are not referencing the WebSocketSharp DLL in our API. We just included the source code in our own source code. You may ask the plugin developer to use the extern a...

Go to advanced search