Ejemplo n.º 1
0
        private void DnsRadioButton_CheckedChanged(object sender, EventArgs e)
        {
            // If we arent selected, return
            if (!DnsRadioButton.Checked)
            {
                return;
            }

            Program.Config.RedirectMode = RedirectMode.DnsServer;
            RedirectDescLabel.Text      = "This option is for advanced users that have setup a DNS server on their machine to automatically redirect "
                                          + "Gamespy services to a configured Ip address.";

            RedirectDescLabel.Focus();
        }
Ejemplo n.º 2
0
        private void IcsRadioButton_CheckedChanged(object sender, EventArgs e)
        {
            // If we arent selected, return
            if (!IcsRadioButton.Checked)
            {
                return;
            }

            Program.Config.RedirectMode = RedirectMode.HostsIcsFile;
            RedirectDescLabel.Text      = "Enabling this option will create and use the hosts.ics file. This is a better option "
                                          + "then using the system HOSTS file because Battlefield 2 will not check the hosts.ics file  for gamespy redirects";

            RedirectDescLabel.Focus();
        }
Ejemplo n.º 3
0
        private void HostsRadioButton_CheckedChanged(object sender, EventArgs e)
        {
            // If we arent selected, return
            if (!HostsRadioButton.Checked)
            {
                return;
            }

            Program.Config.RedirectMode = RedirectMode.HostsFile;
            RedirectDescLabel.Text      = "By enabling this option, this program will attempt to store the Gamespy redirects inside the system HOSTS file. "
                                          + "Battlefield 2 will check the hosts file for Gamespy redirects, so we must also remove READ permissions to prevent this. "
                                          + "This option should be used as a last resort, since removing READ permissions from the HOSTS file can cause Windows DNS server "
                                          + "to undo the gamespy redirects when it refreshes itself.";

            RedirectDescLabel.Focus();
        }