Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Do you have an example of somewhere that's doing it correctly?

[DiscordArchive] Do you have an example of somewhere that's doing it correctly?

[DiscordArchive] Do you have an example of somewhere that's doing it correctly?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
07-22-2024, 07:32 PM
#1
Archived author: Deleted User • Posted: 2024-07-22T19:32:33.787000+00:00
Original source

Do you have an example of somewhere that's doing it correctly?
rektbyfaith
07-22-2024, 07:32 PM #1

Archived author: Deleted User • Posted: 2024-07-22T19:32:33.787000+00:00
Original source

Do you have an example of somewhere that's doing it correctly?

rektbyfaith
Administrator
0
07-22-2024, 07:35 PM
#2
Archived author: jackpoz • Posted: 2024-07-22T19:35:50.781000+00:00
Original source

oh more like https://github.com/TrinityCore/TrinityCo...r.cpp#L689 and https://github.com/TrinityCore/TrinityCo...#L658-L667
[Embed: TrinityCore/src/server/game/Movement/PathGenerator.cpp at c22d1ce93...]
TrinityCore Open Source MMO Framework (master = 10.2.7.55664, 3.3.5 = 3.3.5a.12340, wotlk_classic = 3.4.3.54261, cata classic = 4.4.0.55262) - TrinityCore/TrinityCore
https://github.com/TrinityCore/TrinityCo...erator.cpp
rektbyfaith
07-22-2024, 07:35 PM #2

Archived author: jackpoz • Posted: 2024-07-22T19:35:50.781000+00:00
Original source

oh more like https://github.com/TrinityCore/TrinityCo...r.cpp#L689 and https://github.com/TrinityCore/TrinityCo...#L658-L667
[Embed: TrinityCore/src/server/game/Movement/PathGenerator.cpp at c22d1ce93...]
TrinityCore Open Source MMO Framework (master = 10.2.7.55664, 3.3.5 = 3.3.5a.12340, wotlk_classic = 3.4.3.54261, cata classic = 4.4.0.55262) - TrinityCore/TrinityCore
https://github.com/TrinityCore/TrinityCo...erator.cpp

rektbyfaith
Administrator
0
07-22-2024, 07:36 PM
#3
Archived author: jackpoz • Posted: 2024-07-22T19:36:43.261000+00:00
Original source

they check 2 different datasets
rektbyfaith
07-22-2024, 07:36 PM #3

Archived author: jackpoz • Posted: 2024-07-22T19:36:43.261000+00:00
Original source

they check 2 different datasets

rektbyfaith
Administrator
0
07-22-2024, 07:50 PM
#4
Archived author: jackpoz • Posted: 2024-07-22T19:50:07.373000+00:00
Original source

and this is wrong, because it checks maps/vmaps
rektbyfaith
07-22-2024, 07:50 PM #4

Archived author: jackpoz • Posted: 2024-07-22T19:50:07.373000+00:00
Original source

and this is wrong, because it checks maps/vmaps

rektbyfaith
Administrator
0
07-22-2024, 07:50 PM
#5
Archived author: jackpoz • Posted: 2024-07-22T19:50:17.577000+00:00
Original source

but path finding uses mmaps
rektbyfaith
07-22-2024, 07:50 PM #5

Archived author: jackpoz • Posted: 2024-07-22T19:50:17.577000+00:00
Original source

but path finding uses mmaps

rektbyfaith
Administrator
0
07-22-2024, 07:50 PM
#6
Archived author: jackpoz • Posted: 2024-07-22T19:50:25.714000+00:00
Original source

and that determines if something is accessible or not
rektbyfaith
07-22-2024, 07:50 PM #6

Archived author: jackpoz • Posted: 2024-07-22T19:50:25.714000+00:00
Original source

and that determines if something is accessible or not

rektbyfaith
Administrator
0
07-22-2024, 08:04 PM
#7
Archived author: jackpoz • Posted: 2024-07-22T20:04:54.867000+00:00
Original source

this comes back to the fact that we use detour wrong: we don't store the current poly of each unit but we look it up every time we need a path
rektbyfaith
07-22-2024, 08:04 PM #7

Archived author: jackpoz • Posted: 2024-07-22T20:04:54.867000+00:00
Original source

this comes back to the fact that we use detour wrong: we don't store the current poly of each unit but we look it up every time we need a path

rektbyfaith
Administrator
0
07-22-2024, 08:05 PM
#8
Archived author: jackpoz • Posted: 2024-07-22T20:05:27.710000+00:00
Original source

if we stored the poly, we could just check if the poly is ground or water (or any other allowed/disallowed type)
rektbyfaith
07-22-2024, 08:05 PM #8

Archived author: jackpoz • Posted: 2024-07-22T20:05:27.710000+00:00
Original source

if we stored the poly, we could just check if the poly is ground or water (or any other allowed/disallowed type)

rektbyfaith
Administrator
0
07-22-2024, 08:27 PM
#9
Archived author: Deleted User • Posted: 2024-07-22T20:27:41.341000+00:00
Original source

Hmm wouldn't that be quite expensive to look up on update? Assuming you'd need to for players too.
rektbyfaith
07-22-2024, 08:27 PM #9

Archived author: Deleted User • Posted: 2024-07-22T20:27:41.341000+00:00
Original source

Hmm wouldn't that be quite expensive to look up on update? Assuming you'd need to for players too.

rektbyfaith
Administrator
0
07-22-2024, 08:48 PM
#10
Archived author: jackpoz • Posted: 2024-07-22T20:48:36.396000+00:00
Original source

if we would track the poly, then the lookup would be instant as we have it already
rektbyfaith
07-22-2024, 08:48 PM #10

Archived author: jackpoz • Posted: 2024-07-22T20:48:36.396000+00:00
Original source

if we would track the poly, then the lookup would be instant as we have it already

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