Jump to content

Recommended Posts

Hey, 

Bot keeps dismounting for no reason. Right after he used mount and mounted up he will just dismount and try to mount again.

Happens all the time and looks very bottish :( 

tried to increase min latency to 350 but it didnt change anything. 

 

Edit:

He just runs to a specific point then he will dismount wait for a second and mount up again.

Using Battlegrounder right now

Link to comment
Share on other sites

[D] 15:11:55 - [StuckResolver] Flying mode.
[D] 15:11:57 - [StuckResolver] done.
15:11:57 - [Mount] Dismount
15:11:58 - [Mount] Mounting fly mount Snowy Gryphon
15:12:04 - [Mount] Dismount
15:12:04 - [Mount] Mounting fly mount Snowy Gryphon
15:12:10 - [Mount] Dismount
15:12:10 - [Mount] Mounting fly mount Snowy Gryphon
15:12:16 - [Mount] Dismount
15:12:16 - [Mount] Mounting fly mount Snowy Gryphon
15:12:22 - [Mount] Dismount
15:12:22 - [Mount] Mounting fly mount Snowy Gryphon
15:12:28 - [Mount] Dismount
15:12:28 - [Mount] Mounting fly mount Snowy Gryphon
15:12:34 - [Mount] Dismount
15:12:35 - [Mount] Mounting fly mount Snowy Gryphon
[F] 15:12:38 - [Spell] Cast Mend Pet (Mend Pet)
15:12:40 - [Mount] Dismount
15:12:41 - [Mount] Mounting fly mount Snowy Gryphon
15:12:47 - [Mount] Dismount
15:12:47 - [Mount] Mounting fly mount Snowy Gryphon
15:12:53 - [Mount] Dismount
15:12:53 - [Mount] Mounting fly mount Snowy Gryphon
15:12:59 - [Mount] Dismount
15:12:59 - [Mount] Mounting fly mount Snowy Gryphon
15:13:05 - [Mount] Dismount
[F] 15:13:05 - [Spell] Cast Mend Pet (Mend Pet)
15:13:05 - [Mount] Mounting fly mount Snowy Gryphon
15:13:11 - [Mount] Dismount
15:13:12 - [Mount] Mounting fly mount Snowy Gryphon
15:13:17 - [Mount] Dismount
15:13:18 - [Mount] Mounting fly mount Snowy Gryphon

Link to comment
Share on other sites

Never happens to me with flying mount, always with ground mount.

Try to set min latency to 500.

I have changed my mount on paladin and warlock to their summons which fixed this error, but couldn't find a fix for other classes. 

Also this does not happen on every profile I made. But on most of them yes. Maybe even if it takes lots of time try to recreate that profile

Link to comment
Share on other sites

@Droidz The "MountTask.OnGroundMount()" has a bug which is also connected with the dismount method but i'm not sure if any products will also use it(but i haven't seen anything on Grinder for example).

All in all you have 16 usages of the dismount method but i think the dismount was used with a true stopmove parameter so the bug could be in "wManager.Wow.Bot.Tasks.MountTask(1)" or "wManager.Wow.Helpers.MovementManager(2)" because it happens also on grinder as well on party product so it could happen not on "ToTown" state for example.

But it's just an assumption maybe there are also more false OnMount checks.

Link to comment
Share on other sites

Yes it also return false(Wotlk+Tbc).

        Logging.Write("ongroundmount: "+MountTask.OnGroundMount());//false
        Logging.Write("ismounted: " + wManager.Wow.ObjectManager.ObjectManager.Me.IsMounted);//true

 

But the only thing is im confused about the checking lua item spell for the mounts. I guess the ".isMounted" property isn't enough for the task?

Because in that method it checks whether you are on Mount, if player is mounted it goes checking for lua & i think it could return a wrong value still if the character is on mount.

For example "SpellManager.HaveBuffLua(wManagerSetting.CurrentSetting.GroundMountName)" could still return a wrong value because Itemname is not the reveived spell from the item.

I used item "Reins of the Swift Frostsaber" but i got a spell with "Swift Frostsaber" on tbc for example.

 

I hope thats the bug which leads to this problem hehe

Link to comment
Share on other sites

Thank you I found the error, the error is caused by lua, in "ItemsManager.GetItemSpell(string itemNameInGame)" I use "Lua.LuaDoString<string>(string.Format("return GetItemSpell('{0}');", itemNameInGame.Replace("'", @"\'")));", and lua return result like "Mount Name#||#", "#||#" is used by wrobot to separe values when lua return array.

 

Wait next update for the fix

Link to comment
Share on other sites

  • 4 months later...

This is the exact problem I'm having on Cata. It's only the party bot though. He will randomly dismount and mount backup, sometimes getting left behind. The worst part is the flying mounts. It won't follow in flying for long before it randomly starts diving back to the ground slowly and stutterly, then dismounts as he reaches the ground,then mounts back up and follows again if in range. I don't know what to think of it. Nothing in log other than it saying it's dismounting.

Link to comment
Share on other sites

  • 1 year later...

This is still an issue for me on wotlk server. Dragonblight. Bot mounts and dismount 1-2 times before he decides to start moving.
He's gathering atm and after each node it's the same thing. Looks very botish
 

Is there any fix for this?
@Droidz

Link to comment
Share on other sites

  • 1 month later...
  • 7 months later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...