Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] few ? how many u got ? 10 ?

[DiscordArchive] few ? how many u got ? 10 ?

[DiscordArchive] few ? how many u got ? 10 ?

Pages (21): Previous 1 9 10 11 12 13 21 Next  
rektbyfaith
Administrator
0
02-08-2023, 06:21 AM
Archived author: Anchy • Posted: 2023-02-08T06:21:05.510000+00:00
Original source

for example when something expects a pointer but you pass it a value
rektbyfaith
02-08-2023, 06:21 AM #101

Archived author: Anchy • Posted: 2023-02-08T06:21:05.510000+00:00
Original source

for example when something expects a pointer but you pass it a value

rektbyfaith
Administrator
0
02-08-2023, 06:23 AM
Archived author: Rymercyble • Posted: 2023-02-08T06:23:54.910000+00:00
Original source

well i found "fix" for it
rektbyfaith
02-08-2023, 06:23 AM #102

Archived author: Rymercyble • Posted: 2023-02-08T06:23:54.910000+00:00
Original source

well i found "fix" for it

rektbyfaith
Administrator
0
02-08-2023, 06:24 AM
Archived author: Rymercyble • Posted: 2023-02-08T06:24:11.247000+00:00
Original source

i still dont understand what is cause of this at all though
rektbyfaith
02-08-2023, 06:24 AM #103

Archived author: Rymercyble • Posted: 2023-02-08T06:24:11.247000+00:00
Original source

i still dont understand what is cause of this at all though

rektbyfaith
Administrator
0
02-08-2023, 06:29 AM
Archived author: Anchy • Posted: 2023-02-08T06:29:52.570000+00:00
Original source

actually it works for me
rektbyfaith
02-08-2023, 06:29 AM #104

Archived author: Anchy • Posted: 2023-02-08T06:29:52.570000+00:00
Original source

actually it works for me

rektbyfaith
Administrator
0
02-08-2023, 06:30 AM
Archived author: Anchy • Posted: 2023-02-08T06:30:23.667000+00:00
Original source

i forgot to initialize the class for mine so it was pointing to random memory lol
rektbyfaith
02-08-2023, 06:30 AM #105

Archived author: Anchy • Posted: 2023-02-08T06:30:23.667000+00:00
Original source

i forgot to initialize the class for mine so it was pointing to random memory lol

rektbyfaith
Administrator
0
02-08-2023, 06:30 AM
Archived author: Anchy • Posted: 2023-02-08T06:30:39.672000+00:00
Original source

but i fixed it and it runs fine, besides the missing tables and shit
rektbyfaith
02-08-2023, 06:30 AM #106

Archived author: Anchy • Posted: 2023-02-08T06:30:39.672000+00:00
Original source

but i fixed it and it runs fine, besides the missing tables and shit

rektbyfaith
Administrator
0
02-08-2023, 06:30 AM
Archived author: Rymercyble • Posted: 2023-02-08T06:30:55.726000+00:00
Original source

can u show ?
rektbyfaith
02-08-2023, 06:30 AM #107

Archived author: Rymercyble • Posted: 2023-02-08T06:30:55.726000+00:00
Original source

can u show ?

rektbyfaith
Administrator
0
02-08-2023, 06:31 AM
Archived author: Anchy • Posted: 2023-02-08T06:31:06.042000+00:00
Original source

```cpp
class EncounterLogAllMapScript : AllMapScript
{
private:
EncounterLogManager* m_EncounterLogManager;

public:
EncounterLogAllMapScript() : AllMapScript("EncounterLogAllMapScript")
{
m_EncounterLogManager = new EncounterLogManager();
}

void OnPlayerEnterAll(Map* map, Player* player) override
{
if (!map->IsDungeon() && !map->IsRaid())
{
return;
}

auto currentTime = std::chrono:Confusedystem_clock::now();
auto timestamp = std::chrono::duration_cast<std::chrono:Confusedeconds>(currentTime.time_since_epoch()).count();

if (!m_EncounterLogManager)
{
return;
}
LOG_INFO("module", "{} {}", player->GetMapId(), player->GetInstanceId());
m_EncounterLogManager->Log(player->GetMapId(), player->GetInstanceId(), timestamp);
}
};```
rektbyfaith
02-08-2023, 06:31 AM #108

Archived author: Anchy • Posted: 2023-02-08T06:31:06.042000+00:00
Original source

```cpp
class EncounterLogAllMapScript : AllMapScript
{
private:
EncounterLogManager* m_EncounterLogManager;

public:
EncounterLogAllMapScript() : AllMapScript("EncounterLogAllMapScript")
{
m_EncounterLogManager = new EncounterLogManager();
}

void OnPlayerEnterAll(Map* map, Player* player) override
{
if (!map->IsDungeon() && !map->IsRaid())
{
return;
}

auto currentTime = std::chrono:Confusedystem_clock::now();
auto timestamp = std::chrono::duration_cast<std::chrono:Confusedeconds>(currentTime.time_since_epoch()).count();

if (!m_EncounterLogManager)
{
return;
}
LOG_INFO("module", "{} {}", player->GetMapId(), player->GetInstanceId());
m_EncounterLogManager->Log(player->GetMapId(), player->GetInstanceId(), timestamp);
}
};```

rektbyfaith
Administrator
0
02-08-2023, 06:31 AM
Archived author: Anchy • Posted: 2023-02-08T06:31:30.614000+00:00
Original source

I see you initialize yours differently
rektbyfaith
02-08-2023, 06:31 AM #109

Archived author: Anchy • Posted: 2023-02-08T06:31:30.614000+00:00
Original source

I see you initialize yours differently

rektbyfaith
Administrator
0
02-08-2023, 06:31 AM
Archived author: Rymercyble • Posted: 2023-02-08T06:31:35.032000+00:00
Original source

technically thats wrong
rektbyfaith
02-08-2023, 06:31 AM #110

Archived author: Rymercyble • Posted: 2023-02-08T06:31:35.032000+00:00
Original source

technically thats wrong

Pages (21): Previous 1 9 10 11 12 13 21 Next  
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)