Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] some flag debate : For noggit I pulled the areaTable flags definitions from TBC classic, it does des

[DiscordArchive] some flag debate : For noggit I pulled the areaTable flags definitions from TBC classic, it does des

[DiscordArchive] some flag debate : For noggit I pulled the areaTable flags definitions from TBC classic, it does des

Pages (3): 1 2 3 Next
rektbyfaith
Administrator
0
06-06-2023, 05:35 PM
#1
Archived author: Titi • Posted: 2023-06-06T17:35:29.882000+00:00
Original source

some flag debate : For noggit I pulled the areaTable flags definitions from TBC classic, it does describe 0x400 as "Force this area when on a Dynamic Transport" but emulators call it "outland" and use it for flying. Do you think this was accurate for 3.3.5 and blizz updated this flag later or did emulators guess it wrong ?
[Image: image.png?ex=690c33a1&is=690ae221&hm=520...1972898d0&]

[Image: image.png?ex=690c33a1&is=690ae221&hm=ce5...64d81a74d&]
rektbyfaith
06-06-2023, 05:35 PM #1

Archived author: Titi • Posted: 2023-06-06T17:35:29.882000+00:00
Original source

some flag debate : For noggit I pulled the areaTable flags definitions from TBC classic, it does describe 0x400 as "Force this area when on a Dynamic Transport" but emulators call it "outland" and use it for flying. Do you think this was accurate for 3.3.5 and blizz updated this flag later or did emulators guess it wrong ?
[Image: image.png?ex=690c33a1&is=690ae221&hm=520...1972898d0&]

[Image: image.png?ex=690c33a1&is=690ae221&hm=ce5...64d81a74d&]

rektbyfaith
Administrator
0
06-06-2023, 05:36 PM
#2
Archived author: Titi • Posted: 2023-06-06T17:36:07.093000+00:00
Original source

anyways I guess I gotta have the description match how TC works
rektbyfaith
06-06-2023, 05:36 PM #2

Archived author: Titi • Posted: 2023-06-06T17:36:07.093000+00:00
Original source

anyways I guess I gotta have the description match how TC works

rektbyfaith
Administrator
0
06-06-2023, 05:37 PM
#3
Archived author: Nix • Posted: 2023-06-06T17:37:34.447000+00:00
Original source

Well, it could be it was named incorrectly to begin with, but with the overhaul of cata there was a big change with flight in general and that flag might've become redundant and later reused
rektbyfaith
06-06-2023, 05:37 PM #3

Archived author: Nix • Posted: 2023-06-06T17:37:34.447000+00:00
Original source

Well, it could be it was named incorrectly to begin with, but with the overhaul of cata there was a big change with flight in general and that flag might've become redundant and later reused

rektbyfaith
Administrator
0
06-06-2023, 05:38 PM
#4
Archived author: Nix • Posted: 2023-06-06T17:38:13.170000+00:00
Original source

I would probably scan all relevant files in 335 for the flag and see where it is used, and if it would at all match the classic tbc description
rektbyfaith
06-06-2023, 05:38 PM #4

Archived author: Nix • Posted: 2023-06-06T17:38:13.170000+00:00
Original source

I would probably scan all relevant files in 335 for the flag and see where it is used, and if it would at all match the classic tbc description

rektbyfaith
Administrator
0
06-06-2023, 05:44 PM
#5
Archived author: Titi • Posted: 2023-06-06T17:44:27.319000+00:00
Original source

Yeah I'll just rename it in noggit to "flying"
rektbyfaith
06-06-2023, 05:44 PM #5

Archived author: Titi • Posted: 2023-06-06T17:44:27.319000+00:00
Original source

Yeah I'll just rename it in noggit to "flying"

rektbyfaith
Administrator
0
06-06-2023, 05:54 PM
#6
Archived author: robinsch • Posted: 2023-06-06T17:54:18.861000+00:00
Original source

It's FLYABLE
rektbyfaith
06-06-2023, 05:54 PM #6

Archived author: robinsch • Posted: 2023-06-06T17:54:18.861000+00:00
Original source

It's FLYABLE

rektbyfaith
Administrator
0
06-06-2023, 05:55 PM
#7
Archived author: robinsch • Posted: 2023-06-06T17:55:55.205000+00:00
Original source

```
bool CGGameUI::IsFlyableArea()
{
AreaTableRec *dbc; // eax
DWORD v1; // eax
bool result; // eax

result = 0;
if ( CGGameUI::m_subzoneID >= g_AreaTableDB.m_minID
&& CGGameUI::m_subzoneID <= g_AreaTableDB.m_maxID
&& (dbc = g_AreaTableDB.Rows[CGGameUI::m_subzoneID - g_AreaTableDB.m_minID]) != 0
|| CGGameUI::m_areaID >= g_AreaTableDB.m_minID
&& CGGameUI::m_areaID <= g_AreaTableDB.m_maxID
&& (dbc = g_AreaTableDB.Rows[CGGameUI::m_areaID - g_AreaTableDB.m_minID]) != 0 )
{
v1 = dbc->m_flags;
if ( (v1 & 0x400) != 0 && (v1 & 0x20000000) == 0 )
return 1;
}
return result;
}
```
rektbyfaith
06-06-2023, 05:55 PM #7

Archived author: robinsch • Posted: 2023-06-06T17:55:55.205000+00:00
Original source

```
bool CGGameUI::IsFlyableArea()
{
AreaTableRec *dbc; // eax
DWORD v1; // eax
bool result; // eax

result = 0;
if ( CGGameUI::m_subzoneID >= g_AreaTableDB.m_minID
&& CGGameUI::m_subzoneID <= g_AreaTableDB.m_maxID
&& (dbc = g_AreaTableDB.Rows[CGGameUI::m_subzoneID - g_AreaTableDB.m_minID]) != 0
|| CGGameUI::m_areaID >= g_AreaTableDB.m_minID
&& CGGameUI::m_areaID <= g_AreaTableDB.m_maxID
&& (dbc = g_AreaTableDB.Rows[CGGameUI::m_areaID - g_AreaTableDB.m_minID]) != 0 )
{
v1 = dbc->m_flags;
if ( (v1 & 0x400) != 0 && (v1 & 0x20000000) == 0 )
return 1;
}
return result;
}
```

rektbyfaith
Administrator
0
06-06-2023, 05:56 PM
#8
Archived author: robinsch • Posted: 2023-06-06T17:56:00.660000+00:00
Original source

from 335
rektbyfaith
06-06-2023, 05:56 PM #8

Archived author: robinsch • Posted: 2023-06-06T17:56:00.660000+00:00
Original source

from 335

rektbyfaith
Administrator
0
06-06-2023, 05:57 PM
#9
Archived author: Titi • Posted: 2023-06-06T17:57:58.021000+00:00
Original source

Nice ty. Not sure why there's a client check for this maybe it's to not wait server response
rektbyfaith
06-06-2023, 05:57 PM #9

Archived author: Titi • Posted: 2023-06-06T17:57:58.021000+00:00
Original source

Nice ty. Not sure why there's a client check for this maybe it's to not wait server response

rektbyfaith
Administrator
0
06-06-2023, 05:58 PM
#10
Archived author: robinsch • Posted: 2023-06-06T17:58:24.020000+00:00
Original source

Well why should the client spam the server if it knows it cannot fly.
rektbyfaith
06-06-2023, 05:58 PM #10

Archived author: robinsch • Posted: 2023-06-06T17:58:24.020000+00:00
Original source

Well why should the client spam the server if it knows it cannot fly.

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