Original War Support Bug Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report #87  -  MasterServer
Posted Feb 28, 2015 - updated Feb 28, 2015
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Not a bug" and resolution "NOT AN ISSUE".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Not a bug
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Gothuk
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Time spent
    No time spent
  • Category
    Game Engine
  • Resolution
    NOT AN ISSUE
  • Priority
    Not determined
  • Reproducability
    Always
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
Issue description
Now OW sends AddGame request only to OWS, not to OWN. It should sends request both to OWS and OWN, shouldn't?
Steps to reproduce this issue
 

#1
Comment posted by
 Stucuk
Feb 28, 12:13
It sends to both. Code is quite clear:

    POSTData(MasterServer[0],Data);
    POSTData(MasterServer[1],Data);


P.S MasterServer 0 is OWN. It sends to it first.
#3
Comment posted by
 Gothuk
Feb 28, 12:57
Ok, the new version was not in allowed list.

There is one another problem. OW does not send DELETEGAME after leaving game room / exiting game. So now we have a lot of "ghost" games.
#5
Comment posted by
 Stucuk
icon_reply.pngFeb 28, 17:16, in reply to comment #3
It uses the same code as the addgame (Only difference is some fields are included or not included). Unlike the previous versions it doesn't wait for the request to be sent before it shows the room or exits it. Its all done in a separate thread. If addgame works then delete game will, the only code thats changed is the code that does the actual sending of the information. If you start a game, then leave and exit the game its possible for the deletegame to never have been sent. As it will send the addgame to both MasterServers one at a time and then do the delete games.
#6
Comment posted by
 Stucuk
icon_reply.pngFeb 28, 17:22, in reply to comment #5
Update: Found a bug, the thread that sends the information is never woken up after it has finished adding the games the first time.