Scripts: Compiling C# scripts...failed (2 errors, 0 warnings)
Errors:
+ Mobiles/Monsters/Misc/Melee/BladeSpirits.cs:
CS0115: Line 17: 'Server.Mobiles.BladeSpirits.GetFightModeRanking(Server.Mob
ile, Server.Mobiles.FightMode, bool)': no suitable method found to override
+ Mobiles/Monsters/Misc/Melee/EnergyVortex.cs:
CS0115: Line 17: 'Server.Mobiles.EnergyVortex.GetFightModeRanking(Server.Mob
ile, Server.Mobiles.FightMode, bool)': no suitable method found to override
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Scripts: Compiling C# scripts...failed (2 errors, 0 warnings)
Errors:
+ Mobiles/Monsters/Misc/Melee/BladeSpirits.cs:
CS0115: Line 17: 'Server.Mobiles.BladeSpirits.GetFightModeRanking(Server.Mob
ile, Server.Mobiles.FightMode, bool)': no suitable method found to override
+ Mobiles/Monsters/Misc/Melee/EnergyVortex.cs:
CS0115: Line 17: 'Server.Mobiles.EnergyVortex.GetFightModeRanking(Server.Mob
ile, Server.Mobiles.FightMode, bool)': no suitable method found to override
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
using System;
using Server;
using Server.Engines.Craft;
namespace Server.Items
{
public class TamerTool : BaseTool
{
public override CraftSystem CraftSystem{ get{ return DefTamingCraft.CraftSystem; } }
[Constructable]
public TamerTool() : base( 0x1372 )
{
Weight = 1.0;
}
[Constructable]
public TamerTool( int uses ) : base( uses, 0x1372 )
{
Weight = 1.0;
}
public override void OnDoubleClick( Mobile from )
{
if ( FSATS.EnableTamingCraft == false )
{
from.SendMessage( "Taming craft has been disabled, Contact your server administrator for details." );
}
else
{
base.OnDoubleClick( from );
}
}
public TamerTool( 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();
if ( Weight == 1.0 )
Weight = 1.0;
}
}
}
dadnlad;769313 said:eh, that was a type-o on my part (in this form, not in my scripts). I had to type it in, since that little DOS box won't allow me to cut or copy (or even highlight for that matter).