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. newbee
  3. Posts
  • Profile
  • More
    • Continue chat with newbee
    • Flag Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

Posts made by newbee

RE: Approach to avoid sharing sessionId? (sovled)

Thank you!

posted in Questions & Help • 7 Sept 2021, 13:53
Approach to avoid sharing sessionId? (sovled)

Hi,
In Colyseus examples called "02-state-handler", in the related html file (02-state-handler.html) I read the code:
room.state.players.onAdd = function (player, sessionId) {...}
Well as every player has access to others' session id, cheating is possible (in this example, with movePlayer finding player by session id to update state). What is best approach in Colyseus way to avoid this type of cheating if a player sends a request using another players session id please?

posted in Questions & Help • 4 Sept 2021, 22:31
Hello World for Unity? (sovled)

Hi, I've dropped Photon to use Colyseus because it is free! :-) Demos are great but I still can't figure out a simple movement and player spawning in Unity by looking into demos (Tank, MMO, etc.). I was looking for something like the Photon tutorial on their site where there is step by step instructions to create a working simple 3rd person shooter with player spawning and shooting interaction. Is there any such tutorial for Colyseus? Youtude didn't show any one too. Thanks.

posted in Questions & Help • 4 Sept 2021, 19:02

© 2023 Endel Dreyer