Posts made by chaimae
@coco do you have an example please ?
@coco thank you for your response , I want to filter the data according to the distance but if the distance condition is not true I still want to send the data but after 100 ms for example , it is possible to do that with the filter otherwise how can I add this condition time if the filter return false ?
Hello , i have a question about filters , I want to know if I can add a time condition to the filter logic for example wait x ms before filtering the data , I tried that but it didn't work.
I'll explain the use case, I'm currently working on a project to put 1000 avatars in a 3D world, for that I put a test in place: a viewer that will launch 1000 clients (10 rooms with 100 clients each ) and which will at the same time send move events to the server to move the 1000 clients, on the other side we have a client which is a threejs client , this client listens to the state once a new client is created on the server side it adds it to a 'players entities' list and it receives the change of position of these clients, when I did my test I noticed that I have a problem for example if I have I launch 150 clients it's good it works, when I increase the number of clients I have some of the cubes(simulation of 3D avatars) that move and some that don't move, when I try to change the sending frequency of the move event to the server I notice an improvement of results that's why I thought as a solution to limit the sending of messages and to send the messages according to the distance between the cubes (the avatars) that's why I thought about using filter .
Hello everyone , i have a question about the filter decorator , i want to filter the state only when the client send a move event to the room and not when he joins the room or when he sends other events any idea please ?
@COCO Thank you for your respone :)
Hi , i have a question there is a way to handle error in the client side when the client lose connection with the server ?
Hello everyone , i had this error when i try to join many clients at the same time , any idea to solve the issue please ?
Hello , i have a question is there is a way to get all the rooms instances ?
Hey @endel thank you ,I will be waiting for your response .
Hey @endel , im still having the same issue any solution proposition please ?
Hey @endel i have two account one with the PA plan and the other with the indie plan here is the server url tnktcr.colyseus.dev
Hello everyone I hope you are doing well, I have retrieved the code of the colyseus-loadTest tool so that I can customize it according to the need I want, when I run the test with the localhost endpoint it works well but when I run the test with the connection link of the Powered Ascent plan it does not work, I have this bad gateway error.