Navigation

  • Recent
  • Tags
  • Users
  • Search
  • Login
Colyseus
  • Login
  • Search
  • Recent
  • Tags
  • Users

Documentation GitHub

We're migrating to GitHub Discussions. This forum does not accept new registrations since April 6, 2023.
  1. Home
  2. shashank
  3. Posts
  • Profile
  • More
    • Continue chat with shashank
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Posts made by shashank

RE: MatchMakeException only in Unity3D Colyseus client

Found the issue.
SSL was not the problem .Unity client is replacing the existing path in url when joining a room.

Fixed it by adding existing path in CreateConnection method of Client.cs class
UriBuilder uriBuilder = new UriBuilder(Endpoint.Uri)
{
Path = Endpoint.Path + path, //earlier it was just path
Query = string.Join("&", list.ToArray())
};

posted in Questions & Help • 14 Sept 2020, 09:28
RE: MatchMakeException only in Unity3D Colyseus client

Please check the attached Wireshark screenshots for

  1. Unity to Remote Server : (FIN) flag and then RST
  2. Cocos Creator to Remote Server : Working as expected.!

1_1600009585249_Unity 2 Remote Server.png 0_1600009585249_Cocos Creator 2 Remote Server.png

posted in Questions & Help • 13 Sept 2020, 15:06
MatchMakeException only in Unity3D Colyseus client

Hi I have developed my complete game flow with Cocos creator but when I am trying the same with Unity getting this error while joining a room on remote server. But the same Unity client is also working with local server, (not with remote server).

And Javascript client is working with both.

Please help me figure out whats happening.

MatchMakeException: Unable to connect to the remote server
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <1f0c1ef1ad524c38bbc5536809c46b48>:0)
System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () (at <1f0c1ef1ad524c38bbc5536809c46b48>:0) Colyseus.Client+<ConsumeSeatReservation>d__151[T].MoveNext () (at Assets/Plugins/Colyseus/Client.cs:188)
--- End of stack trace from previous location where exception was thrown ---

posted in Questions & Help • 13 Sept 2020, 13:20
Problem with colyseus-social

I am trying to use the colyseus/colyseus-social module, but there are some errors in the latest git repo(mostly typecasting errors). 0_1592285115057_colyseus-error.PNG
Please help in resolving these errors or finding what might be causing it. Thanks in advance.

posted in Questions & Help • 16 Jun 2020, 05:27
Support For Redis Cluster

I am trying to use Redis Cluster with Colyseus to create a distributed game server. The current implementation is using the redis client library, is there an easy way to replace it with the redis-clustr client library?

Thanks

posted in Questions & Help • 13 Jan 2020, 11:10
RE: Colyseus.js : client.onClose , client.onError not found.

@endel said in Colyseus.js : client.onClose , client.onError not found.:

1000

Hi @endel : Thanks for the update. Is there any way to detect disconnection when the player has not joined a room yet?

posted in Questions & Help • 28 Aug 2019, 12:04
RE: Colyseus.js : client.onClose , client.onError not found.

@dpastorini : Is there any way to detect connection lost from client-side ?Currently I am not getting any error or call back , when the connection is lost or the server goes down.

posted in Questions & Help • 27 Aug 2019, 06:43
Colyseus.js : client.onClose , client.onError not found.

On migrating to Colyseus.js 0.11.x , I could not find the onClose and onError callbacks in Colyseus client. Are they deprecated ?

posted in Questions & Help • 27 Aug 2019, 05:45

© 2023 Endel Dreyer