cmangos / issues

This repository is used as a centralized point for all issues regarding CMaNGOS.
180 stars 48 forks source link

🚀 [Feature Request] Run/ Walk mobs can run or walk during random movement #3699

Open al3xc1985 opened 7 months ago

al3xc1985 commented 7 months ago

Feature Details

Run/ Walk mobs can run or walk during random movement This is extremly usefull cause a lot of them are behaving this way The system choose at a based chance to run or walk From experience I can say it's more like 70% walk 30% run chance. Many Many mobs in azeroth can run/walk. I have videos with most of the azeroth and I captured most of the mobs until now that do run randomly

Best example are children in goldshire in the back side of the blacksmith

Video can be provided if needed https://youtu.be/WU-g7rvQUbc

The bear and the owl have those moments of running, and u can see the we have a patrol that is not modified by netowrk packets syncronization.

Visualizations

1

Benefits and Purpose

1

Core Versions

Grz3s commented 7 months ago

random movement: running is a old known missing feature that ive been asking for several years.

Warlockbugs commented 7 months ago

So far all observations on this subject have been inconsistent and most likely this is the result of some timing mismatch between the server and client with client trying to catching up with the server, which visually speeds up the unit (same thing happens during network lag). We have not had a single packet for analysis and implementation yet.

Grz3s commented 7 months ago

OK - for kid https://www.wowhead.com/wotlk/npc=797/bo#comments in goldshire we could explain it by sain, that it hapenns only because He runs to 1st stop point .. and for some reason - running flag is not removed (will do randommovement running). However: How to explain that after he runs back to 2nd stoping point - he will miracly change to random walk .. Situation repeats .. and never changed for smth else.

Other guy i cant find any explanation: https://www.wowhead.com/wotlk/npc=29124/lifeblood-elemental this one constantly do random running... https://youtu.be/jf8h8YZJsq4?t=41 -- top right guy for example. elementals are good koz they have diff animation for walking (hands down) .. running (hands lifted) Theyre many more examples:

28747 - all with aura 52385 only!!!! (movementtemplateid = 0)
28851 - all (movementtemplateid = 165)
28861 - only with randommovemnt
29124 - only with randommovemnt

I know that subject is difficult... but cannot be denied.

Side note: Other diff types of randomovement exists, that not inidicating anything in packets... and cannot be tracked without recording and observing creatures... 1 example is 4234234 Creature will have big walk distance on X and short on Y. They will walk anywhere inside that border line but never cross it... ( i can also give many examples for this one .. tauren starting zone guard ,, as easiest to see.)

al3xc1985 commented 7 months ago

@Warlockbugs I found so many mobs/npc's that walk to a certain point and run from that point to next point, and if u say that it's a network thing, let me tell u that u are wrong here! Why? Because I stood and watched the mob doing his path more than 3 times, and every single time those parts of his run are in there, followed bu walking.

This is not concidence anymore

And dunno on tbc time, but on wotlk time, we have that a lot

Grz3s commented 7 months ago

running from point A to B is not a pronlem.. and we can do that. Issue only exist for randommovement that no mater what ill do.. always change to walk flag. (which is not correct for some)

al3xc1985 commented 7 months ago

in first place that is the problem with random walk/run., there are also a lot of mobs that I studied and they do have this behaviour , and choose between them.. I believe it's more like 60% walk chance 40% run chance from what I have seen.

But dunno why I understood the thing with the run into scripts..I may understood it wronge, but this is not the main thing on the subject

al3xc1985 commented 7 months ago

@Grz3s about the random movement I have specified in a different thread that mobs can choose to walk in line, like they were having path, but it's just a random line movement. not just walking around in a given radian circle

AnonXS commented 7 months ago

Can we get some videos showcasing this behavior?

al3xc1985 commented 7 months ago

I am recording BRD right now, and it is very laborious stuff, a lot of emotes and patrols, but I shall think of it, an come back with at least a couple of them for the subject of this thread

al3xc1985 commented 7 months ago

if @Grz3s some some examples faster I beg him to lay them down

Tobschinski commented 7 months ago

Side note: Other diff types of randomovement exists, that not inidicating anything in packets... and cannot be tracked without recording and observing creatures... 1 example is 4234234 Creature will have big walk distance on X and short on Y. They will walk anywhere inside that border line but never cross it... ( i can also give many examples for this one .. tauren starting zone guard ,, as easiest to see.)

image

Do you think it could simply be a script that does random movement around 2 points, instead of 1? I've seen this behavior in a lot of cats and this was the first explanation I could come up with, without checking any further..

Warlockbugs commented 7 months ago

@al3xc1985 My post is strictly about rare occurrences of wandering unit running instead of walking to the next wander point. What happens next is that unit resumes to walking again to next point of wander after that. So far any observations on that amounted simply to a noise and not single packet with a proof or details presented for implementation, so i grew increasingly skeptical over the years about this "feature". I'll believe it when i see it.

Warlockbugs commented 7 months ago

@Grz3s The best lead we can possibly have is movement speed values and changes, as that can possibly affect what kind of animation client picks for display.

Grz3s commented 7 months ago

@Warlockbugs Nah. I took elemental for reason here ;) ... Changing his walk speed wont change his animation (hands will be still down)... Also checking them in sniff ... we see his walk and run speed .. that shows default values.. @Tobschinski simply - no. You would have 2 repeating points from time to time... also you would have 2 circles (like on your pic..).. From points i gathered it shows, that they walk to any pos inside that border. 321797724-be31b736-a3c4-4de4-9284-90658a92c7c2

Warlockbugs commented 7 months ago

@Grz3s Alright. I do suspect that answer to this is purely technical and related to how client chooses to process movement data. Maybe there is some special instance of "finish this movement asap and sync position" similar to regular network lag recovery mechanism.

al3xc1985 commented 7 months ago

the thing is that if u observer the kids from back of blacksmith for example, when they are in group one or two are walking, one is running, one is standing, and this cycle goes random. Is that possible @Warlockbugs with that network compensation to see them doing walking and running in same time?

Warlockbugs commented 7 months ago

The children in goldshire is a special case of formation with random wandering on top of it. When they are not wandering they should be trying to catch up with the leader of formation with a certain offset. We do not support movement generator stacking and mutation (yet).

al3xc1985 commented 7 months ago

@Warlockbugs & @AnonXS I uploaded a video with 2 mobs in same place doing it one after the other one. And I need to add that my internet is 1000 Mb/s from my privider and tested on speed test with 970+ acitve Mb/s. If that helps

Also after this video I stood and see if they do it again and yes, I catched the owl one more time, but no more, time to work on recordings

al3xc1985 commented 7 months ago

I can add more in different zones if needed, but I find those 2 when I was recording the whole felwood zone

al3xc1985 commented 7 months ago

I also need to add the I found mobs that just run when I get close to them, as a compensation for network syncronization, but in my vid is not the case

al3xc1985 commented 6 months ago

I can see mobs randomly funning even in classic. But the chance that a mob can random run during his random movement is like 20% running mod to 80% normal walking in my opinion @killerwife I ask for your opinion in this please

al3xc1985 commented 1 month ago

More to say about is that I found that they choose to random run or walk to short distance and to long distance alike. So it is not a distance based algorithm. But I can say that walk is a higher chance than run.