Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] And the flags arent changing when u pickup quest to interact with it?

[DiscordArchive] And the flags arent changing when u pickup quest to interact with it?

[DiscordArchive] And the flags arent changing when u pickup quest to interact with it?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
06-05-2023, 06:13 PM
#1
Archived author: ModoX • Posted: 2023-06-05T18:13:43.437000+00:00
Original source

And the flags arent changing when u pickup quest to interact with it?
rektbyfaith
06-05-2023, 06:13 PM #1

Archived author: ModoX • Posted: 2023-06-05T18:13:43.437000+00:00
Original source

And the flags arent changing when u pickup quest to interact with it?

rektbyfaith
Administrator
0
06-05-2023, 06:13 PM
#2
Archived author: Malcrom • Posted: 2023-06-05T18:13:44.823000+00:00
Original source

removing the flag make it clickable
rektbyfaith
06-05-2023, 06:13 PM #2

Archived author: Malcrom • Posted: 2023-06-05T18:13:44.823000+00:00
Original source

removing the flag make it clickable

rektbyfaith
Administrator
0
06-05-2023, 06:13 PM
#3
Archived author: Seyden • Posted: 2023-06-05T18:13:47.089000+00:00
Original source

Either flag or something different
rektbyfaith
06-05-2023, 06:13 PM #3

Archived author: Seyden • Posted: 2023-06-05T18:13:47.089000+00:00
Original source

Either flag or something different

rektbyfaith
Administrator
0
06-05-2023, 06:14 PM
#4
Archived author: Seyden • Posted: 2023-06-05T18:14:04.500000+00:00
Original source

There has to be an update in the sniff
rektbyfaith
06-05-2023, 06:14 PM #4

Archived author: Seyden • Posted: 2023-06-05T18:14:04.500000+00:00
Original source

There has to be an update in the sniff

rektbyfaith
Administrator
0
06-05-2023, 06:14 PM
#5
Archived author: Malcrom • Posted: 2023-06-05T18:14:12.912000+00:00
Original source

I'll search some mor ein sniff
rektbyfaith
06-05-2023, 06:14 PM #5

Archived author: Malcrom • Posted: 2023-06-05T18:14:12.912000+00:00
Original source

I'll search some mor ein sniff

rektbyfaith
Administrator
0
06-05-2023, 06:18 PM
#6
Archived author: ModoX • Posted: 2023-06-05T18:18:45.447000+00:00
Original source

Its only set for chest though

```c
template<>
class ViewerDependentValue<UF::GameObjectData::FlagsTag>
{
public:
using value_type = UF::GameObjectData::FlagsTag::value_type;

static value_type GetValue(UF::GameObjectData const* gameObjectData, GameObject const* gameObject, Player const* receiver)
{
value_type flags = gameObjectData->Flags;
if (gameObject->GetGoType() == GAMEOBJECT_TYPE_CHEST)
if (gameObject->GetGOInfo()->chest.usegrouplootrules && !gameObject->IsLootAllowedFor(receiver))
flags |= GO_FLAG_LOCKED | GO_FLAG_NOT_SELECTABLE;

return flags;
}
};
```
rektbyfaith
06-05-2023, 06:18 PM #6

Archived author: ModoX • Posted: 2023-06-05T18:18:45.447000+00:00
Original source

Its only set for chest though

```c
template<>
class ViewerDependentValue<UF::GameObjectData::FlagsTag>
{
public:
using value_type = UF::GameObjectData::FlagsTag::value_type;

static value_type GetValue(UF::GameObjectData const* gameObjectData, GameObject const* gameObject, Player const* receiver)
{
value_type flags = gameObjectData->Flags;
if (gameObject->GetGoType() == GAMEOBJECT_TYPE_CHEST)
if (gameObject->GetGOInfo()->chest.usegrouplootrules && !gameObject->IsLootAllowedFor(receiver))
flags |= GO_FLAG_LOCKED | GO_FLAG_NOT_SELECTABLE;

return flags;
}
};
```

rektbyfaith
Administrator
0
06-05-2023, 06:19 PM
#7
Archived author: ModoX • Posted: 2023-06-05T18:19:28.997000+00:00
Original source

Used for chests so far*
rektbyfaith
06-05-2023, 06:19 PM #7

Archived author: ModoX • Posted: 2023-06-05T18:19:28.997000+00:00
Original source

Used for chests so far*

rektbyfaith
Administrator
0
06-05-2023, 06:19 PM
#8
Archived author: ModoX • Posted: 2023-06-05T18:19:57.064000+00:00
Original source

So we may need an update there depending on what malcrom finds in sniff. But my guess is that its about flags for now
rektbyfaith
06-05-2023, 06:19 PM #8

Archived author: ModoX • Posted: 2023-06-05T18:19:57.064000+00:00
Original source

So we may need an update there depending on what malcrom finds in sniff. But my guess is that its about flags for now

rektbyfaith
Administrator
0
06-05-2023, 06:21 PM
#9
Archived author: Malcrom • Posted: 2023-06-05T18:21:32.716000+00:00
Original source

it is a chest
rektbyfaith
06-05-2023, 06:21 PM #9

Archived author: Malcrom • Posted: 2023-06-05T18:21:32.716000+00:00
Original source

it is a chest

rektbyfaith
Administrator
0
06-05-2023, 06:21 PM
#10
Archived author: Malcrom • Posted: 2023-06-05T18:21:58.030000+00:00
Original source

you loot cooked meat from it
rektbyfaith
06-05-2023, 06:21 PM #10

Archived author: Malcrom • Posted: 2023-06-05T18:21:58.030000+00:00
Original source

you loot cooked meat from it

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