Bandage self

Spike

Active Member
Aug 4, 2019
29
0
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

Anon the Felon

Well-Known Member
Jun 24, 2016
145
27
33
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.
 

PyrO

Well-Known Member
Jan 27, 2015
1,152
92
from the message I would guess that your bandage script and his are different
 

Spike

Active Member
Aug 4, 2019
29
0
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
 

magik hatt

Active Member
Apr 7, 2018
31
3
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();

        }
 

Spike

Active Member
Aug 4, 2019
29
0
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
 

PyrO

Well-Known Member
Jan 27, 2015
1,152
92
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