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. kukuts
K

kukuts

@kukuts

Chat Follow Unfollow
0
Reputation
8
Posts
1.5k
Profile views
0
Followers
0
Following
Joined 18 Jan 2019, 22:41 Last Online 27 Jul 2020, 15:37

  • Profile
  • More
    • Continue chat with kukuts
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups
kukuts Follow

Posts made by kukuts

RE: Colyseus v0.12 - v.013 MapSchema issue

@endel I’ll be happy to help with test, keep me posted please inside this thread.

posted in Questions & Help • 14 Jul 2020, 08:17
RE: Colyseus v0.12 - v.013 MapSchema issue

@endel Hi, is there any progress with fix the problem and a new release?

posted in Questions & Help • 10 Jul 2020, 13:22
RE: Colyseus v0.12 - v.013 MapSchema issue

@endel thanks for quick reply, but keys of map are different. For player I use sessionId and nanoid for bot key.

posted in Questions & Help • 11 Jun 2020, 10:44
Colyseus v0.12 - v.013 MapSchema issue

Hello after migration on v0.12 or v.0.13 I faced with the same issue.
If I call delete from MapScheme and immediately add a new value I did not receive new added value:

Map state after connection player A to server:
{
playerAId: PlayerAEntity
botId: BotEntity
}

After connecting player "B" I delete BotEntity from map and immediately add PlayerBEntity on server side inside method onJoin, but got on player B client side map state as bellow:
{
playerAId: PlayerAEntity
}

But player A client have correct map state:
{
playerAId: PlayerAEntity
playerBId: PlayerBEntity
}

Handling code:
onJoin(...) {
...
delete this.state.players[botId];
this.state.players[playerAId] = PlayerAEntity;
...
} // I tryed change operations order but it has no effect

Colyseus v0.11 doesn't have such a problem.
Could you take a look please?

posted in Questions & Help • 10 Jun 2020, 10:13
Colyseus Proxy - server selection principle

Hi, I did scaling with a 2 processes for the test using Redis precense and Mongo driver.
What is the principle of choosing a server when a user connecting a proxy? As far as I saw, there is no rooms count information inside "colyseus:nodes" redis set. How is the process load determined when choosing a game server?
Could you describe in more detail how the proxy server works.

Thanks.

posted in Questions & Help • 8 Jan 2020, 16:15
Join specific room by conditions (v. 0.11.x)

Hello all.
I am considering the possibility of updating Colyseus from version 0.10 to 0.11 but I can’t understand how you can join to the specific room using certain conditions.
For example, in version 0.10, I did that the requestJoin function always returned true if there was at least 1 player friend in the room (check by "customId" in room state).
How can certain conditions for connection be written in the new matchmaking system? These conditions should depend on the join options from client.
@endel maybe you can clear out this point plz?
Thanks

posted in Questions & Help • 3 Dec 2019, 09:32
RE: Restore room handlers after server restart

@seiyria Yes, but it does not solve the problem of restarting the server.

posted in Questions & Help • 19 Jan 2019, 09:11
Restore room handlers after server restart

Hi all.
How can I restore the room handlers with their state after the server is restarted? Some game room (session) logic should continue on the server without connected users.
Maybe I'm wrong in the approach? Could you direct me in the right direction
Thanks

posted in Questions & Help • 18 Jan 2019, 22:50

© 2023 Endel Dreyer