UO-Dev Arama


Yazar: Bilinmiyor
Tarih: 18-08-2009 13:05


Paylaş : Paylaş

Kod:
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;
}
}
}
}
}



Yorumlar

Henüz yorum yapılmamıştır.

Oylamalar

Oylama :
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış   
Oylar: 0

Benzer Sayfalar

SayfalarYorumlarGönderenTarih
Potion Stone0Roes13-10-2011
Herkesi Stone Etme0tyr1010-07-2010
Durum Stone0Strike31-03-2010
Duyuru Stone0Andrien07-03-2010
Pvp Stone0TheRaskol19-09-2009


Keywords:

ultima online, RunUO, ultima online download, sphere scripting, role play, uo grafik, second age ultima, uo loop, macroman, pvp server, server kurulumu, sphere, multool, ml mulls, 56b 55r 55i, htmlgumps, client 4x, client edit, sphere release, osi, rp server, sunucular, ghost mouse, inside uo, kingdom reborn, stygian abyss, uo nasıl oynanır, mondain's legacy, age of shadows, world build, grandmaster, ultima online pvp, player dosyaları, ultima online indir, frp game, RunUO 1.0.0, razor, uo rice, hue editör, skill tools, ultima online patch, axis, world build, verdata, verdata patcher, map editör, gump editör, mul patcher, aos mulls, scriptler, anim edit, anim publish, hues mul, hosting vps, event dialog, account sistemi, skill gain, static yapımı,