[DiscordArchive] So far so good, but home come some creatures have higher `speed_walk` than `speed_run`?
[DiscordArchive] So far so good, but home come some creatures have higher `speed_walk` than `speed_run`?
Archived author: Efymer • Posted: 2021-06-22T12:29:03.183000+00:00
Original source
So far so good, but home come some creatures have higher `speed_walk` than `speed_run`?
Archived author: Efymer • Posted: 2021-06-22T12:29:12.877000+00:00
Original source
example: Rock Elemental (ID: 92)
Archived author: brotalnia • Posted: 2021-06-22T12:29:43.478000+00:00
Original source
```
SELECT *
FROM sniffs.gameobject t1
WHERE id NOT IN (SELECT id FROM azerothcore.gameobject WHERE 1 > SQRT(((t1.position_x - position_x) * (t1.position_x - position_x)) + ((t1.position_y - position_y) * (t1.position_y - position_y)) + ((t1.position_z - position_z) * (t1.position_z - position_z))))
```
you can use this simple query to find all gameobject spawns in the sniff db that are missing from yours
Archived author: brotalnia • Posted: 2021-06-22T12:31:20.240000+00:00
Original source
that is normal, many mobs have higher walk speed than run speed in sniffs
Archived author: brotalnia • Posted: 2021-06-22T12:32:12.782000+00:00
Original source
also remember these speeds we use in db are speed RATES
Archived author: brotalnia • Posted: 2021-06-22T12:32:28.558000+00:00
Original source
they are multipliers on top of the normal player movement speed
Archived author: Efymer • Posted: 2021-06-22T12:33:23.749000+00:00
Original source
So is totally fine? I think that's also how AzerothCore stores the speed too.
Archived author: brotalnia • Posted: 2021-06-22T12:36:37.296000+00:00
Original source
yes, and in reality the run speed is still much higher than the walk speed
for example Rock Elemental (id 92) has:
Walk Speed Rate: 1.55556
Run Speed Rate: 1.14286
and the base speeds are:
Walk Speed: 2.5
Run Speed: 7.0
so when you calculate it, he still runs faster than he walks:
Real Walk Speed: 2.5 * 1.55556 = 3.8889
Real Run Speed: 7.0 * 1.14286 = 8.00002
Archived author: brotalnia • Posted: 2021-06-22T12:37:06.683000+00:00
Original source
and speeds in wow are yards per second btw
Archived author: brotalnia • Posted: 2021-06-22T12:37:58.530000+00:00
Original source
you can see all the base speeds that the values in db multiply here https://github.com/azerothcore/azerothco...it.cpp#L64
[Embed: azerothcore/azerothcore-wotlk]
Complete Open Source and Modular solution for MMO. Contribute to azerothcore/azerothcore-wotlk development by creating an account on GitHub.
https://github.com/azerothcore/azerothco...t/Unit.cpp