Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] where did you notice that ?

[DiscordArchive] where did you notice that ?

[DiscordArchive] where did you notice that ?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
02-08-2024, 11:28 PM
#1
Archived author: cyberpro98 • Posted: 2024-02-08T23:28:16.467000+00:00
Original source

where did you notice that ?
rektbyfaith
02-08-2024, 11:28 PM #1

Archived author: cyberpro98 • Posted: 2024-02-08T23:28:16.467000+00:00
Original source

where did you notice that ?

rektbyfaith
Administrator
0
02-08-2024, 11:28 PM
#2
Archived author: cyberpro98 • Posted: 2024-02-08T23:28:46.040000+00:00
Original source

o ye i got it now
rektbyfaith
02-08-2024, 11:28 PM #2

Archived author: cyberpro98 • Posted: 2024-02-08T23:28:46.040000+00:00
Original source

o ye i got it now

rektbyfaith
Administrator
0
02-09-2024, 12:19 AM
#3
Archived author: adm • Posted: 2024-02-09T00:19:15.727000+00:00
Original source

What's wrong with this line, and why it says that it's missing a bracket when trying to compile it:

```php
if ((maxNumberOfPlayers <= 5) && (player->getClass() == CLASS_PRIEST || player->getClass() == CLASS_MAGE || player->getClass() == CLASS_WARLOCK))
```

```php
:1106:49: fatal error: expected ')'
if ((maxNumberOfPlayers <= 5) && (player->getClass() == CLASS_PRIEST || player->getClass() == CLASS_MAGE || player->getClass() == CLASS_WARLOCK))
```
rektbyfaith
02-09-2024, 12:19 AM #3

Archived author: adm • Posted: 2024-02-09T00:19:15.727000+00:00
Original source

What's wrong with this line, and why it says that it's missing a bracket when trying to compile it:

```php
if ((maxNumberOfPlayers <= 5) && (player->getClass() == CLASS_PRIEST || player->getClass() == CLASS_MAGE || player->getClass() == CLASS_WARLOCK))
```

```php
:1106:49: fatal error: expected ')'
if ((maxNumberOfPlayers <= 5) && (player->getClass() == CLASS_PRIEST || player->getClass() == CLASS_MAGE || player->getClass() == CLASS_WARLOCK))
```

rektbyfaith
Administrator
0
02-09-2024, 12:26 AM
#4
Archived author: Rymercyble • Posted: 2024-02-09T00:26:29.040000+00:00
Original source

it could be before or after...IDE should highlight it
rektbyfaith
02-09-2024, 12:26 AM #4

Archived author: Rymercyble • Posted: 2024-02-09T00:26:29.040000+00:00
Original source

it could be before or after...IDE should highlight it

rektbyfaith
Administrator
0
02-09-2024, 12:27 AM
#5
Archived author: adm • Posted: 2024-02-09T00:27:43.443000+00:00
Original source

Yes, it shows arrows before and after:
```php
(player
```
but doesn't make sense...
rektbyfaith
02-09-2024, 12:27 AM #5

Archived author: adm • Posted: 2024-02-09T00:27:43.443000+00:00
Original source

Yes, it shows arrows before and after:
```php
(player
```
but doesn't make sense...

rektbyfaith
Administrator
0
02-09-2024, 12:28 AM
#6
Archived author: Rymercyble • Posted: 2024-02-09T00:28:38.908000+00:00
Original source

send whole code block i guess
rektbyfaith
02-09-2024, 12:28 AM #6

Archived author: Rymercyble • Posted: 2024-02-09T00:28:38.908000+00:00
Original source

send whole code block i guess

rektbyfaith
Administrator
0
02-09-2024, 12:30 AM
#7
Archived author: adm • Posted: 2024-02-09T00:30:08.068000+00:00
Original source

```php
if (instanceMap->IsHeroic())
{
if ((maxNumberOfPlayers <= 5) && (player->getClass() == CLASS_PRIEST || player->getClass() == CLASS_MAGE || player->getClass() == CLASS_WARLOCK))
{
inflectionValue *= InflectionPointHeroicCloth;
curveFloor = InflectionPointHeroicCurveFloorCloth;
curveCeiling = InflectionPointHeroicCurveCeilingCloth;
}
```
rektbyfaith
02-09-2024, 12:30 AM #7

Archived author: adm • Posted: 2024-02-09T00:30:08.068000+00:00
Original source

```php
if (instanceMap->IsHeroic())
{
if ((maxNumberOfPlayers <= 5) && (player->getClass() == CLASS_PRIEST || player->getClass() == CLASS_MAGE || player->getClass() == CLASS_WARLOCK))
{
inflectionValue *= InflectionPointHeroicCloth;
curveFloor = InflectionPointHeroicCurveFloorCloth;
curveCeiling = InflectionPointHeroicCurveCeilingCloth;
}
```

rektbyfaith
Administrator
0
02-09-2024, 12:30 AM
#8
Archived author: mynameismeat • Posted: 2024-02-09T00:30:52.587000+00:00
Original source

just in general I'd recommend wrapping each of the `player->getClass() == CLASS_FOO` in parens
rektbyfaith
02-09-2024, 12:30 AM #8

Archived author: mynameismeat • Posted: 2024-02-09T00:30:52.587000+00:00
Original source

just in general I'd recommend wrapping each of the `player->getClass() == CLASS_FOO` in parens

rektbyfaith
Administrator
0
02-09-2024, 12:31 AM
#9
Archived author: adm • Posted: 2024-02-09T00:31:29.896000+00:00
Original source

I tried that too, same error
rektbyfaith
02-09-2024, 12:31 AM #9

Archived author: adm • Posted: 2024-02-09T00:31:29.896000+00:00
Original source

I tried that too, same error

rektbyfaith
Administrator
0
02-09-2024, 12:32 AM
#10
Archived author: Rymercyble • Posted: 2024-02-09T00:32:13.639000+00:00
Original source

i dont see any error there so it must be probably above
rektbyfaith
02-09-2024, 12:32 AM #10

Archived author: Rymercyble • Posted: 2024-02-09T00:32:13.639000+00:00
Original source

i dont see any error there so it must be probably above

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