[DiscordArchive] few ? how many u got ? 10 ?
[DiscordArchive] few ? how many u got ? 10 ?
Archived author: Anchy • Posted: 2023-02-08T04:32:01.400000+00:00
Original source
https://tenor.com/view/shrug-shoulders-s...f-19763306
Archived author: Rymercyble • Posted: 2023-02-08T04:50:11.161000+00:00
Original source
no it didnt help
Archived author: Rymercyble • Posted: 2023-02-08T05:02:04.160000+00:00
Original source
directly in core it works
Archived author: Anchy • Posted: 2023-02-08T05:02:50.985000+00:00
Original source
how are you using it in module
Archived author: Rymercyble • Posted: 2023-02-08T05:03:46.180000+00:00
Original source
in module by itself it works
Archived author: Rymercyble • Posted: 2023-02-08T05:03:54.809000+00:00
Original source
so its somehow connected to it being called from hook
Archived author: Anchy • Posted: 2023-02-08T05:07:59.029000+00:00
Original source
yeah show how you are using it in the hook
Archived author: Rymercyble • Posted: 2023-02-08T05:08:02.515000+00:00
Original source
yes as soon as its called in hook it crashes
hared_ptr<TestTestTestPepegaManager> m_encounter_log_manager;Archived author: Rymercyble • Posted: 2023-02-08T05:08:50.819000+00:00
Original source
```cpp
class EncounterLogAllMapScript : AllMapScript
{
private:
std:
hared_ptr<TestTestTestPepegaManager> m_encounter_log_manager;
public:
EncounterLogAllMapScript(TestTestTestPepegaManager *encounter_log_manager)
: AllMapScript("EncounterLogAllMapScript"), m_encounter_log_manager{encounter_log_manager}
{}
void OnPlayerEnterAll(Map *map, Player *player) override
{
m_encounter_log_manager->newLog();
}
};
```
Archived author: Anchy • Posted: 2023-02-08T05:17:31.851000+00:00
Original source
is it possible m_encounter_log_manager is null