ok so on my test server the bandage self works on my friends shard it don''t and this is the error i get i have tried putting in my scripts and it does not work can anyone help out13911
 

Attachments

  • ServUO.com-BandSelf.cs
    1.5 KB · Views: 15
You can make a macro to do this in game.

I believe it's like Use Bandage then the Target Self option. I'm on my phone, or I'd be a bit more specific.
 
ya they want the bandage self to run easy uo for people i even put my bandage script and bandage self script in replace of what they have and it gives me issues not sure why
 
Find this code in your Bandage.cs file
C#:
public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();
        }
and put this code under it
C#:
//This method added for [bandself command to call.
        public static void BandSelfCommandCall(Mobile from, Item m_Bandage)
        {
            from.RevealingAction();

            if (BandageContext.BeginHeal(from, from) != null)
                m_Bandage.Consume();

        }
 
Find this code in your Bandage.cs file
C#:
public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();
        }
and put this code under it
C#:
//This method added for [bandself command to call.
        public static void BandSelfCommandCall(Mobile from, Item m_Bandage)
        {
            from.RevealingAction();

            if (BandageContext.BeginHeal(from, from) != null)
                m_Bandage.Consume();

        }
this is what i have 13929
Post automatically merged:

this is what i have 13929
and this one i have two diff ones13930
 
Well the error says that the one file is Missing the function with the BandSelfCommandCall, since you copied the command over you need to copy that over as well since it is looking for it
 
Back