Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] 11.1 or 0.7?

[DiscordArchive] 11.1 or 0.7?

[DiscordArchive] 11.1 or 0.7?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
12-28-2024, 03:49 PM
#1
Archived author: Tea • Posted: 2024-12-28T15:49:18.894000+00:00
Original source

11.1 or 0.7?
rektbyfaith
12-28-2024, 03:49 PM #1

Archived author: Tea • Posted: 2024-12-28T15:49:18.894000+00:00
Original source

11.1 or 0.7?

rektbyfaith
Administrator
0
12-28-2024, 03:49 PM
#2
Archived author: MaxtorCoder • Posted: 2024-12-28T15:49:23.395000+00:00
Original source

11.1
rektbyfaith
12-28-2024, 03:49 PM #2

Archived author: MaxtorCoder • Posted: 2024-12-28T15:49:23.395000+00:00
Original source

11.1

rektbyfaith
Administrator
0
12-28-2024, 03:49 PM
#3
Archived author: Tea • Posted: 2024-12-28T15:49:28.041000+00:00
Original source

would explain
rektbyfaith
12-28-2024, 03:49 PM #3

Archived author: Tea • Posted: 2024-12-28T15:49:28.041000+00:00
Original source

would explain

rektbyfaith
Administrator
0
12-28-2024, 03:49 PM
#4
Archived author: MaxtorCoder • Posted: 2024-12-28T15:49:29.712000+00:00
Original source

I can check in 07
rektbyfaith
12-28-2024, 03:49 PM #4

Archived author: MaxtorCoder • Posted: 2024-12-28T15:49:29.712000+00:00
Original source

I can check in 07

rektbyfaith
Administrator
0
12-28-2024, 03:49 PM
#5
Archived author: Tea • Posted: 2024-12-28T15:49:33.748000+00:00
Original source

i didnt look at it at all
rektbyfaith
12-28-2024, 03:49 PM #5

Archived author: Tea • Posted: 2024-12-28T15:49:33.748000+00:00
Original source

i didnt look at it at all

rektbyfaith
Administrator
0
12-28-2024, 03:49 PM
#6
Archived author: MaxtorCoder • Posted: 2024-12-28T15:49:47.609000+00:00
Original source

Same func as where the bool is used for checking QuestCompleted[1000] or BitVector[9]
rektbyfaith
12-28-2024, 03:49 PM #6

Archived author: MaxtorCoder • Posted: 2024-12-28T15:49:47.609000+00:00
Original source

Same func as where the bool is used for checking QuestCompleted[1000] or BitVector[9]

rektbyfaith
Administrator
0
12-28-2024, 03:51 PM
#7
Archived author: MaxtorCoder • Posted: 2024-12-28T15:51:00.810000+00:00
Original source

```c
bool __fastcall sub_142FC0F10(unsigned int a1)
{
CGActivePlayer_C *ActivePlayer; // rbx
__int64 RecordByID; // rdi
WowClientDB2_Base *DBQuestV2Pointer; // rax
int questBit; // edi
unsigned int v7; // esi
unsigned __int8 BitVectorByIndex; // di
__int64 v9; // rax
JamMirrorQuestSession_C *v10; // rax
bool v11; // al
char v12; // [rsp+38h] [rbp+10h] BYREF

ActivePlayer = ObjectMgrClient::GetActivePlayer();
if ( !ActivePlayer )
{
return 0;
}

RecordByID = WowClientDB2_Base::GetRecordByID(&db_QuestV2, a1, 0, &v12);
if ( !RecordByID )
{
return 0;
}

DBQuestV2Pointer = GetDBQuestV2Pointer();
questBit = WowClientDB2_Base::GetInt16ByOffset(RecordByID, 1u, 0LL, DBQuestV2Pointer);
if ( (ActivePlayer->m_playerData.CtrOptions.ConditionalFlags & 0x2000) != 0 && sub_142C2D730(ActivePlayer, questBit) )
{
if ( questBit )
{
return CGActivePlayer::GetBitVectorByIndex(ActivePlayer, 12u, questBit - 1);
}
return 0;
}

if ( !questBit )
{
return 0;
}

v7 = questBit - 1;
BitVectorByIndex = 0;
if ( CSystem::UseActivePlayerQuestCompletedArray2() )
{
if ( v7 >> 6 < 0x3E8 )
{
v9 = *(_QWORD *)sub_142FB91E0(ActivePlayer->m_activePlayerData.QuestCompleted, v7 >> 6);
BitVectorByIndex = _bittest64(&v9, v7 & 0x3F);
}
}
else
{
BitVectorByIndex = CGActivePlayer::GetBitVectorByIndex(ActivePlayer, 9u, v7);
}

if ( !ActivePlayer->m_playerData.HasQuestSession )
{
return BitVectorByIndex != 0;
}

v10 = sub_142FBEEE0(ActivePlayer);
v11 = JamBitVector::GetByIndex(&v10->QuestCompleted, v7);
return BitVectorByIndex && v11 != 2;
}
```
rektbyfaith
12-28-2024, 03:51 PM #7

