Open mpfans opened 3 years ago
After 2 hours of enable , the quest_tracker table has only 2326 lines of data.then casting, talking to NPC, etc,no matter what you do in the game, there is a great delay. It's not network delay...
cc @FrancescoBorzi @Helias
cc @FrancescoBorzi @Helias
I've implemented this feature myself several years ago at TrinityCore, it's been a while I haven't used it so I can't tell much right now. It would be nice to have a local reproduction of the issue.
BTW this is the (old) web tool to view the data in the table: https://github.com/TrinityCore/TC-Quest-Tracker
cc @FrancescoBorzi @Helias
I've implemented this feature myself several years ago at TrinityCore, it's been a while I haven't used it so I can't tell much right now. It would be nice to have a local reproduction of the issue.
BTW this is the (old) web tool to view the data in the table: https://github.com/TrinityCore/TC-Quest-Tracker
Now it is not a tool to view the data in the table, but when the table is written, the game will be delayed
There may not be a server to replicate at this time, because I have a lot of players. There is no delay when there are only a few players
When 800 players are online, there is a delay. After 2 hours, there are only 2000 + rows in this table
Considering the code related to the Quest Tracker system, I cannot spot anything that can generate a lag since the INSERT/UPDATE queries are thrown asynchronously
https://github.com/azerothcore/azerothcore-wotlk/pull/1233/files
The issue might be that we directly run a query each time a quest is completed/abandoned/etc... so with many players online this can lead to performance issues.
I think I know what can be done
go @Winfidonarleyan :)
I'm starting work, after base test I create PR https://github.com/WarheadCore/WarheadCore/pull/182
Can retest this? @mpfans
Can retest this? @mpfans
enable 'Quests.EnableQuestTracker' option?
Can retest this? @mpfans
enable 'Quests.EnableQuestTracker' option?
Yes, now no need
@mpfans @Winfidonarleyan status?
@mpfans @Winfidonarleyan status?
I'll test it on next maintenance day
There is no delay now
There is no delay now
Good
In the previous test, there were not many player to do the quest. Now event 24 is turned on, resulting in delay! https://github.com/azerothcore/azerothcore-wotlk/issues/8754
@Winfidonarleyan
Okay, need rework pet querys
Still a problem? Pets fixed?
@mpfans
need test....
@mpfans is this still valid? if not, let's close it
@mpfans?
no
still delayed
chang worldserver.conf 'Quests.EnableQuestTracker' to 1 When there are about 800 players logging in the game, the game will have a great delay! It's not network delay....
AzerothCore revision : 4cb0c9f+ 2020-12-10 05:57:54 +0000 (master branch) OS:ubuntu 18.04 Module:mod-anticheat