So w just need to modify ride code to avoid this shit.
Algorythm is simple as dirt. When trying to mount, check if our pet fighting/hungry/dead etc, and if it is, do not mount, and issue some string like "Your pet is to hungry to ride in it" or "You can not ride on pet while it is fighting" etc.
Summon should be changable too... e.g., when mounting, unsummon command is issued. But we can set summon flag so that server will think that we still have summon. And when /dismount, reset this flag.
Well, no solution yet, just some thoughts. I don't have time to do it, so may be later.
|