WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Carbonite Archive (https://www.wowinterface.com/forums/forumdisplay.php?f=158)
-   -   Lags on quest objective update (https://www.wowinterface.com/forums/showthread.php?t=48483)

kearicb 11-09-13 09:47 PM

Lags on quest objective update
 
First and foremost!! Thank you so much for keeping this addon alive. I took a break from the game starting in 2010 just before Mists was due to come out. I was so happy to see it still around!

I have installed the Beta because i was annoyed that the other one did not have a proper map for Timeless Isle.

i have noticed though that while working on quests and i complete a part of it, say its kill a mob, or gather an item. shortly after it lags and the game freezes for about a second. i tend to like doing raids and randoms, anyone knows that that second of hanging can be either the make or break moment of your instance.

I have removed the old carbonite and made a fresh install. It still happens.

Are there any suggestions to fixing this?

kearicb 12-04-13 12:02 PM

I know you are a busy guy with a couple jobs and so forth. But will there be any updates on the module of the Addon? I really loved the quest tracker feature with the completion sounds. I hate bliz's quest tracker.

Zucan 01-08-14 09:13 AM

I wanted to add to this myself... I came to the forums this morning for exactly this issue. I have been playing around with my addons, disabling most of them and enabling selective ones to find out where my lag is. I finally pinned it down to the Carbonite Questing module. For me, however, I really only see the issue in Darkmoon Faire and on Timeless Isle. I think the problem exists in other places, but it isn't bad enough to really bother me.

For Darkmoon Faire, the worst dailies to do are the whack-a-mole, gun shoot, and the target tank games... Each one of those dailies causes an update to the objective count when a mole is whacked or a target is shot. On each update, I get a 1-3 second delay... even worse, I find that I end up missing other targets (since I usually am already in route to my next target) because I over or undershoot the next target.

If I disable the Carbonite Questing module (and only that module), lag completely disappears and I have smooth game play. Of course, I don't get objective updates as I work through the daily.

Can anyone else confirm this issue as well? I am using 5.4.0 Alpha 2.

Thanks!
Zucan

eurolink 01-18-14 12:36 AM

Lag confirmed
 
Quote:

Originally Posted by Zucan (Post 289390)
Can anyone else confirm this issue as well? I am using 5.4.0 Alpha 2.

Thanks!
Zucan

I can confirm I'm having this lag issue as well. I completely disabled Carbonite months ago and don't plan on using it again until there's an update to this lag issue. It's that annoying. Been using this addon for years and would love to see it functioning properly again.

samnilla 01-23-14 01:04 AM

My game does this also. Every time I open a mob up to loot it, I get a 1-3 second delay where my screen freezes. The game hasn't stopped though. By that I mean if something was walking past me or I have my fingers on the mouse to move me, once my game gives control back to me, things are where they probably would be as if that delay hadn't happened. So this delays happens very frequently. As much as I'm liking this addon, this is annoying enough that it is just about becoming a show stopper for me.

samnilla 01-27-14 03:34 PM

I just finished a quest in Uldum called Gnomeliteration where you have to roll over 1000 gnomes with a fireball. My system usually runs around 30 fps but with the way carbonite was updating the quest as I was killing the gnomes, the framerate dropped down to a dismal 3-8 fps for a lot of the quest. Once I was done killing my gnomes for the quest, I could roll over as many as I wanted to and the framerate stayed stable.

godpigeon 02-02-14 10:32 PM

Figured I'd add my experiences, same lag on my higher level toons. It is worst on my main with the most quests done (if that's a factor). My level 31 that I'm leveling with only a few quests has no noticeable lag.

PS. Just realized I'm having the same lag when I loot archeology while carbonite quest is on also.. could it be trying to track all "new" items and conflicting with another addon with a lot of bag space?

Sparkplug 02-05-14 06:36 PM

Is there anyway to help figure out what's causing this? I'm willing to use debugging addons or something to help figure out what's causing this. Sucks that it's not an error where it'd be easier to track down.

Rythal 02-11-14 02:51 PM

That is the unfortunate part of this bug that has made it so difficult... the fact there is no error messages. That means it's something either running to long, or running multiple times when it shouldn't be and causing more processing then should be occuring.... but since it's not happening on my end I could strip out 90% of the code and not know if it's fixed or not.

What it's most likely going to come down to is i'll need to create a special version of the quest module that has a huge amount of debugging, when functions start running, when they end, which function got called and have people use it and report what chat is saying when it occurs, hopefully letting us narrow it down.

The only plus side is the common denominator in it all has been when quests get updated.

Has anyone tried turning off the carbonite quest tracker and seeing if it still happens? (leaving quest module loaded, but quest watch turned off)

Sparkplug 02-12-14 03:06 AM

I went through and unchecked everything in the Quest Watch options and still get the lag when taking/dropping quests. Also as a note, it also lags when updating shared objectives too (I usually play with a friend and we both use Carbonite)

Starting to play around with printing out msgs at the start and end of commands (I'm not all that familiar with LUA, I'm more of a PHP coder so I'm trying to figure out what functions fire when) I'll try to update this with my findings as I go.

So far:
Lag is after UpdateList triggers.

Nimhfree 02-12-14 09:55 AM

I just ran a test using only Carbonite and Carbonite-Quests and was unable to cause lag. I did tests with simple gathering objectives, as well as ones where I would need to kill and gather. Monitoring with the addon "Addon Usage" I was able to see that Carbonite-Quests would never use any real amounts of CPU time, but of course Carbonite was constantly using 30-50% of the time. Therefore, it looks like a "debug" version of the module will need to be used by those experiencing the problem to try to find out why.

I forgot to add that I did this solo, without any group members.

Sparkplug 02-13-14 06:28 AM

So I probably should have gone through and tested every AddOn for compatibility before but it seems my lag issue is caused by PetTracker.

Nimhfree 02-13-14 08:41 AM

The real questions are: (1) is it both PetTracker and Carbonite-Quests together or just PetTracker, and (2) are the others that are experiencing the problem also using PetTracker?

Sparkplug 02-13-14 10:38 AM

Looks like it's combined... Should be getting on with a friend in a little bit and I'll do more testing with quest objectives (was mostly testing by picking up/dropping quests) but seems I'm not the only one with the lag due to that http://www.wowinterface.com/forums/s...ad.php?t=48228

sandlolz 02-14-14 01:40 PM

interesting about pet tracker. i knew it was another addon and not just carbonite causing the issue, my main problem was, i have almost 100 addons and just didnt have the patience to narrow it down. this might encourage me to use carbonite once again. thanks!

edit:

reinstalled carbonite, uninstalled pet tracker. problem solved, no more quest lag issue!

Rythal 02-15-14 02:16 AM

I'm pleased to say, if someone can be ever pleased about a bug... that I can confirm it myself, with pet tracker enabled I get a tiny spot of lag after anything that causes a quest window update... so it's a start at least now we know what is causing it.

Sparkplug 02-15-14 04:19 AM

Quote:

Originally Posted by sandlolz (Post 290749)
interesting about pet tracker. i knew it was another addon and not just carbonite causing the issue, my main problem was, i have almost 100 addons and just didnt have the patience to narrow it down. this might encourage me to use carbonite once again. thanks!

edit:

reinstalled carbonite, uninstalled pet tracker. problem solved, no more quest lag issue!

That's why I hadn't tried that either... I was finally bored enough to sit and individually go through and figure out which one it was.

Nimhfree 02-15-14 07:07 AM

As a side note that may not have any bearing on this issue, but I was checking Carbonite.Quests/NxQuest.lua and I found some leaks into the global name space. I will do some more checking today and probably send Rythal changes I make to the file to stop the leaks to see if that might help interaction with PetTracker.

crazzzzi 02-17-14 08:34 PM

i know this may be a tangent, but i tried out Pettracker, and what a great add-on. there is a small lag on quest updating, which is not a deal breaker, but i have 2 questions. is there a way to have the pet info display on the carbonite world map? merging puts most of the icons there, but you lose the ability to get the info from mousing over the icons. Also is there a way to have the info about how many pets in a particular zone you need to display on the quest window, since Blizz' objective window does not show when Carbonite is enabled? i am also posting the questions on Pettracker's site. thx to both of you for stellar add-ons, keep up the good work!

Rythal 02-18-14 02:14 AM

Having a way for pet tracker (or other addons) hook into the carbonite quest tracker to display info was something I had pondered doing... in my head of so many things I want to do lol

Sparkplug 02-19-14 07:28 PM

Quote:

Originally Posted by sidrat12 (Post 290891)
Has any one sorted out the problem with the ipairs for NxQuest.lua line 4375.

bugsack errer reported for Carbonite.Quests\NxQuest.lua

7x Carbonite.Quests\NxQuest.lua:4375: bad argument #1 to 'ipairs' (table expected, got nil)
[C]: in function `ipairs'
Carbonite.Quests\NxQuest.lua:4375: in function `FindCur'
Carbonite.Quests\NxQuest.lua:8266: in function `RemoveWatch'
DugisGuideViewerZ\Guides.lua:1376: in function `WatchQuest'
DugisGuideViewerZ\DugisGuideViewer.lua:2067: in function `SettingFrameChkOnClick'
DugisGuideViewerZ\DugisGuideViewer.lua:666: in function `OnLoad'
DugisGuideViewerZ\DugisGuideViewer.lua:2450: in function `?'
DugisGuideViewerZ\DugisGuideViewer.lua:100: in function <DugisGuideViewerZ\DugisGuideViewer.lua:89>
[C]: ?

I haven't been getting this error. I see DugisGuideViewerZ in that error message too though. Have you tried disabling that and seeing if you still get that error? It could be interference between the two addons. Also what version of Carbonite are you using? (This should also probably go in a separate thread since it doesn't pertain to the original topic...)

Nimhfree 02-20-14 09:08 AM

I do not have the Dugi's guide. I have seen issues with them in the past, though when they are informed about the problem they seem to fix things.

It appears that Dugi's guide code calls into the Carbonite code. If you look at:

DugisGuideViewerZ\Guides.lua:1376: in function `WatchQuest'

you will probably see a line with:

Nx.Quest.Watch:RemoveWatch

I would guess the Dugi's guide is attempting to be compatible with Carbonite users and is attempting to do the right thing by updating Carbonite when it does its thing. However, it seems they might not have initialized the Carbonite system or perhaps kept it in sync to the extent that calling directly into this routine needs.

I would report this issue to Dugi's guide people and have them investigate.

Sparkplug 02-20-14 12:10 PM

I was looking around on Dugi's forums last night and looks like they only made it compatible with the non-beta version. You might want to try convincing them to make it compatible with the beta but that would be up to them.

samnilla 02-22-14 10:11 AM

I can confirm also that by removing pettracker my game has improved significantly. There is still a very slight pause, but it is very insignificant and doesn't affect game play anymore. Thank you for this tip.

Rythal 03-05-14 05:38 AM

So I beleive I have found the problem... Carbonite does a quick scan of every area for quest updates.. Pettracker has things it does everytime the map is updated which combined with the rapid map switching carbonite does, creates a small lag

I do set a variable when carbonite is about to do it's scan and unset it after which addons encountering this problem can check for, and in a quick test of adding it to pettracker it seems to be fixed

Can someone else who is having the problem try adding this to pettracker.lua on line 61 it should be right under
function Addon:WORLD_MAP_UPDATE()

Code:

        if Nx and Nx.Quest and Nx.Quest.WorldUpdate then
                return
        end


Wrebel 03-05-14 09:23 AM

You, sir, are wonderful. Your fix works like a charm

Rythal 03-05-14 02:13 PM

Glad to hear it worked for you.. if other's also report it fixed the problem i'll take it to the creator of Pettracker so they can hopefully include it as a compatability thing between our addons.

Sparkplug 03-07-14 03:55 AM

Seems to work as far as I can tell. Thanks Rythal!

Rythal 03-07-14 01:12 PM

Submitted it to jaliborc... lets see what comes of it.

Rythal 03-08-14 08:09 PM

Update: Heard back from jaliborc, which resulted in todays new update to carbonite.

Both so he can fix the lag issue caused between our addons within pettracker (my part is done now), and also to add new functions he was asking about so he can better support Carbonite within Pettracker.

Rythal 03-09-14 10:48 PM

And it's out! the latest Pettracker released today, works with 5.4.2 alpha 2 and later to stop the lag issue.

For you pettracker users, not sure when but I believe you can expect native carbonite support soon, all the changes I made in alpha 2 and 3 were specifically done for him so he can make pettracker work with carbonite natively.

crazzzzi 03-10-14 10:24 PM

firstly, thanks for all the great work. what exactly does the swap view button do on the objective window? when i press it, it just seems to minimize the window.

Rythal 03-10-14 10:43 PM

Quote:

Originally Posted by crazzzzi (Post 291434)
firstly, thanks for all the great work. what exactly does the swap view button do on the objective window? when i press it, it just seems to minimize the window.

It's for alternate information displays, so addons like pettracker have an alternate place to display information which they would normally insert into the blizzard quest tracker.

It looks minimized because it's empty, nothing has put information into it yet.

crazzzzi 03-11-14 08:56 PM

ah, i see, thx for the explanation, i thought for a minute i missed a setting, keep up the good work

hotluck 04-06-14 03:16 AM

This probably won't be of any help but before I installed the latest version (5.4.2 Alpha 5) when it came out I hadn't noticed any problems. Now there is a little lag but my biggest problem is that it takes up to 10 seconds for the quest list/watcher to update with the new information on the status of my quests after quests kills/updates. I don't use Pettracker.

Rythal 04-08-14 12:34 AM

I'll take a look at it... it's possible when I was trying to narrow down what was causing the problem I left something commented out.


All times are GMT -6. The time now is 08:42 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI