[DiscordArchive] Is that a sync db query in world update loop ?
[DiscordArchive] Is that a sync db query in world update loop ?
Archived author: jackpoz • Posted: 2025-09-01T20:40:19.419000+00:00
Original source
Is that a sync db query in world update loop ?
Archived author: Foe • Posted: 2025-09-01T22:09:19.831000+00:00
Original source
https://tenor.com/view/todd-howard-it-ju...f-20598651
Archived author: Crane • Posted: 2025-09-01T22:11:43.792000+00:00
Original source
No, it is only called once during reset.
```c++
void Reset() override
{
displaySet = false;
currentOrientation = 0.0f;
uint32 activeQuestId = GetWeeklyQuestFromPool();
if (!activeQuestId)
return;
uint32 displayId = GetDisplayIdForQuest(activeQuestId);
if (displayId)
{
me->SetDisplayId(displayId);
displaySet = true;
}
}```
Archived author: Crane • Posted: 2025-09-01T22:16:16.010000+00:00
Original source
It is very simple in structure. For me that is enough
Archived author: Tea • Posted: 2025-09-01T22:18:52.786000+00:00
Original source
so the answer was actually a "yes"
![[Image: grafik.png?ex=690c76e3&is=690b2563&hm=fc...914736df5&]](https://cdn.discordapp.com/attachments/376457042392514560/1412200965058199612/grafik.png?ex=690c76e3&is=690b2563&hm=fce77d6a5a75b3a6a06289fe1ce3ff2cf17b82bde84bde021347a5c914736df5&)
Archived author: Crane • Posted: 2025-09-01T22:22:27.632000+00:00
Original source
I made a custom table and put all the displayIds of the bosses and the questid in there and then it is only compared with the quest in the pool table very simple
![[Image: grafik.png?ex=690c76e3&is=690b2563&hm=fc...914736df5&]](https://cdn.discordapp.com/attachments/376457042392514560/1412200965058199612/grafik.png?ex=690c76e3&is=690b2563&hm=fce77d6a5a75b3a6a06289fe1ce3ff2cf17b82bde84bde021347a5c914736df5&)
Archived author: Tea • Posted: 2025-09-01T22:22:49.923000+00:00
Original source
look, i dont care about the feature, im only correcting you on a technical level
Archived author: Tea • Posted: 2025-09-01T22:23:00.615000+00:00
Original source
Reset() IS called during world update loop
Archived author: Tea • Posted: 2025-09-01T22:23:02.843000+00:00
Original source
thats all
Archived author: Crane • Posted: 2025-09-01T22:24:15.320000+00:00
Original source
or just restart the server