Search found 4479 matches

by Bax
10 Feb 2020, 11:22
Forum: SFS2X C# API
Topic: Unity, FirstPersonShooter example issues
Replies: 2
Views: 325

Re: Unity, FirstPersonShooter example issues

It seems your Unity doesn't "see" the classes in the API dll. I suggest to remove all content of the /Assets/Plugins folder, then download the latest version of our C# API and follow the instructions provided here based on the platforms you want to support: http://docs2x.smartfoxserver.com...
by Bax
10 Feb 2020, 08:25
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 12
Views: 1228

Re: TypeScript declarations bug

As you may understand, it is almost impossible for us to test all combinations of frameworks, package managers, development tools and what more, in particular speaking of TypeScript. Our API package is the most simple NPM package you can think of: 1 JavaScript file with no dependancies. It is hard t...
by Bax
29 Jan 2020, 09:14
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 12
Views: 1228

Re: TypeScript declarations bug

We are in the process of releasing a new minor update to the JavaScript API. If would be great if you could provide a feedback on my last message, so that if changes are needed, we can make them available in the coming release. Thank you.
by Bax
22 Jan 2020, 11:42
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 12
Views: 1228

Re: TypeScript declarations bug

One more thing. Could you please try the following? In the project configuration in which you get those TypeScript transpile errors, go to the node_modules/sfs2x-api folder and edit the type definitions file. Try substituting all occurrences of "{array}" with "{Array}". Do the er...
by Bax
22 Jan 2020, 10:23
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 12
Views: 1228

Re: TypeScript declarations bug

Could you send a very basic project example showing the TypeScript transpile errors? Possibly the whole project folder, including node modules and all. We tried updating all the tools used to generate our API final package and we'd like to test it. I don't think anything changed in this regards but....
by Bax
16 Jan 2020, 09:08
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 12
Views: 1228

Re: TypeScript declarations bug

It is not clear if you are having issues using the API (connect to SFS, etc), or if it is just a matter of intellisense and code completion.
by Bax
20 Dec 2019, 08:30
Forum: SFS2X Questions
Topic: Log Analysis no Data
Replies: 1
Views: 98

Re: Log Analysis no Data

You should check the logs for possible errors in the logs analysis process.
The relevant logs are logs/smartfox.log and logs/statsParser.log. In particular the second one is the one written during the process.
Can you please check both and report any issue you may find?
Thanks.
by Bax
26 Nov 2019, 08:19
Forum: SFS2X HTML5 / JavaScript API
Topic: ReferenceError: DataStream is not defined in wechat
Replies: 6
Views: 1672

Re: ReferenceError: DataStream is not defined in wechat

Hi Bax! I have the same problem when using for CocosCreator IDE. Can you send me a copy. If i can fix, i'll send back for you. My Email: janicegamemaster@gmail.com Hope you feedback. Thanks! Please send us an email with your request. Also, we'd like to have more information on the issue you are fac...
by Bax
15 Nov 2019, 13:42
Forum: SFS2X Questions
Topic: Question: smartfox unity integration, and more
Replies: 5
Views: 250

Re: Question: smartfox unity integration, and more

Creating an asset like that is not trivial. Maybe in the future we will make something similar, but we can't guarantee. At the moment we are focused on other improvements of SmartFoxServer. About the server side language, I guess you mean Lua, not Luna. Anyway, if you are not familiar with Java, you...
by Bax
15 Nov 2019, 10:04
Forum: SFS2X Questions
Topic: Question: smartfox unity integration, and more
Replies: 5
Views: 250

Re: Question: smartfox unity integration, and more

Actually that's not an asset we created. It is from a third-party developer, so you should try contacting him.
by Bax
22 Oct 2019, 08:19
Forum: SFS2X HTML5 / JavaScript API
Topic: undefined is not an object (evaluating 'this._sfs.debug')
Replies: 2
Views: 381

Re: undefined is not an object (evaluating 'this._sfs.debug')

We believe this was already fixed in the latest API version you can download here: https://www.smartfoxserver.com/download/sfs2x#p=client
Please update your project and let us know in case the error occurs again.
by Bax
03 Oct 2019, 13:37
Forum: SFS2X C# API
Topic: Error on Unity examples pack
Replies: 3
Views: 836

Re: Error on Unity examples pack

We updated the Unity examples package in the download page:
https://www.smartfoxserver.com/download ... p=examples
by Bax
03 Oct 2019, 13:14
Forum: SFS2X C# API
Topic: Error on Unity examples pack
Replies: 3
Views: 836

Re: Error on Unity examples pack

Debug: Rebuilding Library because the asset database could not be found! This is expected; due to the way we distribute our examples, the first time you import it, the assets database must be rebuilt. You shouldn't see it again if you save and reopen the project. Warning: Assets\ConnectorAssets\Scr...
by Bax
03 Oct 2019, 12:44
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 12
Views: 1228

Re: TypeScript declarations bug

The d.ts file is generated automatically, so we don't have control over missing descriptions.
We'll try to figure out something...
by Bax
02 Oct 2019, 07:25
Forum: SFS2X HTML5 / JavaScript API
Topic: TypeScript declarations bug
Replies: 12
Views: 1228

Re: TypeScript declarations bug

What IDE are you using? We'd like to be able to reproduce this to see what is going on.
We tested the type definitions in Visual Studio Code and didn't get errors.

Go to advanced search