Coin-coin le Canapin's Recent Forum Activity

  • When a player creates a new room from the main lobby, it could beforehand make the chat server broadcasting to all peers that this player has created a room. There is no need to request the room list regarding the room creations.

    However, as rooms can't send messages to another room, there is no way for the master lobby to know if another room has been shut down (for example, a room host closing his browser). This is the reason why I need to return and refresh the room list from my master lobby.

    It could be done every 5 secods instead of 1 or 3 seconds, but I'm pretty sure the issue will remain the same. And waiting for more than 5 seconds to actually see the available room is way too long. Anyway, it's still far from "hundred requests in seconds" to flood the server as Ashley mentionned on another thread.

    I could also use a refresh button ; but what if, on average, 30 players hit the refresh button every 20 seconds ? It would be 1 room list request every 1,5 sec, so the issue would be the same again.

    Or maybe it wouldn't because the requests would come from various rooms ?

    (edit : seems to be per peer, as I did theses requests from the host and peer in parallel and they both did 190+ requests)

    I wanted to ask Ashley about my issue but we can't send him private messages from his profile. Any way to contact him besides tagging him as you did ?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Would you mind to try this capx ? https://www.dropbox.com/s/mey55anw4rv1d ... .capx?dl=1

    It uses the timer thing and you just have to let it run for about 200 seconds.

    I'm surprised to encounter such an obstacle, refreshing every X seconds the room list is pretty basic for a multiplayer game.

  • Like creating a dummy sprite and assigning it the timer behavior ?

    edit : I've done this

    But the flood issue is still here. No change.

    Hi.

    I'm working on a multiplayer game.

    It will consist of a "master lobby" room (with a chat) and multiple "game-XXX" rooms.

    The master lobby refreshes and displays all the available rooms so the players can see and join them.

    I made the main lobby application asking for the room list every X second, but the message "Flood limit exceeded" happens after about 200 requests, regardless the requests intervals (I tried with 1 room list request every 3 seconds).

    I've made a test file here : https://www.dropbox.com/s/mey55anw4rv1d ... .capx?dl=1 where the flood message happens after 198 room list requests (no matter if my requests are made every 0.1 second or 3 seconds).

    Is there a way so my lobby can show an updated room list to all the peers every X seconds without flooding the signalling server ?

  • Hi

    I tried with an interval of 3 seconds and the flood message is still here. Flood after 10 minutes and 198 room list requests.

    Of course I'm creating an infinite (but slow !) loop, because I need to refresh the room list every X seconds as long as my server is up.

    I could have done "system : every X second -> multiplayer: request for room list", it would be almost the same.

    How could I refresh and show the actual room list to my players if I don't have a loop ?

    edit : I'll go for the refresh button if needed, but that's a bit annoying for the players… And if only 10 players refresh only every 10 seconds, that is the same as 1 request/sec so it doesn't solve the issue ?

  • https://www.dropbox.com/s/mey55anw4rv1d ... .capx?dl=1

    I've made some tests and it appears that the flood message always happen after 198 game list requests. Any way to bypass this ? :/

  • Hi again

    I've done this :

    And the issue is still here (it disappears if I remove these two events).

    On this screenshot, there is no loop that triggers more than 1 request per second as far as I know…

    [quote:afo4u2s6]I notice your master condition there is set off by "on join".

    I think "On signalling join" is only triggered when we and only we join a room, as it is different from "on peer join", right? So it is not triggered multiple times here. Plus, if I add a log of this event in my text area, it only happens once.

    Still puzzled by this flooding message.

  • Hi!

    I'm not sure to understand.

    The loop condition (events 27) only contains local events as it's adding data to a local list object. The game list request happens after the loop condition, as in a different event (event 28).

    The issue remains even if I remove the loop events.

  • Hi.

    Here are my events which cause this error after about 4 minutes :

    If I replace 1 sec by 0.25 sec, the error message comes after about 1 minute.

    The error doesn't happen if I remove these events.

    I read this but it didn't help me much as my game list request happens every second, not "hundreds of requests within seconds"

    Any idea how to fix this ?

  • Thank you !

  • How can you make 100% sure you'll be the host on a multiplayer application ?

  • Thank you.

Coin-coin le Canapin's avatar

Coin-coin le Canapin

Member since 22 Dec, 2010

Twitter
Coin-coin le Canapin has 1 followers

Trophy Case

  • 14-Year Club
  • Email Verified

Progress

15/44
How to earn trophies