Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] perhaps it happened in BETA mode?

[DiscordArchive] perhaps it happened in BETA mode?

[DiscordArchive] perhaps it happened in BETA mode?

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
02-25-2025, 07:48 AM
#11
Archived author: sudlud • Posted: 2025-02-25T07:48:26.040000+00:00
Original source

which is a topic for wow modding community
rektbyfaith
02-25-2025, 07:48 AM #11

Archived author: sudlud • Posted: 2025-02-25T07:48:26.040000+00:00
Original source

which is a topic for wow modding community

rektbyfaith
Administrator
0
02-25-2025, 07:51 AM
#12
Archived author: sudlud • Posted: 2025-02-25T07:51:09.707000+00:00
Original source

would be convenient for sure, but we're only using clean 3.3.5a client for main AC development which does not offer this feature afaik
rektbyfaith
02-25-2025, 07:51 AM #12

Archived author: sudlud • Posted: 2025-02-25T07:51:09.707000+00:00
Original source

would be convenient for sure, but we're only using clean 3.3.5a client for main AC development which does not offer this feature afaik

rektbyfaith
Administrator
0
02-25-2025, 07:56 AM
#13
Archived author: Kevin • Posted: 2025-02-25T07:56:24.894000+00:00
Original source

ok
rektbyfaith
02-25-2025, 07:56 AM #13

Archived author: Kevin • Posted: 2025-02-25T07:56:24.894000+00:00
Original source

ok

rektbyfaith
Administrator
0
02-25-2025, 08:54 AM
#14
Archived author: walkline • Posted: 2025-02-25T08:54:04.256000+00:00
Original source

That's because getting the ground height for vmaps is based on ray casting. When dealing with raw client positions, the client might send the position of lets say, a character's "toe", which could be slightly below the ground (possibly due to precision issues?). So, it's wise not to use the raw "toe" position as the starting point for downward ray casting. Instead, it's better to use another point on the character model. The most accurate approach would likely be to cast from the character model's center (but not sure). In practice, this would be similar to the sphere placement method, where we have a sphere radius and adjust the position upward by that radius.

And yeah, in that particular case, we are not sending the result of the calculations to the client, we are just using it to check if the distance between the ground and the player is more or less than 20m or so (doesn't require high precision).

Would this look less hacky to you?
```
float rayZOffset = _caster->GetCollisionHeight()/2;
GetMap()->GetHeight(x, y, z, rayZOffset);
```
[Image: image.png?ex=690c622c&is=690b10ac&hm=a6d...d325904f2&]
rektbyfaith
02-25-2025, 08:54 AM #14

Archived author: walkline • Posted: 2025-02-25T08:54:04.256000+00:00
Original source

That's because getting the ground height for vmaps is based on ray casting. When dealing with raw client positions, the client might send the position of lets say, a character's "toe", which could be slightly below the ground (possibly due to precision issues?). So, it's wise not to use the raw "toe" position as the starting point for downward ray casting. Instead, it's better to use another point on the character model. The most accurate approach would likely be to cast from the character model's center (but not sure). In practice, this would be similar to the sphere placement method, where we have a sphere radius and adjust the position upward by that radius.

And yeah, in that particular case, we are not sending the result of the calculations to the client, we are just using it to check if the distance between the ground and the player is more or less than 20m or so (doesn't require high precision).

Would this look less hacky to you?
```
float rayZOffset = _caster->GetCollisionHeight()/2;
GetMap()->GetHeight(x, y, z, rayZOffset);
```
[Image: image.png?ex=690c622c&is=690b10ac&hm=a6d...d325904f2&]

rektbyfaith
Administrator
0
02-25-2025, 08:57 AM
#15
Archived author: walkline • Posted: 2025-02-25T08:57:16.876000+00:00
Original source

Those changes are relevant only to places with vmaps (like dungeons, raids, stormwind, orgrimmar and other cities). That issue that you reported is not this case.
rektbyfaith
02-25-2025, 08:57 AM #15

Archived author: walkline • Posted: 2025-02-25T08:57:16.876000+00:00
Original source

Those changes are relevant only to places with vmaps (like dungeons, raids, stormwind, orgrimmar and other cities). That issue that you reported is not this case.

rektbyfaith
Administrator
0
02-25-2025, 10:40 AM
#16
Archived author: Bench • Posted: 2025-02-25T10:40:09.125000+00:00
Original source

This is from the modern PTR clients (not sure when it first came around), closest thing we have on 3.3.5 is the FeedbackUI addon which you can find on Github
rektbyfaith
02-25-2025, 10:40 AM #16

Archived author: Bench • Posted: 2025-02-25T10:40:09.125000+00:00
Original source

This is from the modern PTR clients (not sure when it first came around), closest thing we have on 3.3.5 is the FeedbackUI addon which you can find on Github

rektbyfaith
Administrator
0
02-25-2025, 10:52 AM
#17
Archived author: Kevin • Posted: 2025-02-25T10:52:51.904000+00:00
Original source

<@261790372743610368>compilation failedhttps://github.com/walkline/azerothcore-wotlk/commit/aff1470f920d9623179c41bb0f71cf6f6be5def4:yum:
rektbyfaith
02-25-2025, 10:52 AM #17

Archived author: Kevin • Posted: 2025-02-25T10:52:51.904000+00:00
Original source

<@261790372743610368>compilation failedhttps://github.com/walkline/azerothcore-wotlk/commit/aff1470f920d9623179c41bb0f71cf6f6be5def4:yum:

rektbyfaith
Administrator
0
02-25-2025, 10:52 AM
#18
Archived author: Kevin • Posted: 2025-02-25T10:52:59.008000+00:00
Original source

rektbyfaith
02-25-2025, 10:52 AM #18

Archived author: Kevin • Posted: 2025-02-25T10:52:59.008000+00:00
Original source

rektbyfaith
Administrator
0
02-25-2025, 10:53 AM
#19
Archived author: Kevin • Posted: 2025-02-25T10:53:37.567000+00:00
Original source

<@203326888888893440>ty
rektbyfaith
02-25-2025, 10:53 AM #19

Archived author: Kevin • Posted: 2025-02-25T10:53:37.567000+00:00
Original source

<@203326888888893440>ty

rektbyfaith
Administrator
0
02-25-2025, 02:24 PM
#20
Archived author: Nix • Posted: 2025-02-25T14:24:09.534000+00:00
Original source

That is an addon blizzard has on their PTR/Beta realms
rektbyfaith
02-25-2025, 02:24 PM #20

Archived author: Nix • Posted: 2025-02-25T14:24:09.534000+00:00
Original source

That is an addon blizzard has on their PTR/Beta realms

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