BagSync

BagSync

3M Downloads

freez when riding race quest start and complete

Darksky1991 opened this issue ยท 15 comments

commented

as title described, when i start and complete a riding race world quest, the whole graphic freeze 1-2s for start, and 5-10s for complete. and i checked that when only BagSync loaded, it's not changed. obviously it should be the BaySync's problem i think.

commented

as i commented before,

  • no addons loaded, no problem
  • only Bagsync or Elvui or Altoholic one addon loaded, it happened
  • only DBM, Details something others loaded, no problem

then i deleted all the WTF, Interface, Cache, Logs, Fonts folders and did repair game operation, and reseted all the setting in game

  • no addons loaded, no problem
  • only Bagsync or Elvui one addon loaded, freez hanpped(altoholic not checked this time)
  • only NDui loaded, no problem
commented

i have tried to delete all the WTF, Interface, Cache, Logs, Fonts folders and repaired the game and reset all the setting in game, then just installed the bagsync, but no effect

commented

If other addons are causing the issue it may be something else entirely. What happens when you have NO addons loaded at all? Does the issue still occur?

commented

In addition you stated that even with BagSync disabled the issue still happens with other addons (ElviUI and Altoholic). So technically this isn't a BagSync bug. The only thing I can recommend is disabling all addons and enabling them one at a time to see which is causing the problem. Otherwise it may be something with your game client, graphics drivers or something PC related.

commented

i don't know why, maybe not only bagsync, i found that elvui and altoholic has same situation.
trying to scan and repaire game and reinstall single addon and check again


repaired the game and no change


NDui(which is similar with elvui) no problem

commented

Delete WTF BagSync.lua and BagSync.lua.bak.

commented

This happened to me on Mar 14, 2024 when I was also using NDui, then I deleted the WTF BagSync.lua and BagSync.lua.bak from WTF and I have not had any problems since.

thank you. I just tried again, no improve.
but I found anothing thing, when I just checked the Currency module, freez will happen. Others are OK.
just uncheck the currency module for the moment

commented

In addition you stated that even with BagSync disabled the issue still happens with other addons (ElviUI and Altoholic). So technically this isn't a BagSync bug. The only thing I can recommend is disabling all addons and enabling them one at a time to see which is causing the problem. Otherwise it may be something with your game client, graphics drivers or something PC related.

maybe some lib goes weird?

commented

This happened to me on Mar 14, 2024 when I was also using NDui, then I deleted the WTF BagSync.lua and BagSync.lua.bak from WTF and I have not had any problems since.

commented

Out of curiosity, try this version of BagSync. Let me know if that stops the issue? All I did was add a spam protection buffer for CURRENCY_DISPLAY_UPDATE.

BagSync.zip

commented

WOW..... CURRENCY_DISPLAY_UPDATE is being spammed by blizzards servers! No wonder you are getting lag. I mean look at how much within the same second. That's insanity... That has to be the issue as your currencies are being scanned by all the addons each time.

commented

In addition you stated that even with BagSync disabled the issue still happens with other addons (ElviUI and Altoholic). So technically this isn't a BagSync bug. The only thing I can recommend is disabling all addons and enabling them one at a time to see which is causing the problem. Otherwise it may be something with your game client, graphics drivers or something PC related.

maybe some lib goes weird?

It's possible that it could be a library that all of the addons share. I'm not exactly sure as I'd have to do a comparison.

This happened to me on Mar 14, 2024 when I was also using NDui, then I deleted the WTF BagSync.lua and BagSync.lua.bak from WTF and I have not had any problems since.

thank you. I just tried again, no improve. but I found anothing thing, when I just checked the Currency module, freez will happen. Others are OK. just uncheck the currency module for the moment

This doesn't explain why it happens with the other addons though. Perhaps its an issue associated with currency as the other addons also do handle stuff with currency. Have you tried unchecking everything and ONLY keeping Currency enabled? Does the issue still happen?

I'll review the code but it's somewhat hard to fix if I can't reproduce the issue myself. Lets do some investigation work :)

commented

Have you tried unchecking everything and ONLY keeping Currency enabled? Does the issue still happen?

yes, I have compared only currency be checked and non checked.
I attached the BagSync's debug log below, but it looks goes well.
race-complete-ng-currency-nocache.txt
race-complete-ok-nocurrency-nocache.txt
race-start-ng-currency-nocache.txt
race-start-ok-nocurrency-nocache.txt

And, internal event trace log as below
the NG case have a event spent 3-4s, but it's not constant, some time PLAYER_STOPPED_TURNING event, some time SPELL_ACTIVATION_OVERLAY_HIDE event.
race complete NG
complete-ng-onlycurrency

race complete OK
complete-ok-noaddon

commented

Out of curiosity, try this version of BagSync. Let me know if that stops the issue? All I did was add a spam protection buffer for CURRENCY_DISPLAY_UPDATE.

it was fixed!! You're so greateful^_^
Maybe China's server just back not for long and not stable, and should be fixed in the future.

commented

Out of curiosity, try this version of BagSync. Let me know if that stops the issue? All I did was add a spam protection buffer for CURRENCY_DISPLAY_UPDATE.

it was fixed!! You're so greateful^_^ Maybe China's server just back not for long and not stable, and should be fixed in the future.

It definitely has to be the server as nobody else has mentioned this issue. The only thing I can assume is that it's a bug on their end for spamming CURRENCY_DISPLAY_UPDATE that much. I'll just add the spam check for everyone in case this happens again.