Example #1
0
        static ArmA3ServerInfo getServerInfo(string ipAddr, int port)
        {
            ArmA3ServerInfo taviServer1 = new ArmA3ServerInfo(ipAddr, port);

            taviServer1.Update();
            return(taviServer1);
        }
Example #2
0
        static void Main()
        {
            armaPath = getSteamPath();
            ArmA3ServerInfo taviServer1 = getServerInfo("158.69.118.212", 2319);

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm(armaPath, taviServer1.ServerInfo.MaxPlayers
                                         , taviServer1.ServerInfo.NumPlayers));
        }