Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] then how can i check ?

[DiscordArchive] then how can i check ?

[DiscordArchive] then how can i check ?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
04-04-2021, 08:37 AM
#1
Archived author: DioHun • Posted: 2021-04-04T08:37:31.087000+00:00
Original source

then how can i check ?
rektbyfaith
04-04-2021, 08:37 AM #1

Archived author: DioHun • Posted: 2021-04-04T08:37:31.087000+00:00
Original source

then how can i check ?

rektbyfaith
Administrator
0
04-04-2021, 08:39 AM
#2
Archived author: ZaDarkSide • Posted: 2021-04-04T08:39:29.504000+00:00
Original source

`GetTeam() == ALLIANCE` or `GetTeam() == HORDE`
rektbyfaith
04-04-2021, 08:39 AM #2

Archived author: ZaDarkSide • Posted: 2021-04-04T08:39:29.504000+00:00
Original source

`GetTeam() == ALLIANCE` or `GetTeam() == HORDE`

rektbyfaith
Administrator
0
04-04-2021, 08:39 AM
#3
Archived author: MaxtorCoder • Posted: 2021-04-04T08:39:49.292000+00:00
Original source

It will ALWAYS hit both
rektbyfaith
04-04-2021, 08:39 AM #3

Archived author: MaxtorCoder • Posted: 2021-04-04T08:39:49.292000+00:00
Original source

It will ALWAYS hit both

rektbyfaith
Administrator
0
04-04-2021, 08:39 AM
#4
Archived author: MaxtorCoder • Posted: 2021-04-04T08:39:58.234000+00:00
Original source

Resulting in going to horde relocation
rektbyfaith
04-04-2021, 08:39 AM #4

Archived author: MaxtorCoder • Posted: 2021-04-04T08:39:58.234000+00:00
Original source

Resulting in going to horde relocation

rektbyfaith
Administrator
0
04-04-2021, 08:40 AM
#5
Archived author: MaxtorCoder • Posted: 2021-04-04T08:40:03.736000+00:00
Original source

Because ur not using an else.
rektbyfaith
04-04-2021, 08:40 AM #5

Archived author: MaxtorCoder • Posted: 2021-04-04T08:40:03.736000+00:00
Original source

Because ur not using an else.

rektbyfaith
Administrator
0
04-04-2021, 08:40 AM
#6
Archived author: MaxtorCoder • Posted: 2021-04-04T08:40:07.238000+00:00
Original source

Or else if.
rektbyfaith
04-04-2021, 08:40 AM #6

Archived author: MaxtorCoder • Posted: 2021-04-04T08:40:07.238000+00:00
Original source

Or else if.

rektbyfaith
Administrator
0
04-04-2021, 08:43 AM
#7
Archived author: ZaDarkSide • Posted: 2021-04-04T08:43:36.745000+00:00
Original source

also the 2nd Relocate has wrong parameters
rektbyfaith
04-04-2021, 08:43 AM #7

Archived author: ZaDarkSide • Posted: 2021-04-04T08:43:36.745000+00:00
Original source

also the 2nd Relocate has wrong parameters

rektbyfaith
Administrator
0
04-04-2021, 08:45 AM
#8
Archived author: ZaDarkSide • Posted: 2021-04-04T08:45:00.291000+00:00
Original source

Wrong `Relocate(-407.00305f - 384.6124f, 14.18721f, 0.7f);`
Good `Relocate(-407.00305f, -384.6124f, 14.18721f, 0.7f);`
rektbyfaith
04-04-2021, 08:45 AM #8

Archived author: ZaDarkSide • Posted: 2021-04-04T08:45:00.291000+00:00
Original source

Wrong `Relocate(-407.00305f - 384.6124f, 14.18721f, 0.7f);`
Good `Relocate(-407.00305f, -384.6124f, 14.18721f, 0.7f);`

rektbyfaith
Administrator
0
04-04-2021, 08:47 AM
#9
Archived author: ZaDarkSide • Posted: 2021-04-04T08:47:03.420000+00:00
Original source

Wrong
```C++
if (RACEMASK_ALLIANCE)
{

}
if (RACEMASK_HORDE)
{

}
```
Good
```C++
if (GetTeam() == ALLIANCE)
{
....
}
else if (GetTeam() == HORDE)
{
....
}
```
rektbyfaith
04-04-2021, 08:47 AM #9

Archived author: ZaDarkSide • Posted: 2021-04-04T08:47:03.420000+00:00
Original source

Wrong
```C++
if (RACEMASK_ALLIANCE)
{

}
if (RACEMASK_HORDE)
{

}
```
Good
```C++
if (GetTeam() == ALLIANCE)
{
....
}
else if (GetTeam() == HORDE)
{
....
}
```

rektbyfaith
Administrator
0
04-04-2021, 08:54 AM
#10
Archived author: Searcas7 • Posted: 2021-04-04T08:54:41.536000+00:00
Original source

<Confusedword:770403424965492738> <:popcorn:770403425128808560>
rektbyfaith
04-04-2021, 08:54 AM #10

Archived author: Searcas7 • Posted: 2021-04-04T08:54:41.536000+00:00
Original source

<Confusedword:770403424965492738> <:popcorn:770403425128808560>

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