using System;
using System.Text;
using Server.Gumps;
using Server.Network;
using Server.Items;
namespace Server.Gumps
{
public class WebStone : Item
{
[Constructable]
public WebStone() : base( 0xEDC )
{
Movable = false;
Hue = 1177;
Name = "Click Here For Infect The System's Websites"; //Change shard name here!
}
public override void OnDoubleClick( Mobile from )
{
from.SendGump( new WebstoneGump() );
}
public WebStone( Serial serial ) : base( serial )
{
}
public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );
writer.Write( (int) 0 ); // version
}
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
}
}
}
namespace Server.Gumps
{
public class WebstoneGump : Gump
{
public WebstoneGump() : base( 0, 0 )
{
this.AddPage(0);
this.AddBackground(213, 131, 234, 258, 5054);
this.AddButton(241, 165, 4023, 4025, 1, GumpButtonType.Reply, 0);
this.AddLabel(285, 165, 52, "Infect The System"); //#1 Site's Name
this.AddButton(241, 195, 4023, 4025, 2, GumpButtonType.Reply, 0);
this.AddLabel(285, 195, 52, "Forums"); //#2 Site's Name
this.AddButton(241, 225, 4023, 4025, 3, GumpButtonType.Reply, 0);
this.AddLabel(285, 225, 52, "Donation"); //#3 Site's Name
this.AddButton(241, 255, 4023, 4025, 4, GumpButtonType.Reply, 0);
this.AddLabel(285, 255, 52, "RunUO"); //#4 Site's Name
this.AddButton(241, 285, 4023, 4025, 5, GumpButtonType.Reply, 0);
this.AddLabel(285, 285, 52, "Stratics"); //#5 Site's Name
this.AddButton(241, 315, 4023, 4025, 6, GumpButtonType.Reply, 0);
this.AddLabel(285, 315, 52, "UOAM"); //#6 Site's Name
this.AddButton(302, 357, 2453, 4454, 0, GumpButtonType.Reply, 0); // Close Button
this.AddImage(290, 53, 1417);
this.AddImage(301, 63, 5608);
this.AddImage(213, 69, 1419);
this.AddImage(162, 28, 10440);
this.AddImage(414, 28, 10441);
this.AddImage(361, 133, 5217);
this.AddImage(275, 133, 5217);
this.AddImage(214, 133, 5217);
}
public override void OnResponse( NetState sender, RelayInfo info )
{
switch ( info.ButtonID )
{
case 1: // #1 Site's Url
{
sender.LaunchBrowser( "http://uo.infectthesystem.com" );
break;
}
case 2: // #2 Site's url
{
sender.LaunchBrowser( "http://uo.infectthesystem.com/forums" );
break;
}
case 3: // #3 Site's url
{
sender.LaunchBrowser( "http://uo.infectthesystem.com/donation" );
break;
}
case 4: // #4 Site's Url
{
sender.LaunchBrowser( "http://www.runuo.com/" );
break;
}
case 5: // #5 Site's url
{
sender.LaunchBrowser( "http://uo.stratics.com/" );
break;
}
case 6: // #6 Site's url
{
sender.LaunchBrowser( "http://www.uoam.net/" );
break;
}
}
}
}
}
Total votes: 0
Ultima Online 1 gün önce
Sunucular 3 gün önce
Sunucular 3 gün önce
Ultima Online 2 hafta önce
Counter-Strike 2 hafta önce
Sunucular 1 ay önce
Sunucular 1 ay önce
Ultima Online 1 ay önce
Sunucular 1 ay önce
Sohbet & Geyik 1 ay önce
Sunucular 1 ay önce
Ultima Online 2 ay önce
Ultima Online 2 ay önce
2024-10-31 22:47
2024-10-14 17:45
2024-09-26 14:21
2024-07-08 22:50
2024-07-08 22:34
2024-06-19 22:05
2024-06-01 02:19
2024-05-31 21:17
Yorumlar (0)