Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] what is the crash?

[DiscordArchive] what is the crash?

[DiscordArchive] what is the crash?

Pages (5): Previous 1 2 3 4 5 Next
rektbyfaith
Administrator
0
12-21-2022, 10:29 PM
#31
Archived author: Rymercyble • Posted: 2022-12-21T22:29:42.932000+00:00
Original source

time to yoink some code from autobalance
rektbyfaith
12-21-2022, 10:29 PM #31

Archived author: Rymercyble • Posted: 2022-12-21T22:29:42.932000+00:00
Original source

time to yoink some code from autobalance

rektbyfaith
Administrator
0
12-21-2022, 10:30 PM
#32
Archived author: Anchy • Posted: 2022-12-21T22:30:53.980000+00:00
Original source

lol alright
rektbyfaith
12-21-2022, 10:30 PM #32

Archived author: Anchy • Posted: 2022-12-21T22:30:53.980000+00:00
Original source

lol alright

rektbyfaith
Administrator
0
12-21-2022, 10:31 PM
#33
Archived author: Anchy • Posted: 2022-12-21T22:31:35.737000+00:00
Original source

you could make a pull request to the core for the hooks then make a pull request to autobalance to add open world scaling
rektbyfaith
12-21-2022, 10:31 PM #33

Archived author: Anchy • Posted: 2022-12-21T22:31:35.737000+00:00
Original source

you could make a pull request to the core for the hooks then make a pull request to autobalance to add open world scaling

rektbyfaith
Administrator
0
12-21-2022, 10:32 PM
#34
Archived author: Rymercyble • Posted: 2022-12-21T22:32:49.451000+00:00
Original source

im not sure if that is supposed to be part of autobalance
rektbyfaith
12-21-2022, 10:32 PM #34

Archived author: Rymercyble • Posted: 2022-12-21T22:32:49.451000+00:00
Original source

im not sure if that is supposed to be part of autobalance

rektbyfaith
Administrator
0
12-21-2022, 11:40 PM
#35
Archived author: Rymercyble • Posted: 2022-12-21T23:40:17.421000+00:00
Original source

im starting to get clueless i cant figure out how to get count of attacking players from that hook
rektbyfaith
12-21-2022, 11:40 PM #35

Archived author: Rymercyble • Posted: 2022-12-21T23:40:17.421000+00:00
Original source

im starting to get clueless i cant figure out how to get count of attacking players from that hook

rektbyfaith
Administrator
0
12-21-2022, 11:55 PM
#36
Archived author: Anchy • Posted: 2022-12-21T23:55:36.806000+00:00
Original source

what have you tried?
rektbyfaith
12-21-2022, 11:55 PM #36

Archived author: Anchy • Posted: 2022-12-21T23:55:36.806000+00:00
Original source

what have you tried?

rektbyfaith
Administrator
0
12-21-2022, 11:56 PM
#37
Archived author: Rymercyble • Posted: 2022-12-21T23:56:52.314000+00:00
Original source

```cpp
void OnAddHostileReferenceToThreatContainer(HostileReference *hostileRef) override
{
if (!hostileRef->GetVictim()) {
return;
}

if (!hostileRef->GetVictim()->IsPlayer()) {
return;
}

auto ref = hostileRef;

int count = 0;

while (ref) {
if (!ref->GetVictim()) {
continue;
}

if (ref->GetVictim()->IsPlayer()) {
count++;
}

ref = ref->next();
}
}
```
multiple versions of something like this
rektbyfaith
12-21-2022, 11:56 PM #37

Archived author: Rymercyble • Posted: 2022-12-21T23:56:52.314000+00:00
Original source

```cpp
void OnAddHostileReferenceToThreatContainer(HostileReference *hostileRef) override
{
if (!hostileRef->GetVictim()) {
return;
}

if (!hostileRef->GetVictim()->IsPlayer()) {
return;
}

auto ref = hostileRef;

int count = 0;

while (ref) {
if (!ref->GetVictim()) {
continue;
}

if (ref->GetVictim()->IsPlayer()) {
count++;
}

ref = ref->next();
}
}
```
multiple versions of something like this

rektbyfaith
Administrator
0
12-21-2022, 11:57 PM
#38
Archived author: Anchy • Posted: 2022-12-21T23:57:28.290000+00:00
Original source

yeah that wont work
rektbyfaith
12-21-2022, 11:57 PM #38

Archived author: Anchy • Posted: 2022-12-21T23:57:28.290000+00:00
Original source

yeah that wont work

rektbyfaith
Administrator
0
12-21-2022, 11:57 PM
#39
Archived author: Anchy • Posted: 2022-12-21T23:57:46.280000+00:00
Original source

try this
rektbyfaith
12-21-2022, 11:57 PM #39

Archived author: Anchy • Posted: 2022-12-21T23:57:46.280000+00:00
Original source

try this

rektbyfaith
Administrator
0
12-21-2022, 11:58 PM
#40
Archived author: Rymercyble • Posted: 2022-12-21T23:58:07.627000+00:00
Original source

i dont understand why so i clearly dont understand what even is `HostileReference`
rektbyfaith
12-21-2022, 11:58 PM #40

Archived author: Rymercyble • Posted: 2022-12-21T23:58:07.627000+00:00
Original source

i dont understand why so i clearly dont understand what even is `HostileReference`

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