Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] do u have idea how many phases and objects in them is too many ?

[DiscordArchive] do u have idea how many phases and objects in them is too many ?

[DiscordArchive] do u have idea how many phases and objects in them is too many ?

rektbyfaith
Administrator
0
08-18-2023, 04:49 PM
#1
Archived author: Rymercyble • Posted: 2023-08-18T16:49:20.435000+00:00
Original source

do u have idea how many phases and objects in them is too many ?
rektbyfaith
08-18-2023, 04:49 PM #1

Archived author: Rymercyble • Posted: 2023-08-18T16:49:20.435000+00:00
Original source

do u have idea how many phases and objects in them is too many ?

rektbyfaith
Administrator
0
08-18-2023, 04:49 PM
#2
Archived author: Foe • Posted: 2023-08-18T16:49:36.896000+00:00
Original source

```if ((myMask > 2048 || phasemask > 2048) && (myMask < 65535 || phasemask < 65535))```
rektbyfaith
08-18-2023, 04:49 PM #2

Archived author: Foe • Posted: 2023-08-18T16:49:36.896000+00:00
Original source

```if ((myMask > 2048 || phasemask > 2048) && (myMask < 65535 || phasemask < 65535))```

rektbyfaith
Administrator
0
08-18-2023, 04:49 PM
#3
Archived author: Foe • Posted: 2023-08-18T16:49:54.045000+00:00
Original source

Server side there isn't really a hard cap, and client side doesn't really care since it has no concept of phasing
rektbyfaith
08-18-2023, 04:49 PM #3

Archived author: Foe • Posted: 2023-08-18T16:49:54.045000+00:00
Original source

Server side there isn't really a hard cap, and client side doesn't really care since it has no concept of phasing

rektbyfaith
Administrator
0
08-18-2023, 04:50 PM
#4
Archived author: Foe • Posted: 2023-08-18T16:50:02.022000+00:00
Original source

So however many the server can handle really
rektbyfaith
08-18-2023, 04:50 PM #4

Archived author: Foe • Posted: 2023-08-18T16:50:02.022000+00:00
Original source

So however many the server can handle really

rektbyfaith
Administrator
0
08-18-2023, 04:50 PM
#5
Archived author: Barnes • Posted: 2023-08-18T16:50:03.065000+00:00
Original source

```c++
[[nodiscard]] bool InSamePhase(uint32 phasemask) const
{
uint32 myMask = GetPhaseMask();
// If either object is in phase >= 64 then use the new behaviour.
if ((myMask > 2048 || phasemask > 2048) && (myMask < 65535 || phasemask < 65535))
{
// phases must match, unless phase is -1 (all)
return
// If i am in the same phase as them.
myMask == phasemask ||
// If i am in phase -1 (all).
myMask == uint32(-1) ||
// If target is in phase -1 (all).
phasemask == uint32(-1);
}
return m_useCombinedPhases ? myMask & phasemask : myMask == phasemask;
}
```
rektbyfaith
08-18-2023, 04:50 PM #5

Archived author: Barnes • Posted: 2023-08-18T16:50:03.065000+00:00
Original source

```c++
[[nodiscard]] bool InSamePhase(uint32 phasemask) const
{
uint32 myMask = GetPhaseMask();
// If either object is in phase >= 64 then use the new behaviour.
if ((myMask > 2048 || phasemask > 2048) && (myMask < 65535 || phasemask < 65535))
{
// phases must match, unless phase is -1 (all)
return
// If i am in the same phase as them.
myMask == phasemask ||
// If i am in phase -1 (all).
myMask == uint32(-1) ||
// If target is in phase -1 (all).
phasemask == uint32(-1);
}
return m_useCombinedPhases ? myMask & phasemask : myMask == phasemask;
}
```

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)