RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

The Dreaded Lag Crystal

Solinari555

Wanderer
The Dreaded Lag Crystal

This is a fun little item ro use on annoying players if you just want to piss them off rather than kick them. It sends about a hundred of the same gump to the target. I'd reccomend staff only, in the hands of a player it can be very annoying for all (especially since it can target staff members anyways).

Have fun, enjoy, and piss people off.
 

Attachments

  • Lag Crystal.zip
    1.1 KB · Views: 157

Kashio

Wanderer
Hehehe. MY little whining councellor won't appreciate this. Thanks for the post, mate.
*evil grin*
 

Sunshine

Wanderer
Ebil

Pure Ebil script

Ebil thoughts


Ebil scriptor mind



LOVE IT

++ karma because sometimes you just want to ...... and now you can ..
 

Sixkillers

Sorceror
I little edit your LagCrystal.cs.

Code:
using System;
using Server;
using Server.Items;
using Server.Targeting;
using Server.Targets;
using Server.Network;
using Server.Mobiles;
using Server.Gumps;

namespace Server.Items
{
	public class LagCrystal : Item
	{
		[Constructable]
		public LagCrystal() : base( 0xF15 )
		{
			Weight = 0.1;
			Hue = 666;
			Name = "A Lag Crystal";
		}

		public override void OnDoubleClick( Mobile m )
		{
			m.Target = new InternalTarget();
		}

		public LagCrystal( Serial serial ) : base( serial )
		{
		}

		public override Item Dupe( int amount )
		{
			return base.Dupe( new Citrine( amount ), amount );
		}

		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();
		}

		private class InternalTarget : Target
		{
			public InternalTarget() : base( 1, false, TargetFlags.None )
			{
			}
			protected override void OnTarget( Mobile mo, object tar )
			{
				if ( tar is PlayerMobile )
				{
					PlayerMobile m = tar as PlayerMobile;
					int RandomNumberOfGump = Utility.RandomMinMax( 100, 200 );
					while (RandomNumberOfGump > 0){
						m.SendGump( new LagGump() );
						RandomNumberOfGump--;
					}
				}
			}
		}
	}
}

There isn't so many rows. :)
 

Rashka

Sorceror
Bwahahahahaha

All I have to say is...I absolutely love it. :D:D:D:D:D:D:D:D:D. I hit myself with it (probably a dumb move, but I prefer to test it out on a private shard on my comp first), and as soon as I did it, I realised what the player(s) would go through. Its so simple, yet that is where its elegance lies. Thank you for this great little 'toy'. I know that I and my staff will put it to -GOOD- use. ^.^
 
Top