Connecting 2 matchservers

Results 1 to 9 of 9
  1. #1
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Connecting 2 matchservers

    Guys do u have any ideas , how to connect 2 matchservers..
    i mean i have matchserver on VPS1 in UK and other on VPS2 in USA .. How to combine both matchservers? Suppose a player playing in UK connects to server, he should automatically redirect to USA server where players are ON.

    i guess you can understand what i want to say !!

    Reason: ping will be reduced (country lag reduction) and more players at one place !

    Can anyone explain me the concept or logic ?

    I know this server should be newly coded but i need some more ideas ..


  2. #2
    Valued Member etropulus is offline
    MemberRank
    Jun 2012 Join Date
    118Posts

    Re: Connecting 2 matchservers

    Quote Originally Posted by Ronny786 View Post
    Guys do u have any ideas , how to connect 2 matchservers..
    i mean i have matchserver on VPS1 in UK and other on VPS2 in USA .. How to combine both matchservers? Suppose a player playing in UK connects to server, he should automatically redirect to USA server where players are ON.

    i guess you can understand what i want to say !!

    Reason: ping will be reduced (country lag reduction) and more players at one place !

    Can anyone explain me the concept or logic ?

    I know this server should be newly coded but i need some more ideas ..

    mark 2 connections.

  3. #3
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: Connecting 2 matchservers

    Quote Originally Posted by etropulus View Post
    mark 2 connections.
    if u really want to help me , just elaborate your answers !

  4. #4
    Enthusiast ngskRabbit is offline
    MemberRank
    Sep 2012 Join Date
    32Posts

    Re: Connecting 2 matchservers

    If they use VPN or proxy, it doesn't make sense. but...

    Idea 1, Check connection IP of Locator, and send different server list to the client.
    Idea 2, Check Ping of client - matchserver (just once), and Disconnect (with error messages?) the client if it higher.

    That's all.

  5. #5
    Gregon13 OldSchoolGZ is offline
    MemberRank
    Jan 2012 Join Date
    CanadaLocation
    244Posts

    Re: Connecting 2 matchservers

    Have the database on 1 server have your second vps connect to the first via odbc and have the proper ips to connect to the first vps and only run matchserver and match agent on the second vps in the database have it point the ip to your second vps and you can keep the ports the same

  6. #6
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: Connecting 2 matchservers

    Quote Originally Posted by OldSchoolGZ View Post
    Have the database on 1 server have your second vps connect to the first via odbc and have the proper ips to connect to the first vps and only run matchserver and match agent on the second vps in the database have it point the ip to your second vps and you can keep the ports the same
    Fail !

  7. #7
    Gregon13 OldSchoolGZ is offline
    MemberRank
    Jan 2012 Join Date
    CanadaLocation
    244Posts

    Re: Connecting 2 matchservers

    What do you mean fail? I did this with two computers on my home network back with the 05 files

  8. #8
    Die() Secured is offline
    MemberRank
    Sep 2011 Join Date
    /home/SDev/Location
    555Posts

    Re: Connecting 2 matchservers

    Very simple, configure locator, configure system.xml, have 1 server connect to the other servers database, or have a mid point server to host the mssql server (better especially if the servers are far apart).

    Remember to configure mssql server to allow outside connections.

    Very simple.

  9. #9
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: Connecting 2 matchservers

    Quote Originally Posted by Secured View Post
    Very simple, configure locator, configure system.xml, have 1 server connect to the other servers database, or have a mid point server to host the mssql server (better especially if the servers are far apart).

    Remember to configure mssql server to allow outside connections.

    Very simple.

    it still gives lag ! high pings. ... is there any way to reduce pings ?



Advertisement