Archived author: MaxtorCoder • Posted: 2024-12-28T15:51:00.810000+00:00
Original source

```c
bool __fastcall sub_142FC0F10(unsigned int a1)
{
CGActivePlayer_C *ActivePlayer; // rbx
__int64 RecordByID; // rdi
WowClientDB2_Base *DBQuestV2Pointer; // rax
int questBit; // edi
unsigned int v7; // esi
unsigned __int8 BitVectorByIndex; // di
__int64 v9; // rax
JamMirrorQuestSession_C *v10; // rax
bool v11; // al
char v12; // [rsp+38h] [rbp+10h] BYREF

ActivePlayer = ObjectMgrClient::GetActivePlayer();
if ( !ActivePlayer )
{
return 0;
}

RecordByID = WowClientDB2_Base::GetRecordByID(&db_QuestV2, a1, 0, &v12);
if ( !RecordByID )
{
return 0;
}

DBQuestV2Pointer = GetDBQuestV2Pointer();
questBit = WowClientDB2_Base::GetInt16ByOffset(RecordByID, 1u, 0LL, DBQuestV2Pointer);
if ( (ActivePlayer->m_playerData.CtrOptions.ConditionalFlags & 0x2000) != 0 && sub_142C2D730(ActivePlayer, questBit) )
{
if ( questBit )
{
return CGActivePlayer::GetBitVectorByIndex(ActivePlayer, 12u, questBit - 1);
}
return 0;
}

if ( !questBit )
{
return 0;
}

v7 = questBit - 1;
BitVectorByIndex = 0;
if ( CSystem::UseActivePlayerQuestCompletedArray2() )
{
if ( v7 >> 6 < 0x3E8 )
{
v9 = *(_QWORD *)sub_142FB91E0(ActivePlayer->m_activePlayerData.QuestCompleted, v7 >> 6);
BitVectorByIndex = _bittest64(&v9, v7 & 0x3F);
}
}
else
{
BitVectorByIndex = CGActivePlayer::GetBitVectorByIndex(ActivePlayer, 9u, v7);
}

if ( !ActivePlayer->m_playerData.HasQuestSession )
{
return BitVectorByIndex != 0;
}

v10 = sub_142FBEEE0(ActivePlayer);
v11 = JamBitVector::GetByIndex(&v10->QuestCompleted, v7);
return BitVectorByIndex && v11 != 2;
}
```

rektbyfaith
Administrator
0
12-28-2024, 03:51 PM
#8
Archived author: MaxtorCoder • Posted: 2024-12-28T15:51:06.322000+00:00
Original source

Ignore the bool func name
rektbyfaith
12-28-2024, 03:51 PM #8

Archived author: MaxtorCoder • Posted: 2024-12-28T15:51:06.322000+00:00
Original source

Ignore the bool func name

rektbyfaith
Administrator
0
12-28-2024, 03:51 PM
#9
Archived author: MaxtorCoder • Posted: 2024-12-28T15:51:08.691000+00:00
Original source

Idk how else to call it
rektbyfaith
12-28-2024, 03:51 PM #9

Archived author: MaxtorCoder • Posted: 2024-12-28T15:51:08.691000+00:00
Original source

Idk how else to call it

rektbyfaith
Administrator
0
12-28-2024, 03:52 PM
#10
Archived author: Tea • Posted: 2024-12-28T15:52:41.936000+00:00
Original source

its not there in 11.0.7
rektbyfaith
12-28-2024, 03:52 PM #10

Archived author: Tea • Posted: 2024-12-28T15:52:41.936000+00:00
Original source

its not there in 11.0.7

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