Not A Bug Animal Lore

Omalley

Master
Benefactor
Supporter
1st time this happened i just thought it was a fluke.. but its now happened twice.

I lore a pet, go into training, start a plan, picked HP increase, maxed it out.. then accidently right clicked and closed the window with all the skills on it. So i right clicked to close the training menu, and tried to start from scratch, clicked the animal lore button, and it keeps telling me i have to wait to use another skill, but yet.. i can use any other skill.. only animal lore (so far) is giving me the, You must wait a few moments to use another skill.. its been about 5ish minutes now, and still cant use Animal Lore.

Closing the client, and restarting it, fixes this.
 

Dexter

Staff Member
Administrator
Game Master
The only thing that prevents the animal lore gump from opening, is if you already have the animal lore (the scroll looking, main one) gump open. Is it possible it was dragged off screen?
 

Dexter

Staff Member
Administrator
Game Master
I did. I'm assuming you read my reply. I'll show you the code. Keep in mind, NewAnimalLoreGump is the gump that I'm talking about.

Code:
        public static TimeSpan OnUse(Mobile m)
        {
            if (PetTrainingHelper.Enabled && m.HasGump(typeof(NewAnimalLoreGump)))
            {
                m.SendLocalizedMessage(500118); // You must wait a few moments to use another skill.
            }
            else
            {
                m.Target = new InternalTarget();
                m.SendLocalizedMessage(500328); // What animal should I look at?
            }

            return TimeSpan.FromSeconds(1.0);
        }

As you can see, only 2 things give this message you are reporting. The new system being disabled, or having the animal lore gump up already. Its somewhat common for a gump to get dragged off screen some how. This would be a good reason why when you log off/back in, it corrects itself.
 
OP
Omalley

Omalley

Master
Benefactor
Supporter
The gump is not what I'm reporting... The inability to use the skill from the get go, is.. And no, nothing went off screen :D as I stated in the OP.. I right clicked on accident and closed it...
Post automatically merged:

I did. I'm assuming you read my reply. I'll show you the code. Keep in mind, NewAnimalLoreGump is the gump that I'm talking about.

Code:
        public static TimeSpan OnUse(Mobile m)
        {
            if (PetTrainingHelper.Enabled && m.HasGump(typeof(NewAnimalLoreGump)))
            {
                m.SendLocalizedMessage(500118); // You must wait a few moments to use another skill.
            }
            else
            {
                m.Target = new InternalTarget();
                m.SendLocalizedMessage(500328); // What animal should I look at?
            }

            return TimeSpan.FromSeconds(1.0);
        }

As you can see, only 2 things give this message you are reporting. The new system being disabled, or having the animal lore gump up already. Its somewhat common for a gump to get dragged off screen some how. This would be a good reason why when you log off/back in, it corrects itself.

I don't have any clue how to read code.. So posting this is a waste of time.
 

Dan

Staff Member
Administrator
Game Master
@Dexter I believe this is related to when a skill gets "locked out" until a reset. I believe we put in a 1 hour timer, in the past to deal with it.
 

Dexter

Staff Member
Administrator
Game Master
That was animal taming. This uses Animal Lore. Animal Lore uses a 1 second lock time, and won't let you use it only if the animal lore gump is open.
 
  • Like
Reactions: Dan

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Uptime
7 hours
Players Online
14
Houses
852
Vendors
297
Gold
5,025,482,947gp
Top Bottom