Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] <@261790372743610368> The issue is in the value you get from map->GetHeight, right?

[DiscordArchive] <@261790372743610368> The issue is in the value you get from map->GetHeight, right?

[DiscordArchive] <@261790372743610368> The issue is in the value you get from map->GetHeight, right?

Pages (5): 1 2 3 4 5 Next
rektbyfaith
Administrator
0
02-19-2025, 09:25 PM
#1
Archived author: Pursche • Posted: 2025-02-19T21:25:55.313000+00:00
Original source

<@261790372743610368> The issue is in the value you get from map->GetHeight, right?
rektbyfaith
02-19-2025, 09:25 PM #1

Archived author: Pursche • Posted: 2025-02-19T21:25:55.313000+00:00
Original source

<@261790372743610368> The issue is in the value you get from map->GetHeight, right?

rektbyfaith
Administrator
0
02-19-2025, 09:26 PM
#2
Archived author: Pursche • Posted: 2025-02-19T21:26:18.089000+00:00
Original source

And you are comparing the result of that with the players reported Z position clientside?
rektbyfaith
02-19-2025, 09:26 PM #2

Archived author: Pursche • Posted: 2025-02-19T21:26:18.089000+00:00
Original source

And you are comparing the result of that with the players reported Z position clientside?

rektbyfaith
Administrator
0
02-19-2025, 09:27 PM
#3
Archived author: sudlud • Posted: 2025-02-19T21:27:19.144000+00:00
Original source

I think he’s correcting the z value of the starting position and not of the target, right
rektbyfaith
02-19-2025, 09:27 PM #3

Archived author: sudlud • Posted: 2025-02-19T21:27:19.144000+00:00
Original source

I think he’s correcting the z value of the starting position and not of the target, right

rektbyfaith
Administrator
0
02-19-2025, 09:28 PM
#4
Archived author: Pursche • Posted: 2025-02-19T21:28:23.210000+00:00
Original source

Yeah but you shouldn't need to do that either.
rektbyfaith
02-19-2025, 09:28 PM #4

Archived author: Pursche • Posted: 2025-02-19T21:28:23.210000+00:00
Original source

Yeah but you shouldn't need to do that either.

rektbyfaith
Administrator
0
02-19-2025, 09:28 PM
#5
Archived author: sudlud • Posted: 2025-02-19T21:28:53.365000+00:00
Original source

Im pretty sure walkline is all in to actually consider your proposal
rektbyfaith
02-19-2025, 09:28 PM #5

Archived author: sudlud • Posted: 2025-02-19T21:28:53.365000+00:00
Original source

Im pretty sure walkline is all in to actually consider your proposal

rektbyfaith
Administrator
0
02-19-2025, 09:28 PM
#6
Archived author: walkline • Posted: 2025-02-19T21:28:54.435000+00:00
Original source

Right. I believe m_caster->GetPosition should be from the client.
rektbyfaith
02-19-2025, 09:28 PM #6

Archived author: walkline • Posted: 2025-02-19T21:28:54.435000+00:00
Original source

Right. I believe m_caster->GetPosition should be from the client.

rektbyfaith
Administrator
0
02-19-2025, 09:30 PM
#7
Archived author: Pursche • Posted: 2025-02-19T21:30:30.617000+00:00
Original source

As far as I'm aware (and it's been years since I touched emulators), that should straight up what the client sends to the server, and not modified or "corrected" by the server somehow.
rektbyfaith
02-19-2025, 09:30 PM #7

Archived author: Pursche • Posted: 2025-02-19T21:30:30.617000+00:00
Original source

As far as I'm aware (and it's been years since I touched emulators), that should straight up what the client sends to the server, and not modified or "corrected" by the server somehow.

rektbyfaith
Administrator
0
02-19-2025, 09:33 PM
#8
Archived author: Nix • Posted: 2025-02-19T21:33:05.574000+00:00
Original source

Who takes the responsibility for handling Z adjustments during a jump
rektbyfaith
02-19-2025, 09:33 PM #8

Archived author: Nix • Posted: 2025-02-19T21:33:05.574000+00:00
Original source

Who takes the responsibility for handling Z adjustments during a jump

rektbyfaith
Administrator
0
02-19-2025, 09:33 PM
#9
Archived author: Nix • Posted: 2025-02-19T21:33:30.980000+00:00
Original source

Does the client send continuous updates during the jump or is the server supposed to infer the position
rektbyfaith
02-19-2025, 09:33 PM #9

Archived author: Nix • Posted: 2025-02-19T21:33:30.980000+00:00
Original source

Does the client send continuous updates during the jump or is the server supposed to infer the position

rektbyfaith
Administrator
0
02-19-2025, 09:34 PM
#10
Archived author: Pursche • Posted: 2025-02-19T21:34:40.359000+00:00
Original source

Yeah I mean this looks like the exact same kind of issue to me. You're getting the players position (which should be the ground truth of the client), you're passing it through a map->GetHeight() function which is fundamentally flawed and only looks at the player as not having any width, and reports the ground position under the player.

Depending on what is around the player, that ground position could be below the point where the player can actually stand, because the client assumes the player has width.
rektbyfaith
02-19-2025, 09:34 PM #10

Archived author: Pursche • Posted: 2025-02-19T21:34:40.359000+00:00
Original source

Yeah I mean this looks like the exact same kind of issue to me. You're getting the players position (which should be the ground truth of the client), you're passing it through a map->GetHeight() function which is fundamentally flawed and only looks at the player as not having any width, and reports the ground position under the player.

Depending on what is around the player, that ground position could be below the point where the player can actually stand, because the client assumes the player has width.

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