View Single Post
Old 08-20-2008, 06:36 PM   #23 (permalink)
ack-sync-request
Account Terminated
 
Join Date: Jul 2008
Location: /dev/urandom
Posts: 88
Default

What you need is basically 1 login server + 2 servers on same box.

ex:

Code:
            try
            {
                IPAddress ipAddr;
            
            if(Resolve("uosrv.uovalor.com", out ipAddr ))
            e.AddServer( "Age of Valor", new IPEndPoint( ipAddr, 1337 ) );        
            
            if(Resolve("tc1.uovalor.com", out ipAddr ))
            e.AddServer( "AoV TC1", new IPEndPoint( ipAddr, 1337 ) );    

            if(Core.Localhost)
            {
            if(Resolve("localhost", out ipAddr ))
            e.AddServer( "Localhost_1337", new IPEndPoint( ipAddr, 1337 ) );                
            }                    
    
            
            }
            catch
            {
                e.Rejected = true;
            }

So you would have two servers running on a different port, but add them to the login server so they only need to know one server, but when they pick the server in the login list then it "redirects" to right shard. OSI actually has a server dedicated to just logins and does exactly this.
ack-sync-request is offline   Reply With Quote