public override void OnResponse(NetState sender, RelayInfo info)
        {
            Mobile m = sender.Mobile;
            {
                switch (info.ButtonID)
                {
                case (int)Buttons.WebsiteButton1:
                    sender.LaunchBrowser("http://www.uoserpentisle.com");    //......Command List Url
                    break;

                case (int)Buttons.WebsiteButton2:
                    sender.LaunchBrowser("http://www.uoserpentisle.com");    //......Shard Rules Url
                    break;

                case (int)Buttons.WebsiteButton3:
                    sender.LaunchBrowser("http://www.uoserpentisle.com");    //......Shard Features Url
                    break;

                case (int)Buttons.WebsiteButton4:
                    sender.LaunchBrowser("http://www.uoserpentisle.com");    //......Shard Donation Store Url
                    break;

                case (int)Buttons.WebsiteButton5:
                    sender.LaunchBrowser("http://www.uoserpentisle.com");    //......Shard Updates Url
                    break;
                }
            }
        }
Esempio n. 2
0
            public override void OnResponse(NetState sender, RelayInfo info)
            {
                switch (info.ButtonID)
                {
                case 1: // RunUO
                {
                    sender.LaunchBrowser("https://github.com/runuo/");
                    break;
                }

                case 2: // List of skills
                {
                    string[] strings = Enum.GetNames(typeof(SkillName));

                    Array.Sort(strings);

                    StringBuilder sb = new StringBuilder();

                    if (strings.Length > 0)
                    {
                        sb.Append(strings[0]);
                    }

                    for (int i = 1; i < strings.Length; ++i)
                    {
                        string v = strings[i];

                        if (sb.Length + 1 + v.Length >= 256)
                        {
                            sender.Send(new AsciiMessage(Server.Serial.MinusOne, -1, MessageType.Label, 0x35, 3,
                                                         "System", sb.ToString()));
                            sb = new StringBuilder();
                            sb.Append(v);
                        }
                        else
                        {
                            sb.Append(' ');
                            sb.Append(v);
                        }
                    }

                    if (sb.Length > 0)
                    {
                        sender.Send(new AsciiMessage(Server.Serial.MinusOne, -1, MessageType.Label, 0x35, 3, "System",
                                                     sb.ToString()));
                    }

                    break;
                }

                case 3: // Command list
                {
                    sender.Mobile.SendAsciiMessage(0x482, "The command prefix is \"{0}\"", CommandSystem.Prefix);
                    CommandHandlers.Help_OnCommand(new CommandEventArgs(sender.Mobile, "help", "", new string[0]));

                    break;
                }
                }
            }
Esempio n. 3
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            Mobile from = sender.Mobile;

            switch (info.ButtonID)
            {
            case (int)Buttons.sewb:                        // Your Servers Website
            {
                sender.LaunchBrowser("http://www.uo.com"); //.............................Web Address 1
                break;
            }

            case (int)Buttons.cclb:
            {
                sender.LaunchBrowser("http://www.runuo.com");        //.............................Web Address 2
                break;
            }

            case (int)Buttons.spgb:
            {
                sender.LaunchBrowser("http://uo.stratics.com");        ////...........................Web Address 3
                break;
            }

            case (int)Buttons.pffb:
            {
                sender.LaunchBrowser("http://www.uoart.com");        //.............................Web Address 4
                break;
            }

            case (int)Buttons.rmcb:
            {
                sender.LaunchBrowser("http://www.lynn.edu");        //.............................Web Address 5
                break;
            }

            case (int)Buttons.canc:
            {
                m_From.CloseGump(typeof(WebStoneGump));
                break;
            }
            }
        }
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            Mobile m = sender.Mobile;
            {
                switch (info.ButtonID)
                {
                case (int)Buttons.WebsiteButton1:
                    sender.LaunchBrowser("http://in-uo.net/info/2011-11-06-11-05-03/regular--commands");    //......Command List Url
                    break;

                case (int)Buttons.WebsiteButton2:
                    sender.LaunchBrowser("http://in-uo.net/info/server-rules");    //......Shard Rules Url
                    break;

                case (int)Buttons.WebsiteButton3:
                    sender.LaunchBrowser("http://in-uo.net/forums");    //......Forum Url
                    break;

                case (int)Buttons.WebsiteButton4:
                    sender.LaunchBrowser("http://in-uo.net/donate");    //......Shard Donation Store Url
                    break;

                case (int)Buttons.WebsiteButton5:
                    sender.LaunchBrowser("http://in-uo.net/changelogs/2011-07-28-18-05-48");    //......Shard Updates Url
                    break;

                case (int)Buttons.WebsiteButton6:
                    sender.LaunchBrowser("http://in-uo.net/join");    //how to patch
                    break;
                }
            }
        }
