This is a tutorial for setting up your ServUO project in Visual Studio for debugging. This is not a tutorial on how to debug with Visual Studio as there are plenty of resources on the web for this. I will show a couple basics however for this tutorial. I'm using Visual Studio 2010 but the...
Remove the extra curly brace '}' from line 261
else if ( m_Material >= BulkMaterialType.OakWood && m_Material <= BulkMaterialType.Petrified && small.Material != m_Material )
{
from.SendMessage( "Both orders must use the same wood type." ); // Both orders must use the same leather type.
}...
Try this to PortalOfDeaths.cs and see if it fixes the issue
using System.Linq;
using Server.Mobiles;
namespace Server.Items
{
public class PortalOfDeaths : Item
{
public static void Initialize()
{
EventSink.PlayerDeath += e =>
{...
Try something like this
using Server.Mobiles;
namespace Server.Items
{
public class PortalOfDeaths : Item
{
[Constructable]
public PortalOfDeaths()
: base(0xF6C)
{
Name = "Portal of Deaths";
Movable = false;
Visible...
This seems to be handled by client and best I can tell it's through the SupportedFeatures packet sent to client. Just did a quick test with the change below and the client will use the new body types with core set to UOR. Not sure of any possible side effects this may cause as I didn't look into...
ComputeMovementSpeed needs to be an 'int' so change the override to look something like this:public override int ComputeMovementSpeed(Direction dir, bool checkTurning)