[DiscordArchive] i'll figure out how to get better segfault logs out of worldserver, see where its actually failing.
[DiscordArchive] i'll figure out how to get better segfault logs out of worldserver, see where its actually failing.
Archived author: Nyeriah • Posted: 2023-05-10T00:33:35.388000+00:00
Original source
One thing you could do is add a 1s delay to this
Archived author: KJack • Posted: 2023-05-10T00:56:30.255000+00:00
Original source
good thought. i don't normally love timer-based events, but in this case since there's no way to communicate between the mods...i dunno, maybe.
Archived author: KJack • Posted: 2023-05-10T01:00:12.660000+00:00
Original source
assuming that the calls are threaded in such a way that the junk-to-gold mod being paused won't delay transmog.
Archived author: KJack • Posted: 2023-05-10T01:05:18.855000+00:00
Original source
nope, just delays the server crash by however long i sleep for.
Archived author: Nyeriah • Posted: 2023-05-10T02:09:02.834000+00:00
Original source
you are doing it wrong
Archived author: Nyeriah • Posted: 2023-05-10T02:09:56.407000+00:00
Original source
sleep() can never be used in the core
Archived author: Nyeriah • Posted: 2023-05-10T02:10:08.709000+00:00
Original source
you need to schedule it through scripting e.g basicevents
Archived author: Nyeriah • Posted: 2023-05-10T02:10:24.494000+00:00
Original source
player->m_Events.AddEventAtOffset()
Archived author: Nyeriah • Posted: 2023-05-10T02:10:43.143000+00:00
Original source
either that, or int timer
Archived author: Nyeriah • Posted: 2023-05-10T02:11:33.083000+00:00
Original source
taskscheduler/eventmaps won't work, as the playerscript is attached to the session and not the player object (so f.e if the player relogs to another character, the same code will still continue to execute, using the new character they just logged in)