Esempio n. 5
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            switch (info.ButtonID)
            {
            case 1:                     // #1 Site's Url
            {
                sender.LaunchBrowser("http://11.freebb.com/?freebb=legends");
                break;
            }

            case 2:                     // #2 Site's url
            {
                sender.LaunchBrowser("http://www.gamesites200.com/ultimaonline/vote.php?id=4432");
                break;
            }

            case 3:                     // #3 Site's url
            {
                sender.LaunchBrowser("http://11.freebb.com/viewtopic.php?t=26&freebb=legends");
                break;
            }
            }
        }
Esempio n. 6
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            switch (info.ButtonID)
            {
            case 1:                     // #1 Site's Url
            {
                sender.LaunchBrowser("https://discord.gg/33WWJje");
                break;
            }

            case 2:                     // #2 Site's url
            {
                sender.LaunchBrowser("http://rc-uo.com/index.php?pages/donations/");
                break;
            }

            case 3:                     // #3 Site's url
            {
                sender.LaunchBrowser("http://uoportal.com/vote/306");
                break;
            }

            case 4:                     // #4 Site's Url
            {
                sender.LaunchBrowser("http://www.uogateway.com/shard.php?id=1116&act=vote");
                break;
            }

            case 5:                     // #5 Site's url
            {
                sender.LaunchBrowser("http://revelationshard.com/page.php?4");
                break;
            }

            case 6:                     // #6 Site's url
            {
                sender.LaunchBrowser("http://www.revelationshard.com/bugs");
                break;
            }
            }
        }
Esempio n. 7
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            switch (info.ButtonID)
            {
            case 1:                     // #1 Site's Url
            {
                sender.LaunchBrowser("http://www.covchampionofvirtues.com");
                break;
            }

            case 2:                     // #2 Site's url
            {
                sender.LaunchBrowser("http://www.covchampionofvirtues.com/forum/index.php");
                break;
            }

            case 3:                                                               // #3 Site's url
            {
                sender.LaunchBrowser("http://covchampionofvirtues.com/vote.htm"); //("http://www.xtremetop100.com/in.php?site=1132278090");
                break;
            }

            case 4:                     // #4 Site's Url
            {
                sender.LaunchBrowser("http://www.uogateway.com/shard.php?id=44&act=vote");
                break;
            }

            case 5:                     // #5 Site's url
            {
                sender.LaunchBrowser("http://www.runuo.com/razor/");
                break;
            }

            case 6:                                                                                     // #6 Site's url
            {
                sender.LaunchBrowser("http://guildportal.com/Guild.aspx?GuildID=342833&TabID=2870066"); //"http://www.uoam.net/"
                break;
            }
            }
        }
Esempio n. 8
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            switch (info.ButtonID)
            {
            case 1:                     // #1 Site's Url
            {
                sender.LaunchBrowser("http://www.defianceuo.com");
                break;
            }

            case 2:                     // #2 Site's url
            {
                sender.LaunchBrowser("http://www.defianceuo.com/forums");
                break;
            }

            case 3:                     // #3 Site's url
            {
                sender.LaunchBrowser("http://www.defianceuo.com/donate");
                break;
            }

            case 4:                     // #4 Site's Url
            {
                sender.LaunchBrowser("http://accounts.defianceuo.com/pwchange.php");
                break;
            }

            case 5:                     // #5 Site's url
            {
                sender.LaunchBrowser("http://www.defianceuo.com/download.php");
                break;
            }

            case 6:                     // #6 Site's url
            {
                sender.LaunchBrowser("http://uo.stratics.com/");
                break;
            }
            }
        }
