[DiscordArchive] few ? how many u got ? 10 ?
[DiscordArchive] few ? how many u got ? 10 ?
Archived author: Anchy • Posted: 2023-02-08T06:52:01.489000+00:00
Original source
my guess is that because you created the instance in the loader that the lifetime of the pointer does not last long enough or something, idk
Archived author: Anchy • Posted: 2023-02-08T06:52:14.763000+00:00
Original source
this was my fix
Archived author: Anchy • Posted: 2023-02-08T06:52:17.478000+00:00
Original source
```cpp
void AddMyScripts()
{
static EncounterLogManager encounterLogManager;
new EncounterLogAllMapScript(&encounterLogManager);
new WardenLuaPlayer();
}```
Archived author: Rymercyble • Posted: 2023-02-08T06:52:25.158000+00:00
Original source
no instances created in loader are there for whole lifetime of app
Archived author: Rymercyble • Posted: 2023-02-08T06:52:59.645000+00:00
Original source
as i said in my second module this is not issue so i dont know
Archived author: Anchy • Posted: 2023-02-08T06:53:08.558000+00:00
Original source
https://tenor.com/view/shrug-gif-2526923...f-25269231
Archived author: Rymercyble • Posted: 2023-02-08T06:53:31.119000+00:00
Original source
but we did it
Archived author: Rymercyble • Posted: 2023-02-08T06:53:34.652000+00:00
Original source
https://tenor.com/view/dog-smile-shyboos...f-24233810
Archived author: Anchy • Posted: 2023-02-08T06:54:34.713000+00:00
Original source
ye just make it a singleton i guess
Archived author: Rymercyble • Posted: 2023-02-08T06:55:05.288000+00:00
Original source
i can also just keep it static