Warning Flood

Added by Egon Verbakel 648 days ago

Hi all,

a little problem occured today which i can't trace back, after I've created and joined a room the following warning messages starts flooding my trace output:

4/27/10 13:34:29.487 UTC+2 WARN: [ROOM_MANAGER] Synchronize request ignored for: [roomid]. Already in room.
4/27/10 13:34:29.519 UTC+2 WARN: Unrecognized status code for u76 message. Room ID: 'roomid', status: SUCCESS.

according to the specs it has something to do with leaving rooms??

any help will be very much appriciated

off topic--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

As promised in an earlier post a link to games we've created with union.

Monsterrun:
A mathematics game for children between ages 6 and 12,
[http://www.deroodekikker.nl/monsterrun/index.php?groep=5]

multiplayer setup:
  • press 'meerdere' ( multiplayer)
  • naam -> input player name
  • nieuw spel -> input game name
  • press 'nieuw' to create the new game
  • wait for other players ( for shortcut, create new browser window, open game, select the room from the list and press meedoen )
  • the 'game creator' presses start
  • when running give answer by typing

Quiz:
A general quiz ( mathematics and dutch spelling and grammar )
[http://egon.deroodekikker.nl/quiz/]

  • naam -> username
  • spel naam -> game name
  • the combobox allows you to select a quiz.
  • press 'maak' button
  • wait for other players ( for shortcut, create new browser window, open game, select the room from the list and press meedoen )
  • the 'game creator' presses start
  • all questions are in dutch ;o)

Replies

RE: Warning Flood - Added by colin moock 647 days ago

hi egon,
great games!

in order to help isolate the problem, i'm going to need a reproducible test case showing that the problem is caused by reactor, not your code. please post the test case here. also feel free to post an entire log session at DEBUG level showing everything you do up to the point where the warnings start.

thanks,
colin

RE: Warning Flood - Added by Egon Verbakel 642 days ago

Found it, it was caused by calling synchronize and synchronizeClientCount inside a timer eventhandler so my roomlist got updated.
removed the timer and added some extra eventlisteners to the rooms and roomManager, which works nicely.

Egon

RE: Warning Flood - Added by colin moock 642 days ago

as of Union 1.0 Alpha 7, synchronizeClientCount() and synchronize() have been removed from Reactor's api. be sure to update your app as soon as you can. Alpha 6 is no longer supported.

colin