IanSmellios
Member
I am trying to use Tresdni's PvM Points and it all works except the board resets when the server resets. Can I change that somewhere?
Thanks
IanE
Thanks
IanE
using System;
using Server;
using Server.Gumps;
using Server.Engines.XmlSpawner2;
namespace Server.Items
{
[Flipable( 0x1E5E, 0x1E5F )]
public class TopPvmPlayersBoard : Item
{
public TopPvmPlayersBoard( Serial serial ) : base( serial )
{
}
[Constructable]
public TopPvmPlayersBoard() : base( 0x1e5e )
{
Movable = false;
Name = "Top PvM Players Board";
}
public override void OnDoubleClick( Mobile from )
{
from.SendGump( new XmlPvmPoints.TopPvmPlayersGump( XmlAttach.FindAttachment(from,typeof(XmlPvmPoints)) as XmlPvmPoints) );
}
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();
}
}
}
We use essential cookies to make this site work, and optional cookies to enhance your experience.