Esempio n. 9
0
        public override void OnResponse(NetState sender, RelayInfo info)
        {
            Mobile from = sender.Mobile;

            switch (info.ButtonID)
            {
            case 1:                     // #1 Site's Url
            {
                from.CloseGump(typeof(WebstoneGump));
                from.SendGump(new WebstoneGump());
                from.SendSound(1224);                                 // 1224= click noise
                sender.LaunchBrowser("http://DragonKnights.homeip.net");
                break;
            }

            case 2:                     // #2 Site's url
            {
                from.CloseGump(typeof(WebstoneGump));
                from.SendGump(new WebstoneGump());
                from.SendSound(1224);                                 // 1224= click noise
                sender.LaunchBrowser("http://dragonknights.kicks-ass.net/e107_plugins/forum/forum.php");
                break;
            }

            case 3:                     // #3 Site's url
            {
                AuthorStatistics ast = ForumCore.GetAuthorStatistics(from.Serial.Value);
                if (ast.Banned)
                {
                    from.SendMessage("You have been banned from this forum!");
                    return;
                }
                ForumCore.Threads.Sort(new DateSort());
                from.CloseGump(typeof(ForumGump));
                from.SendSound(1224);                                 // 1224= click noise
                from.SendGump(new ForumGump(from, 0));
                break;
            }

            case 4:                     // #4 Site's Url
            {
                from.CloseGump(typeof(WebstoneGump));
                from.SendGump(new WebstoneGump());
                from.SendSound(1224);                                 // 1224= click noise
                sender.LaunchBrowser("http://uo.stratics.com/");
                break;
            }

            case 5:                     // #5 Site's url
            {
                from.CloseGump(typeof(WebstoneGump));
                from.SendGump(new WebstoneGump());
                from.SendSound(1224);                                 // 1224= click noise
                sender.LaunchBrowser("http://dragonknights.kicks-ass.net/download.php?view.3");
                break;
            }

            case 6:                     // #6 Site's url
            {
                from.CloseGump(typeof(WebstoneGump));
                from.SendGump(new WebstoneGump());
                from.SendSound(1224);                                 // 1224= click noise
                sender.LaunchBrowser("http://dragonknights.kicks-ass.net/download.php?view.1");
                //sender.LaunchBrowser( "http://aaaservices.homeip.net/TeamSpeak.htm" );
                break;
            }

            case 7:                     // #7 Site's url
            {
                from.CloseGump(typeof(WebstoneGump));
                from.SendGump(new WebstoneGump());
                from.SendSound(1224);                                 // 1224= click noise
                sender.LaunchBrowser("http://aaaservices.homeip.net/UO/status.html");
                break;
            }

            case 8:                     // #8 Site's url
            {
                from.CloseGump(typeof(WebstoneGump));
                from.SendGump(new WebstoneGump());
                from.SendSound(1224);                                 // 1224= click noise
                sender.LaunchBrowser("http://www.xtremetop100.com/in.php?site=1132300022");
                sender.LaunchBrowser("http://www.gamesites200.com/ultimaonline/in.php?id=1874");
                break;
            }

            case 9:                     // #9 Site's url
            {
                from.CloseGump(typeof(WebstoneGump));
                from.SendGump(new WebstoneGump());
                from.SendSound(1224);                                 // 1224= click noise
                sender.LaunchBrowser("http://aaaservices.homeip.net/index.html");
                break;
            }


            case 0:                     // Close button
            {
                from.SendSound(1224);   // 1224= click noise
                from.CloseGump(typeof(WebstoneGump));
                from.SendSound(240);
                break;
            }



//				case 10: // #10 Site's url
//					{
//						sender.LaunchBrowser( "http://www.jeff6o6-hosting.com/" );
//						break;
//					}
            }
        }
Esempio n. 10
0
 public override void OnResponse( NetState sender, RelayInfo info )
 {
     switch ( info.ButtonID )
     {
         case 1: // #1 Site's Url
         {
             sender.LaunchBrowser( "http://11.freebb.com/?freebb=legends" );
             break;
         }
         case 2: // #2 Site's url
         {
             sender.LaunchBrowser( "http://www.gamesites200.com/ultimaonline/vote.php?id=4432" );
             break;
         }
         case 3: // #3 Site's url
         {
             sender.LaunchBrowser( "http://11.freebb.com/viewtopic.php?t=26&freebb=legends" );
             break;
         }
     }
 }