Forums WoW Modding Support Archives Azerothcore Discord Archives [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`?

[DiscordArchive] So far so good, but home come some creatures have higher `speed_walk` than `speed_run`?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
06-22-2021, 12:29 PM
#1
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`?
rektbyfaith
06-22-2021, 12:29 PM #1

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`?

rektbyfaith
Administrator
0
06-22-2021, 12:29 PM
#2
Archived author: Efymer • Posted: 2021-06-22T12:29:12.877000+00:00
Original source

example: Rock Elemental (ID: 92)
rektbyfaith
06-22-2021, 12:29 PM #2

Archived author: Efymer • Posted: 2021-06-22T12:29:12.877000+00:00
Original source

example: Rock Elemental (ID: 92)

rektbyfaith
Administrator
0
06-22-2021, 12:29 PM
#3
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
rektbyfaith
06-22-2021, 12:29 PM #3

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

rektbyfaith
Administrator
0
06-22-2021, 12:31 PM
#4
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
rektbyfaith
06-22-2021, 12:31 PM #4

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

rektbyfaith
Administrator
0
06-22-2021, 12:32 PM
#5
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
rektbyfaith
06-22-2021, 12:32 PM #5

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

rektbyfaith
Administrator
0
06-22-2021, 12:32 PM
#6
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
rektbyfaith
06-22-2021, 12:32 PM #6

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

rektbyfaith
Administrator
0
06-22-2021, 12:33 PM
#7
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.
rektbyfaith
06-22-2021, 12:33 PM #7

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.

rektbyfaith
Administrator
0
06-22-2021, 12:36 PM
#8
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
rektbyfaith
06-22-2021, 12:36 PM #8

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

rektbyfaith
Administrator
0
06-22-2021, 12:37 PM
#9
Archived author: brotalnia • Posted: 2021-06-22T12:37:06.683000+00:00
Original source

and speeds in wow are yards per second btw
rektbyfaith
06-22-2021, 12:37 PM #9

Archived author: brotalnia • Posted: 2021-06-22T12:37:06.683000+00:00
Original source

and speeds in wow are yards per second btw

rektbyfaith
Administrator
0
06-22-2021, 12:37 PM
#10
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
rektbyfaith
06-22-2021, 12:37 PM #10

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

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)