Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] well what expansion are we talking about?

[DiscordArchive] well what expansion are we talking about?

[DiscordArchive] well what expansion are we talking about?

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
08-01-2022, 10:03 PM
#21
Archived author: M'Dic • Posted: 2022-08-01T22:03:38.547000+00:00
Original source

```cpp
bool Player::CanFlyInZone(uint32 mapid, uint32 zone, SpellInfo const* bySpell) const
{
// continent checked in SpellInfo::CheckLocation at cast and area update
uint32 v_map = GetVirtualMapForMapAndZone(mapid, zone);
if (v_map == 571 && !bySpell->HasAttribute(SPELL_ATTR7_IGNORE_COLD_WEATHER_FLYING))
if (!HasSpell(54197)) // 54197 = Cold Weather Flying
return false;

return true;
}```
rektbyfaith
08-01-2022, 10:03 PM #21

Archived author: M'Dic • Posted: 2022-08-01T22:03:38.547000+00:00
Original source

```cpp
bool Player::CanFlyInZone(uint32 mapid, uint32 zone, SpellInfo const* bySpell) const
{
// continent checked in SpellInfo::CheckLocation at cast and area update
uint32 v_map = GetVirtualMapForMapAndZone(mapid, zone);
if (v_map == 571 && !bySpell->HasAttribute(SPELL_ATTR7_IGNORE_COLD_WEATHER_FLYING))
if (!HasSpell(54197)) // 54197 = Cold Weather Flying
return false;

return true;
}```

rektbyfaith
Administrator
0
08-01-2022, 10:03 PM
#22
Archived author: M'Dic • Posted: 2022-08-01T22:03:46.435000+00:00
Original source

i see that
rektbyfaith
08-01-2022, 10:03 PM #22

Archived author: M'Dic • Posted: 2022-08-01T22:03:46.435000+00:00
Original source

i see that

rektbyfaith
Administrator
0
08-01-2022, 10:04 PM
#23
Archived author: M'Dic • Posted: 2022-08-01T22:04:33.356000+00:00
Original source

then this
```cpp
uint32 GetVirtualMapForMapAndZone(uint32 mapid, uint32 zoneId)
{
if (mapid != 530 && mapid != 571) // speed for most cases
return mapid;

if (WorldMapAreaEntry const* wma = sWorldMapAreaStore.LookupEntry(zoneId))
return wma->DisplayMapID >= 0 ? wma->DisplayMapID : wma->MapID;

return mapid;
}```
rektbyfaith
08-01-2022, 10:04 PM #23

Archived author: M'Dic • Posted: 2022-08-01T22:04:33.356000+00:00
Original source

then this
```cpp
uint32 GetVirtualMapForMapAndZone(uint32 mapid, uint32 zoneId)
{
if (mapid != 530 && mapid != 571) // speed for most cases
return mapid;

if (WorldMapAreaEntry const* wma = sWorldMapAreaStore.LookupEntry(zoneId))
return wma->DisplayMapID >= 0 ? wma->DisplayMapID : wma->MapID;

return mapid;
}```

rektbyfaith
Administrator
0
08-01-2022, 10:05 PM
#24
Archived author: M'Dic • Posted: 2022-08-01T22:05:47.830000+00:00
Original source

so imma look for 4395 from your ss
rektbyfaith
08-01-2022, 10:05 PM #24

Archived author: M'Dic • Posted: 2022-08-01T22:05:47.830000+00:00
Original source

so imma look for 4395 from your ss

rektbyfaith
Administrator
0
08-01-2022, 10:08 PM
#25
Archived author: M'Dic • Posted: 2022-08-01T22:08:16.225000+00:00
Original source

not seeing anything 4395 besides a enum for searching for players in dalaran,
rektbyfaith
08-01-2022, 10:08 PM #25

Archived author: M'Dic • Posted: 2022-08-01T22:08:16.225000+00:00
Original source

not seeing anything 4395 besides a enum for searching for players in dalaran,

rektbyfaith
Administrator
0
08-01-2022, 10:10 PM
#26
Archived author: Krutok • Posted: 2022-08-01T22:10:57.704000+00:00
Original source

You also get a debuff in dalaran. It's hardcoded https://www.wowhead.com/spell=58600/rest...light-area I have already disabled this one- can fly in from the landing pad but not mount inside
[Embed: Restricted Flight Area]
The air over Dalaran is protected. You will be ejected in 5.2 sec. In the Uncategorized Spells category. Always up to date with the latest patch.
https://www.wowhead.com/spell=58600/rest...light-area
rektbyfaith
08-01-2022, 10:10 PM #26

Archived author: Krutok • Posted: 2022-08-01T22:10:57.704000+00:00
Original source

You also get a debuff in dalaran. It's hardcoded https://www.wowhead.com/spell=58600/rest...light-area I have already disabled this one- can fly in from the landing pad but not mount inside
[Embed: Restricted Flight Area]
The air over Dalaran is protected. You will be ejected in 5.2 sec. In the Uncategorized Spells category. Always up to date with the latest patch.
https://www.wowhead.com/spell=58600/rest...light-area

rektbyfaith
Administrator
0
08-01-2022, 10:13 PM
#27
Archived author: M'Dic • Posted: 2022-08-01T22:13:35.784000+00:00
Original source

i see two cases of spell 58600 to restrict flight
rektbyfaith
08-01-2022, 10:13 PM #27

Archived author: M'Dic • Posted: 2022-08-01T22:13:35.784000+00:00
Original source

i see two cases of spell 58600 to restrict flight

rektbyfaith
Administrator
0
08-01-2022, 10:14 PM
#28
Archived author: Krutok • Posted: 2022-08-01T22:14:33.757000+00:00
Original source

can fly in from the landing pad but not mount inside
rektbyfaith
08-01-2022, 10:14 PM #28

Archived author: Krutok • Posted: 2022-08-01T22:14:33.757000+00:00
Original source

can fly in from the landing pad but not mount inside

rektbyfaith
Administrator
0
08-01-2022, 10:14 PM
#29
Archived author: Krutok • Posted: 2022-08-01T22:14:46.654000+00:00
Original source

this is the problem ^^
rektbyfaith
08-01-2022, 10:14 PM #29

Archived author: Krutok • Posted: 2022-08-01T22:14:46.654000+00:00
Original source

this is the problem ^^

rektbyfaith
Administrator
0
08-01-2022, 10:15 PM
#30
Archived author: Krutok • Posted: 2022-08-01T22:15:05.378000+00:00
Original source

restricted spell i have deleted from the coresource
rektbyfaith
08-01-2022, 10:15 PM #30

Archived author: Krutok • Posted: 2022-08-01T22:15:05.378000+00:00
Original source

restricted spell i have deleted from the coresource

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