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. seiyria
seiyria

seiyria

@seiyria

Chat Follow Unfollow
4
Reputation
11
Posts
2.2k
Profile views
0
Followers
0
Following
Joined 18 Oct 2017, 18:46 Last Online 25 May 2019, 14:18

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

Posts made by seiyria

RE: Dynamic refreshing of room list for lobby

You could use something like setInterval to get the room list on a loop. There is no way to watch for it to be emitted though.

posted in Questions & Help • 23 May 2019, 10:13
RE: Server State Class How To Reference Room

First off, you shouldn't do this. It's meant to be a state, which holds data. Not a lot more than that.

That said, if you really want to, you can add a @nonenumerable or @nosync attribute to the room variable. to make it not serialized.

posted in Questions & Help • 9 Apr 2019, 18:24
RE: Why does forum require consent to data harvesting + receiving emails?

This is likely standard and comes with Discourse.

Specifically:

We use this information strictly to personalise your experience in this community, as well as to associate the posts you make to your user account. During the registration step you were asked to provide a username and email address, you can also optionally provide additional information to complete your user profile on this website.

We retain this information for the life of your user account, and you are able to withdraw consent at any time by deleting your account. At any time you may request a copy of your contribution to this website, via your Rights & Consent page.

This is just telling you that your username will be associated with your posts.

Occasionally, we may send emails to your registered email address in order to provide updates and/or to notify you of new activity that is pertinent to you. You can customise the frequency of the community digest (including disabling it outright), as well as select which types of notifications to receive via email, via your user settings page. Unless explicitly changed in your user settings, this community delivers email digests every .

This is telling you that you will get email notifications from the forum.

There is nothing being harvested here. You don't see this when you sign up for a phpbb forum, but they do it anyway - Discourse is just more explicit.

posted in General Discussion • 12 Mar 2019, 21:36
RE: Sync part of state with only one client

Right now you are not able to. You can, however, client.send() specific parts to specific clients so the knowledge remains private.

posted in Questions & Help • 23 Feb 2019, 20:12
RE: Need a static variable which will be shared to all rooms

You can use a database to do this, or redis. But you can't just share variables between rooms as they should be treated as if they have no way to communicate with each other.

posted in Questions & Help • 22 Feb 2019, 14:58
RE: Getting URL is not defined when connecting to Room

A sample project or code snippet would go a long way to helping figure out what's going on.

posted in Questions & Help • 29 Jan 2019, 05:37
RE: Restore room handlers after server restart

You will not be able to easily restart game loops and etc after the server restarts. The best you can do is persist the relevant state to the DB and load it when the room is created again.

posted in Questions & Help • 19 Jan 2019, 16:07
RE: Restore room handlers after server restart

One thing you can do is set room.autoDispose to false, which will let it keep going after all users have disconnected.

posted in Questions & Help • 18 Jan 2019, 22:52
RE: Just beginning, seek advice for setup on CentOS dedicated server

I wasn't having a ton of luck compiling uws. For me, I downgraded from node 9 to node 8.9.3 and uws started working for me again.

posted in Questions & Help • 25 Dec 2017, 00:10

© 2023 Endel Dreyer