Search found 4 matches

by PatrickActivate
01 Jun 2015, 06:02
Forum: SFS2X Questions
Topic: Problem after added unity 5 WebGL
Replies: 4
Views: 8204

Re: Problem after added unity 5 WebGL

sorry for late replying, below are the code i used to create the room:

MMORoomSettings setting = new MMORoomSettings (roomName);
setting.MaxUsers = maxUser;
setting.GroupId = "default";
setting.DefaultAOI = new Vec3D (99.9f,1.0f, 99.9f);
setting.Variables.Add(new SFSRoomVariable("zone", (int)zone ...
by PatrickActivate
27 May 2015, 16:20
Forum: SFS2X Questions
Topic: Problem after added unity 5 WebGL
Replies: 4
Views: 8204

Problem after added unity 5 WebGL

recently i added html 5 websockets conenction (for unity 5 webgl), im enable to connect to server, but after i sent create room reuqest, this warning message prompt out in the server log:

java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.Integer
com.smartfoxserver.v2 ...
by PatrickActivate
26 May 2015, 06:45
Forum: SFS2X C# API
Topic: Problem about unity 5 WebGL build
Replies: 2
Views: 8021

Re: Problem about unity 5 WebGL build

asked my colleague to check the 8888 port on the server, and enabled it, it works, thanks for the reply :D
by PatrickActivate
25 May 2015, 10:27
Forum: SFS2X C# API
Topic: Problem about unity 5 WebGL build
Replies: 2
Views: 8021

Problem about unity 5 WebGL build

Hi, i have a project uses smartfoxserver 2x, previously the project is build based on WebPlayer platform, everything works perfectly, recently my boss ask me to port the project to WebGL, here came the problem.

I tried to:

Updated unity from 5.0.0 to 5.0.2f1

Updated the server api from 2.9 to 2 ...